/* ============================================================
   ARCTOS ONLINE INC. — Main Stylesheet
   Structured Cybersecurity Engineering
   arctos.online
   ============================================================ */


/* ── NORMALIZE / RESET ──────────────────────────────────────
   Lightweight modern reset layered over sensible normalization.
   Based on Andy Bell's Modern CSS Reset + Josh Comeau additions.
   ---------------------------------------------------------- */

/* 1. Use border-box sizing everywhere */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. Improve text rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 3. Responsive media */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 4. Inherit fonts in form elements */
input, button, textarea, select {
  font: inherit;
}

/* 5. Avoid text overflow */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 6. Smooth scrolling — respects reduced motion */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 7. Remove list styles on ul/ol with role=list (accessibility) */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* 8. Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}


/* ── DESIGN TOKENS ──────────────────────────────────────────
   Single source of truth for all colors, fonts, and clip paths.
   ---------------------------------------------------------- */

:root {
  /* Colour palette */
  --blue:       #212146;
  --blue-mid:   #2d2d5e;
  --blue-light: #3a3a78;
  --yellow:     #E6CF00;
  --yellow-dim: #b8a600;
  --gray:       #D8D8D8;
  --gray-mid:   #a8a8a8;
  --charcoal:   #2C2C2C;
  --red:        #D64545;
  --sky:        #68AEEB;
  --green:      #2D6A4F;
  --white:      #ffffff;
  --off-white:  #f4f4f0;
  --gold:       #C8A96E;

  /* Typography */
  --font-display: 'Fira Sans', sans-serif;
  --font-body:    'Fira Sans', sans-serif;
  --font-mono:    'Fira Mono', monospace;
  --font-serif:   'Cormorant Garamond', serif;

  /* Clipped corner shapes */
  --clip-sm:  polygon(0 0, calc(100% - 4px)  0, 100%  4px, 100% 100%,  4px 100%, 0 calc(100% -  4px));
  --clip-md:  polygon(0 0, calc(100% - 8px)  0, 100%  8px, 100% 100%,  8px 100%, 0 calc(100% -  8px));
  --clip-lg:  polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}


/* ── BASE / BODY ────────────────────────────────────────────*/

body {
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}


/* ── CAD CROSSHAIR CURSOR ───────────────────────────────────*/

* { cursor: none !important; }

.crosshair-x, .crosshair-y {
  position: fixed; pointer-events: none; z-index: 9997;
}
.crosshair-x {
  top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom,
  transparent 0%, rgba(230,207,0,0.12) 10%, rgba(230,207,0,0.35) 48%,
  transparent 49.5%, transparent 50.5%,
  rgba(230,207,0,0.35) 52%, rgba(230,207,0,0.12) 90%, transparent 100%
  );
  transform: translateX(-50%);
}
.crosshair-y {
  left: 0; right: 0; height: 1px;
  background: linear-gradient(to right,
  transparent 0%, rgba(230,207,0,0.12) 10%, rgba(230,207,0,0.35) 48%,
  transparent 49.5%, transparent 50.5%,
  rgba(230,207,0,0.35) 52%, rgba(230,207,0,0.12) 90%, transparent 100%
  );
  transform: translateY(-50%);
}
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none;
  transform: translate(-50%,-50%);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--yellow); border-radius: 50%;
  z-index: 9999;
  box-shadow: 0 0 8px rgba(230,207,0,0.8);
}
.cursor-ring {
  width: 22px; height: 22px;
  border: 1px solid var(--yellow); border-radius: 50%;
  z-index: 9998; opacity: 0.7;
  box-shadow: 0 0 6px rgba(230,207,0,0.3);
}
.cursor-ring::before, .cursor-ring::after {
  content: '';
  position: absolute;
  background: var(--yellow);
  opacity: 0.8;
}
.cursor-ring::before {
  width: 5px; height: 1px;
  top: 50%; left: -7px;
  transform: translateY(-50%);
  box-shadow: 28px 0 0 var(--yellow);
}
.cursor-ring::after {
  width: 1px; height: 5px;
  left: 50%; top: -7px;
  transform: translateX(-50%);
  box-shadow: 0 28px 0 var(--yellow);
}


/* ── NAVIGATION ─────────────────────────────────────────────*/

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; padding: 0 3rem;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--blue);
  border-bottom: 2px solid var(--yellow);
}
.logo {
  font-family: var(--font-display);
  font-size: 1.55rem; letter-spacing: 0.12em;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 0.65rem;
}
.logo img { height: 36px; width: auto; display: block; }
.logo-dot { color: var(--yellow); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray-mid); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a:active { color: var(--yellow); }
.nav-cta {
  background: var(--yellow) !important; color: var(--blue) !important;
  padding: 0.5rem 1.3rem !important; font-weight: 700 !important;
  clip-path: var(--clip-md);
}
.nav-cta:hover, .nav-cta:active { background: var(--white) !important; }


/* ── HERO ───────────────────────────────────────────────────*/

.hero {
  background: var(--blue);
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 6rem 3rem 4rem;
  position: relative; overflow: visible;
}

.hero-wolf-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-wolf-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
  opacity: 0.92;
  filter: brightness(0.88) contrast(1.05);
}
.hero-wolf-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
          linear-gradient(to right,
          rgba(33,33,70,1.00)  0%,
          rgba(33,33,70,0.96) 28%,
          rgba(33,33,70,0.60) 42%,
          rgba(33,33,70,0.15) 55%,
          rgba(33,33,70,0.04) 70%,
          transparent         85%
          ),
          linear-gradient(to bottom,
          rgba(33,33,70,0.45) 0%,
          transparent 12%,
          transparent 82%,
          rgba(33,33,70,0.55) 100%
          );
}

.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
          linear-gradient(rgba(230,207,0,0.03) 1px, transparent 1px),
          linear-gradient(90deg, rgba(230,207,0,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 40%, transparent 100%);
}
.hero-glow {
  position: absolute; right: -60px; top: 50%; z-index: 1;
  transform: translateY(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,207,0,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  animation: fadeUp 0.5s ease 0.2s both;
}
.hero-label::before { content: ''; width: 2rem; height: 1px; background: var(--yellow); display: block; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8.5vw, 8.5rem);
  line-height: 0.92; letter-spacing: 0.02em; margin-bottom: 2rem;
  animation: fadeUp 0.5s ease 0.35s both;
}
.ht-w { color: var(--white); }
.ht-y { color: var(--yellow); }
.ht-g { color: transparent; -webkit-text-stroke: 1px rgba(230,207,0,0.25); }

.hero-desc {
  font-size: 1rem; line-height: 1.75; color: var(--gray-mid);
  max-width: 460px; margin-bottom: 2.5rem;
  animation: fadeUp 0.5s ease 0.5s both;
}
.hero-desc strong { color: var(--white); }

.hero-actions {
  display: flex; gap: 1rem; align-items: center;
  animation: fadeUp 0.5s ease 0.65s both;
}

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


/* ── BUTTONS ────────────────────────────────────────────────*/

.btn-primary {
  background: var(--yellow); color: var(--blue);
  padding: 0.9rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  clip-path: var(--clip-lg);
  transition: all 0.2s;
}
.btn-primary:hover, .btn-primary:active { background: var(--white); transform: translateY(-2px); }

