/* =========================================================
   Plasma Systems, Inc. — site styles
   Light theme · white / cool gray / brand red / brand blue
   ========================================================= */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f5f7fa;          /* alternate section */
  --bg-tint: #eef3fb;          /* soft blue section */
  --surface: #ffffff;          /* cards */
  --surface-2: #f2f4f8;        /* inputs, chips, subtle fills */
  --line: #e3e7ee;
  --line-strong: #cbd2dd;

  /* Text */
  --text: #0e1320;
  --muted: #3e4859;            /* body copy on white ~9:1 */
  /* Texas state flag (3:2): blue hoist band with white star, white over red fly */
  --flag-texas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23fff'/%3E%3Crect x='10' y='10' width='20' height='10' fill='%23bf0a30'/%3E%3Crect width='10' height='20' fill='%23002868'/%3E%3Cpolygon fill='%23fff' points='5,6.8 5.72,9.01 8.04,9.01 6.16,10.38 6.88,12.59 5,11.22 3.12,12.59 3.84,10.38 1.96,9.01 4.28,9.01'/%3E%3C/svg%3E");
  --dim: #5f6a7d;              /* labels/meta ~5.5:1 (AA) */

  /* Brand */
  --red: #e0242c;
  --red-hot: #ff3d33;
  --red-text: #c81e25;         /* red for small text on white (AA) */
  --red-deep: #a8141b;
  --blue: #1f4fbf;
  --blue-bright: #3b6fe0;
  --blue-deep: #0f2a6b;
  --violet: #7c4dff;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.07);
  --shadow-md: 0 18px 40px -18px rgba(16, 24, 40, 0.22);
  --shadow-lg: 0 30px 60px -28px rgba(15, 42, 107, 0.28);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.01em; line-height: 1.15; }
h4 { font-size: 1.05rem; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--blue-bright));
}
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--muted); max-width: 62ch; }
.mono { font-family: var(--font-mono); }
.hot { color: var(--red); }
.blue { color: var(--blue); }

