/* ==========================================================================
   SLAC Precision Engineering — modern redesign
   Charcoal / signal red / warm paper
   ========================================================================== */

:root {
  --ink: #131416;
  --ink-2: #1a1c1f;
  --ink-3: #24272b;
  --paper: #f4f2ed;
  --paper-2: #ebe8e1;
  --paper-3: #e1ddd4;
  --white: #ffffff;

  --red: #c6352f;
  --red-bright: #e14b43;
  --red-deep: #a52a25;

  --text: #53575d;
  --text-soft: #74787e;
  --text-light: #a9adb3;
  --text-on-dark: #c9ccd0;

  --line: rgba(19, 20, 22, 0.13);
  --line-strong: rgba(19, 20, 22, 0.25);
  --line-light: rgba(244, 242, 237, 0.15);
  --line-light-strong: rgba(244, 242, 237, 0.3);

  --success: #2f6b4f;

  --display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1280px;
  --header-h: 76px;
  --radius: 3px;
  --shadow: 0 30px 60px -34px rgba(19, 20, 22, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */

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

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

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

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--red);
  color: var(--white);
}

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

/* ---------- Utilities ---------- */

.container {
  width: min(var(--container), calc(100% - 56px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section--tight {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section--paper2 {
  background: var(--paper-2);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--red);
}

.eyebrow--light {
  color: var(--text-light);
}

.accent {
  color: var(--red-bright);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn__arrow {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
}

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

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--ghost-light {
  border-color: var(--line-light-strong);
  color: var(--paper);
}

.btn--ghost-light:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--white);
  transform: translateY(-2px);
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s, border-color 0.25s;
}

.link-arrow span {
  color: var(--red);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  border-color: var(--red);
  color: var(--red);
}

.link-arrow:hover span {
  transform: translateX(4px);
}

.link-arrow--light {
  border-color: var(--line-light-strong);
  color: var(--paper);
}

.link-arrow--light:hover {
  border-color: var(--red-bright);
  color: var(--red-bright);
}

/* ---------- Top bar ---------- */

.topbar {
  background: var(--ink);
  color: var(--paper);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.topbar__dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(198, 53, 47, 0.18);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--text-light);
}

.topbar__links a {
  color: var(--paper);
  transition: color 0.2s;
}

.topbar__links a:hover {
  color: var(--red-bright);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(244, 242, 237, 0.9);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.3s, background 0.3s;
}

.site-header.is-scrolled {
  background: rgba(244, 242, 237, 0.97);
  box-shadow: 0 18px 36px -32px rgba(19, 20, 22, 0.55);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 42px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 27px);
}

.nav__link {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--red);
  transition: right 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  right: 0;
}

.nav__link[aria-current="page"] {
  color: var(--red);
}

.nav__cta {
  margin-left: 6px;
  min-height: 42px;
  padding: 12px 18px;
  font-size: 9px;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 220;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s, opacity 0.2s;
}

.nav-toggle__lines {
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  left: 0;
}

.nav-toggle__lines::before {
  top: -6px;
}

.nav-toggle__lines::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--line-light-strong);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before,
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after {
  background: var(--paper);
}

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

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(244, 242, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 237, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 62%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  top: -28%;
  right: -14%;
  z-index: -1;
  width: 62vw;
  height: 62vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 53, 47, 0.2) 0%, rgba(198, 53, 47, 0) 62%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
  padding: clamp(62px, 8vw, 104px) 0 clamp(48px, 6vw, 76px);
}

.hero__title {
  max-width: 14ch;
  margin: 22px 0 26px;
  color: var(--paper);
  font-size: clamp(2.9rem, 6vw, 5.9rem);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 0.98;
}

.hero__lede {
  max-width: 53ch;
  color: #b8bbc0;
  font-size: clamp(1rem, 1.22vw, 1.11rem);
  line-height: 1.72;
}

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

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #969aa0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__trust li::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  background: var(--red);
}

.hero__media {
  position: relative;
  align-self: stretch;
}

.hero__index {
  position: absolute;
  top: -26px;
  right: 0;
  color: #85898f;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__frame {
  position: relative;
  height: 100%;
  min-height: 460px;
  overflow: hidden;
  background: var(--ink-2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.84);
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 20, 22, 0.04) 35%, rgba(19, 20, 22, 0.62) 100%),
    linear-gradient(90deg, rgba(198, 53, 47, 0.16), transparent 48%);
}

