/* ------------ Tokens ------------ */
:root {
  --bg: oklch(0.97 0.006 85);
  --bg-2: oklch(0.94 0.008 85);
  --ink: oklch(0.19 0.005 80);
  --ink-2: oklch(0.32 0.005 80);
  --muted: oklch(0.55 0.005 80);
  --rule: oklch(0.86 0.008 85);
  --rule-2: oklch(0.78 0.01 85);
  --accent: oklch(0.58 0.17 245);
  --accent-ink: oklch(0.98 0.005 245);
  --warn: oklch(0.74 0.16 75);

  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --serif: "Instrument Serif", "Source Serif Pro", Georgia, serif;

  --max: 1320px;
  --gutter: 28px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule { border-top: 1px solid var(--rule); }

/* ------------ Top utility bar ------------ */
.utility {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}
.utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  color: var(--ink-2);
}
.utility-row .left,
.utility-row .right { display: flex; align-items: center; gap: 18px; }
.utility-row .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.65 0.16 145);
  box-shadow: 0 0 0 3px oklch(0.65 0.16 145 / 0.18);
  display: inline-block;
}
.utility-row .sep { width: 1px; height: 12px; background: var(--rule-2); }

/* ------------ Header / nav ------------ */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  min-width: 0;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.foot-brand .logo-img { height: 56px; }
.logo-mark {
  width: 30px; height: 30px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 7px;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
}
.logo small {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-left: 10px;
  border-left: 1px solid var(--rule-2);
  margin-left: 2px;
}
.nav-links {
  display: flex; justify-content: center; gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--ink);
}

.cta {
  display: inline-flex; align-items: center; gap: 8px;
  flex: 0 0 auto;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  border: 1px solid var(--ink);
  transition: transform .15s ease;
  white-space: nowrap;
}
.cta:hover { transform: translateY(-1px); }
.cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cta.ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.cta.ghost:hover { background: var(--bg-2); }

/* ------------ Hero ------------ */
.hero {
  padding: 96px var(--gutter) 72px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: end;
}
.hero-text { min-width: 0; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 36px;
}
.hero-eyebrow .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 17ch;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero h1 .pill {
  display: inline-block;
  background: var(--ink); color: var(--bg);
  padding: 0.02em 0.22em 0.08em;
  border-radius: 0.16em;
  font-family: var(--sans);
  font-style: normal;
  line-height: 0.95;
  vertical-align: baseline;
}

