
/* ============================================================
   SECURITY NINJA — REFRESH
   Theme: dark graphite + orange, yellow accents, subtle cyberpunk
   ============================================================ */

:root {
  /* Greys — new neutral spine */
  --bg:            #1a1a1c;
  --bg-deeper:     #111113;
  --bg-panel:      #222226;
  --bg-card:       #242428;
  --bg-card-hi:    #2a2a2f;
  --line:          rgba(255,255,255,0.08);
  --line-hi:       rgba(255,255,255,0.16);

  /* Orange — new primary */
  --orange:        #ff6a1a;
  --orange-hi:     #ff8a3d;
  --orange-deep:   #c84a00;
  --orange-glow:   rgba(255,106,26,0.35);
  --orange-dim:    rgba(255,106,26,0.12);

  /* Yellow — break/highlight accent */
  --yellow:        #f5d547;
  --yellow-deep:   #d9b400;

  /* Text */
  --text:          #f5f3ef;
  --text-sub:      #b8b3aa;
  --text-muted:    #7a746a;

  /* Easing */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);

  /* Full-bleed sections with centred content */
  --content-max:   1440px;
  --content-gutter: 48px;
  --content-pad:   max(var(--content-gutter), calc((100vw - var(--content-max)) / 2 + var(--content-gutter)));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }


/* ============================================================
   LAYOUT
   ============================================================ */

.page { width: 100%; }

/* ============================================================
   NAV — grey header band
   ============================================================ */

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 48px;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
  background: linear-gradient(135deg, #2a2a2f 0%, #1f1f23 50%, #17171a 100%);
  position: sticky; top: 0; z-index: 100;
  gap: 24px;
}

.logo { display: flex; align-items: center; }
.logo-img {
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex; gap: 34px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-link {
  color: var(--text-sub);
  transition: color 0.2s var(--ease);
  position: relative;
  padding: 4px 0;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--orange); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--orange);
}

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

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  background: rgba(255,255,255,0.055);
  border: 1px solid var(--line-hi);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-menu-toggle:hover,
.nav-menu-toggle[aria-expanded="true"] {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(255,106,26,0.1);
}

.nav-menu-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 8px 24px 24px;
  background: linear-gradient(135deg, #242428 0%, #1b1b1f 55%, #111113 100%);
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(0,0,0,0.4);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-sub);
  border-bottom: 1px solid var(--line);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--orange);
}

.mobile-menu-cta {
  justify-content: center;
  margin-top: 18px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange);
  color: #0e0e10;
  padding: 14px 26px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: all 0.22s var(--ease);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--orange-hi);
  box-shadow: 0 8px 28px var(--orange-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--text);
  padding: 14px 26px;
  border: 1px solid var(--line-hi);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: all 0.22s var(--ease);
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

.btn-primary-large { padding: 18px 34px; font-size: 14px; }

/* ============================================================
   HERO — ORANGE
   ============================================================ */