/* Plasma gradient text */
.plasma-text {
  background: linear-gradient(100deg, var(--red) 0%, #ff5a4e 28%, var(--violet) 64%, var(--blue-bright) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: plasmaShift 7s ease-in-out infinite alternate;
  /* Gradient text is only painted inside the element's box; glyphs like "g" overhang it.
     Pad the box (and cancel the padding with negative margin) so nothing is sliced off. */
  padding-right: 0.12em; margin-right: -0.12em;
}
@keyframes plasmaShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  overflow: hidden; isolation: isolate;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(224, 36, 44, 0.55); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text), 0 10px 24px -14px rgba(16,24,40,0.35); }
.btn--blue { --bg: var(--blue); }
.btn--blue:hover { box-shadow: 0 12px 26px -10px rgba(31, 79, 191, 0.6); }
.btn--white { --bg: #fff; --fg: var(--text); }
.btn--white:hover { box-shadow: 0 12px 26px -10px rgba(0,0,0,0.35); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--text);
  border-bottom: 1.5px solid var(--red); padding-bottom: 2px;
  transition: gap 0.3s var(--ease), color 0.2s;
}
.link-arrow:hover { gap: 14px; color: var(--red-text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(16, 24, 40, 0.25);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; padding: 10px 14px;
  font-size: 0.95rem; font-weight: 500; color: var(--muted);
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-mono); font-size: 0.86rem; color: var(--muted); white-space: nowrap; }
.nav-phone:hover { color: var(--text); }
.nav-cta .btn { padding: 11px 20px; font-size: 0.92rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  position: relative; transition: transform 0.3s var(--ease), background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-phone { display: none; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px);
    padding: 12px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(16, 24, 40, 0.3);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav-links a::after { display: none; }
  .nav-links .mobile-only { display: block; }
  .nav-links .mobile-only .btn { margin-top: 18px; width: 100%; justify-content: center; border: 0; color: #fff; }
}
.mobile-only { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 clamp(48px, 8vh, 96px);
  overflow: hidden; isolation: isolate;
  background: var(--bg);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 63% 55%;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 52%, rgba(255,255,255,0.7) 66%, rgba(255,255,255,0) 88%),
    linear-gradient(0deg, var(--bg) 0%, rgba(255,255,255,0) 28%);
}
@media (max-width: 760px) {
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.9) 45%, rgba(255,255,255,0.97) 100%);
  }
}
.hero__content { position: relative; max-width: 860px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin-bottom: 0.35em; }
/* Extra bottom room so descenders (the "g" in "Outstanding") aren't clipped by the reveal mask */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.2em; margin-bottom: -0.2em; }
.hero h1 .plasma-text { padding-bottom: 0.14em; margin-bottom: -0.14em; padding-right: 0.12em; margin-right: -0.12em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: none; } }
.hero .lead { color: var(--muted); margin-bottom: 34px; opacity: 0; animation: fadeUp 0.9s 0.5s var(--ease) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fadeUp 0.9s 0.65s var(--ease) forwards; }
.hero .btn--ghost { background: rgba(255,255,255,0.7); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__ticker {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 56px;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  opacity: 0; animation: fadeUp 0.9s 0.85s var(--ease) forwards;
}
.hero__ticker span { display: inline-flex; align-items: center; gap: 10px; }
.hero__ticker span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(224,36,44,0.15); }
.hero__ticker span:nth-child(2)::before { background: var(--text); box-shadow: 0 0 0 3px rgba(16,24,40,0.1); }
.hero__ticker span:nth-child(3)::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(31,79,191,0.15); }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 8vh, 96px);
  writing-mode: vertical-rl; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--muted), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(70px, 12vh, 140px)) 0 clamp(60px, 9vh, 110px);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(245,247,250,0.98) 30%, rgba(245,247,250,0.88) 58%, rgba(245,247,250,0.35));
}
@media (max-width: 760px) {
  .page-hero__media::after { background: rgba(245,247,250,0.9); }
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 16ch; }
.page-hero .lead { color: var(--muted); }
.crumbs { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 22px; }
.crumbs a:hover { color: var(--text); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 12vw, 150px); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section--paper { background: var(--bg-soft); }
.section--ink2 { background: var(--bg-tint); }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Blueprint grid backdrop */
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  opacity: 0.7;
}
.section--ink2.grid-bg::before {
  background-image: linear-gradient(#dbe4f3 1px, transparent 1px), linear-gradient(90deg, #dbe4f3 1px, transparent 1px);
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden; padding-block: 22px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
  font-family: var(--font-display); font-stretch: 118%; font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.02em; text-transform: uppercase; color: #3b4456;
}
.marquee__item small { font-family: var(--font-mono); font-stretch: 100%; font-weight: 400; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--dim); }
.marquee__item::after { content: "✦"; color: var(--red); font-size: 0.9rem; margin-left: 42px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.stat { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 28px; }
.stat__num {
  font-family: var(--font-display); font-stretch: 115%; font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; color: var(--text);
  display: flex; align-items: baseline; gap: 4px;
}
/* Two-line word stat: half size so both lines match the height of a numeric stat */
.stat__num--words { display: block; font-size: clamp(1.25rem, 2.5vw, 2.1rem); }
.stat__num sup, .stat__num small { font-size: 0.45em; color: var(--red); font-weight: 800; }
.stat__label { margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
.stat__label strong { display: block; color: var(--text); font-weight: 600; }
@media (max-width: 900px) {
  .stat { padding: 28px 18px 18px 0; }
  .stat + .stat { padding-left: 18px; }
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Split intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

/* ---------- Product cards (image top, text below) ---------- */
.products { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.product {
  position: relative; grid-column: span 4; min-height: 460px;
  border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  padding: 0 0 26px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.product--lg { grid-column: span 8; }
.product--half { grid-column: span 6; }
.product__img { position: relative; flex: 1 1 auto; min-height: 220px; overflow: hidden; margin-bottom: 24px; background: var(--surface-2); }
.product__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product__img > svg { position: absolute; inset: 0; }
.product > :not(.product__img):not(.product__tag) { margin-inline: 26px; }
.product::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--violet), var(--blue-bright));
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.product:hover .product__img > img { transform: scale(1.05); }
.product:hover::after { transform: scaleX(1); }
.product__tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; color: var(--text);
  background: rgba(255,255,255,0.88); border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(6px); box-shadow: var(--shadow-sm);
}
.product__tag--new { background: var(--red); border-color: var(--red); color: #fff; }
.product h3 { margin-bottom: 0.4em; }
.product p { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; max-width: 46ch; }
.product .link-arrow { font-size: 0.92rem; align-self: flex-start; }
@media (max-width: 960px) {
  .product, .product--lg { grid-column: span 6; }
}
@media (max-width: 640px) {
  .product, .product--lg { grid-column: span 12; min-height: 400px; }
}

/* ---------- Anatomy (interactive hotspots) ---------- */
.anatomy { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 4vw, 56px); align-items: center; }
.anatomy__stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 1800 / 1131; background: var(--surface-2);
  box-shadow: var(--shadow-md);
}
.anatomy__stage img { width: 100%; height: 100%; object-fit: cover; }
.hotspot {
  position: absolute; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,0.25); backdrop-filter: blur(4px);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.hotspot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.35), 0 1px 4px rgba(0,0,0,0.4); transition: background 0.3s; }