.hero-foot {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
}
.hero-foot p {
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 38ch;
  margin: 0;
  text-wrap: pretty;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.hero-meta > div { padding: 16px 0 0; }
.hero-meta .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hero-meta .v { font-size: 14px; margin-top: 6px; color: var(--ink); }

/* ------------ Marquee / capability strip ------------ */
.strip {
  border-block: 1px solid var(--rule);
  background: var(--bg-2);
  overflow: hidden;
}
.strip-track {
  display: flex; gap: 56px;
  padding: 18px 0;
  animation: scroll 38s linear infinite;
  white-space: nowrap;
}
.strip-track span {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 56px;
}
.strip-track span::after {
  content: "✦";
  color: var(--accent);
  font-family: var(--sans);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------------ Sections ------------ */
section { padding: 88px 0; }
.section-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  margin-bottom: 56px;
  align-items: start;
}
.section-head .label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--ink); display: inline-block; }
.section-head h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.section-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ------------ Services grid ------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.service {
  background: var(--bg);
  padding: 32px 28px 28px;
  grid-column: span 4;
  display: flex; flex-direction: column;
  min-height: 280px;
  position: relative;
  transition: background .2s ease;
  color: inherit;
  text-decoration: none;
}
.service:hover { background: var(--bg-2); }
.service .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.service h3 {
  margin: 24px 0 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.018em;
  line-height: 1.1;
}
.service p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}
.service .arrow {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.service.feature {
  grid-column: span 8;
  background: var(--ink);
  color: var(--bg);
  min-height: 360px;
}
.service.feature h3 { font-size: 36px; max-width: 18ch; }
.service.feature p { color: oklch(0.75 0.005 80); font-size: 16px; max-width: 44ch; }
.service.feature .num, .service.feature .arrow { color: var(--bg); }
.service.feature .accent { color: var(--accent); }

/* ------------ Big quote / mission ------------ */
.mission {
  background: var(--bg-2);
  border-block: 1px solid var(--rule);
}
.mission-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.mission .label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mission blockquote {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.mission blockquote em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.mission blockquote .mark {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 1.4em;
  line-height: 0;
  margin-right: 0.1em;
  vertical-align: -0.1em;
}
.mission .sig { margin-top: 36px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ------------ Locations ------------ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.loc {
  border: 1px solid var(--rule);
  background: var(--bg);
  padding: 28px;
  border-radius: 14px;
  display: flex; flex-direction: column;
  min-height: 260px;
  transition: border-color .2s ease, transform .2s ease;
}
.loc:hover { border-color: var(--ink); transform: translateY(-2px); }
.loc .pin {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-2);
  display: grid; place-items: center;
  border: 1px solid var(--rule);
}
.loc .pin svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.loc h4 {
  margin: 20px 0 4px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.loc .sub { font-size: 13px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.05em; }
.loc .tel {
  margin-top: auto;
  padding-top: 28px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.loc .tel .num {
  font-family: var(--sans);
  font-size: 22px;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--ink);
  transition: color .15s ease;
}
.loc:hover .tel .num { color: var(--accent); }
.loc .tel .mono { font-size: 10.5px; }

/* ------------ Specialties / pill cloud ------------ */
.specialties {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.spec-text h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 16px 0 20px;
  text-wrap: balance;
}
.spec-text p { font-size: 16px; color: var(--ink-2); max-width: 50ch; }
.spec-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.pill-tag {
  border: 1px solid var(--rule-2);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink);
  background: var(--bg);
  transition: background .15s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.pill-tag:hover { background: var(--bg-2); border-color: var(--ink); }
.pill-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ------------ About / animated panel ------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-photo {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--rule);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ----- Vis: typographic cycling panel ----- */
.vis {
  background:
    radial-gradient(120% 80% at 50% 110%, oklch(0.95 0.008 85) 0%, var(--bg-2) 60%, var(--bg-2) 100%);
  isolation: isolate;
}
.vis-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.86 0.008 85) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.86 0.008 85) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  opacity: 0.55;
  mask-image: radial-gradient(120% 100% at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 50%, #000 30%, transparent 75%);
}
.vis-scan {
  position: absolute; left: 0; right: 0; top: 0;
  height: 140px;
  background: linear-gradient(180deg, color-mix(in oklch, var(--accent) 22%, transparent), transparent);
  pointer-events: none;
  animation: vis-scan 6s linear infinite;
  mix-blend-mode: multiply;
  opacity: 0.7;
}
@keyframes vis-scan {
  0% { transform: translateY(-160px); }
  100% { transform: translateY(720px); }
}

.vis-frame {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 22px 24px;
  z-index: 2;
}

.vis-top {
  display: flex; justify-content: space-between; align-items: center;
}
.vis-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.vis-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 60%, transparent);
  animation: vis-pulse 1.8s ease-out infinite;
}
@keyframes vis-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--accent) 60%, transparent); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.vis-tick {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 6px;
}