.hero {
  position: relative;
  padding: 32px 48px 48px;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
  overflow: hidden;
  background: linear-gradient(135deg, #ff8a3d 0%, var(--orange) 45%, var(--orange-deep) 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: 0 48px, 0 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
  align-items: start;
  min-height: 460px;
}

.hero-left { display: flex; flex-direction: column; justify-content: flex-start; }
.hero-visual { align-self: start; display: flex; flex-direction: column; align-items: center; }

.cat-cta {
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: -78px;
  transform: translateX(-50%);
  z-index: 3;
}

.hero .btn-secondary.cat-cta {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.hero .btn-secondary.cat-cta:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* Meta strip above headline */
.hero-meta {
  display: flex; gap: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 36px;
}
.hero .hero-meta { color: rgba(0,0,0,0.55); }
.hero-meta span::before { content: '// '; color: var(--orange); }
.hero .hero-meta span::before { color: rgba(0,0,0,0.45); }

/* Headline — RIOT brutalist oversized type */
.headline {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.headline .ln { display: block; }
.headline .white { color: #fff; }

/* Outlined orange treatment for middle line */
.headline .outlined {
  -webkit-text-stroke: 2px var(--orange);
  color: transparent;
  position: relative;
}
.hero .headline .outlined { -webkit-text-stroke-color: #0e0e10; }

/* Solid orange bottom line */
.headline .solid-orange { color: var(--orange); }
.hero .headline .solid-orange { color: #0e0e10; }

/* Slash accent */
.headline .slash { color: var(--orange); }
.hero .headline .slash { color: #0e0e10; }

.hero-sub {
  position: relative;
  max-width: 440px;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
  padding: 22px 26px;
}

.hero-sub .corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255,255,255,0.85);
}
.hero-sub .corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-sub .corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.hero-sub .corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.hero-sub .corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }
.hero .hero-sub { color: rgba(0,0,0,0.75); max-width: 420px; }

.cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

.hero .btn-secondary { border-color: rgba(0,0,0,0.4); color: #0e0e10; }
.hero .btn-secondary:hover { border-color: #0e0e10; background: rgba(0,0,0,0.08); color: #0e0e10; }
.hero .btn-primary { background: #0e0e10; color: var(--orange); }
.hero .btn-primary:hover { background: #000; color: var(--orange-hi); }

/* Ninja Cat visual */

.cat-frame {
  position: relative;
  width: 100%;
  max-width: 676px;
  aspect-ratio: 1;
  margin: 0 auto;
  margin-top: 0;
  margin-left: -300px;
}

.cat-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateY(-120px);
}

/* Little data tag in corner */
.cat-tag {
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg-panel);
  border: 1px solid var(--line-hi);
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
}
.hero .cat-tag { background: #0e0e10; color: var(--orange); }


}

/* ============================================================
   INSIGHT STRIP — "How we read the room"
   ============================================================ */

/* ============================================================
   SECTION SEPARATORS — soft shadow + accent line between blocks
   ============================================================ */

.insight-section,
.services-section,
.proof-section,
.cta-close,
.site-footer {
  position: relative;
}

/* Graduated orange line at the TOP of each content section — above its heading */
.services-section::before,
.proof-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 50%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

/* cta-close is orange — darker line for visibility, positioned at top.
   ::before is the grid overlay, so we use ::after for the top line. */
.cta-close::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.insight-section {
  padding: 48px 48px 24px;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-label::before { content: '— '; opacity: 0.7; }

.section-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 48px;
}
.section-heading .dim { color: var(--text-muted); margin-left: 0.3em; }

/* ============================================================
   INSIGHT MOSAIC — asymmetric 3D tiles, gradient fills only
   ============================================================ */

.insight-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 62px;
  gap: 12px;
}

/* All three tiles the same size */
.tile-01 { grid-column: 1 / span 4;  grid-row: 1 / span 3; }
.tile-02 { grid-column: 5 / span 4;  grid-row: 1 / span 3; }
.tile-03 { grid-column: 9 / span 4;  grid-row: 1 / span 3; }

/* ---- Base tile — 3D bevelled card ---- */
.itile {
  position: relative;
  padding: 20px 24px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  overflow: hidden;
}

.itile {
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.12),
    inset -1px -1px 0 rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(0,0,0,0.4),
    4px 4px 0 rgba(0,0,0,0.45),
    8px 8px 20px rgba(0,0,0,0.3);
}

.itile:hover {
  transform: translate(-2px, -2px);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.18),
    inset -1px -1px 0 rgba(0,0,0,0.4),
    inset 0 0 0 1px rgba(0,0,0,0.4),
    6px 6px 0 rgba(0,0,0,0.5),
    12px 12px 24px rgba(0,0,0,0.35);
}

/* ---- Tile 01 — Graphite gradient ---- */
.tile-01 {
  background: linear-gradient(155deg, #3a3a42 0%, #242428 50%, #141418 100%);
  color: var(--text);
}
.tile-01 .itile-step { color: var(--orange); }
.tile-01 .itile-title { color: var(--text); }
.tile-01 .itile-text { color: var(--text-sub); }

/* ---- Tile 02 — Orange gradient ---- */
.tile-02 {
  background: linear-gradient(145deg, #ff9a4d 0%, var(--orange) 45%, #a83800 100%);
  color: #0e0e10;
}
.tile-02 .itile-step { color: #0e0e10; }
.tile-02 .itile-title { color: #fff; }
.tile-02 .itile-text { color: rgba(0,0,0,0.8); }

/* ---- Tile 03 — Yellow gradient ---- */
.tile-03 {
  background: linear-gradient(170deg, #fff4b3 0%, var(--yellow) 40%, #c09500 100%);
  color: #1a1a1c;
}
.tile-03 .itile-step { color: #1a1a1c; }
.tile-03 .itile-title { color: #1a1a1c; }
.tile-03 .itile-text { color: rgba(0,0,0,0.78); }

/* ---- Content typography ---- */
.itile-step {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.5px;
  margin-right: 14px;
  display: inline-block;
  opacity: 0.55;
}
.itile-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.itile-text {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: auto;
}

/* ---- Responsive: stack to single column on narrow screens ---- */
@media (max-width: 960px) {
  .insight-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }
  .tile-01, .tile-02, .tile-03 {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

/* ============================================================
   SERVICES SECTION — numbered list, RIOT-style
   ============================================================ */

.services-section {
  padding: 24px 48px 48px;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}

.services-intro {
  margin-bottom: 24px;
}

.services-intro .section-heading {
  margin-bottom: 0;
}

.services-intro-sub {
  max-width: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 8px;
}

/* ============================================================
   SERVICE CARDS — stacked rack panels, cyberpunk UI
   ============================================================ */

.service-grid {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  /* Outer frame around the whole stack */
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.6),
    0 24px 60px rgba(0,0,0,0.4);
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: stretch;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--text);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
  overflow: hidden;
  isolation: isolate;
}

/* Seam between stacked cards */
.service-card + .service-card {
  border-top: 1px solid rgba(0,0,0,0.55);
}

/* Inset highlight at the top of each card for 3D panel feel */
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.12);
  z-index: 4;
}

/* Grid overlay — like the hero */
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.15));
}

.service-card:hover {
  filter: brightness(1.08);
}
.service-card:hover .svc-chevron { transform: translateX(4px); opacity: 1; }

.service-card:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -2px;
  z-index: 5;
}

/* Number plate — integrated left column, not a tab */
.svc-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -2px;
  border-right: 1px solid rgba(0,0,0,0.4);
  z-index: 2;
  background: rgba(0,0,0,0.18);
}
/* Top seam on the number plate so it reads as a distinct module */
.svc-tab::before {
  content: '';
  position: absolute; left: 14px; right: 14px; top: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}
.svc-tab::after {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

/* Card body */
.svc-body {
  position: relative;
  padding: 20px 36px;
  z-index: 2;
}

.svc-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.svc-desc {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 12px;
  opacity: 0.88;
}

.svc-tag {
  display: inline-block;
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.75;
}

/* ---- Expandable details panel ----
   Animates height via grid-template-rows 0fr → 1fr trick,
   which lets us transition to auto height smoothly. */
.svc-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease), margin-top 0.35s var(--ease), opacity 0.25s var(--ease);
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  height: 0;
}
.svc-details > * {
  min-height: 0;
  overflow: hidden;
}
.service-card[aria-expanded="true"] .svc-details {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 22px;
  height: auto;
}

.svc-details-inner {
  display: block;
}

.svc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  border-top: 1px dashed currentColor;
  border-color: rgba(255,255,255,0.18);
  padding-top: 16px;
}
.svc-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.92;
}
.svc-list li:last-child { margin-bottom: 0; }
.svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.svc-cta {
  display: inline-block;
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 2px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.svc-cta:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(2px);
}