.btn-outline {
  color: var(--gray); border: 1px solid rgba(216,216,216,0.25);
  padding: 0.9rem 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover, .btn-outline:active { border-color: var(--yellow); color: var(--yellow); }

.btn-dark {
  background: var(--blue); color: var(--yellow);
  padding: 1rem 2.25rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  clip-path: var(--clip-lg);
  transition: all 0.2s;
}
.btn-dark:hover, .btn-dark:active { background: var(--charcoal); color: var(--yellow); }


/* ── NIST TAG ───────────────────────────────────────────────*/

.nist-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.75rem;
  background: rgba(104,174,235,0.08);
  border: 1px solid rgba(104,174,235,0.22);
  padding: 0.4rem 1rem;
  animation: fadeUp 0.5s ease 0.8s both;
}
.nist-tag span {
  font-family: var(--font-mono);
  font-size: 0.58rem; letter-spacing: 0.15em; color: var(--sky); text-transform: uppercase;
}
.nist-pip { width: 5px; height: 5px; background: var(--sky); border-radius: 50%; }


/* ── STATS BAR ──────────────────────────────────────────────*/

.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background-color: var(--yellow);
}
.stat { background: var(--yellow); padding: 1.75rem 2rem; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--blue); line-height: 1; }
.stat-label {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.15em; color: var(--blue-mid); text-transform: uppercase;
  margin-top: 0.3rem; opacity: 0.7;
}


/* ── SHARED SECTION HELPERS ─────────────────────────────────*/

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-tag::before { content: ''; width: 1.25rem; height: 1px; background: var(--sky); display: block; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1; color: var(--blue);
}
.section-title.on-dark { color: var(--white); }
.accent { color: var(--yellow); }


/* ── SERVICES SECTION ───────────────────────────────────────*/

.services-section { background: var(--blue); padding: 6rem 3rem; }
.services-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem;
}
.services-intro p { font-size: 0.95rem; line-height: 1.75; color: var(--gray-mid); }
.services-intro .intro-lead {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600; line-height: 1.55;
  color: var(--white);
}

.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(216,216,216,0.08);
}

.svc-card {
  background: var(--blue-mid); padding: 2.25rem;
  position: relative; overflow: hidden; transition: background 0.25s;
  cursor: pointer;
}
.svc-bar {
  height: 2px; background: transparent;
  transition: background 0.25s; margin-bottom: 1.5rem;
}
.svc-card:hover { background: var(--blue-light); }
.svc-card:hover .svc-bar { background: var(--yellow); }

.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.svc-num {
  font-family: var(--font-display); font-size: 3rem; line-height: 1;
  color: rgba(230,207,0,0.38); transition: color 0.25s;
}
.svc-card:hover .svc-num { color: rgba(230,207,0,0.72); }

.svc-icon {
  width: 38px; height: 38px;
  background: rgba(230,207,0,0.07);
  border: 1px solid rgba(230,207,0,0.18);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  color: rgba(230,207,0,0.38);
  transition: color 0.25s;
}
.svc-card:hover .svc-icon { color: rgba(230,207,0,0.72); }
.svc-name { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; }
.svc-desc { font-size: 0.82rem; line-height: 1.65; color: var(--gray-mid); }
.svc-hook { font-size: 0.78rem; font-style: italic; color: rgba(230,207,0,0.6); margin-bottom: 0.6rem; line-height: 1.45; }

.svc-detail {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}
.svc-card.expanded .svc-detail { max-height: 200px; opacity: 1; }
.svc-detail p { font-size: 0.82rem; line-height: 1.65; color: var(--gray-mid); margin-top: 0.75rem; }

.svc-result {
  margin-top: 0.75rem;
  border-left: 2px solid var(--yellow);
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem; line-height: 1.55; color: var(--gray-mid);
}
.svc-result span {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--yellow); display: block; margin-bottom: 0.2rem;
}

.svc-expand-hint {
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.12em; color: rgba(230,207,0,0.3);
  text-transform: uppercase; margin-top: 1rem;
  transition: opacity 0.3s;
}
.svc-card.expanded .svc-expand-hint { opacity: 0; }


/* ── ADVANTAGE SECTION ──────────────────────────────────────*/

.advantage-section {
  position: relative;
  z-index: 10;
  background: var(--off-white);
  padding: 6rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.benefit-list, .benefit-item {
  position: relative;
}
.benefit-text {
  display: block;
}
.benefit-list { margin-top: 2.5rem; }
.benefit-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--gray); align-items: start;
}
.benefit-item:first-child { border-top: 1px solid var(--gray); }

.benefit-icon {
  width: 48px; height: 48px;
  background: var(--blue); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  clip-path: var(--clip-md);
  transition: background 0.2s;
}
.benefit-item:hover .benefit-icon,
.benefit-item:active .benefit-icon { background: var(--blue-light); }
.benefit-text h4 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--blue); margin-bottom: 0.3rem;
}
.benefit-text p {
  font-size: 0.83rem; line-height: 1.65; color: #555;
}

.info-box {
  background: rgba(104,174,235,0.07);
  border-left: 3px solid var(--sky);
  padding: 1rem 1.25rem; margin-top: 1.75rem;
  font-size: 0.82rem; line-height: 1.65; color: #444;
}
.info-box strong { color: var(--sky); }


/* ── THREAT PANEL ───────────────────────────────────────────*/

.threat-panel { background: var(--blue); border: 1px solid rgba(230,207,0,0.12); overflow: hidden; }

.tp-header {
  background: var(--blue-mid); padding: 0.9rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(230,207,0,0.12);
}
.tp-title { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--yellow); text-transform: uppercase; }
.tp-clock { font-family: var(--font-mono); font-size: 0.6rem; color: var(--gray-mid); letter-spacing: 0.1em; }

.tp-row {
  padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.tp-row:hover, .tp-row:active { background: rgba(255,255,255,0.02); }
.tp-row-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }

.tp-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--red); box-shadow: 0 0 6px var(--red);
  animation: blink 2s ease-in-out infinite;
}
.tp-dot.ok   { background: var(--green); box-shadow: 0 0 6px var(--green); animation: none; }
.tp-dot.warn { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.tp-label  { font-family: var(--font-mono); font-size: 0.62rem; color: var(--gray-mid); flex: 1; }
.tp-status { font-family: var(--font-mono); font-size: 0.57rem; letter-spacing: 0.1em; text-transform: uppercase; }
.tp-status.danger  { color: var(--red); }
.tp-status.safe    { color: var(--green); }
.tp-status.caution { color: var(--yellow); }

.tp-bar  { height: 3px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden; }
.tp-fill { height: 100%; border-radius: 2px; }
.tp-fill.danger  { background: var(--red);    width: 72%; animation: flicker 3s ease-in-out infinite alternate; }
.tp-fill.safe    { background: var(--green);  width: 97%; }
.tp-fill.caution { background: var(--yellow); width: 58%; animation: flicker 4s ease-in-out infinite alternate; }
@keyframes flicker { from{width:65%} to{width:80%} }

.tp-footer {
  background: var(--blue-mid); padding: 0.9rem 1.25rem;
  display: flex; justify-content: space-between; align-items: center;
}
.tp-footer span:first-child { font-family: var(--font-mono); font-size: 0.57rem; color: var(--gray-mid); letter-spacing: 0.12em; text-transform: uppercase; }

/* Callout (Signal Red) */
.callout {
  border-left: 4px solid var(--red);
  background: rgba(214,69,69,0.06);
  padding: 1.1rem 1.4rem; margin-top: 1px;
  display: flex; align-items: flex-start; gap: 1rem;
}
.callout-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.callout-text { font-size: 0.81rem; line-height: 1.7; color: var(--gray-mid); }
.callout-text strong { color: var(--red); }

/* Verified badges */
.badge-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.v-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(45,106,79,0.08); border: 1px solid rgba(45,106,79,0.28);
  padding: 0.28rem 0.7rem;
}
.v-badge span { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.12em; color: var(--green); text-transform: uppercase; }
.v-pip { width: 5px; height: 5px; background: var(--green); border-radius: 50%; }