.hero__spec {
  position: absolute;
  left: -30px;
  bottom: 28px;
  z-index: 2;
  width: min(304px, 86%);
  padding: 22px 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
}

.hero__spec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--red);
}

.spec__label {
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.spec__title {
  margin: 9px 0 15px;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.spec__key {
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec__val {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  text-align: right;
}

.hero__side-label {
  position: absolute;
  top: 50%;
  left: -58px;
  color: #777b81;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  white-space: nowrap;
}

.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}

.hero__stat {
  padding: 24px 26px 24px 0;
  border-right: 1px solid var(--line-light);
}

.hero__stat + .hero__stat {
  padding-left: 26px;
}

.hero__stat:last-child {
  border-right: 0;
}

.hero__stat strong {
  display: block;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.hero__stat span {
  display: block;
  margin-top: 6px;
  color: #898d93;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::after {
  content: "✳";
  margin: 0 30px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 14px;
}

.marquee__group {
  padding: 17px 0;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section headings ---------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 62px);
}

.section-head__title {
  max-width: 15ch;
  margin-top: 18px;
  font-size: clamp(2.15rem, 4.1vw, 3.8rem);
  letter-spacing: -0.042em;
  line-height: 1.01;
}

.section-head__aside {
  max-width: 52ch;
  justify-self: end;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.75;
}

.section-head--light .section-head__title {
  color: var(--paper);
}

.section-head--light .section-head__aside {
  color: var(--text-light);
}

/* ---------- Why SLAC ---------- */

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

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 34px;
  background: rgba(255, 255, 255, 0.26);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.why-card:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.why-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.why-card__num {
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.why-card__icon {
  width: 30px;
  height: 30px;
  color: var(--ink);
  opacity: 0.85;
}

.why-card__title {
  max-width: 20ch;
  margin-bottom: 12px;
  font-size: 1.04rem;
  line-height: 1.32;
}

.why-card__text {
  color: var(--text);
  font-size: 0.87rem;
  line-height: 1.68;
}

/* ---------- Split / about ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

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

.split__media {
  position: relative;
}

.split__media::before {
  content: "";
  position: absolute;
  top: 20px;
  right: -20px;
  bottom: -20px;
  left: 20px;
  z-index: 0;
  border: 1px solid var(--line-strong);
  pointer-events: none;
}

.split__img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.02);
}

.split__badge {
  position: absolute;
  right: -18px;
  bottom: 26px;
  z-index: 2;
  max-width: 210px;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--paper);
}

.split__badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--red);
}

.split__badge strong {
  display: block;
  font-family: var(--display);
  font-size: 0.87rem;
  font-weight: 500;
  line-height: 1.3;
}

.split__badge span {
  display: block;
  margin-top: 5px;
  color: var(--text-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.split__title {
  max-width: 15ch;
  margin: 18px 0 22px;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  letter-spacing: -0.042em;
  line-height: 1.02;
}

.split__content {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.78;
}

.split__content p + p {
  margin-top: 16px;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 30px;
}

.sector-list li {
  padding: 8px 11px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ---------- Capabilities ---------- */

.capabilities {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.capabilities::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(244, 242, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 237, 0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 75%, transparent);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.cap-card {
  position: relative;
  padding: 30px 28px 36px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.35s var(--ease);
}

.cap-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s var(--ease);
}

.cap-card:hover {
  background: rgba(255, 255, 255, 0.035);
}

.cap-card:hover::before {
  width: 100%;
}

.cap-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.cap-card__icon {
  width: 36px;
  height: 36px;
  color: var(--red-bright);
}

.cap-card__num {
  color: #75797f;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.cap-card__title {
  margin-bottom: 11px;
  color: var(--paper);
  font-size: 1.14rem;
  letter-spacing: -0.025em;
}

.cap-card__text {
  color: var(--text-light);
  font-size: 0.87rem;
  line-height: 1.68;
}

.cap-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.cap-foot__text {
  max-width: 62ch;
  color: #8f9399;
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ---------- Process ---------- */

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

.process-step {
  position: relative;
  padding: 30px 28px 0 0;
}

.process-step + .process-step {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.process-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 38px;
  height: 3px;
  background: var(--red);
}

.process-step + .process-step::before {
  left: 28px;
}

.process-step__num {
  color: var(--red);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.process-step__title {
  margin: 18px 0 10px;
  font-size: 1.02rem;
  line-height: 1.32;
}

.process-step__text {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.68;
}

/* ---------- Quality panel ---------- */

.quality-panel {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.quality-panel__media {
  position: relative;
  min-height: 430px;
}

.quality-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.72);
}

.quality-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 20, 22, 0.05), rgba(19, 20, 22, 0.45)),
    linear-gradient(0deg, rgba(198, 53, 47, 0.2), transparent 55%);
}

.quality-panel__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 64px);
}

