/* =========================================================
   SentinelNex — Design tokens & base
   ========================================================= */

:root {
  color-scheme: light;
  /* Color: deep ink-navy structure + copper signal accent */
  --ink-950: #080d1a;
  --ink-900: #0b1220;
  --ink-800: #10192e;
  --ink-700: #182238;
  --ink-line: rgba(255, 255, 255, 0.10);
  --ink-line-strong: rgba(255, 255, 255, 0.18);
  --ink-text: #eef1f7;
  --ink-text-muted: #9aa4bd;

  --paper: #f2f3f5;
  --paper-raised: #ffffff;
  --paper-text: #10162a;
  --paper-text-muted: #565f78;
  --paper-line: #dfe2e9;

  --copper: #c9743f;
  --copper-bright: #e2924f;
  --copper-dim: #8a5330;
  --copper-tint: #fbeee2;

  --signal-green: #2f9e6e;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --container: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@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;
    scroll-behavior: auto !important;
  }
}

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

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

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

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

p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-tint);
}
.section--dark .eyebrow::before { box-shadow: 0 0 0 3px rgba(201, 116, 63, 0.25); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--copper);
  color: #180c04;
}
.btn-primary:hover { background: var(--copper-bright); }
.btn-outline-dark {
  border-color: var(--ink-line-strong);
  color: var(--ink-text);
  background: transparent;
}
.btn-outline-dark:hover { border-color: var(--copper); color: var(--copper-bright); }
.btn-outline-light {
  border-color: var(--paper-line);
  color: var(--paper-text);
  background: transparent;
}
.btn-outline-light:hover { border-color: var(--copper); color: var(--copper-dim); }
.btn-block { width: 100%; }

/* =========================================================
   Status ticker
   ========================================================= */
.ticker {
  background: var(--ink-950);
  color: var(--ink-text-muted);
  overflow: hidden;
  border-bottom: 1px solid var(--ink-line);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker__set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ticker__item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 9px 26px;
  white-space: nowrap;
  border-right: 1px solid var(--ink-line);
}
.ticker__item strong { color: var(--copper-bright); font-weight: 600; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 26, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-text);
  letter-spacing: -0.01em;
}
.brand__mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand__nex { color: var(--copper); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--ink-text); }
.nav-links a.active { color: var(--ink-text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -18px;
  height: 2px;
  background: var(--copper);
}
.navbar__cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink-text); display: block; }

/* =========================================================
   Sections
   ========================================================= */
section { padding: 100px 0; }
.section--tight { padding: 72px 0; }
.section--dark { background: var(--ink-900); color: var(--ink-text); }
.section--ink2 { background: var(--ink-800); color: var(--ink-text); }
.section--raised { background: var(--paper-raised); }
.section--seam { border-top: 1px solid var(--paper-line); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--paper-text-muted); font-size: 17px; margin: 0; }
.section--dark .section-head p, .section--ink2 .section-head p { color: var(--ink-text-muted); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--ink-text);
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 30%, black 20%, transparent 75%);
  opacity: 0.6;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  color: var(--ink-text);
}
.hero h1 em {
  font-style: normal;
  color: var(--copper-bright);
}
.hero__lede {
  font-size: 18px;
  color: var(--ink-text-muted);
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero__proof {
  display: flex;
  gap: 28px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero__proof div {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-text-muted);
  letter-spacing: 0.03em;
}
.hero__proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink-text);
  font-weight: 600;
}