/* Cycling words */
.vis-cycle {
  position: relative;
  flex: 1;
  display: grid; place-items: center;
}
.vis-cycle span {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.01em;
  opacity: 0;
  text-align: center;
  text-wrap: balance;
  max-width: 90%;
  animation: vis-word 24s ease-in-out infinite;
  animation-delay: calc(var(--i) * 3s);
  will-change: opacity, transform;
}
.vis-cycle span::before {
  content: "we support";
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
@keyframes vis-word {
  0%   { opacity: 0; transform: translateY(10px); filter: blur(4px); }
  3%   { opacity: 1; transform: translateY(0);    filter: blur(0); }
  10%  { opacity: 1; transform: translateY(0);    filter: blur(0); }
  13%  { opacity: 0; transform: translateY(-10px); filter: blur(4px); }
  100% { opacity: 0; }
}

/* Underbars — utilization */
.vis-bars {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 36px;
  margin-bottom: 14px;
}
.vis-bars i {
  flex: 1;
  background: color-mix(in oklch, var(--ink) 70%, var(--bg));
  border-radius: 2px;
  height: 30%;
  animation: vis-bar 2.4s ease-in-out infinite;
  animation-delay: var(--d);
  transform-origin: bottom;
}
.vis-bars i:nth-child(4n) { background: var(--accent); }
@keyframes vis-bar {
  0%, 100% { height: 18%; }
  35%      { height: 78%; }
  60%      { height: 42%; }
  80%      { height: 92%; }
}

/* Meta strip */
.vis-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.vis-meta > div {
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
  backdrop-filter: blur(4px);
}
.vis-meta .k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.vis-meta .v {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.vis-meta .v small {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}

@media (prefers-reduced-motion: reduce) {
  .vis-cycle span { animation-duration: 48s; }
  .vis-bars i, .vis-scan, .vis-pulse { animation: none; }
}

.placeholder {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: 14px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      oklch(0.93 0.008 85) 0 12px,
      oklch(0.95 0.008 85) 12px 24px
    );
  border: 1px solid var(--rule);
  display: grid; place-items: center;
}
.placeholder span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.about-body h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 16px 0 20px;
  text-wrap: balance;
}
.about-body h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.about-body p { font-size: 16.5px; color: var(--ink-2); max-width: 48ch; line-height: 1.55; }
.about-cta { margin-top: 32px; display: flex; gap: 12px; }

/* ------------ Newsletter ------------ */
.news {
  background: var(--ink);
  color: var(--bg);
  border-radius: 18px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: end;
  margin: 24px var(--gutter);
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin-left: auto; margin-right: auto;
}
.news h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 16px 0 0;
  max-width: 18ch;
  text-wrap: balance;
}
.news h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.news .label-light { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.72 0.005 80); }
.news-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  background: oklch(0.26 0.005 80);
  border: 1px solid oklch(0.34 0.005 80);
  border-radius: 999px;
  padding: 4px 4px 4px 30px;
  align-items: center;
}
.news-form input {
  background: transparent; border: 0; outline: none;
  color: var(--bg); font: inherit;
  padding: 14px 0;
  width: 100%;
}
.news-form input::placeholder { color: oklch(0.65 0.005 80); }
.news-form button {
  background: var(--bg); color: var(--ink);
  border: 0; padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
}
.news-form button:hover { background: var(--accent); color: var(--accent-ink); }
.news .small { font-size: 12.5px; color: oklch(0.72 0.005 80); margin-top: 14px; }

/* ------------ Footer ------------ */
footer {
  border-top: 1px solid var(--rule);
  padding: 64px 0 24px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
}
.foot-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { font-size: 14px; padding: 5px 0; color: var(--ink-2); }
.foot-col li a:hover { color: var(--accent); }
.foot-brand p { font-size: 15px; color: var(--ink-2); max-width: 36ch; line-height: 1.55; }
.foot-brand .addr { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.6; letter-spacing: 0.03em; }
.foot-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.foot-bottom .socials { display: flex; gap: 14px; }
.foot-bottom .socials a { color: var(--ink-2); }
.foot-bottom .socials a:hover { color: var(--accent); }