.hotspot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff;
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hotspot:hover, .hotspot.is-active { transform: scale(1.15); background: rgba(224,36,44,0.35); }
.hotspot.is-active::before { background: var(--red-hot); box-shadow: 0 0 0 3px rgba(255,61,51,0.35), 0 0 18px var(--red-hot); }
.hotspot.is-active::after { border-color: var(--red-hot); }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 80%, 100% { transform: scale(2.2); opacity: 0; } }
.hotspot__num { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.68rem; color: #fff; text-shadow: 0 1px 4px #000; }

.anatomy__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.anatomy__item {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.anatomy__item button {
  width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px;
  display: flex; align-items: center; gap: 16px;
}
.anatomy__item .idx { font-family: var(--font-mono); font-size: 0.78rem; color: var(--dim); min-width: 22px; transition: color 0.3s; }
.anatomy__item h4 { margin: 0; flex: 1; }
.anatomy__item .chev { width: 18px; height: 18px; color: var(--dim); transition: transform 0.35s var(--ease), color 0.3s; }
.anatomy__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.anatomy__body > div { overflow: hidden; }
.anatomy__body p { padding: 0 20px 18px 58px; margin: 0; color: var(--muted); font-size: 0.95rem; }
.anatomy__item.is-active { border-color: rgba(224,36,44,0.45); background: linear-gradient(180deg, rgba(224,36,44,0.05), var(--surface)); box-shadow: var(--shadow-md); }
.anatomy__item.is-active .idx { color: var(--red); }
.anatomy__item.is-active .chev { transform: rotate(180deg); color: var(--red); }
.anatomy__item.is-active .anatomy__body { grid-template-rows: 1fr; }
@media (max-width: 960px) { .anatomy { grid-template-columns: 1fr; } }

/* ---------- Advantage ---------- */
.advantage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv-card {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.adv-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 26px;
  background: var(--text); color: #fff;
}
.adv-card:nth-child(1) .adv-card__icon { background: var(--red); }
.adv-card:nth-child(2) .adv-card__icon { background: var(--blue); }
.adv-card__icon svg { width: 26px; height: 26px; }
.adv-card h3 { margin-bottom: 0.5em; }
.adv-card p { margin: 0; font-size: 0.98rem; color: var(--muted); }
.adv-card__big {
  position: absolute; right: -10px; bottom: -30px;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 9rem; line-height: 1;
  color: #f0f2f6; z-index: 0; pointer-events: none; user-select: none;
}
.adv-card > *:not(.adv-card__big) { position: relative; z-index: 1; }
@media (max-width: 900px) { .advantage { grid-template-columns: 1fr; } }

/* Versus strip */
.versus {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.versus__col { padding: 32px 34px; }
.versus__col h4 { font-family: var(--font-mono); font-stretch: 100%; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.versus__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.versus__col li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.versus__col li svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; }
.versus__col--them { background: var(--surface); color: var(--muted); }
.versus__col--them h4 { color: var(--muted); }
.versus__col--them svg { color: #a0a7b4; }
.versus__col--us { background: var(--blue); color: #fff; }
.versus__col--us h4 { color: #fff; }
.versus__col--us svg { color: #fff; }
.versus__vs {
  display: grid; place-items: center; padding: 0 6px; background: linear-gradient(90deg, var(--surface) 50%, var(--blue) 50%);
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: 0.9rem;
}
.versus__vs span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 6px var(--bg-soft); }
@media (max-width: 860px) {
  .versus { grid-template-columns: 1fr; }
  .versus__vs { padding: 0; height: 0; position: relative; z-index: 2; background: none; }
  .versus__vs span { transform: translateY(-50%); }
}

/* ---------- Service radar ---------- */
.radar-wrap { position: relative; display: grid; place-items: center; }
.radar { width: 100%; max-width: 520px; aspect-ratio: 1; position: relative; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar__sweep { transform-origin: 250px 250px; animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__pulse { transform-origin: 250px 250px; animation: radarPulse 3s ease-out infinite; }
@keyframes radarPulse { 0% { transform: scale(0.1); opacity: 0.9; } 100% { transform: scale(1); opacity: 0; } }
.radar text { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; fill: var(--muted); }
.radar .city { fill: var(--text); }
.radar .radius-label { fill: var(--red-text); }
.radar .hq { fill: var(--text); font-weight: 600; }

.checks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.checks li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
.checks strong { color: var(--text); font-weight: 600; }

/* ---------- Gallery strip ---------- */
.reel { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 18px; }
.reel figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; position: relative; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.reel figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; transition: transform 1.2s var(--ease); }
.reel figure:first-child img { aspect-ratio: auto; }
.reel figure:hover img { transform: scale(1.05); }
.reel figcaption {
  position: absolute; left: 14px; bottom: 14px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; color: var(--text);
  background: rgba(255,255,255,0.88); backdrop-filter: blur(6px); box-shadow: var(--shadow-sm);
}
@media (max-width: 860px) { .reel { grid-template-columns: 1fr 1fr; } .reel figure:first-child { grid-column: span 2; } .reel figure:first-child img { aspect-ratio: 16/10; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: clamp(44px, 7vw, 90px) clamp(28px, 6vw, 80px);
  background: var(--red);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  box-shadow: 0 30px 70px -36px rgba(224, 36, 44, 0.6);
}
.cta-band::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.3), transparent 35%),
    radial-gradient(circle at 10% 110%, var(--blue), transparent 45%),
    conic-gradient(from 200deg at 70% 50%, #c81e25, var(--red), var(--red-hot), var(--red));
  animation: ctaSpin 18s linear infinite;
}
@keyframes ctaSpin { to { transform: rotate(360deg); } }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,0.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band h2 { margin: 0 0 0.3em; color: #fff; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.92); font-size: 1.1rem; max-width: 52ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-band .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.7); justify-content: center; }
.cta-band .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff, 0 10px 24px -14px rgba(0,0,0,0.4); }
.cta-band .btn--white { justify-content: center; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(60px, 8vw, 96px); background: var(--bg-soft); padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-stretch: 100%; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--red-text); }
.footer-col address { font-style: normal; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.footer-phone { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.35rem; color: var(--text) !important; }
.footer-phone:hover { color: var(--red-text) !important; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--text); background: var(--surface); border: 1px solid var(--line); transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: clamp(50px, 6vw, 80px); padding-block: 26px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.85rem; color: var(--dim);
}
.footer-bottom .flag { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .flag i { display: inline-block; width: 21px; height: 14px; background: var(--flag-texas) center / cover no-repeat; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.footer-wordmark {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(3.5rem, 15vw, 13rem); line-height: 0.8; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(14,19,32,0.1);
  margin-top: 40px; user-select: none; white-space: nowrap; overflow: hidden;
}
/* Two identical copies; sliding by -50% loops seamlessly. Spacing is padding (not gap) so the halves match. */
.footer-wordmark__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.footer-wordmark__track > span { padding-right: 0.35em; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
/* Phones: brand and contact full width; Machines + Company link lists side by side */
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .footer-brand, .footer-grid > :last-child { grid-column: 1 / -1; } }

/* ---------- Capabilities page ---------- */
.subnav {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 50;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.2s, background 0.2s;
}
.subnav a:hover { color: var(--text); background: var(--surface-2); }
.subnav a.is-active { background: var(--blue); color: #fff; }

.tool-tabs { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.tab-list { display: grid; gap: 10px; }
.tab {
  text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 22px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.tab:hover { border-color: var(--line-strong); transform: translateX(4px); }
.tab .idx { grid-row: span 2; font-family: var(--font-mono); font-size: 0.8rem; color: var(--dim); }
.tab strong { font-family: var(--font-display); font-stretch: 112%; font-size: 1.2rem; font-weight: 700; }
.tab small { color: var(--muted); font-size: 0.9rem; }
.tab[aria-selected="true"] { border-color: var(--red); background: linear-gradient(90deg, rgba(224,36,44,0.07), var(--surface) 70%); }
.tab[aria-selected="true"] .idx { color: var(--red); }
.tab-panel { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-md); }
.tab-panel[hidden] { display: none !important; }
.tab-panel__img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.tab-panel__img img { width: 100%; height: 100%; object-fit: cover; animation: panelIn 0.8s var(--ease); }
@keyframes panelIn { from { transform: scale(1.06); opacity: 0.4; } to { transform: none; opacity: 1; } }
.tab-panel__body { padding: 28px 30px 32px; }
.tab-panel__body p { color: var(--muted); }
.spec-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.spec-list li::before { content: "→"; color: var(--red); font-family: var(--font-mono); }
@media (max-width: 900px) { .tool-tabs { grid-template-columns: 1fr; } .tab-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tab-list { grid-template-columns: 1fr; } }

.spec-sheet { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--text); }
.spec-row { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line-strong); display: grid; gap: 6px; align-content: start; }
.spec-row:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line-strong); }
.spec-row .k { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-text); }
.spec-row .v { font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 1.2rem; color: var(--text); line-height: 1.25; }
.spec-row .d { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 860px) {
  .spec-sheet { grid-template-columns: 1fr 1fr; }
  .spec-row:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .spec-row:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-strong); }
}
@media (max-width: 520px) { .spec-sheet { grid-template-columns: 1fr; } .spec-row:nth-child(even) { padding-left: 0; border-left: 0; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(31,79,191,0.1); color: var(--blue); margin-bottom: 20px; }
.feature:nth-child(3n+1) .feature__icon { background: rgba(224,36,44,0.1); color: var(--red); }
.feature:nth-child(3n+2) .feature__icon { background: var(--surface-2); color: var(--text); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 0.45em; }
.feature p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .feature-grid { grid-template-columns: 1fr; } }

/* Controller illustration: light bezel, blueprint-style screens */
.controller-mock {
  position: relative; border-radius: var(--radius-lg); padding: 18px;
  background: linear-gradient(160deg, #ffffff, #e9edf4);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
}
.controller-mock__screens { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.screen {
  aspect-ratio: 16 / 10; border-radius: 10px; background: #f8faff; border: 1px solid #d6deec;
  position: relative; overflow: hidden;
}
.screen svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen .cutpath { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 5s linear infinite; }
@keyframes draw { 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
.screen__label { position: absolute; left: 10px; top: 8px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; color: var(--blue); }
.controller-mock__bar { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; }
.controller-mock__bar .led { display: inline-flex; align-items: center; gap: 8px; color: #047857; }
.controller-mock__bar .led::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px #10b981; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding-top: 30px; border-top: 2px solid var(--line-strong); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -2px; left: 0; padding-top: 10px; border-top: 2px solid var(--red); width: 48px;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--red-text);
}
.step h3 { font-size: 1.2rem; margin-top: 14px; }
.step p { font-size: 0.95rem; margin: 0; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 34px 18px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.quote-block {
  position: relative; padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-md);
}
.quote-block::before {
  content: "\201C"; position: absolute; top: -40px; right: 20px;
  font-family: Georgia, serif; font-size: 16rem; line-height: 1; color: var(--red); opacity: 0.12;
}
.quote-block blockquote {
  margin: 0; font-family: var(--font-display); font-stretch: 108%; font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance;
}
.quote-block cite { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-style: normal; color: var(--muted); }
.quote-block cite strong { color: var(--text); display: block; }
.quote-block cite .avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--blue)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.value { padding: 34px 34px 34px 0; border-bottom: 1px solid var(--line-strong); display: grid; grid-template-columns: auto 1fr; gap: 20px; }
.value:nth-child(even) { padding-left: 34px; border-left: 1px solid var(--line-strong); }
.value .n { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--red); }
.value:nth-child(even) .n { color: var(--blue); }
.value h3 { margin-bottom: 0.4em; font-size: 1.3rem; }
.value p { margin: 0; font-size: 0.98rem; color: var(--muted); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .value, .value:nth-child(even) { padding-left: 0; border-left: 0; } }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--red), var(--violet), var(--blue-bright)); }
.tl-item { position: relative; padding: 0 0 36px 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--blue); }
.tl-item .when { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-text); }
.tl-item h3 { font-size: 1.25rem; margin: 6px 0 6px; }
.tl-item p { color: var(--muted); margin: 0; font-size: 0.97rem; }