/* Signature: radar / signal graphic */
.signal {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signal__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--ink-line-strong);
}
.signal__ring--1 { width: 100%; height: 100%; }
.signal__ring--2 { width: 74%; height: 74%; }
.signal__ring--3 { width: 48%; height: 48%; }
.signal__pulse {
  position: absolute;
  width: 48%;
  height: 48%;
  border-radius: 50%;
  border: 1px solid var(--copper);
  opacity: 0;
  animation: pulse 3.2s var(--ease) infinite;
}
.signal__pulse--delay { animation-delay: 1.6s; }
@keyframes pulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(2.05); opacity: 0; }
}
.signal__core {
  position: relative;
  width: 22%;
  height: 22%;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 40px 6px rgba(201, 116, 63, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.signal__core svg { width: 46%; height: 46%; }
.signal__node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-text);
}
.signal__node--1 { top: 4%; left: 50%; }
.signal__node--2 { top: 50%; right: 2%; }
.signal__node--3 { bottom: 12%; left: 14%; }

/* =========================================================
   Services grid
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--paper-raised);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.service-card:hover {
  border-color: var(--copper);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(16, 22, 42, 0.25);
}
.service-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--copper-tint);
  color: var(--copper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--paper-text-muted); font-size: 15px; margin-bottom: 16px; }
.service-card a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--copper-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.service-card a:hover { color: var(--copper); }

/* Full service detail (services page) */
.service-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-detail__item {
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--paper-raised);
}
.service-detail__item .service-card__icon { margin-bottom: 22px; }
.service-detail__item h3 { font-size: 22px; color: var(--paper-text); }
.service-detail__item p { color: var(--paper-text-muted); }
.service-detail__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.service-detail__list li {
  font-size: 14px;
  color: var(--paper-text);
  padding-left: 22px;
  position: relative;
}
.service-detail__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 9px; height: 9px;
  border: 1.5px solid var(--copper);
  transform: rotate(45deg);
}

/* =========================================================
   Stats
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  padding: 28px 0;
  border-top: 1px solid var(--ink-line);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--copper-bright);
  font-weight: 600;
}
.stat span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--ink-text-muted);
  text-transform: uppercase;
}

/* =========================================================
   Process (real sequence — numbering justified)
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-step {
  position: relative;
  padding: 0 24px 0 0;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  width: 24px;
  height: 1px;
  background: var(--paper-line);
}
.process-step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--copper);
  border: 1px solid var(--paper-line);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--paper-raised);
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; color: var(--paper-text-muted); margin: 0; }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--ink-800);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial p {
  font-size: 16px;
  color: var(--ink-text);
  margin-bottom: 22px;
}
.testimonial p::before { content: "\201C"; color: var(--copper); }
.testimonial p::after { content: "\201D"; color: var(--copper); }
.testimonial__who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--copper);
  color: #180c04;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial__who strong { display: block; font-size: 14px; }
.testimonial__who span { display: block; font-size: 12.5px; color: var(--ink-text-muted); }

/* =========================================================
   Team
   ========================================================= */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-raised);
}
.team-card__photo {
  aspect-ratio: 4/5;
  background: linear-gradient(155deg, var(--ink-800), var(--ink-950));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.team-card__photo span {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--copper-bright);
}
.team-card__body { padding: 18px 20px 22px; }
.team-card__body h3 { font-size: 16px; margin-bottom: 3px; color: var(--paper-text); }
.team-card__body span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--copper-dim);
  letter-spacing: 0.02em;
}

/* =========================================================
   Values / why-us
   ========================================================= */
