/* ============================================================
   TAC PAL — site styles
   Plain CSS. No framework, no build step.
   Type + colour follow the TAC PAL company profile:
   Prompt (headings), DM Sans (body), Major Mono Display (labels),
   slate #34495E, yellow #F1C40F, green #39622E, blue #175786,
   red #BF2928 on white / #FAFAFA.
   Sections:
   1. Tokens        2. Base          3. Layout / type
   4. Buttons       5. Header        6. Hero
   7. Sections      8. Cards         9. Forms
   10. Footer       11. Article      12. Motion / responsive
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Major+Mono+Display&family=Prompt:wght@400;500;600;700&display=swap");


/* ---------- 1. Tokens ---------- */
:root {
  /* Company profile palette — white paper, slate ink, yellow highlight */
  --ink: #34495e;
  --ink-soft: #3f5469;
  --paper: #ffffff;
  --paper-2: #fafafa;
  --paper-3: #f1f3f4;
  --line: #e2e7ec;
  --line-strong: #c8d2dc;
  --muted: #5d6d7e;
  --muted-2: #62758a;

  /* TAC PAL green / TOOL PAL blue / accent red / profile yellow */
  --accent: #39622e;
  --accent-dark: #2a4a20;
  --accent-soft: #eef3ea;
  --blue: #175786;
  --blue-dark: #10405f;
  --blue-soft: #eaf1f7;
  --red: #bf2928;
  --yellow: #f1c40f;
  --green: #39622e;

  --mark-green: #39622e;
  --mark-blue: #175786;

  --radius: 2px;
  --container: 1200px;
  --header-h: 72px;

  --font-sans: "DM Sans", "Segoe UI Variable Text", "Segoe UI", system-ui,
    -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Prompt", "DM Sans", "Segoe UI Variable Display", "Segoe UI",
    system-ui, sans-serif;
  --font-label: "Major Mono Display", "Cascadia Mono", ui-monospace, monospace;
  --font-mono: "Cascadia Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 3. Layout / type ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 64px);
  margin-inline: auto;
  padding-inline: 32px;
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.section--paper {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--yellow);
  flex: none;
}

.eyebrow--plain::before {
  display: none;
}

.section--ink .eyebrow {
  color: #b9c7d4;
}

.section--ink .lead {
  color: #cdd8e2;
}