.quality-panel__title {
  max-width: 15ch;
  margin: 18px 0 20px;
  color: var(--paper);
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  letter-spacing: -0.042em;
  line-height: 1.02;
}

.quality-panel__text {
  max-width: 48ch;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 30px;
}

.badge {
  padding: 7px 10px;
  border: 1px solid var(--line-light);
  color: var(--text-on-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pullquote {
  margin: 26px 0;
  padding: 18px 0 18px 22px;
  border-left: 2px solid var(--red);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.03rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.5;
}

.quote__cite {
  display: block;
  margin-top: 8px;
  color: #898d93;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Testimonials ---------- */

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

.quote-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.quote-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.quote-card__mark {
  color: var(--red);
  font-family: var(--display);
  font-size: 58px;
  font-weight: 600;
  line-height: 0.65;
}

.quote-card__text {
  margin: 24px 0 28px;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.66;
}

.quote-card__person {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quote-card__name {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-card__role {
  margin-top: 4px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--white);
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%);
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.cta::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -50%;
  z-index: -1;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.035),
    0 0 0 160px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: clamp(56px, 7vw, 86px) 0;
}

.cta__title {
  max-width: 13ch;
  color: var(--white);
  font-size: clamp(2.35rem, 4.8vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.cta__text {
  max-width: 47ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 220px;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 88px) 0 0;
  background: var(--ink);
  color: var(--paper);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.75fr 1fr;
  gap: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(44px, 6vw, 64px);
  border-bottom: 1px solid var(--line-light);
}

.footer__logo {
  width: auto;
  height: 44px;
  margin-bottom: 22px;
}

.footer__intro {
  max-width: 33ch;
  color: var(--text-light);
  font-size: 0.87rem;
  line-height: 1.7;
}

.footer__iso {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 8px 11px;
  border: 1px solid var(--line-light);
  color: var(--text-on-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__iso::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--red);
}

.footer__heading {
  margin-bottom: 18px;
  color: #85898f;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: var(--text-on-dark);
  font-size: 0.86rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--red-bright);
}

.footer__address {
  color: var(--text-light);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.75;
}

.footer__tel {
  display: inline-block;
  margin: 13px 0 5px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
}

.footer__tel:hover {
  color: var(--red-bright);
}

.footer__contact-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--text-light);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer__contact-link:hover {
  color: var(--red-bright);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  color: #8b9096;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 92px) 0 clamp(46px, 6vw, 70px);
  background: var(--ink);
  color: var(--paper);
  isolation: isolate;
}

.page-hero::before {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 72%, transparent 100%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: #777b81;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.breadcrumbs a {
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--red-bright);
}

.breadcrumbs span {
  color: #a9adb3;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: end;
}

.page-hero__title {
  max-width: 15ch;
  margin-top: 18px;
  color: var(--paper);
  font-size: clamp(2.8rem, 5.7vw, 5.2rem);
  letter-spacing: -0.047em;
  line-height: 0.98;
}

.page-hero__lede {
  max-width: 44ch;
  justify-self: end;
  padding-left: 26px;
  border-left: 1px solid var(--line-light);
  color: #adb1b6;
  font-size: 0.98rem;
  line-height: 1.75;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

/* ---------- Inner content ---------- */

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: start;
}

.content-grid--reverse > :first-child {
  order: 2;
}

.prose {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.8;
}

.prose > * + * {
  margin-top: 18px;
}