/* ------------ Responsive ------------ */
@media (max-width: 1080px) {
  .utility-row .left { display: none; }
  .utility-row .right { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 1024px) {
  .hero-top { grid-template-columns: 1fr; gap: 40px; }
  .hero-vis { max-width: 480px; }
  .hero-foot, .section-head, .specialties, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .service { grid-column: span 6; }
  .service.feature { grid-column: span 12; }
  .locations-grid { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mission-inner { grid-template-columns: 1fr; gap: 32px; padding: 72px var(--gutter); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .utility-row .left { display: none; }
  .service, .service.feature { grid-column: span 12; min-height: 220px; }
  .hero { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}


/* ------------ Hero: Ops console ------------ */
.hero-vis {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px 18px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 oklch(0.92 0.008 85);
}
.hero-vis::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.91 0.008 85) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.91 0.008 85) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}
.hv-head, .hv-list, .hv-foot { position: relative; z-index: 1; }
.hv-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 10px;
}
.hv-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.hv-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.65 0.16 145);
  box-shadow: 0 0 0 0 oklch(0.65 0.16 145 / 0.6);
  animation: hv-dotpulse 1.8s ease-out infinite;
}
@keyframes hv-dotpulse {
  0% { box-shadow: 0 0 0 0 oklch(0.65 0.16 145 / 0.6); }
  80% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hv-up {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hv-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.hv-row {
  display: grid;
  grid-template-columns: 14px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  border-bottom: 1px dashed oklch(0.90 0.008 85);
}
.hv-row:last-child { border-bottom: 0; }
.hv-status {
  display: grid; place-items: center;
  width: 14px; height: 14px;
  font-size: 11px;
  font-family: var(--sans);
}
.hv-status.ok { color: oklch(0.55 0.13 145); }
.hv-status.work { color: var(--accent); animation: hv-spin 1.6s linear infinite; }
.hv-status.warn { color: oklch(0.62 0.16 60); }
@keyframes hv-spin { to { transform: rotate(360deg); } }
.hv-name {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hv-val { color: var(--muted); font-size: 10.5px; }
.hv-time {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: right;
}
.hv-bar {
  display: inline-block;
  width: 60px; height: 4px;
  background: oklch(0.90 0.008 85);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  vertical-align: middle;
}
.hv-bar i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--accent);
  border-radius: 2px;
  animation: hv-fill 3.6s ease-in-out infinite;
}
@keyframes hv-fill {
  0% { width: 6%; }
  60% { width: 78%; }
  100% { width: 100%; }
}

.hv-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.hv-spark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  flex: 1;
}
.hv-spark i {
  flex: 1;
  background: var(--ink-2);
  border-radius: 1.5px;
  height: 35%;
  animation: hv-spark 2.2s ease-in-out infinite;
  animation-delay: var(--d);
}
.hv-spark i:nth-child(5n) { background: var(--accent); }
@keyframes hv-spark {
  0%, 100% { height: 28%; }
  35% { height: 82%; }
  60% { height: 48%; }
  80% { height: 96%; }
}
.hv-foot-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ------------ Mission: Three pillars animation ------------ */
.pillars {
  margin-top: 28px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.pillar {
  border: 1px solid var(--rule);
  background: var(--bg);
  border-radius: 10px;
  padding: 14px 14px 16px;
}
.p-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}
.p-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.p-stat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.p-dots {
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  gap: 3px;
  height: 28px;
  align-content: center;
}
.p-dots i {
  width: 100%; aspect-ratio: 1;
  background: oklch(0.90 0.008 85);
  border-radius: 50%;
  animation: p-dot 2.4s ease-in-out infinite;
  animation-delay: var(--d);
}
.p-dots i:nth-child(6n+1),
.p-dots i:nth-child(11n) { background: oklch(0.86 0.008 85); }
@keyframes p-dot {
  0%, 100% { background: oklch(0.90 0.008 85); transform: scale(1); }
  40%, 60% { background: var(--accent); transform: scale(1.35); }
}

.p-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
}
.p-bars i {
  flex: 1;
  background: var(--ink-2);
  border-radius: 2px;
  height: 30%;
  animation: p-bar 2.2s ease-in-out infinite;
  animation-delay: var(--d);
  transform-origin: bottom;
}
.p-bars i:nth-child(5n) { background: var(--accent); }
@keyframes p-bar {
  0%, 100% { height: 18%; }
  30% { height: 72%; }
  60% { height: 38%; }
  85% { height: 96%; }
}