.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-item {
  padding: 28px 0 0;
  border-top: 1px solid var(--ink-line);
}
.value-item h3 { font-size: 18px; margin-bottom: 8px; }
.value-item p { color: var(--ink-text-muted); font-size: 14.5px; margin: 0; }

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  background: linear-gradient(120deg, var(--ink-950), var(--ink-800));
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--ink-text);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,116,63,0.35), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 32px); max-width: 20ch; position: relative; }
.cta-banner__actions { display: flex; gap: 14px; flex-shrink: 0; position: relative; z-index: 1; flex-wrap: wrap; }

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-info { display: grid; gap: 20px; align-content: start; }
.contact-info__item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
}
.contact-info__item .service-card__icon { margin: 0; flex-shrink: 0; }
.contact-info__item h3 { font-size: 15px; margin-bottom: 4px; color: var(--paper-text); }
.contact-info__item p { font-size: 14px; color: var(--paper-text-muted); margin: 0; }
.contact-info__item p a { color: var(--paper-text); text-decoration: underline; text-decoration-color: var(--paper-line); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.contact-info__item p a:hover { color: var(--copper); text-decoration-color: var(--copper); }

.form-card {
  background: var(--paper-raised);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--paper-text);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--paper-line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--paper-text);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--copper);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-note {
  font-size: 12.5px;
  color: var(--paper-text-muted);
  margin-top: 14px;
}
.form-success {
  display: none;
  background: var(--copper-tint);
  border: 1px solid var(--copper);
  color: var(--copper-dim);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

.form-error {
  display: none;
  background: #fdecea;
  border: 1px solid #c0392b;
  color: #9a2f22;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 18px;
}
.form-error.show { display: block; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.map-frame {
  margin-top: 28px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/6;
  background: var(--paper-raised);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 720px) {
  .map-frame { aspect-ratio: 4/5; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink-950);
  color: var(--ink-text-muted);
  padding: 72px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-line);
}
.footer__brand p { font-size: 14px; max-width: 34ch; margin-top: 14px; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-text);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--copper-bright); }
.footer-newsletter { display: flex; margin-top: 6px; }
.footer-newsletter input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--ink-line-strong);
  border-right: none;
  background: transparent;
  color: var(--ink-text);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 13.5px;
  font-family: var(--font-body);
}
.footer-newsletter input:focus { outline: none; border-color: var(--copper); }
.footer-newsletter button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 11px 16px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom a:hover { color: var(--copper-bright); }
.footer__legal { display: flex; gap: 20px; }

/* =========================================================
   About page extras
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.timeline { display: grid; gap: 26px; }
.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
}
.timeline-item time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--copper);
  padding-top: 3px;
}
.timeline-item h3 { font-size: 16px; margin-bottom: 6px; }
.timeline-item p { font-size: 14.5px; color: var(--paper-text-muted); margin: 0; }

.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  color: var(--paper-text-muted);
}

/* =========================================================
   Page header (interior pages)
   ========================================================= */
.page-header {
  background: var(--ink-900);
  color: var(--ink-text);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 100% at 90% 0%, black 10%, transparent 70%);
  opacity: 0.6;
}
.page-header__inner { position: relative; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-text-muted);
  margin-bottom: 18px;
}
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb .current { color: var(--copper-bright); }
.page-header h1 { font-size: clamp(32px, 4.4vw, 48px); max-width: 18ch; }
.page-header p { color: var(--ink-text-muted); max-width: 56ch; font-size: 16.5px; margin: 0; }

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .signal { max-width: 340px; margin: 0 auto; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .process-step:nth-child(2)::after { display: none; }
  .testimonials { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .value-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 48px 32px; }
  .cta-banner h2 { max-width: none; }
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink-950);
    padding: 24px 28px;
    gap: 20px;
    border-bottom: 1px solid var(--ink-line);
  }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-step::after { display: none !important; }
  .team { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info__item { flex-direction: column; }
  .navbar__cta .btn span { display: none; }
}

/* =========================================================
   Additions — SentinelNex Consulting (compliance/IAM brief)
   ========================================================= */

/* Accessibility: skip link + visible keyboard focus */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--copper);
  color: #180c04;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 500;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Framework trust badges (hero + footer) */
.framework-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.framework-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--ink-line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-text);
  background: rgba(255, 255, 255, 0.03);
}
.framework-badge svg { width: 15px; height: 15px; color: var(--copper-bright); flex-shrink: 0; }
.framework-badges--light .framework-badge {
  border-color: var(--paper-line);
  color: var(--paper-text);
  background: var(--paper);
}
.framework-badges--light .framework-badge svg { color: var(--copper-dim); }