.section--ink .muted {
  color: #b9c7d4;
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.section-head--row {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  max-width: none;
  gap: clamp(24px, 5vw, 72px);
}

.section-head--row .lead {
  padding-bottom: 4px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stack {
  display: grid;
  gap: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.text-link svg {
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.section--ink .text-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn svg {
  flex: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
  font-weight: 600;
}

.btn--primary:hover {
  background: #d4aa0d;
  border-color: #d4aa0d;
  color: var(--ink);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(52, 73, 94, 0.05);
}

.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn--light:hover {
  background: #edf1f4;
  border-color: #edf1f4;
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px -24px rgba(52, 73, 94, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex: none;
}

/* Official TP monogram, cropped from the supplied logo artwork */
.brand__mark {
  display: block;
  flex: none;
  height: 40px;
  width: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

/* TAC PAL wordmark.
   Reproduces the logo typeset in the company profile: Major Mono Display,
   wide tracking and the profile's per-letter colours
   (T C blue · A A red · P L green). */
.wordmark {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.57em;
  margin-right: -0.57em;
  white-space: nowrap;
  text-transform: uppercase;
}

.wordmark span:nth-child(1),
.wordmark span:nth-child(3) {
  color: var(--blue);
}

.wordmark span:nth-child(2),
.wordmark span:nth-child(4),
.wordmark span:nth-child(6) {
  color: var(--red);
}

.wordmark span:nth-child(5),
.wordmark span:nth-child(7) {
  color: var(--accent);
}

.brand__tag {
  font-family: var(--font-sans);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.32em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

/* The coloured wordmark needs a light plate on slate surfaces */
.brand--light {
  color: #fff;
}

.brand-plate {
  padding: 10px 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 26px -20px rgba(0, 0, 0, 0.85);
}

.brand-plate .brand__mark {
  height: 44px;
}

.brand-plate .brand__tag {
  color: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__link {
  position: relative;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav .btn {
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span + span {
  margin-top: 4.5px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(
    ellipse 80% 70% at 68% 45%,
    #000 20%,
    transparent 80%
  );
  mask-image: radial-gradient(ellipse 80% 70% at 68% 45%, #000 20%, transparent 80%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 640px;
  height: 640px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(
      circle at 62% 38%,
      rgba(241, 196, 15, 0.08) 0%,
      rgba(57, 98, 46, 0.18) 0%,
      rgba(57, 98, 46, 0) 62%
    ),
    radial-gradient(
      circle at 28% 78%,
      rgba(23, 87, 134, 0.22) 0%,
      rgba(23, 87, 134, 0) 58%
    );
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(56px, 7vw, 92px);
}

.hero h1 {
  margin-bottom: 22px;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: #a9cf94;
}

.hero__lead {
  max-width: 56ch;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: #c3ced9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__stat {
  padding: 18px 18px 0 0;
}

.hero__stat b {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__stat span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8c6d4;
  line-height: 1.5;
}

/* Hero slider */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hero__inner.hero__inner--slider {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.hero-slider {
  max-width: 880px;
  min-width: 0;
}

.hero-slider__slides {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.hero-slide {
  grid-area: 1 / 1;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    visibility 0s linear 0.4s;
}

.hero-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease) 0.08s,
    transform 0.45s var(--ease) 0.08s, visibility 0s;
}

.hero-slide__title {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 4.15rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Customer logos inside the hero slide */
.hero-customers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 100%;
  margin-top: 28px;
}

.hero-customer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 8px 12px;
  background: #fff;
}

.hero-customer img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 38px;
  object-fit: contain;
}

.hero-customer__text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--ink);
  text-align: center;
}

.hero-customer__name {
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.hero-customer__sub {
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.ls-power__name {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ls-power__ls {
  color: #f07f1a;
}

.ls-power__pw {
  color: #00a5da;
}

/* The customers slide keeps its CTA on small screens, where it fills the
   stacked slide height; on desktop the logos already carry the slide. */
.hero-slide--customers .hero__actions {
  display: none;
}

@media (max-width: 720px) {
  .hero-slide--customers .hero__actions {
    display: flex;
  }
}

.hero-slider__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 40px);
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-slider__dot {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: background 0.2s var(--ease), width 0.2s var(--ease);
}

.hero-slider__dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero-slider__dot.is-active {
  width: 44px;
  background: var(--yellow);
}

.hero-slider__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hero-slider__arrow[data-hero-prev] {
  margin-left: auto;
}

.hero-slider__arrow:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.hero-slider__dot:focus-visible,
.hero-slider__arrow:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.hero__inner--slider .hero__stats {
  margin-top: clamp(30px, 4vw, 44px);
}

/* Sector strip under hero */
.strip {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.strip__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 38px;
  padding-block: 16px;
}

.strip__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.strip__item::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--line-strong);
}

/* ---------- 7. Sections & editorial blocks ---------- */

/* Page hero (inner pages) */
.page-hero {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 76px) clamp(36px, 4vw, 56px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--muted-2);
}

.page-hero h1 {
  max-width: 18ch;
  margin-bottom: 18px;
}

.page-hero .lead {
  max-width: 58ch;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.page-hero__meta b {
  color: var(--ink);
  font-weight: 600;
}

/* Pillars */
.pillar {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.pillar__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.pillar h3 {
  margin-bottom: 10px;
}

.pillar p {
  font-size: 14.5px;
  color: var(--muted);
}

.pillar__list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.pillar__list li {
  position: relative;
  padding-left: 16px;
}

.pillar__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  background: var(--line-strong);
}

/* Stats row on light */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.stat b {
  display: block;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  max-width: 22ch;
}

/* Split media block */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.split__media img {
  width: 100%;
  height: auto;
}

.split__body h2 {
  margin-bottom: 18px;
}

.split__body p + p {
  margin-top: 14px;
}

.split__body .btn-row {
  margin-top: 28px;
}

/* Full-width product plate and the spec block beneath it */
.wide-plate {
  margin: 0 0 clamp(26px, 4vw, 40px);
  background: #0b0b0c;
  border: 1px solid #0b0b0c;
}

.wide-plate img {
  display: block;
  width: 100%;
  height: auto;
}

.plate-note {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 6px;
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b9c7d4;
}

.press-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.press-body .specs {
  margin-top: 0;
}

.press-body p {
  margin: 0;
}

@media (max-width: 900px) {
  .press-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 22px;
  font-size: 14.5px;
}

.checklist li {
  display: flex;
  gap: 12px;
  color: var(--ink-soft);
}

.checklist svg {
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.steps--light {
  border-top-color: var(--line-strong);
}

.step {
  padding: 22px 22px 0 0;
}

.step__num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

.step h3 {
  margin: 12px 0 8px;
  font-size: 1.02rem;
}

.step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #b0bdc9;
}

.steps--light .step p {
  color: var(--muted);
}

/* ---------- 8. Cards ---------- */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px -32px rgba(52, 73, 94, 0.5);
  transform: translateY(-2px);
}

/* Product */
.product {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.product:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -36px rgba(52, 73, 94, 0.55);
}

.product__media {
  display: grid;
  place-items: center;
  padding: 14px;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 22px 22px 20px;
}

.product__kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.product__title {
  font-size: 1.05rem;
}

.product__desc {
  font-size: 13.8px;
  line-height: 1.6;
  color: var(--muted);
}

.specs {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.specs div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
}

.specs dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.specs dd {
  margin: 0;
  text-align: right;
  color: var(--ink-soft);
}

.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 15px 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}

.product__foot svg {
  transition: transform 0.25s var(--ease);
}

.product:hover .product__foot svg {
  transform: translateX(4px);
  color: var(--accent);
}

/* Sector */
.sector {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.sector:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.sector__media {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}

.sector__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sector__body {
  padding: 22px;
}

/* Text-only sector card (no invented illustration) */
.sector--plain .sector__body {
  padding: 26px 22px 28px;
}

.sector__num {
  display: block;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.sector__body h3 {
  margin-bottom: 8px;
}

.sector__body p {
  font-size: 13.8px;
  color: var(--muted);
}

.sector__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Blog */
.post {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post__media {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}

.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.post:hover .post__media img {
  transform: scale(1.025);
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.post__meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--line-strong);
}

.post h3 {
  font-size: 1.14rem;
}

.post h3 a {
  transition: color 0.2s var(--ease);
}

.post:hover h3 a {
  color: var(--accent);
}

.post p {
  font-size: 14px;
  color: var(--muted);
}

.post--feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.post--feature h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
}

.post--feature .post__media {
  aspect-ratio: 16 / 10;
}

/* Quote */
.quote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 24px;
}

.quote p {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.quote footer {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Catalogue / document rows */
.docs {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.doc__main {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  flex: 1;
}

.doc__thumb {
  flex: none;
  width: 56px;
  border: 1px solid var(--line);
  background: #fff;
}

.doc__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .doc {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
    gap: 10px 14px;
  }

  .doc__thumb {
    width: 48px;
  }

  .doc__action {
    grid-column: 2;
    justify-self: start;
  }
}

.doc__title {
  font-size: 15px;
  font-weight: 500;
}

.doc__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8c6d4;
}

.doc__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.doc__action:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.docs--light {
  border-top-color: var(--line-strong);
}

.docs--light .doc {
  border-bottom-color: var(--line);
}

.docs--light .doc__meta {
  color: var(--muted-2);
}

.docs--light .doc__action {
  color: var(--ink);
  border-color: var(--line-strong);
}

/* CTA band */
.cta-band {
  background: var(--ink);
  border-block: 1px solid var(--ink);
  color: #fff;
  padding-block: clamp(48px, 6vw, 76px);
}

.cta-band .eyebrow {
  color: #b9c7d4;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  max-width: 22ch;
}

.cta-band p {
  margin-top: 12px;
  color: #c3ced9;
  max-width: 52ch;
}

.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.cta-band .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Quick links (home) */
.quick {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  background: var(--paper);
  transition: background 0.2s var(--ease);
}

.quick--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick--plain {
  background: transparent;
  border: 0;
  gap: 16px;
}

.quick--plain .quick__item {
  border: 1px solid var(--line);
}

.quick__item:hover {
  background: var(--paper-3);
}

.quick__num {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.quick__item h3 {
  font-size: 15px;
}

.quick__item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.quick__arrow {
  margin-top: auto;
  color: var(--muted-2);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.quick__item:hover .quick__arrow {
  transform: translate(3px, -3px);
  color: var(--accent);
}

/* Filter bar */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.filter {
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}

.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter[aria-pressed="true"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.filter__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.filter-item {
  animation: fadeUp 0.32s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Services list */
.service {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.35fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 3px;
}

.service h3 {
  font-size: 1.25rem;
}

.service__body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.service__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 16px;
}

/* Info panel */
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px;
}

.panel h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.panel p,
.panel li {
  font-size: 14px;
  color: var(--muted);
}

.panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

/* Customers panel (about) */
.customers-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.customer-logo,
.customer-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  margin: 0;
  padding: 16px 18px;
  background: var(--paper-2);
  text-align: center;
}

.customer-logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.customer-logo--wide img {
  max-height: 62px;
}

.customer-wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.customer-wordmark small {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.customer-wordmark .ls-power__name {
  font-size: 1.05rem;
}

/* ---------- 9. Forms ---------- */
.form {
  display: grid;
  gap: 18px;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
  align-content: start;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label .req {
  color: var(--accent);
  margin-left: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-3);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235d6d7e' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--muted-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(57, 98, 46, 0.14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--accent);
}

.field__error {
  font-size: 12px;
  color: var(--accent);
}

.check {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.field label.check {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.check input,
.field input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  accent-color: var(--accent);
  flex: none;
}

.check .field__error {
  flex-basis: 100%;
  padding-left: 26px;
  margin: 0;
}

.form__note {
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.6;
}

.form-success {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-top: 2px solid var(--green);
}

.form-success h3 {
  font-size: 1.25rem;
}

.form-success p {
  font-size: 14px;
  color: var(--muted);
}

.form-success[hidden],
[hidden] {
  display: none !important;
}

/* Contact aside */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-list a,
.contact-list strong {
  font-size: 15px;
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--accent);
}

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 10. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c4d0db;
  padding-block: 60px 26px;
  font-size: 14px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand p {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: #b3bfca;
}

.footer__addr {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8b6c2;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer h4 {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b3bfca;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

.footer a {
  transition: color 0.2s var(--ease);
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  font-size: 11.5px;
  color: #b3bfca;
}

.footer__bottom a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c4d0db;
}

/* ---------- 11. Article ---------- */
.article-head {
  max-width: 820px;
}

.article-head h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.article-hero {
  margin-block: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.article {
  max-width: 720px;
  font-size: 1.03rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

.article > * + * {
  margin-top: 1.15em;
}

.article h2 {
  margin-top: 1.9em;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  color: var(--ink);
}

.article h3 {
  margin-top: 1.6em;
  color: var(--ink);
}

.article ul,
.article ol {
  display: grid;
  gap: 0.5em;
  padding-left: 1.2em;
}

.article li::marker {
  color: var(--accent);
}

.article a {
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.article a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.article blockquote {
  margin: 1.6em 0;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: var(--paper-2);
  font-size: 1.06em;
  line-height: 1.6;
}

.article blockquote p {
  margin: 0;
}

.article .callout {
  margin: 1.8em 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.article .callout h3 {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.article .callout p {
  margin: 0;
  font-size: 0.95em;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.93em;
}

.article th,
.article td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.article th {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--line-strong);
}

.article-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 18px;
}

.author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.author strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.author span {
  font-size: 12px;
  color: var(--muted);
}

/* Leadership cards use the portrait photos supplied in the company profile */
.card--person {
  padding: 0;
  overflow: hidden;
}

.person__photo {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.card--person .author {
  padding: 22px 26px 0;
}

.card--person > p {
  padding: 0 26px 26px;
}

/* ---------- 11b. Brand architecture / company blocks ---------- */
.brand-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}

.brand-card--toolpal {
  border-top-color: var(--blue);
}

.brand-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.brand-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.01em;
}

.brand-card h3 span {
  color: var(--accent);
}

.brand-card--toolpal h3 span {
  color: var(--blue);
}

.brand-card > p {
  font-size: 14.5px;
  color: var(--muted);
}

.brand-card__list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.brand-card__list li {
  position: relative;
  padding-left: 16px;
}

.brand-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.brand-card--toolpal .brand-card__list li::before {
  background: var(--blue);
}

.brand-card__foot {
  margin-top: auto;
  padding-top: 8px;
}

/* TAC PAL lockup: official mark plus the typeset name and tagline */
.brand-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 6px 0 14px;
}

/* Official TAC PAL mark, cropped from the supplied logo artwork */
.brand-lockup__img {
  display: block;
  flex: none;
  width: min(104px, 28%);
  height: auto;
}

.brand-lockup__type {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1 1 150px;
  min-width: 0;
}

.wordmark--lg {
  font-size: clamp(19px, 2.1vw, 26px);
}

.brand-lockup__tag {
  font-family: var(--font-sans);
  font-size: clamp(7.5px, 0.78vw, 9.5px);
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--blue);
}

/* Real TOOL PAL artwork — transparent PNG, no plate needed on paper */
.brand-logo {
  width: min(240px, 80%);
  height: auto;
  margin: 4px 0 10px;
}

.brand-logo--inline {
  width: 140px;
  margin: 0 0 18px;
}

/* Photographic media taken from the company profile */
.product__media--photo {
  padding: 0;
  background: #eef1f4;
}

.product__media--photo img {
  object-fit: cover;
}

.split__media img {
  display: block;
}

.split__media--dark {
  background: #0b0b0c;
  border-color: #0b0b0c;
}

.specs--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 22px;
}

.specs--wide div {
  display: block;
}

.specs--wide dd {
  margin-top: 4px;
  text-align: left;
}

.panel--ink {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.panel--ink h3 {
  color: #fff;
}

.section--ink .panel p {
  color: #cdd8e2;
}

/* Logo + copy strip: two columns on desktop, stacked on narrow screens */
.brand-split {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.brand-split .brand-logo {
  width: 100%;
  max-width: 220px;
  margin: 0;
}

@media (max-width: 720px) {
  .brand-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.brand-logo--light {
  background: #fff;
  padding: 14px 18px;
}

/* Timeline */
.timeline {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.timeline__row {
  display: grid;
  grid-template-columns: 110px minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(16px, 3vw, 36px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.timeline__year {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 4px;
}

.timeline h3 {
  font-size: 1.08rem;
}

.timeline p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* Compact feature list */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: var(--paper);
  font-size: 13.8px;
  color: var(--ink-soft);
}

.feature-list svg {
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}

/* ---------- 12. Motion / responsive ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .service {
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.2fr);
  }
  .quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 18px 24px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(52, 73, 94, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: 12px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .nav__link::after {
    display: none;
  }

  .nav .btn {
    margin: 18px 0 0;
    justify-content: center;
    padding: 13px 18px;
    font-size: 14px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: 48px 56px;
  }

  .section-head--row,
  .split,
  .customers-panel,
  .post--feature,
  .contact-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .article-side {
    position: static;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .steps .step {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
  }

  .steps--light .step {
    border-top-color: var(--line);
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    padding-inline: 20px;
  }

  .timeline__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }

  .timeline__year {
    padding-top: 0;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .service__num {
    padding-top: 0;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }

  .quick {
    grid-template-columns: 1fr;
  }

  .strip__inner {
    gap: 10px 24px;
  }

  .cta-band__inner {
    align-items: flex-start;
  }

  .doc {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .article-layout {
    gap: 40px;
  }

  .article {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 8px;
  }

  .brand__mark {
    height: 34px;
  }

  .brand__text .wordmark {
    font-size: 14px;
    letter-spacing: 0.48em;
    margin-right: -0.48em;
  }

  .brand__tag {
    font-size: 6px;
    letter-spacing: 0.22em;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
  }

  .filter__count {
    display: none;
  }

  .customers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-customers {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .hero-customers::-webkit-scrollbar {
    display: none;
  }

  .hero-customer {
    flex: 0 0 150px;
  }

  .customer-logo,
  .customer-wordmark {
    min-height: 88px;
    padding: 12px;
  }

  .customer-logo img {
    max-height: 44px;
  }

  .hero-slider__arrow {
    width: 34px;
    height: 34px;
  }
}

/* ============================================================
   Text-only post cards
   ============================================================ */
.post--text {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.post--feature.post--text {
  grid-template-columns: minmax(0, 1fr);
  max-width: 78ch;
  border-top: 0;
}

.post--feature.post--text h2 {
  max-width: 24ch;
}

/* ============================================================
   Catalogue hub
   ============================================================ */
.cat-cards {
  align-items: stretch;
}

.cat-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background: #fff;
}

.cat-card__cover {
  display: block;
  border: 1px solid var(--line);
  background: var(--paper-2);
  align-self: start;
}

.cat-card__cover img {
  display: block;
  width: 100%;
  height: auto;
}

.cat-card__kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.cat-card__kicker span + span::before {
  content: "/";
  margin-right: 10px;
  color: var(--line-strong);
}

.cat-card h2 {
  margin-top: 10px;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.cat-card__points {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.cat-card__points li {
  position: relative;
  padding-left: 16px;
}

.cat-card__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--green);
}

.cat-card .btn-row {
  margin-top: 22px;
}

/* ============================================================
   Catalogue viewer
   ============================================================ */
.cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.cat-toolbar p {
  margin: 0;
  max-width: 64ch;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.cat-toolbar strong {
  color: var(--ink);
}

.cat-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.cat-rail {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.cat-rail__title,
.cat-rail__specs h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat-rail__title {
  margin-bottom: 8px;
}

.cat-rail__nav {
  display: grid;
}

.cat-rail__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  transition: color 0.18s var(--ease);
}

.cat-rail__nav a:hover {
  color: var(--ink);
}

.cat-rail__nav span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.cat-rail__specs {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.cat-rail__specs h3 {
  margin-bottom: 12px;
}

.cat-rail__specs dl {
  display: grid;
  gap: 9px;
}

.cat-rail__specs dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.cat-rail__specs dd {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink);
}

.cat-doc {
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  min-width: 0;
}

.cat-group {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.cat-group__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.cat-group__title span {
  color: var(--muted-2);
}

.cat-page {
  margin: 0;
}

.cat-page + .cat-page {
  margin-top: 20px;
}

.cat-page__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
}

.cat-page__open img {
  display: block;
  width: 100%;
  height: auto;
}

.cat-page figcaption {
  display: flex;
  gap: 10px;
  padding-top: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cat-page figcaption span {
  color: var(--ink);
}

.cat-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.cat-note svg {
  flex: none;
  margin-top: 2px;
  color: var(--green);
}

/* request panel */
.cat-request {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 50px);
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  background: #fff;
}

.cat-request__col p {
  font-size: 14px;
}

.cat-request h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.cat-request__list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}

.cat-request__list li {
  position: relative;
  padding-left: 18px;
}

.cat-request__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 1.5px;
  background: var(--accent);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: rgba(12, 16, 20, 0.95);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100dvh - 96px);
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox__figure figcaption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8d5e0;
  text-align: center;
}

.lightbox__nav,
.lightbox__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav:hover,
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox__nav {
  justify-self: center;
}

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

body.lb-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .cat-layout {
    grid-template-columns: 1fr;
  }

  .cat-rail {
    position: static;
  }

  .cat-rail__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }

  .cat-rail__specs {
    margin-top: 20px;
  }

  .cat-rail__specs dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }

  .cat-request {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .cat-card {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }

  .cat-card__cover {
    align-self: start;
  }

  .cat-card__points {
    display: none;
  }

  .cat-rail__nav {
    grid-template-columns: 1fr;
  }

  .cat-rail__nav a {
    padding: 10px 0;
  }

  .cat-rail__specs dl {
    grid-template-columns: 1fr;
  }

  .lightbox {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    padding: 12px;
  }

  .lightbox__nav {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .cat-card {
    grid-template-columns: 1fr;
  }

  .cat-card__cover {
    max-width: 150px;
  }
}
/* ============================================================
   Direct contact rows (TAC PAL page)
   ============================================================ */
.team-rows {
  display: grid;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.team-rows li {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.team-rows strong {
  font-family: var(--font-head, inherit);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.team-rows span {
  font-size: 12.5px;
  color: var(--muted);
}

.panel .btn-row {
  margin-top: 20px;
}

.panel > .cat-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
/* ============================================================
   Tall product shot (turret punch assembly, TOOL PAL)
   ============================================================ */
.split__media--product {
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 36px);
  background: #fff;
}

.split__media--product figure {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0;
}

.split__media--product img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(320px, 40vw, 520px);
}

.split__media--product figcaption {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 720px) {
  .split__media--product img {
    max-height: 400px;
  }
}