.p-wave {
  height: 32px;
  overflow: hidden;
  color: var(--accent);
}
.p-wave svg {
  display: block;
  width: 110%;
  height: 100%;
  animation: p-wave 2.4s linear infinite;
}
@keyframes p-wave {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

@media (prefers-reduced-motion: reduce) {
  .hv-dot, .hv-status.work, .hv-bar i, .hv-spark i,
  .p-dots i, .p-bars i, .p-wave svg { animation: none; }
}


/* ------------ Service card motifs ------------ */
.s-vis {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  color: var(--ink-2);
  display: block;
  pointer-events: none;
  overflow: hidden;
}
.s-vis svg { width: 100%; height: 100%; overflow: visible; }
.service.feature .s-vis { color: oklch(0.75 0.005 80); }

/* (01) Managed IT — concentric rings expanding */
.sv-ring {
  transform-origin: 18px 18px;
  opacity: 0.5;
  animation: sv-ring 2.4s ease-out infinite;
  animation-delay: var(--d);
}
@keyframes sv-ring {
  0%   { transform: scale(0.4); opacity: 0; }
  20%  { opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 0; }
}

/* (02) Cybersecurity — shield with scan line */
.sv-scan {
  transform-origin: 18px 18px;
  stroke: var(--accent);
  animation: sv-scan 2.4s ease-in-out infinite;
}
@keyframes sv-scan {
  0%, 100% { transform: translateY(-9px); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: translateY(9px); opacity: 1; }
  80% { opacity: 0; }
}
.sv-blink {
  animation: sv-blink 1.8s ease-in-out infinite;
}
@keyframes sv-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* (03) VOIP — sine wave scrolling */
.sv-wave {
  animation: sv-wave 2.2s linear infinite;
}
@keyframes sv-wave {
  from { transform: translateX(0); }
  to   { transform: translateX(-12px); }
}

/* (04) Cloud — upward arrow pulsing */
.sv-up {
  animation: sv-up 1.9s ease-in-out infinite;
  transform-origin: 18px 22px;
}
@keyframes sv-up {
  0%   { transform: translateY(4px); opacity: 0; }
  30%  { opacity: 1; }
  60%  { transform: translateY(-2px); opacity: 1; }
  100% { transform: translateY(-6px); opacity: 0; }
}

/* (05) Network & Wi-Fi — arcs pulsing outward */
.sv-arc {
  opacity: 0.2;
  animation: sv-arc 1.8s ease-out infinite;
  animation-delay: var(--d);
}
.sv-wfdot {
  animation: sv-blink 1.4s ease-in-out infinite;
}
@keyframes sv-arc {
  0%   { opacity: 0; }
  25%  { opacity: 1; stroke: var(--accent); }
  100% { opacity: 0.15; stroke: currentColor; }
}

/* Hover boost on the whole card */
.service:hover .s-vis { color: var(--ink); }
.service.feature:hover .s-vis { color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  .sv-ring, .sv-scan, .sv-blink, .sv-up, .sv-arc, .sv-wfdot, .sv-wave { animation: none; opacity: 1; }
}

@media (max-width: 640px) {
  .s-vis { width: 28px; height: 28px; top: 20px; right: 20px; }
}


/* =================================================== */
/* ===========  SUB-PAGE STYLES  ====================== */
/* =================================================== */

/* Page hero (used on all sub-pages) */
.page-hero {
  padding: 96px var(--gutter) 56px;
}
.page-hero .container { max-width: var(--max); }
.ph-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 28px;
}
.ph-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.ph-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.ph-lede {
  margin: 32px 0 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 52ch;
  text-wrap: pretty;
}

/* Page body */
.page-body {
  padding: 56px 0 96px;
}
.cta-row {
  margin-top: 56px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Specialties grid --- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.spec-card {
  background: var(--bg);
  padding: 32px 28px 36px;
  display: flex; flex-direction: column;
  min-height: 220px;
  transition: background .2s ease;
}
.spec-card:hover { background: var(--bg-2); }
.sc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.spec-card h3 {
  margin: 32px 0 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.018em;
}
.spec-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}