/* Variant-specific border colours for details list + cta */
.variant-1 .svc-list { border-color: rgba(255,106,26,0.4); }
.variant-2 .svc-list { border-color: rgba(0,0,0,0.35); }
.variant-3 .svc-list { border-color: rgba(0,0,0,0.35); }
.variant-4 .svc-list { border-color: rgba(245,213,71,0.5); }
.variant-5 .svc-list { border-color: rgba(255,106,26,0.45); }

.variant-2 .svc-cta:hover, .variant-3 .svc-cta:hover { background: rgba(0,0,0,0.1); }

/* Chevron lives in its own right column */
.svc-chevron {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  font-size: 24px;
  opacity: 0.55;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
  z-index: 2;
  border-left: 1px solid rgba(0,0,0,0.3);
  background: rgba(0,0,0,0.08);
  transform: rotate(-90deg);
}
.service-card[aria-expanded="true"] .svc-chevron { transform: rotate(0deg); }

/* Screws retired — they looked cheap. Keep the elements in HTML but hide. */
.svc-screw { display: none; }

/* ---- Variant 1 — graphite ---- */
.variant-1 { background: linear-gradient(135deg, #3a3a42 0%, #242428 50%, #16161a 100%); color: var(--text); }
.variant-1 .svc-title { color: #fff; }
.variant-1 .svc-tab { color: var(--orange); }
.variant-1 .svc-tag { color: var(--orange); border-color: rgba(255,106,26,0.45); }

/* ---- Variant 2 — orange, reversed gradient direction for visual rhythm ---- */
.variant-2 { background: linear-gradient(225deg, #ff9a4d 0%, var(--orange) 50%, var(--orange-deep) 100%); color: #0e0e10; }
.variant-2 .svc-title { color: #fff; }
.variant-2 .svc-tab { color: #0e0e10; background: rgba(0,0,0,0.25); }
.variant-2 .svc-tag { color: #0e0e10; border-color: rgba(0,0,0,0.5); }
.variant-2 .svc-chevron { color: #0e0e10; }

/* ---- Variant 3 — yellow ---- */
.variant-3 { background: linear-gradient(135deg, #fff4b3 0%, var(--yellow) 40%, var(--yellow-deep) 100%); color: #1a1a1c; }
.variant-3 .svc-title { color: #1a1a1c; }
.variant-3 .svc-tab { color: #1a1a1c; background: rgba(0,0,0,0.2); }
.variant-3 .svc-tag { color: #1a1a1c; border-color: rgba(0,0,0,0.45); }
.variant-3 .svc-chevron { color: #1a1a1c; }
/* Darker grid overlay on light variants */
.variant-3::after { background-image:
  linear-gradient(rgba(0,0,0,0.06) 1px, transparent 1px),
  linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px); }

/* ---- Variant 4 — lifted grey, yellow accents ---- */
.variant-4 { background: linear-gradient(225deg, #4a4a52 0%, #2a2a30 50%, #1a1a1e 100%); color: var(--text); }
.variant-4 .svc-title { color: #fff; }
.variant-4 .svc-tab { color: var(--yellow); }
.variant-4 .svc-tag { color: var(--yellow); border-color: rgba(245,213,71,0.55); }

/* ---- Variant 5 — darkest graphite, orange accents (back on-palette) ---- */
.variant-5 { background: linear-gradient(135deg, #2a2a2f 0%, #161619 50%, #0a0a0c 100%); color: var(--text); }
.variant-5 .svc-title { color: #fff; }
.variant-5 .svc-tab { color: var(--orange); }
.variant-5 .svc-tag { color: var(--orange); border-color: rgba(255,106,26,0.5); }

@media (max-width: 720px) {
  .service-card { grid-template-columns: 70px 1fr 50px; }
  .svc-tab { font-size: 28px; }
  .hero { padding: 0 24px 72px; }
  .svc-chevron { padding: 0 14px; font-size: 18px; }
}

/* ============================================================
   PROOF / CHIPS SECTION
   ============================================================ */

.proof-section {
  padding: 48px 48px;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}

.proof-sub {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 18px;
  margin-bottom: 32px;
  max-width: 640px;
}

.proof-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s var(--ease);

  /* 3D bevelled edge — matches cards/tiles */
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.1),
    inset -1px -1px 0 rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(0,0,0,0.4),
    2px 2px 0 rgba(0,0,0,0.4);
}

/* Category dot — small indicator on the left of each chip */
.proof-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  flex-shrink: 0;
  opacity: 0.8;
}

.proof-chip:hover {
  transform: translate(-1px, -1px);
  filter: brightness(1.12);
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,0.15),
    inset -1px -1px 0 rgba(0,0,0,0.4),
    inset 0 0 0 1px rgba(0,0,0,0.4),
    3px 3px 0 rgba(0,0,0,0.5);
}

/* ---- Graphite — the default category ---- */
.chip-graphite {
  background: linear-gradient(135deg, #36363d 0%, #222227 50%, #161619 100%);
  color: #fff;
}
.chip-graphite::before { background: var(--orange); box-shadow: 0 0 8px rgba(255,106,26,0.6); opacity: 0.7; }

/* ---- Orange — Microsoft/identity specialist work ---- */
.chip-orange {
  background: linear-gradient(135deg, #ff9a4d 0%, var(--orange) 55%, var(--orange-deep) 100%);
  color: #0e0e10;
}
.chip-orange::before { background: #0e0e10; box-shadow: none; opacity: 1; }

/* ---- Yellow — AI / modern wave ---- */
.chip-yellow {
  background: linear-gradient(135deg, #fff4b3 0%, var(--yellow) 45%, var(--yellow-deep) 100%);
  color: #1a1a1c;
}
.chip-yellow::before { background: #1a1a1c; box-shadow: none; opacity: 1; }

/* ============================================================
   CLOSING CTA — orange hero-style treatment
   ============================================================ */

.cta-close {
  position: relative;
  padding: 48px 48px;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
  overflow: hidden;
  background: linear-gradient(135deg, #ff8a3d 0%, var(--orange) 45%, var(--orange-deep) 100%);
  color: #0e0e10;
}
.cta-close::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
  z-index: 0;
}

.cta-close-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-close-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 0.98;
  letter-spacing: -1.8px;
  text-transform: uppercase;
  margin: 0;
}
.cta-close-heading .ln { display: block; }
.cta-close-heading .white { color: #fff; }
.cta-close-heading .solid-dark { color: #0e0e10; }

.cta-close-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.cta-close-body {
  position: relative;
  max-width: 440px;
  color: rgba(0,0,0,0.78);
  font-size: 16px;
  line-height: 1.7;
  padding: 22px 26px;
  margin: 0;
}
.cta-close-body .corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0,0,0,0.8);
}
.cta-close-body .corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.cta-close-body .corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.cta-close-body .corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.cta-close-body .corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.cta-close-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* Inverted button styles for orange background */
.cta-close .btn-primary {
  background: #0e0e10;
  color: var(--orange);
}
.cta-close .btn-primary:hover { background: #000; color: var(--orange-hi); }

.cta-close .btn-secondary {
  border-color: rgba(0,0,0,0.4);
  color: #0e0e10;
}
.cta-close .btn-secondary:hover { border-color: #0e0e10; background: rgba(0,0,0,0.08); color: #0e0e10; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  padding: 40px 48px;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
  border-top: 1px solid var(--line);
  background: var(--bg-deeper);
}
.site-footer-inner {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .nav { padding: 18px 24px; }
  .logo-img { height: 58px; }
  .nav-links { display: none; }
  .nav-menu-toggle { display: inline-flex; }
  .mobile-menu:not([hidden]) { display: flex; }
  .hero { padding: 56px 24px 72px; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .cat-frame {
    width: min(100%, 420px);
    max-width: 420px;
    aspect-ratio: auto;
    margin: 32px auto 0;
  }
  .cat-img {
    height: auto;
    transform: none;
  }
  .cat-cta {
    position: static;
    display: flex;
    width: fit-content;
    margin: 18px auto 0;
    transform: none;
  }
  .insight-section, .services-section, .proof-section, .cta-close {
    padding-left: 24px; padding-right: 24px;
  }
  .site-footer { padding-left: 24px; padding-right: 24px; }
  .insight-grid { grid-template-columns: 1fr; }
  .cta-close-inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer-inner { flex-direction: column; }
  .headline { font-size: clamp(44px, 12vw, 72px); }
}

@media (max-width: 480px) {
  .logo-img { height: 48px; }
  .nav-cta {
    display: none;
  }
  .mobile-menu-cta {
    padding: 12px 18px;
    font-size: 12px;
    white-space: nowrap;
  }
}