.made-in {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm);
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.made-in i { width: 24px; height: 16px; border-radius: 3px; background: var(--flag-texas) center / cover no-repeat; box-shadow: 0 0 0 1px var(--line); }

/* ---------- Hypertherm plasma ---------- */
.plasma-intro { margin-bottom: clamp(44px, 6vw, 72px); }
.plasma-intro h2 { margin-top: 0; }
.plasma-hero { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); aspect-ratio: 3 / 2; background: #15171c; }
.plasma-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plasma-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plasma-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.plasma-card__img { height: 240px; padding: 22px; background: #fff; border-bottom: 1px solid var(--line); }
.plasma-card__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.plasma-card__body { padding: 26px 28px 30px; }
.plasma-card__tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-text); }
.plasma-card h3 { font-size: 1.45rem; margin: 8px 0 10px; }
.plasma-card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.cut-samples { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.cut-samples figure { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.cut-samples img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: contain; padding: 16px 20px; }
.cut-samples figcaption { margin-top: auto; padding: 16px 24px 20px; border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--muted); }
.cut-samples figcaption strong { color: var(--text); }
@media (max-width: 960px) { .plasma-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cut-samples { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: 26px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: flex-start; }
.contact-card__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(224,36,44,0.1); color: var(--red); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-family: var(--font-mono); font-stretch: 100%; font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.contact-card p, .contact-card a { margin: 0; font-size: 1.05rem; color: var(--text); }
.contact-card .big { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.5rem; }
.contact-card a:hover { color: var(--red-text); }


.map-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 21 / 9; background: var(--surface-2); box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35); }
@media (max-width: 700px) { .map-frame { aspect-ratio: 4 / 3; } }

/* ---------- Phone tuning ---------- */
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand img { height: 44px; }
  .section { padding-block: 60px; }
  .section--tight { padding-block: 44px; }
  .section-head { gap: 18px; margin-bottom: 32px; }
  .page-hero { padding: calc(var(--header-h) + 44px) 0 48px; }
  .page-hero h1 { font-size: 2.3rem; }
  .crumbs { margin-bottom: 14px; }
  .quote-block { padding: 28px 24px; }
  .quote-block::before { font-size: 10rem; top: -22px; right: 12px; }
  .quote-block blockquote { font-size: 1.3rem; }
  .plasma-card__img { height: 190px; padding: 18px; }
  .plasma-intro { margin-bottom: 32px; }
  .footer-brand img { height: 52px; margin-bottom: 14px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.4s; }

.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .marquee__track, .footer-wordmark__track { animation: none; }
}

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-lg > * + * { margin-top: 28px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