/* --- Articles list --- */
.art-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}
.art-row {
  display: grid;
  grid-template-columns: 120px 1.6fr 2fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: padding .2s ease, background .15s ease;
}
.art-row:hover { padding-left: 12px; background: linear-gradient(to right, var(--bg-2), transparent 60%); }
.art-date {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.art-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}
.art-blurb {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 56ch;
  text-wrap: pretty;
}
.art-arrow {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- About 2col + stats --- */
.about-2col {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  padding-bottom: 88px;
  border-bottom: 1px solid var(--rule);
}
.about-2col h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 16px 0 0;
  text-wrap: balance;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.about-stats > div {
  padding: 18px 20px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.about-stats > div:nth-child(2n) { border-right: 0; }
.about-stats > div:nth-last-child(-n+2) { border-bottom: 0; }
.about-stats .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-stats .v {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: -0.01em;
}

/* Values grid */
.values { padding-top: 72px; }
.values-head {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 32px;
  padding-top: 8px;
  border-top: 1px solid var(--ink);
  display: inline-block;
  font-weight: 500;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.values-grid > div {
  padding-right: 16px;
}
.values-grid .mono {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.values-grid h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin: 16px 0 8px;
}
.values-grid p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* --- Contact form + sidebar --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form .full { grid-column: 1 / -1; }
.contact-form label {
  display: flex; flex-direction: column;
  gap: 8px;
}
.contact-form .mono {
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  resize: vertical;
  transition: border-color .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}
.contact-form .math {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px;
  background: var(--bg-2);
  border-radius: 10px;
  border: 1px dashed var(--rule-2);
}
.contact-form .math .mono { flex: 1 1 100%; }
.contact-form .math-q {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
}
.contact-form .math input { width: 80px; }
.contact-form .submit {
  justify-self: start;
  margin-top: 8px;
  grid-column: 1 / -1;
  border: 0;
}
.contact-form .submit:disabled { opacity: 0.7; cursor: default; }

.contact-side {
  display: flex; flex-direction: column;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--bg);
}
.cs-block .mono {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}
.cs-addr {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.cs-link {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}
.cs-link:hover { color: var(--accent); }
.cs-phones {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 8px;
}
.cs-phones li {
  display: flex; justify-content: space-between;
  font-size: 14px;
}
.cs-phones li span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.cs-phones li a {
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cs-phones li a:hover { color: var(--accent); }

/* --- Quick help section --- */
.quick-help {
  margin-top: 72px;
  padding: 48px;
  background: var(--bg-2);
  border-radius: 14px;
  border: 1px solid var(--rule);
}
.quick-help h3 {
  margin: 0 0 24px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.018em;
}
.contact-form.quick { grid-template-columns: 1fr 1fr; }

/* --- Testimonials quotes --- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  margin: 0;
  padding: 32px 28px 28px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
}
.quote .q-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  color: var(--accent);
  line-height: 0.3;
  margin-bottom: 0;
  display: block;
}
.quote blockquote {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
  flex: 1;
}
.quote figcaption {
  display: flex; flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.quote figcaption strong {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.quote figcaption span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .art-row { grid-template-columns: 100px 1fr auto; gap: 20px; }
  .art-row .art-blurb { grid-column: 2 / -1; font-size: 14px; }
  .about-2col { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .quotes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .spec-grid { grid-template-columns: 1fr; }
  .art-row { grid-template-columns: 1fr; gap: 6px; }
  .art-row .art-arrow { justify-self: start; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-form, .contact-form.quick { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .quick-help { padding: 28px; }
  .page-hero { padding-top: 56px; }
}


/* =================================================== */
/* ===========  ARTICLE READING PAGE  ================= */
/* =================================================== */

.article-head {
  padding: 64px var(--gutter) 48px;
  border-bottom: 1px solid var(--rule);
}
.back-link {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
  transition: color .15s ease;
}
.back-link:hover { color: var(--ink); }

.article-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.article-meta .mono {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.dot-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--rule-2);
}

.article-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
  color: var(--ink);
}

.article-dek {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 38ch;
  font-weight: 400;
}

/* Body */
.article-body {
  padding: 72px var(--gutter);
}
.article-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

/* Aside */
.article-aside {
  position: sticky;
  top: 90px;
  display: flex; flex-direction: column;
  gap: 22px;
  padding-top: 4px;
}
.aa-block { display: flex; flex-direction: column; gap: 6px; }
.aa-block .mono {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.aa-val {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.aa-share {
  display: flex; gap: 8px;
}
.aa-share a {
  width: 32px; height: 32px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: border-color .15s ease, color .15s ease;
}
.aa-share a:hover { border-color: var(--ink); color: var(--accent); }

/* Prose */
.article-prose {
  max-width: 660px;
}
.article-prose p {
  font-family: var(--sans);
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 1.25em;
  text-wrap: pretty;
}
.article-prose p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 4.2em;
  line-height: 0.85;
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-weight: 400;
  color: var(--ink);
}
.article-pull {
  margin: 48px 0;
  padding: 32px 0 32px 32px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
  text-wrap: balance;
}
.pull-mark {
  font-style: italic;
  color: var(--accent);
  margin-right: 4px;
}
.article-sig {
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Related */
.related {
  border-top: 1px solid var(--rule);
  padding: 72px var(--gutter) 96px;
  background: var(--bg-2);
}
.related-head {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--ink);
  display: inline-block;
  margin: 0 0 32px;
  font-weight: 500;
}
.related-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.rel-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  color: inherit;
  text-decoration: none;
  transition: padding .2s ease, background .15s ease;
}
.rel-row:hover { padding-left: 12px; background: linear-gradient(to right, color-mix(in oklch, var(--bg) 60%, transparent), transparent 70%); }
.rel-date {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.rel-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.rel-arrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 32px;
    padding: 20px;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: var(--bg);
  }
}
@media (max-width: 640px) {
  .rel-row { grid-template-columns: 1fr; gap: 4px; }
  .article-aside { grid-template-columns: 1fr; }
  .article-prose p:first-of-type::first-letter {
    font-size: 3.2em;
  }
}


/* =================================================== */
/* ===========  TESTIMONIALS — v2  ==================== */
/* =================================================== */

/* Editorial card grid (testimonials.html) */
.t-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
}
.t-card {
  background: var(--bg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-column: span 3;
  position: relative;
  min-height: 280px;
  transition: background .2s ease;
}
.t-card:hover { background: var(--bg-2); }
.t-card.t-feature {
  grid-column: span 6;
  background: var(--ink);
  color: var(--bg);
}
.t-card.t-feature:hover { background: var(--ink); }
.t-card.t-feature .q-mark { color: oklch(0.78 0.14 245); }
.t-card.t-feature .t-num { color: oklch(0.7 0.005 80); }
.t-card.t-feature .t-headline { color: var(--bg); }
.t-card.t-feature .t-body { color: oklch(0.78 0.005 80); }
.t-card.t-feature .t-attr strong { color: var(--bg); }
.t-card.t-feature .t-attr .t-meta span { color: oklch(0.7 0.005 80); }
.t-card.t-feature .t-avatar { background: oklch(0.26 0.005 80); color: var(--bg); border-color: oklch(0.36 0.005 80); }

.t-num {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.t-card .q-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  line-height: 0.2;
  color: var(--accent);
  display: block;
  margin: 6px 0 -6px;
}
.t-headline {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}
.t-card.t-feature .t-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 32ch;
}
.t-body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.t-card.t-feature .t-body {
  font-size: 16px;
  max-width: 60ch;
}
.t-attr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.t-card.t-feature .t-attr { border-top-color: oklch(0.30 0.005 80); }
.t-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--rule-2);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  flex: 0 0 38px;
}
.t-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.t-meta strong {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.t-meta span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 24ch;
}