/* ── TEAM SECTION ───────────────────────────────────────────*/

.team-section { background: var(--blue); padding: 6rem 3rem; }
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(216,216,216,0.08); margin-top: 3rem;
}
.team-card {
  background: var(--blue-mid); padding: 2.75rem;
  position: relative; overflow: hidden;
}
.team-card::before {
  content: attr(data-initial);
  position: absolute; bottom: -1.5rem; right: -0.5rem;
  font-family: var(--font-display); font-size: 9rem;
  color: rgba(230,207,0,0.04); line-height: 1; pointer-events: none;
}
.team-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.team-avatar {
  width: 172px; height: 172px; background: var(--blue);
  border: 2px solid rgba(230,207,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; color: var(--yellow);
  clip-path: var(--clip-md);
  flex-shrink: 0;
}
.team-bio { font-size: 0.86rem; line-height: 1.72; color: var(--gray-mid); position: relative; z-index: 1; max-width: 380px; }
.cert-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; position: relative; z-index: 1; }
.cert {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.1em;
  color: var(--yellow); border: 1px solid rgba(230,207,0,0.28);
  padding: 0.2rem 0.55rem;
  clip-path: var(--clip-sm);
}
.cert.grn { color: var(--green); border-color: rgba(45,106,79,0.35); }


/* ── TESTIMONIAL ────────────────────────────────────────────*/

.testimonial-section {
  background: var(--gray); padding: 5rem 3rem; text-align: center; position: relative; overflow: hidden;
}
.testimonial-section::before {
  content: '"'; position: absolute; top: -3rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 18rem;
  color: rgba(33,33,70,0.07); line-height: 1; pointer-events: none;
}
.test-quote {
  position: relative; z-index: 1;
  font-family: var(--font-body); font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 600; line-height: 1.55; max-width: 680px;
  margin: 0 auto 1.75rem; color: var(--blue);
}
.test-author {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.2em; color: var(--sky); text-transform: uppercase;
}


/* ── CTA SECTION ────────────────────────────────────────────*/

.cta-section {
  background: var(--yellow); padding: 4.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.25rem); color: var(--blue); line-height: 1.1; }
.cta-title span { color: rgba(33,33,70,0.38); }
.cta-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.cta-contact { font-family: var(--font-mono); font-size: 0.63rem; color: rgba(33,33,70,0.52); }


/* ── FOOTER ─────────────────────────────────────────────────*/

footer {
  background: var(--blue); padding: 3.5rem 3rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem;
  border-top: 2px solid var(--yellow);
}
.footer-logo-mark { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 0.1em; color: var(--white); margin-bottom: 0.4rem; }
.footer-tagline { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.2em; color: var(--gray-mid); text-transform: uppercase; margin-bottom: 1rem; }
.footer-desc { font-size: 0.82rem; line-height: 1.7; color: var(--gray-mid); max-width: 280px; }

.footer-col h5 { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.2em; color: var(--yellow); text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.82rem; color: var(--gray-mid); text-decoration: none; margin-bottom: 0.45rem; transition: color 0.2s; }
.footer-col a:hover, .footer-col a:active { color: var(--yellow); }

.footer-bottom {
  background: var(--blue-mid); padding: 1rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(230,207,0,0.08);
}
.footer-bottom p { color: var(--white); opacity: 0.85; }


/* ── TOPOLOGY BACKGROUND CANVAS ─────────────────────────────*/

#topology-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
}

/* Ensure all sections sit above the topology canvas */
nav, section, .stats, footer, .cta-section,
.testimonial-section, .footer-bottom {
  position: relative;
  z-index: 10;
}


/* ── HERO VISUAL — PARALLAX ORB ─────────────────────────────*/

.hero-visual {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
  animation: fadeUp 0.7s ease 0.4s both;
  overflow: visible;
  align-self: stretch;
}
.parallax-layer {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
}
.wolf-frame { position: relative; width: 400px; height: 400px; overflow: visible; }

/* Wolf avatar — circular crop inside ring frame, mobile only */
.wolf-avatar { display: none; position: absolute; z-index: 3; }

/* Team info block next to avatar */
.team-info { display: flex; flex-direction: column; justify-content: center; gap: 0.25rem; }
.team-name  { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); margin: 0; letter-spacing: 0.01em; }
.team-title { font-family: var(--font-mono); font-size: 0.65rem; color: var(--yellow); letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }

/* Decorative orbit rings */
.ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(230,207,0,0.12);
  animation: spin 22s linear infinite;
}
.ring-2 { inset: 22px; border-color: rgba(104,174,235,0.09); animation-duration: 30s; animation-direction: reverse; }
.ring-3 {
  inset: -30px;
  border-color: rgba(200,169,110,0.07);
  animation-duration: 48s;
  animation-direction: normal;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Canvas for ring dots + binary tails */
#ring-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}

.orbit-stage {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 5;
  pointer-events: none;
  overflow: visible;
}

/* Orbit tags — positioned by JS from wolf-frame center */
.otag {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.otag.visible { opacity: 1; }

/* Colour palette — amber/gold matched to fire-wolf hero */
.otag.col-y { color: rgba(230,180,40,0.95);  text-shadow: 0 0 16px rgba(230,160,0,0.65),  0 0 32px rgba(200,120,0,0.25); }
.otag.col-b { color: rgba(255,210,90,0.82);  text-shadow: 0 0 14px rgba(230,170,20,0.55); }
.otag.col-w { color: rgba(255,240,200,0.70); text-shadow: 0 0 10px rgba(220,180,80,0.30); }

.otag.sz-xs { font-size: 0.42rem; }
.otag.sz-sm { font-size: 0.52rem; }
.otag.sz-md { font-size: 0.65rem; }
.otag.sz-lg { font-size: 0.82rem; font-weight: 500; }


/* ── WHO WE HELP — PERSONA CARDS ────────────────────────────*/

.personas-section {
  position: relative;
  padding: 6rem 3rem 5rem;
  background: #0b1729;
  overflow: hidden;
}
.personas-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../images/topo-bg.svg");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

.personas-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}
.personas-header .section-tag { justify-content: center; }
.personas-header .section-title { margin-bottom: 14px; }
.personas-header .personas-sub {
  font-size: 15px; color: #7a9bbf;
  max-width: 460px; margin: 0 auto;
  line-height: 1.75; font-family: var(--font-body);
}
.personas-header .personas-disclaimer {
  font-size: 12px; color: #7a9bbf; opacity: 0.6;
  max-width: 440px; margin: 12px auto 0;
  line-height: 1.7; font-style: italic;
  letter-spacing: 0.01em; font-family: var(--font-body);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.card-scene {
  aspect-ratio: 5 / 7;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
/* Hover flip — only on devices that actually support hover */
@media (hover: hover) and (pointer: fine) {
  .card-scene:hover,
  .card-scene:focus-visible { z-index: 10; }
  .card-scene:hover .card-inner,
  .card-scene:focus-visible .card-inner {
    transform: rotateY(180deg);
    box-shadow: 0 24px 52px rgba(0,0,0,0.65);
  }
}
/* Tap-to-flip class — toggled by JS on touch devices */
.card-scene.flipped { z-index: 10; }
.card-scene.flipped .card-inner {
  transform: rotateY(180deg);
  box-shadow: 0 24px 52px rgba(0,0,0,0.65);
}

.card-inner {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.35, 0, 0.15, 1),
  box-shadow 0.35s ease;
  border-radius: 14px;
}

.card-front, .card-back {
  position: absolute; inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.card-front {
  display: flex; flex-direction: column;
  background: #112240;
  border: 1px solid rgba(200,169,110,0.12);
}

.p-photo-wrap {
  width: 100%; flex: 0 0 62%; overflow: hidden; position: relative;
}
.p-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  filter: grayscale(10%) contrast(1.04);
  transition: filter 0.5s ease, transform 0.6s ease;
}
@media (hover: hover) and (pointer: fine) {
  .card-scene:hover .p-photo-wrap img {
    filter: grayscale(0%) contrast(1.02);
    transform: scale(1.04);
  }
}
.card-scene.flipped .p-photo-wrap img {
  filter: grayscale(0%) contrast(1.02);
  transform: scale(1.04);
}
.p-photo-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(to bottom, transparent, #112240);
  pointer-events: none;
}

.p-front-body {
  padding: 16px 20px 18px; flex: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  text-align: left;
}
.p-front-text { display: flex; flex-direction: column; gap: 5px; }

/* Shared gold accent bar */
.p-front-text::before, .p-back-label::before {
  content: '';
  display: block; width: 28px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.p-front-text::before { margin-bottom: 2px; }
.p-back-label::before { margin-bottom: 10px; }

.p-persona-name {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-family: var(--font-mono);
}
.p-persona-role  { font-size: 11px; color: #7a9bbf; margin-bottom: 4px; font-family: var(--font-body); }
.p-persona-question {
  font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 300; font-style: italic;
  line-height: 1.45; color: #f0ead8;
}
.p-hover-hint {
  display: flex; align-items: center; gap: 5px;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #7a9bbf; opacity: 0.38; transition: opacity 0.3s;
  margin-top: 8px; font-family: var(--font-mono);
}
@media (hover: hover) and (pointer: fine) {
  .card-scene:hover .p-hover-hint { opacity: 0; }
}
.card-scene.flipped .p-hover-hint { opacity: 0; }
.p-hover-hint svg { width: 9px; height: 9px; }

.card-back {
  background: linear-gradient(150deg, #1a3356 0%, #112240 100%);
  border: 1px solid rgba(200,169,110,0.22);
  transform: rotateY(180deg);
  display: flex; flex-direction: column;
  padding: 22px 22px 20px; text-align: left;
}
.p-back-name {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2px; font-family: var(--font-mono);
}
.p-back-role { font-size: 11px; color: #7a9bbf; margin-bottom: 10px; font-family: var(--font-body); }
.p-back-heading {
  font-family: var(--font-body);
  font-size: 1.12rem; font-weight: 600;
  line-height: 1.25; color: #ffffff; margin-bottom: 8px;
}
.p-back-body {
  font-size: 12px; line-height: 1.7; color: #9ab5cc;
  flex: 1; margin-bottom: 10px; font-family: var(--font-body);
}
.p-outcome {
  border-left: 2px solid var(--gold);
  background: rgba(200,169,110,0.07);
  border-radius: 0 8px 8px 0;
  padding: 8px 12px; margin-bottom: 10px;
}
.p-outcome p {
  font-size: 12px; line-height: 1.6; color: #e2c99a;
  font-style: italic; font-family: var(--font-body);
}
.p-back-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(200,169,110,0.35);
  border-radius: 50px; padding: 7px 14px;
  text-decoration: none; transition: background 0.25s, color 0.25s;
  align-self: flex-start; font-family: var(--font-mono);
}
.p-back-cta:hover, .p-back-cta:active { background: var(--gold); color: #0b1729; }
.p-back-cta svg  { width: 10px; height: 10px; }


/* ── MOBILE NAV HAMBURGER ───────────────────────────────────*/

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px; z-index: 200;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--yellow); transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }


/* ── RESPONSIVE — TABLET (≤768px) ───────────────────────────*/

@media (max-width: 768px) {

  nav { padding: 0 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--blue);
    border-top: 1px solid rgba(230,207,0,0.15);
    border-bottom: 2px solid var(--yellow);
    flex-direction: column; gap: 0;
    padding: 0; list-style: none;
    transform: translateY(calc(-100% - 70px));
    transition: transform 0.3s ease;
    z-index: 150;
    pointer-events: none;
    visibility: hidden;
  }
  .nav-links.open {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .nav-links li  { width: 100%; }
  .nav-links a   { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.72rem; }
  .nav-cta {
    margin: 0.75rem 1.5rem 1rem !important;
    display: block !important; text-align: center;
    clip-path: none !important;
    width: calc(100% - 3rem);
  }

  .hero { grid-template-columns: 1fr; padding: 6rem 1.5rem 3rem; min-height: auto; gap: 3rem; overflow-x: clip; }
  .hero-wolf-bg img { object-position: center 15%; }
  .hero-wolf-bg::after {
    background:
            linear-gradient(to bottom,
            rgba(33,33,70,0.25) 0%,
            rgba(33,33,70,0.35) 25%,
            rgba(33,33,70,0.60) 55%,
            rgba(33,33,70,0.88) 78%,
            rgba(33,33,70,0.96) 100%
            );
  }
  /* Portrait wolf fills the background — circular avatar not needed */
  .wolf-avatar { display: none !important; }
  .hero-visual { order: -1; overflow: visible; min-height: 340px; display: flex; align-items: center; justify-content: center; }
  .hero-title { font-size: clamp(2.8rem, 11vw, 4rem); }
  .wolf-frame  { width: 260px; height: 260px; margin: 0 auto; }
  .wolf-avatar {
    display: block;
    inset: 18%; width: 64%; height: 64%;
    object-fit: cover;
    object-position: 72% center;
    border-radius: 50%;
    border: 2px solid rgba(230,207,0,0.18);
    box-shadow:
            0 0 30px rgba(230,207,0,0.12),
            0 0 60px rgba(200,140,50,0.08),
            inset 0 0 20px rgba(0,0,0,0.3);
    filter: brightness(0.92) contrast(1.08) saturate(1.1);
  }
  .wolf-avatar {
    display: block;
    inset: 18%; width: 64%; height: 64%;
    object-fit: cover;
    object-position: 72% center;
    border-radius: 50%;
    border: 2px solid rgba(230,207,0,0.18);
    box-shadow:
            0 0 30px rgba(230,207,0,0.12),
            0 0 60px rgba(200,140,50,0.08),
            inset 0 0 20px rgba(0,0,0,0.3);
    filter: brightness(0.92) contrast(1.08) saturate(1.1);
  }
  .orbit-stage { top: 0; left: 0; width: 100%; height: 100%; }
  .hero-title  { font-size: clamp(3.5rem, 14vw, 5rem); }
  .hero-desc   { font-size: 0.92rem; max-width: 100%; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; display: block; }
  .nist-tag { width: 100%; justify-content: center; }

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

  .services-section { padding: 4rem 1.5rem; }
  .services-intro   { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-grid    { grid-template-columns: 1fr; }

  .advantage-section { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 3rem; }

  .team-section { padding: 4rem 1.5rem; }
  .team-grid    { grid-template-columns: 1fr; }
  .team-card    { padding: 2rem 1.5rem; }

  .testimonial-section { padding: 3.5rem 1.5rem; }

  .cta-section  { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem; gap: 2rem; }
  .cta-right    { align-items: flex-start; width: 100%; }
  .btn-dark     { width: 100%; text-align: center; white-space: normal; }

  footer        { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1rem 1.5rem; }

  /* Hide custom cursor on touch devices */
  .crosshair-x, .crosshair-y,
  .cursor-dot, .cursor-ring { display: none; }
  * { cursor: auto !important; }
  body { cursor: auto; }
}


/* ── RESPONSIVE — PERSONAS TABLET (≤900px) ──────────────────*/

@media (max-width: 900px) {
  .card-grid      { grid-template-columns: repeat(2, 1fr); }
  .personas-section { padding: 4rem 1.5rem; }
  .p-back-cta { padding: 10px 18px; font-size: 11px; }
}


/* ── RESPONSIVE — SMALL PHONES (≤480px) ─────────────────────*/

@media (max-width: 480px) {
  .hero-wolf-bg img { object-position: 55% center; }
  .hero-title       { font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .wolf-frame       { width: 200px; height: 200px; }
  .orbit-stage      { top: 0; left: 0; width: 100%; height: 100%; }

  .otag.sz-lg { font-size: 0.58rem; }
  .otag.sz-md { font-size: 0.48rem; }
  .otag.sz-sm { font-size: 0.40rem; }
  .otag.sz-xs { font-size: 0.33rem; }

  .stats    { grid-template-columns: repeat(2,1fr); }
  .stat     { padding: 1.25rem 1rem; }
  .stat-num { font-size: 2rem; }

  .benefit-item { grid-template-columns: 40px 1fr; gap: 1rem; }
  .benefit-icon { width: 40px; height: 40px; }

  .team-top    { flex-direction: column; align-items: flex-start; }
  .team-avatar { width: 120px; height: 120px; }

  .section-title { font-size: clamp(2rem, 10vw, 3rem); }
  .tp-label      { font-size: 0.56rem; }

  .services-section, .advantage-section,
  .team-section { padding: 3rem 1.25rem; }
}

@media (max-width: 540px) {
  .card-grid    { grid-template-columns: 1fr; max-width: 380px; }
  .card-scene   { aspect-ratio: 4 / 5; }
  .p-back-cta   { padding: 12px 20px; font-size: 12px; }
  .p-back-heading { font-size: 1rem; }
  .p-persona-question { font-size: 0.95rem; }
}

/* ══════════════════════════════════════════
    SOLUTIONS SECTION
 ══════════════════════════════════════════ */

.solutions-section {
  background: var(--blue);
  padding: 6rem 3rem 7rem;
  position: relative; overflow: hidden;
}
.solutions-section::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
          linear-gradient(rgba(230,207,0,0.025) 1px, transparent 1px),
          linear-gradient(90deg, rgba(230,207,0,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 0%, transparent 75%);
}

.solutions-header {
  max-width: 1080px; margin: 0 auto 4.5rem;
  display: grid; grid-template-columns: auto 1fr;
  gap: 0 5rem; align-items: end;
  position: relative; z-index: 1;
}
.solutions-lead {
  font-size: clamp(0.95rem,1.6vw,1.12rem); font-weight: 400;
  line-height: 1.8; color: rgba(216,216,216,0.6);
  max-width: 500px; padding-bottom: 0.35rem;
}

/* ── Phase list ── */
.phase-list {
  max-width: 1080px; margin: 0 auto;
  position: relative; z-index: 1;
}

.phase-block {
  display: grid;
  grid-template-columns: 290px 1fr;
  border-top: 1px solid rgba(230,207,0,0.09);
  position: relative;
  transition: background 0.3s var(--ease-out);
  cursor: pointer;
}
.phase-block:last-child { border-bottom: 1px solid rgba(230,207,0,0.09); }
.phase-block:hover,
.phase-block.pinned { background: rgba(230,207,0,0.022); }

.phase-block::before {
  content: ''; position: absolute;
  left: -3rem; top: 0; bottom: 0; width: 3px;
  background: var(--yellow);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.45s var(--spring);
}
.phase-block:hover::before,
.phase-block.pinned::before { transform: scaleY(1); }

/* ── Left column ── */
.phase-left {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-right: 1px solid rgba(230,207,0,0.07);
  display: flex; flex-direction: column; gap: 0.45rem;
}
.phase-verb {
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 2.6vw, 2.7rem);
  font-weight: 800; letter-spacing: 0.01em;
  text-transform: uppercase; color: var(--yellow);
  line-height: 1; margin-bottom: 0.5rem;
  transition: color 0.2s, letter-spacing 0.3s var(--spring);
}
.phase-block:hover .phase-verb,
.phase-block.pinned .phase-verb { color: #f0dc20; letter-spacing: 0.03em; }

.phase-num {
  font-family: var(--font-mono); font-size: 0.57rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(230,207,0,0.28); transition: color 0.25s;
}
.phase-block:hover .phase-num,
.phase-block.pinned .phase-num { color: rgba(230,207,0,0.48); }

.phase-playbook {
  font-family: var(--font-mono); font-size: 0.67rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.phase-deliverable {
  font-size: 0.78rem; line-height: 1.5;
  color: var(--gray-mid); margin-top: 0.1rem;
}

/* ── Right column ── */
.phase-right {
  padding: 2.5rem 0 2.5rem 3rem;
  display: flex; flex-direction: column;
  gap: 0;
  /* min-height so collapsed rows have consistent weight */
  min-height: 115px;
}

/* ── Vertical centering spacer ──
   Collapses to 0 on hover, pushing the teaser toward centre at rest.
   Height chosen so premise lands ~vertically centred within left column height.
── */
.phase-right-spacer {
  height: 1.25rem;
  flex-shrink: 0;
  transition: height 0.4s var(--ease-out);
}
.phase-block:hover .phase-right-spacer,
.phase-block.pinned .phase-right-spacer { height: 0; }

/* ── Teaser: challenge label + premise ── */
.phase-teaser {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding-bottom: 0;
  transition: padding-bottom 0.55s var(--spring);
}
.phase-block:hover .phase-teaser,
.phase-block.pinned .phase-teaser { padding-bottom: 0.85rem; }

/* "CHALLENGE" label — red tag chip, clearly signals "problem" territory */
.phase-challenge-label {
  font-family: var(--font-mono); font-size: 0.52rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  /* Pill shape */
  display: inline-flex; align-items: center; gap: 0.4rem;
  width: fit-content;
  padding: 0.2rem 0.6rem 0.2rem 0.5rem;
  border: 1px solid rgba(214,69,69,0.35);
  border-radius: 2px;
  background: rgba(214,69,69,0.07);
  color: rgba(214,69,69,0.75);
  transition: color 0.35s, opacity 0.35s, border-color 0.35s, background 0.35s;
}
/* Small pulsing dot before the word */
.phase-challenge-label::before {
  content: '';
  display: block; width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(214,69,69,0.7);
  box-shadow: 0 0 5px rgba(214,69,69,0.4);
  flex-shrink: 0;
  animation: challenge-pulse 2.5s ease-in-out infinite;
}
@keyframes challenge-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.phase-block:hover .phase-challenge-label,
.phase-block.pinned .phase-challenge-label {
  color: rgba(214,69,69,0.35);
  border-color: rgba(214,69,69,0.15);
  background: transparent;
  opacity: 0.7;
}
/* Pause pulse when expanded — it's done its job */
.phase-block:hover .phase-challenge-label::before,
.phase-block.pinned .phase-challenge-label::before {
  animation: none;
  opacity: 0.3;
}

/* ── Premise / challenge statement ──
   BIG at rest (fills the right column with purpose),
   shrinks + dims on hover to yield visual priority to the solution.
── */
.phase-premise {
  font-family: var(--font-body);
  /* Larger at rest — this is the hero state */
  font-size: clamp(1.1rem, 1.75vw, 1.38rem);
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255,255,255,0.78);
  display: flex; align-items: flex-start; gap: 0.75rem;
  /* Both font-size and color transition smoothly */
  transition:
          font-size 0.4s var(--ease-out),
          color 0.35s ease,
          opacity 0.35s ease;
}
.phase-block:hover .phase-premise,
.phase-block.pinned .phase-premise {
  /* Smaller + dimmed on expand — yields to solution content */
  font-size: clamp(0.88rem, 1.2vw, 1.0rem);
  color: rgba(255,255,255,0.42);
  opacity: 0.8;
}

/* Expand indicator */
.phase-expand-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.15rem;
  border: 1px solid rgba(230,207,0,0.2); border-radius: 50%;
  transition: transform 0.45s var(--spring), border-color 0.25s, background 0.25s;
}
.phase-expand-icon svg {
  width: 8px; height: 8px; stroke: rgba(230,207,0,0.4);
  transition: stroke 0.25s;
}
.phase-block:hover .phase-expand-icon,
.phase-block.pinned .phase-expand-icon {
  border-color: rgba(230,207,0,0.45); background: rgba(230,207,0,0.06);
  transform: rotate(45deg);
}
.phase-block:hover .phase-expand-icon svg,
.phase-block.pinned .phase-expand-icon svg { stroke: var(--yellow); }
.phase-block.pinned .phase-expand-icon { transform: rotate(135deg); }

/* ── Collapsible panel ── */
.phase-collapsible {
  display: grid; grid-template-rows: 0fr;
  transition:
          grid-template-rows 0.55s var(--spring),
          opacity 0.35s ease;
  opacity: 0;
}
.phase-block:hover .phase-collapsible,
.phase-block.pinned .phase-collapsible {
  grid-template-rows: 1fr; opacity: 1;
}
.phase-block:not(:hover):not(.pinned) .phase-collapsible {
  transition:
          grid-template-rows 0.3s var(--ease-out),
          opacity 0.2s ease;
}
.phase-collapsible-inner {
  overflow: hidden; display: flex; flex-direction: column; gap: 0.9rem;
}
.phase-body {
  font-size: 0.92rem; line-height: 1.8;
  color: rgba(216,216,216,0.68); padding-top: 0.9rem;
}
.phase-outcome {
  border-left: 2px solid var(--gold);
  padding: 0.85rem 1.15rem;
  background: rgba(200,169,110,0.05); border-radius: 0 5px 5px 0;
  transform: translateY(4px);
  transition: transform 0.5s var(--spring);
}
.phase-block:hover .phase-outcome,
.phase-block.pinned .phase-outcome { transform: translateY(0); }
.phase-outcome-label {
  font-family: var(--font-mono); font-size: 0.54rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 0.4rem;
}
.phase-outcome p {
  font-size: 0.87rem; line-height: 1.7; color: var(--white);
}


/* ════════════════════════════════════════════════════
   FRAMEWORK ALIGNMENT DIAGRAM
   Layout: CSF (hero, wide) | Phase (centre, narrow) | ISO (reference, slim)
   Grid: 1.5fr  185px  0.65fr
════════════════════════════════════════════════════ */

.framework-diagram {
  max-width: 1080px; margin: 5rem auto 0;
  position: relative; z-index: 1;
}
.fw-header { text-align: center; margin-bottom: 2.5rem; }
.fw-title {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(230,207,0,0.5); margin-bottom: 0.6rem;
}
.fw-subtitle {
  font-size: 0.82rem; color: rgba(216,216,216,0.45);
  line-height: 1.6; max-width: 540px; margin: 0 auto;
}
.fw-subtitle em { font-style: normal; color: rgba(230,207,0,0.4); }

.fw-grid {
  display: grid;
  /* CSF hero | phase spine | ISO restored to full column */
  grid-template-columns: 1.5fr 185px 1fr;
  border: 1px solid rgba(230,207,0,0.08);
  border-radius: 4px; overflow: hidden;
}

/* Column headers — heavier treatment */
.fw-col-header {
  background: rgba(230,207,0,0.07);
  border-bottom: 1px solid rgba(230,207,0,0.18);
  padding: 0.9rem 1.2rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.fw-col-header.center { justify-content: center; }
.fw-col-header.right  { justify-content: flex-end; }

.fw-col-label {
  font-family: var(--font-mono); font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.fw-col-label.yellow { color: rgba(230,207,0,0.75); }
.fw-col-label.sky    { color: rgba(104,174,235,0.9); }
.fw-col-label.gold   { color: rgba(200,169,110,0.75); }

.fw-col-badge {
  font-family: var(--font-mono); font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.18rem 0.6rem; border-radius: 2px;
}
.fw-col-badge.sky  { color: var(--sky);  border: 1px solid rgba(104,174,235,0.4); background: rgba(104,174,235,0.06); }
.fw-col-badge.gold { color: var(--gold); border: 1px solid rgba(200,169,110,0.35); background: rgba(200,169,110,0.05); }

/* Rows */
.fw-row { display: contents; }
.fw-cell {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(230,207,0,0.05);
  display: flex; align-items: center;
  transition: background 0.2s;
}
.fw-row:last-child .fw-cell { border-bottom: none; }
.fw-row:hover .fw-cell,
.fw-row:active .fw-cell { background: rgba(230,207,0,0.018); }

/* ── CSF cell (LEFT — hero) ── */
.fw-csf-cell { justify-content: flex-start; gap: 0.85rem; }

/* Large readable function badge */
.fw-csf-badge {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sky);
  white-space: nowrap;
  flex-shrink: 0;
}
/* Connector line FROM badge to centre */
.fw-csf-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right,
  rgba(104,174,235,0.18), rgba(104,174,235,0.04));
}
.fw-csf-dot {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: rgba(104,174,235,0.5);
  box-shadow: 0 0 6px rgba(104,174,235,0.28);
}
/* Plain-English "what it solves" sits below the badge row */
.fw-csf-cell-inner {
  display: flex; flex-direction: column; gap: 0.3rem; flex: 1;
}
.fw-csf-badge-row {
  display: flex; align-items: center; gap: 0.75rem; width: 100%;
}
.fw-csf-desc {
  font-size: 0.78rem; line-height: 1.45;
  color: rgba(216,216,216,0.45);
}

/* ── Phase cell (CENTRE) ── */
.fw-phase {
  justify-content: center;
  border-left: 1px solid rgba(230,207,0,0.07);
  border-right: 1px solid rgba(230,207,0,0.07);
  background: rgba(230,207,0,0.03);
  flex-direction: column; gap: 0.25rem; text-align: center;
}
/* SWAPPED: playbook name is now the hero, verb is the label */
.fw-phase-name {
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--yellow);
  text-align: center; line-height: 1.2;
}
.fw-phase-verb {
  font-family: var(--font-mono);
  font-size: 0.5rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200,169,110,0.4);
  text-align: center;
}

/* ── ISO cell (RIGHT — restored v3 connector style) ── */
.fw-iso-cell { justify-content: flex-start; }

/* Reuse connector layout from CSF side, mirrored */
.fw-iso-connector {
  display: flex; align-items: center; gap: 0.5rem; width: 100%;
}
.fw-iso-connector-dot {
  width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
  background: rgba(200,169,110,0.55);
  box-shadow: 0 0 6px rgba(200,169,110,0.3);
}
.fw-iso-connector-line {
  flex: 1; height: 1px;
  background: linear-gradient(to left, rgba(200,169,110,0.18), rgba(200,169,110,0.04));
}
.fw-iso-function {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem;
}
.fw-iso-function-name {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.fw-iso-function-desc {
  font-size: 0.72rem; line-height: 1.4;
  color: rgba(216,216,216,0.4); text-align: left;
}

/* Disclaimer */
.fw-disclaimer {
  text-align: center; margin-top: 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.fw-disclaimer::before,
.fw-disclaimer::after {
  content: ''; flex: 1; max-width: 120px; height: 1px;
  background: rgba(230,207,0,0.08);
}
.fw-disclaimer span {
  font-family: var(--font-mono); font-size: 0.52rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(216,216,216,0.22);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .solutions-section { padding: 4rem 1.5rem 5rem; }
  .solutions-header { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 3rem; }
  .phase-block { grid-template-columns: 1fr; }
  .phase-block::before {
    left: 0; top: -1px; bottom: auto; width: 100%; height: 2px;
    transform: scaleX(0); transform-origin: left;
  }
  .phase-block:hover::before,
  .phase-block.pinned::before { transform: scaleX(1); }
  .phase-left {
    border-right: none; border-bottom: 1px solid rgba(230,207,0,0.07);
    padding: 2rem 0 1.35rem;
    flex-direction: row; flex-wrap: wrap; align-items: baseline;
    gap: 0.5rem 1.2rem;
  }
  .phase-verb { flex-basis: 100%; margin-bottom: 0.15rem; }
  .phase-right { padding: 1.35rem 0 2rem; min-height: 0; }
  .phase-right-spacer { height: 0 !important; }
  .phase-block:not(.pinned) .phase-collapsible {
    grid-template-rows: 0fr !important; opacity: 0 !important;
  }
  .phase-block.pinned .phase-collapsible {
    grid-template-rows: 1fr !important; opacity: 1 !important;
  }
  /* On mobile: premise stays at normal size, no shrink on tap */
  .phase-block.pinned .phase-premise {
    font-size: clamp(1.0rem, 4vw, 1.15rem);
    color: rgba(255,255,255,0.55);
  }

  /* Framework: 2 column on mobile — drop ISO column */
  .fw-grid { grid-template-columns: 1fr 160px; }
  .fw-col-header.iso-header,
  .fw-iso-cell { display: none; }

  .fw-col-header.csf-header { border-radius: 4px 4px 0 0; }
  .fw-csf-line { display: none; }
  .fw-csf-dot  { display: none; }
}

/* ── FRAMEWORK EXPLAINER CALLOUT ── */
.fw-explainer {
  margin-top: 1.75rem;
  border: 1px solid rgba(104,174,235,0.14);
  border-radius: 4px;
  overflow: hidden;
}

.fw-explainer-trigger {
  width: 100%;
  background: rgba(104,174,235,0.04);
  border: none; cursor: pointer;
  padding: 0.95rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  transition: background 0.2s;
}
.fw-explainer-trigger:hover,
.fw-explainer-trigger:active { background: rgba(104,174,235,0.08); }

.fw-explainer-trigger-left {
  display: flex; align-items: center; gap: 0.75rem;
}
.fw-explainer-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1px solid rgba(104,174,235,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.fw-explainer-icon svg {
  width: 10px; height: 10px; stroke: rgba(104,174,235,0.7);
}
.fw-explainer-label {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(104,174,235,0.7);
}
.fw-explainer-hint {
  font-size: 0.78rem; color: rgba(216,216,216,0.4);
  font-family: var(--font-body);
}

/* Chevron rotates on open */
.fw-explainer-chevron {
  width: 16px; height: 16px; flex-shrink: 0;
  stroke: rgba(104,174,235,0.4);
  transition: transform 0.4s var(--spring);
}
.fw-explainer.open .fw-explainer-chevron { transform: rotate(180deg); }

/* Collapsible panel */
.fw-explainer-panel {
  display: grid; grid-template-rows: 0fr;
  transition:
          grid-template-rows 0.5s var(--spring),
          opacity 0.3s ease;
  opacity: 0;
}
.fw-explainer.open .fw-explainer-panel {
  grid-template-rows: 1fr; opacity: 1;
}
.fw-explainer-panel-inner {
  overflow: hidden;
}

.fw-explainer-body {
  padding: 1.5rem 1.4rem 1.75rem;
  border-top: 1px solid rgba(104,174,235,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}

.fw-explainer-block-label {
  font-family: var(--font-mono); font-size: 0.56rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem;
}
.fw-explainer-block-label::before {
  content: ''; display: block; width: 1.2rem; height: 1px;
}
.fw-explainer-block-label.sky { color: rgba(104,174,235,0.7); }
.fw-explainer-block-label.sky::before { background: rgba(104,174,235,0.4); }
.fw-explainer-block-label.gold { color: rgba(200,169,110,0.7); }
.fw-explainer-block-label.gold::before { background: rgba(200,169,110,0.4); }

.fw-explainer-block-title {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.6rem; line-height: 1.2;
}
.fw-explainer-block-body {
  font-size: 0.84rem; line-height: 1.75;
  color: rgba(216,216,216,0.58);
}
.fw-explainer-block-body strong {
  color: rgba(216,216,216,0.85); font-weight: 600;
}

@media (max-width: 768px) {
  .fw-explainer-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .fw-explainer-hint { display: none; }
}

/* ============================================================
   RISK CALCULATOR + QUICK CONTACT
   Added after integration to style the new sections/drawer.
   ============================================================ */

/* ── RISK CALCULATOR ─────────────────────────────────────── */

.rc-section {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background:
          radial-gradient(circle at 15% 0%, rgba(104,174,235,0.10), transparent 30%),
          radial-gradient(circle at 85% 100%, rgba(230,207,0,0.10), transparent 34%),
          linear-gradient(135deg, #0b1a2d 0%, #141b3c 44%, var(--blue) 100%);
  padding: 7rem 3rem;
  color: var(--white);
}

.rc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
          linear-gradient(rgba(230,207,0,0.08) 1px, transparent 1px),
          linear-gradient(90deg, rgba(230,207,0,0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, black 20%, transparent 100%);
}

.rc-section-header,
.rc-wrap {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-inline: auto;
}

.rc-section-header {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(280px, 1fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.rc-section-sub {
  max-width: 520px;
  color: rgba(244,244,240,0.76);
  font-size: 1rem;
  line-height: 1.75;
}

.rc-wrap {
  border: 1px solid rgba(230,207,0,0.18);
  background: rgba(12,20,44,0.72);
  box-shadow: 0 28px 80px rgba(0,0,0,0.26);
  clip-path: var(--clip-lg);
  backdrop-filter: blur(10px);
}

.rc-quiz,
.rc-result {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.rc-progress {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.rc-pip {
  height: 4px;
  background: rgba(216,216,216,0.18);
  border-radius: 999px;
  overflow: hidden;
}

.rc-pip.active,
.rc-pip.done {
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(230,207,0,0.35);
}

.rc-q-label,
.rc-counter,
.rc-nist,
.rc-gaps-label,
.rc-cta-primary-label,
.rc-cta-soft-label,
.rc-risk-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
}

.rc-q-label,
.rc-counter,
.rc-nist {
  color: var(--sky);
}

.rc-q-text {
  max-width: 820px;
  margin: 0.7rem 0 1rem;
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
}

.rc-nist {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.45rem 0.7rem;
  color: var(--sky);
  background: rgba(104,174,235,0.08);
  border: 1px solid rgba(104,174,235,0.18);
}

.rc-opts {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.rc-opt {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(216,216,216,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(244,244,240,0.88);
  padding: 1rem 1.1rem;
  clip-path: var(--clip-md);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.rc-opt:hover,
.rc-opt:focus-visible {
  border-color: rgba(230,207,0,0.5);
  background: rgba(230,207,0,0.07);
  transform: translateY(-1px);
  outline: none;
}

.rc-opt.selected {
  border-color: var(--yellow);
  background: rgba(230,207,0,0.14);
  color: var(--white);
  box-shadow: inset 3px 0 0 var(--yellow);
}

.rc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.rc-btn,
.rc-restart,
.rc-cta-btn {
  border: 0;
  background: var(--yellow);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.85rem 1.25rem;
  clip-path: var(--clip-md);
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.rc-btn:hover,
.rc-restart:hover,
.rc-cta-btn:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.rc-btn:disabled {
  opacity: 0.35;
  transform: none;
  pointer-events: none;
}

.rc-btn-back,
.rc-restart {
  background: transparent;
  color: var(--gray);
  border: 1px solid rgba(216,216,216,0.22);
}

.rc-btn-back:hover,
.rc-restart:hover {
  background: rgba(255,255,255,0.06);
  color: var(--yellow);
}

.rc-result-band {
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
          linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  border: 1px solid rgba(216,216,216,0.14);
  clip-path: var(--clip-lg);
}

.rc-risk-title {
  margin-top: 0.55rem;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
}

.rc-risk-sub {
  max-width: 760px;
  margin-top: 0.8rem;
  color: rgba(244,244,240,0.76);
  line-height: 1.7;
}

.rc-score-bar {
  height: 8px;
  margin-top: 1.25rem;
  background: rgba(216,216,216,0.15);
  border-radius: 999px;
  overflow: hidden;
}

.rc-score-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  transition: width 0.7s ease;
}

.rc-gaps {
  margin-top: 1.4rem;
}

.rc-gaps-label {
  color: var(--sky);
  margin-bottom: 0.85rem;
}

.rc-gap-list {
  display: grid;
  gap: 0.75rem;
}

.rc-gap {
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(216,216,216,0.11);
}

.rc-gap-fn {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--yellow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rc-gap-title {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.rc-gap-desc {
  color: rgba(244,244,240,0.70);
  font-size: 0.88rem;
  line-height: 1.6;
}

.rc-ctas {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  margin-top: 1.4rem;
}

.rc-cta-primary,
.rc-cta-soft {
  border: 1px solid rgba(230,207,0,0.18);
  background: rgba(230,207,0,0.08);
  padding: 1.25rem;
  clip-path: var(--clip-md);
}

.rc-cta-primary-label,
.rc-cta-soft-label {
  color: var(--yellow);
  margin-bottom: 0.45rem;
}

.rc-cta-primary-title,
.rc-cta-soft-title {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.25;
}

.rc-cta-body,
.rc-cta-soft-sub {
  margin-top: 0.5rem;
  color: rgba(244,244,240,0.72);
  font-size: 0.88rem;
  line-height: 1.6;
}

.rc-cta-btn {
  margin-top: 1rem;
}

.rc-cta-soft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: rgba(104,174,235,0.07);
  border-color: rgba(104,174,235,0.2);
  transition: transform 0.18s ease, background 0.18s ease;
}

.rc-cta-soft:hover {
  transform: translateY(-1px);
  background: rgba(104,174,235,0.12);
}

.rc-cta-soft-arrow {
  color: var(--yellow);
  font-size: 1.6rem;
  padding-left: 1rem;
}

.rc-restart {
  margin-top: 1.25rem;
}

/* ── QUICK CONTACT DRAWER ────────────────────────────────── */

.quick-contact {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(440px, calc(100vw - 2rem));
  max-height: min(720px, calc(100vh - 2rem));
  z-index: 250;
  color: var(--white);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.quick-contact.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.quick-contact-inner {
  overflow: hidden;
  background:
          radial-gradient(circle at 0% 0%, rgba(104,174,235,0.12), transparent 34%),
          linear-gradient(145deg, #111935 0%, var(--blue) 100%);
  border: 1px solid rgba(230,207,0,0.26);
  box-shadow: 0 28px 90px rgba(0,0,0,0.42);
  clip-path: var(--clip-lg);
}

.quick-contact-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(216,216,216,0.12);
  background: rgba(255,255,255,0.035);
}

.quick-contact-head-left {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.quick-contact-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--yellow);
  background: rgba(230,207,0,0.08);
  border: 1px solid rgba(230,207,0,0.22);
  clip-path: var(--clip-sm);
}

.quick-contact-label,
.quick-contact-hint {
  display: block;
}

.quick-contact-label {
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.quick-contact-hint {
  margin-top: 0.2rem;
  color: rgba(244,244,240,0.66);
  font-size: 0.8rem;
  line-height: 1.45;
}

.quick-contact-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216,216,216,0.18);
  color: var(--gray);
  background: transparent;
  clip-path: var(--clip-sm);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.quick-contact-close:hover {
  color: var(--yellow);
  border-color: rgba(230,207,0,0.42);
  background: rgba(230,207,0,0.07);
}

.quick-contact-embed {
  height: min(560px, calc(100vh - 190px));
  min-height: 420px;
  background: var(--off-white);
}

.quick-contact-foot {
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(216,216,216,0.12);
  color: rgba(244,244,240,0.66);
  font-size: 0.78rem;
}

.quick-contact-foot a {
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid rgba(104,174,235,0.35);
}

.email-trigger {
  cursor: none;
}

/* ── DESKTOP HERO IMAGE GUARD ───────────────────────────────
   Prevents desktop browsers with narrow viewport/zoom from
   accidentally selecting the mobile wolf asset.
   ---------------------------------------------------------- */

@media (max-width: 768px) and (pointer: fine) {
  .hero-wolf-bg img {
    object-position: 72% center;
  }
}

/* ── RESPONSIVE CALC / DRAWER ─────────────────────────────── */

@media (max-width: 900px) {
  .rc-section {
    padding: 5rem 1.25rem;
  }

  .rc-section-header,
  .rc-ctas {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .rc-gap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .rc-counter {
    grid-column: 1 / -1;
    order: -1;
  }

  .rc-btn {
    width: 100%;
  }

  .quick-contact {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    max-height: calc(100vh - 1.5rem);
  }

  .quick-contact-embed {
    min-height: 360px;
    height: calc(100vh - 220px);
  }
}

/* ── MOBILE NAV HARDENING ─────────────────────────────────── */

@media (max-width: 768px) {
  nav {
    z-index: 1000;
  }

  .nav-toggle {
    position: relative;
    z-index: 1002;
  }

  .nav-links {
    z-index: 1001;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  }

  .nav-links.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(230,207,0,0.08);
  }

  .nav-links .nav-cta {
    margin: 0.75rem 1.5rem 1rem;
    text-align: center;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }
}

/* ── TOUCH DEVICE CURSOR SAFETY ─────────────────────────────
   Desktop gets the custom CAD cursor.
   Touch devices get normal interaction behaviour.
   ---------------------------------------------------------- */

@media (pointer: coarse) {
  *,
  body {
    cursor: auto !important;
  }

  .crosshair-x,
  .crosshair-y,
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}