/* Industries page: lead industry + secondary grid */
.industry-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  background: var(--paper-raised);
}
.industry-lead__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--copper-tint);
  color: var(--copper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.industry-lead__icon svg { width: 30px; height: 30px; }
.industry-lead h2, .industry-twin__item h3 { color: var(--paper-text); font-size: clamp(21px, 2.4vw, 26px); }
.industry-lead > div > p, .industry-twin__item > p { color: var(--paper-text-muted); }
.industry-lead ul, .industry-twin__item ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.industry-lead ul li, .industry-twin__item ul li {
  font-size: 14.5px;
  padding-left: 24px;
  position: relative;
  color: var(--paper-text);
}
.industry-lead ul li::before, .industry-twin__item ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 9px; height: 9px;
  border: 1.5px solid var(--copper);
  transform: rotate(45deg);
}
.industry-lead__visual {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--ink-800), var(--ink-950));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.industry-lead__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
  opacity: 0.6;
}
.industry-lead__visual svg { width: 34%; height: 34%; color: var(--copper-bright); }

.industry-twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.industry-twin__item {
  padding: 40px;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  background: var(--paper-raised);
}
.industry-twin__item p { color: var(--paper-text-muted); }
.industry-twin__item .industry-lead__visual { margin-top: 26px; }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.industry-card {
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--paper-raised);
}
.industry-card .service-card__icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}
.industry-card .service-card__icon svg { width: 34px; height: 34px; }
.industry-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--paper-text); }
.industry-card p { font-size: 14.5px; color: var(--paper-text-muted); margin: 0; }

/* Long-form article typography (resources) */
.prose {
  max-width: 74ch;
  font-size: 16.5px;
  line-height: 1.75;
}
.prose h2 {
  font-size: 24px;
  margin-top: 2em;
  padding-top: 0.2em;
}
.prose h3 { font-size: 19px; margin-top: 1.6em; }
.prose p, .prose ul, .prose ol { color: var(--paper-text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--paper-text); }
.prose .callout {
  border-left: 3px solid var(--copper);
  background: var(--copper-tint);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  margin: 1.8em 0;
}
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-text-muted);
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.article-meta span:not(:last-child)::after { content: "·"; margin-left: 16px; opacity: 0.5; }

/* Resource index cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.resource-card {
  display: block;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--paper-raised);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.resource-card:hover { border-color: var(--copper); transform: translateY(-4px); }
.resource-card .eyebrow { margin-bottom: 14px; }
.resource-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--paper-text); }
.resource-card p { font-size: 14.5px; color: var(--paper-text-muted); margin-bottom: 16px; }
.resource-card .read-more {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--copper-dim);
}
.resource-card--soon {
  opacity: 0.6;
  pointer-events: none;
}

/* Editorial placeholder note (dev-facing, not for production copy) */
.placeholder-note {
  font-size: 12.5px;
  color: var(--paper-text-muted);
  font-style: italic;
  margin-top: 8px;
}

/* Service section (services.html) — alternating detail rows */
.service-section {
  padding: 56px 0;
  border-top: 1px solid var(--paper-line);
}
.service-section:first-child { border-top: none; padding-top: 0; }
.service-section__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 48px;
}
.service-section__head .service-card__icon { margin-bottom: 20px; }
.service-section__head h2 { font-size: 24px; margin-bottom: 10px; }
.service-section__head p { color: var(--paper-text-muted); font-size: 15px; margin: 0; }
.service-section__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.service-section__list li {
  font-size: 14.5px;
  padding-left: 22px;
  position: relative;
  color: var(--paper-text);
}
.service-section__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 9px; height: 9px;
  border: 1.5px solid var(--copper);
  transform: rotate(45deg);
}

@media (max-width: 980px) {
  .industry-lead { grid-template-columns: 1fr; padding: 32px; }
  .industry-twin { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
  .service-section__grid { grid-template-columns: 1fr; gap: 24px; }
  .service-section__list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .industry-grid { grid-template-columns: 1fr; }
  .framework-badges { gap: 8px; }
}