@media (max-width: 1024px) {
  .t-grid { grid-template-columns: repeat(4, 1fr); }
  .t-card { grid-column: span 2; }
  .t-card.t-feature { grid-column: span 4; }
}
@media (max-width: 640px) {
  .t-grid { grid-template-columns: 1fr; }
  .t-card, .t-card.t-feature { grid-column: span 1; }
  .t-meta span { white-space: normal; max-width: none; }
}


/* =================================================== */
/* ===========  TESTIMONIAL ROTATOR (about) =========== */
/* =================================================== */

.testimonial-feature {
  margin-top: 72px;
  padding: 48px;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 18px;
  position: relative;
}
.testimonial-feature .values-head {
  margin: 0 0 28px;
  border-top: 0;
  padding-top: 0;
}

.t-rotator {
  position: relative;
  min-height: 240px;
}
.t-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
}
.t-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.t-slide .q-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  line-height: 0.2;
  color: var(--accent);
  display: block;
  margin: 8px 0 -4px;
}
.t-slide .t-headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 38ch;
}
.t-slide .t-body {
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 64ch;
  margin: 0;
}
.t-slide .t-attr {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.t-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  gap: 16px;
}
.t-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--rule-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.t-btn:hover { border-color: var(--ink); background: var(--bg-2); }
.t-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--rule-2);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.t-dot:hover { background: var(--muted); }
.t-dot.is-active { background: var(--accent); transform: scale(1.4); }
.t-seemore {
  display: inline-block;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.t-seemore:hover { color: var(--accent); }

@media (max-width: 640px) {
  .testimonial-feature { padding: 28px 22px; }
  .t-rotator { min-height: 340px; }
}


/* =================================================== */
/* ===========  SERVICES CTA TILE  ==================== */
/* =================================================== */
.service-cta {
  grid-column: span 8;
  background: var(--ink);
  color: var(--bg);
  min-height: 360px;
  padding: 32px 32px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: stretch;
  overflow: hidden;
}
.service-cta:hover { background: var(--ink); }
.service-cta .num { color: oklch(0.7 0.005 80); }
.service-cta h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 14px 0 0;
  color: var(--bg);
  text-wrap: balance;
}
.service-cta h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: oklch(0.78 0.14 245);
}
.service-cta p {
  font-size: 14.5px;
  color: oklch(0.78 0.005 80);
  margin: 14px 0 0;
  line-height: 1.5;
  max-width: 40ch;
}
.service-cta .arrow {
  margin-top: auto;
  padding-top: 24px;
  color: var(--bg);
}
.service-cta .arrow.accent { color: oklch(0.78 0.14 245); }
.service-cta .cta-body {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.service-cta .topo {
  position: relative;
  border-left: 1px solid oklch(0.28 0.005 80);
  overflow: hidden;
  border-radius: 8px;
  background: oklch(0.16 0.005 80);
  min-height: 240px;
  margin: -32px -32px -28px 0;
}
.service-cta .topo svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.topo-hub { animation: topo-hub 1.8s ease-in-out infinite; transform-origin: 300px 140px; transform-box: fill-box; }
@keyframes topo-hub {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
.topo-ring {
  animation: topo-ring 2.4s ease-out infinite;
  transform-origin: 300px 140px;
  transform-box: fill-box;
}
@keyframes topo-ring {
  0%   { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

@media (max-width: 1024px) {
  .service-cta { grid-column: span 12; grid-template-columns: 1fr; min-height: auto; }
  .service-cta .topo { border-left: 0; border-top: 1px solid oklch(0.28 0.005 80); margin: 8px -32px -28px; min-height: 200px; }
}
@media (max-width: 640px) {
  .service-cta { padding: 28px 24px 24px; }
  .service-cta h3 { font-size: 26px; }
  .service-cta .topo { margin: 8px -24px -24px; min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .topo-hub, .topo-ring { animation: none; }
}

/* =================================================== */
/* ===========  PERFORMANCE & MOBILE POLISH  ========== */
/* =================================================== */

section { contain: layout paint; }

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero { padding: 56px var(--gutter) 48px; }
  .hero h1 { letter-spacing: -0.028em; }
  .hero-foot p { font-size: 17px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta > div { padding: 14px 0 0; border-top: 1px solid var(--rule); }
  .hero-meta > div:nth-child(3) { grid-column: span 2; }

  .section-head { margin-bottom: 36px; }
  .strip-track { gap: 32px; padding: 14px 0; }
  .strip-track span { gap: 32px; font-size: 11px; }

  .nav-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px var(--gutter);
    height: auto;
  }
  .nav .cta { padding: 10px 14px; }
  .cta, .btn-primary { min-height: 44px; }

  .service, .service.feature { padding: 26px 22px 22px; }
  .service h3 { font-size: 22px; }
  .service.feature h3 { font-size: 28px; }

  .pillars { gap: 10px; }
  .pillar { padding: 12px 14px 14px; }

  .news, .nl-card { padding: 28px 22px; border-radius: 14px; }
  .news-form { grid-template-columns: 1fr; padding: 6px; }
  .news-form input { padding: 14px 16px; }
  .news-form button { width: 100%; padding: 14px; border-radius: 999px; }

  .about-stats { grid-template-columns: 1fr; }
  .about-stats > div { border-right: 0; }
}

@media (max-width: 880px) and (min-width: 641px) {
  .services-grid .service { grid-column: span 6; }
  .services-grid .service.feature { grid-column: span 12; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .t-card, .t-card.t-feature { grid-column: span 2; }
}

.t-headline, .t-body, .article-title, .ph-title { overflow-wrap: anywhere; }
.logo-img { aspect-ratio: 855 / 633; }
img { image-rendering: -webkit-optimize-contrast; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