.prose h2 {
  margin-top: clamp(34px, 4vw, 48px);
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.prose h3 {
  margin-top: 28px;
  font-size: 1.14rem;
  letter-spacing: -0.02em;
}

.prose ul {
  display: grid;
  gap: 10px;
}

.prose ul li {
  position: relative;
  padding-left: 22px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--red);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose--lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.prose--lead p {
  color: var(--ink);
}

.sticky-media {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.sticky-media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  filter: grayscale(0.35);
}

.sticky-media figcaption {
  margin-top: 12px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

/* ---------- Feature cards ---------- */

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

.feature-card {
  position: relative;
  padding: 30px 28px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.feature-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.feature-card__icon {
  width: 32px;
  height: 32px;
  color: var(--red);
}

.feature-card__num {
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.feature-card__title {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.feature-card__text {
  color: var(--text);
  font-size: 0.87rem;
  line-height: 1.68;
}

.feature-card--dark {
  background: var(--ink);
  border-color: var(--line-light);
}

.feature-card--dark .feature-card__title {
  color: var(--paper);
}

.feature-card--dark .feature-card__text {
  color: var(--text-light);
}

.feature-card--dark .feature-card__num {
  color: #85898f;
}

.feature-card--dark .feature-card__icon {
  color: var(--red-bright);
}

/* ---------- Sector grid ---------- */

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

.sector-card {
  min-height: 210px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.3s, transform 0.3s;
}

.sector-card:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.sector-card__num {
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.sector-card__title {
  margin: 34px 0 9px;
  font-size: 1.02rem;
  line-height: 1.3;
}

.sector-card__text {
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.65;
}

/* ---------- ISO / media layout ---------- */

.iso-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
}

.iso-media {
  position: relative;
}

.iso-media::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: -18px;
  left: -18px;
  border: 1px solid var(--line-strong);
}

.iso-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(0.5);
}

.iso-body {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.8;
}

.iso-body > * + * {
  margin-top: 18px;
}

.fact-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list__key {
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact-list__val {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: right;
}

/* ---------- Highlight panel ---------- */

.highlight-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 4vw, 52px);
  background: var(--ink);
  color: var(--paper);
}

.highlight-panel__title {
  color: var(--paper);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.highlight-panel__text {
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.75;
}

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

/* ---------- Security / numbered list ---------- */

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

.security-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.security-card__num {
  color: var(--red);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.security-card__title {
  margin: 22px 0 9px;
  font-size: 1rem;
  line-height: 1.35;
}

.security-card__text {
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 46px);
  background: var(--ink);
  color: var(--paper);
}

.contact-panel__title {
  max-width: 12ch;
  margin: 16px 0 14px;
  color: var(--paper);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.contact-panel__text {
  max-width: 34ch;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-list {
  margin-top: 28px;
  border-top: 1px solid var(--line-light);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-item__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--red-bright);
}

.contact-item__label {
  display: block;
  margin-bottom: 4px;
  color: #85898f;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item__value {
  color: var(--paper);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.6;
}

.contact-item__value a {
  transition: color 0.2s;
}

.contact-item__value a:hover {
  color: var(--red-bright);
}

.contact-panel__note {
  margin-top: auto;
  padding-top: 28px;
  color: #85898f;
  font-size: 0.78rem;
  line-height: 1.65;
}

.form-card {
  padding: clamp(28px, 4vw, 46px);
  background: var(--white);
  border: 1px solid var(--line);
}

.form-card__title {
  margin: 16px 0 8px;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  letter-spacing: -0.04em;
}

.form-card__intro {
  max-width: 52ch;
  margin-bottom: 28px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}

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

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

.field label span {
  color: var(--red);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9b9ea3;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(198, 53, 47, 0.12);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.65;
}

.form-status {
  min-height: 1.5em;
  margin-top: 14px;
  color: var(--success);
  font-size: 0.86rem;
  line-height: 1.6;
}

.form-status.is-error {
  color: var(--red);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.map-wrap {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

/* ---------- Reveal animation ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.js [data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

.js [data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

.js [data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .brand img {
    height: 38px;
  }

  .nav {
    gap: 15px;
  }

  .nav__link {
    font-size: 11px;
  }

  .nav__cta {
    padding: 11px 14px;
  }

  .hero__side-label {
    display: none;
  }
}

@media (max-width: 1020px) {
  :root {
    --header-h: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 210;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(390px, 100%);
    height: 100dvh;
    padding: 94px 28px 34px;
    overflow-y: auto;
    background: var(--ink);
    box-shadow: -30px 0 60px -40px rgba(0, 0, 0, 0.8);
    visibility: hidden;
    transform: translateX(102%);
    transition: transform 0.36s var(--ease), visibility 0s linear 0.36s;
  }

  .nav.is-open {
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.36s var(--ease);
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(19, 20, 22, 0.58);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .nav__link {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-light);
    color: var(--paper);
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.02em;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link[aria-current="page"] {
    color: var(--red-bright);
  }

  .nav__cta {
    margin: 24px 0 0;
    min-height: 48px;
    font-family: var(--mono);
    font-size: 10px;
  }

  .topbar__links {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 46px;
  }

  .hero__title {
    font-size: clamp(2.8rem, 6.4vw, 4.6rem);
  }

  .hero__stat {
    padding-right: 18px;
  }

  .hero__stat + .hero__stat {
    padding-left: 18px;
  }

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

  .process-step {
    padding-bottom: 30px;
  }

  .process-step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .process-step:nth-child(3)::before {
    left: 0;
  }

  .process-step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    padding-top: 30px;
  }

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

  .quote-card:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

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

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

  .feature-card:last-child {
    grid-column: 1 / -1;
  }

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

  .security-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
    padding-top: 54px;
  }

  .hero__title {
    max-width: 13ch;
    font-size: clamp(2.6rem, 7vw, 4rem);
  }

  .hero__media {
    width: min(100%, 540px);
  }

  .hero__frame {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .hero__spec {
    display: none;
  }

  .hero__index {
    top: -22px;
  }

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

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

  .hero__stat + .hero__stat {
    padding-left: 20px;
  }

  .hero__stat:nth-child(2) {
    border-right: 0;
  }

  .hero__stat:nth-child(n + 3) {
    border-top: 1px solid var(--line-light);
  }

  .hero__stat:nth-child(3) {
    padding-left: 0;
  }

  .section-head,
  .content-grid,
  .iso-grid,
  .highlight-panel,
  .split,
  .page-hero__grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    gap: 22px;
  }

  .section-head__aside {
    justify-self: start;
  }

  .page-hero__lede {
    justify-self: start;
    padding-left: 0;
    border-left: 0;
    padding-top: 4px;
  }

  .page-hero__title {
    font-size: clamp(2.8rem, 10vw, 4.4rem);
  }

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

  .split__media {
    max-width: 580px;
  }

  .split__media::before {
    right: -14px;
    bottom: -14px;
  }

  .split__badge {
    right: 14px;
  }

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

  .quality-panel__media {
    min-height: 300px;
  }

  .quality-panel__media img {
    position: relative;
    height: 320px;
  }

  .quality-panel__media::after {
    position: absolute;
  }

  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
  }

  .cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .cta__actions .btn {
    flex: 1 1 200px;
  }

  .sticky-media {
    position: static;
  }

  .iso-media {
    max-width: 580px;
  }

  .iso-media::before {
    bottom: -14px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 32px);
  }

  .topbar__inner {
    min-height: 34px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .topbar__note {
    gap: 8px;
  }

  .brand img {
    height: 34px;
  }

  .header__inner {
    gap: 16px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero__trust {
    gap: 9px 16px;
  }

  .hero__trust li {
    font-size: 8px;
  }

  .hero__spec {
    width: calc(100% - 32px);
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__stat strong {
    font-size: 1.05rem;
  }

  .marquee__item {
    font-size: 9px;
  }

  .marquee__item::after {
    margin: 0 20px;
  }

  .why-grid,
  .cap-grid,
  .process-grid,
  .sector-grid,
  .feature-grid,
  .security-grid,
  .quote-grid,
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-card:last-child,
  .feature-card:last-child,
  .security-card:last-child {
    grid-column: auto;
  }

  .process-step + .process-step,
  .process-step:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .process-step + .process-step {
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .process-step + .process-step::before,
  .process-step:nth-child(3)::before {
    left: 0;
  }

  .cap-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

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

  .map-wrap iframe {
    height: 300px;
  }

  .footer__brand {
    grid-column: auto;
  }
}

@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;
  }

  .marquee__track {
    animation: none;
  }
}
