/* ============================================================
   YOTOR TECH SOLUTIONS — design tokens
   Concept: "The Ledger & The Vault" — a security-first fintech
   engineering studio. Dark vault sections hold the trust story;
   warm paper sections hold the working detail, like an open
   ledger. Numbering is used only where it reflects a real
   sequence (the 9-step delivery process).
   ============================================================ */

:root {
  --ink: #0D1109;
  --ink-2: #141910;
  --ink-3: #1A2116;
  --paper: #F6F2E7;
  --paper-dim: #ECE6D6;
  --paper-line: #DCD4BE;
  --gold: #B98F2A;
  --gold-bright: #E7C567;
  --gold-glow: rgba(231, 197, 103, 0.18);
  --text-dark: #1B1F16;
  --text-muted: #5B6152;
  --text-on-dark: #E9E6D9;
  --text-on-dark-muted: #9FA893;
  --line-dark: rgba(233, 230, 217, 0.12);
  --green-accent: #4ADE80;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1180px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

a {
  color: inherit;
}

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

/* subtle paper grain */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- headings & type scale ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.4em;
  color: inherit;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(3rem, 6.2vw, 5.2rem);
  line-height: 1.01;
  font-weight: 500;
}

h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-bright);
}

h2.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.08;
  max-width: 16ch;
}

h3 {
  font-size: 1.18rem;
}

h4 {
  font-size: 1.02rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow-dark {
  color: var(--gold);
}

.section-title.light {
  color: var(--text-on-dark);
}

.lead-text {
  font-size: 1.06rem;
  color: var(--text-muted);
  max-width: 56ch;
}

.lead-text.light {
  color: var(--text-on-dark-muted);
}

.lead-narrow {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(185, 143, 42, 0);
}

.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px -8px rgba(231, 197, 103, 0.5);
}

.btn-ghost {
  border-color: rgba(27, 31, 22, 0.28);
  color: var(--text-dark);
}

.btn-ghost:hover {
  border-color: var(--text-dark);
}

.section-dark .btn-ghost {
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}

.section-dark .btn-ghost:hover {
  border-color: var(--text-on-dark);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 231, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--paper-line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
}

.brand-mark {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.76rem;
  background: var(--ink);
  color: var(--gold-bright);
  padding: 4px 7px;
  border-radius: 2px;
  letter-spacing: 0.06em;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color .15s ease;
}

.main-nav a:hover {
  color: var(--text-dark);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dark) !important;
  border: 1px solid rgba(27, 31, 22, 0.28);
  border-radius: var(--radius);
  padding: 8px 16px;
  transition: border-color .15s ease, color .15s ease !important;
}

.nav-cta:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* ============================================================
   HERO — Cinematic full-bleed
   ============================================================ */
.hero {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Animated circuit/grid background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(231, 197, 103, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 197, 103, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 60s linear infinite;
}

@keyframes gridPan {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 60px 60px;
  }
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-1 {
  top: -120px;
  right: -60px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(185, 143, 42, 0.22) 0%, transparent 65%);
  animation: glowPulse 8s ease-in-out infinite alternate;
}

.hero-glow-2 {
  bottom: 60px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 65%);
  animation: glowPulse 11s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse {
  from {
    opacity: 0.7;
    transform: scale(1);
  }

  to {
    opacity: 1;
    transform: scale(1.12);
  }
}

/* Grid content layout */
.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 110px 0 80px;
  width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 28px;

}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 8px var(--green-accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-copy h1 {
  color: var(--text-on-dark);
  margin: 0 0 28px;
}

.hero-lede {
  color: var(--text-on-dark-muted);
  font-size: 1.12rem;
  max-width: 44ch;
  margin: 0 0 38px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Right panel --- */
.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Floating badge pill */
.hero-float-tag {
  position: absolute;
  top: -18px;
  right: 0;
  background: var(--ink-3);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 2;
}

.hero-float-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-accent);
  box-shadow: 0 0 6px var(--green-accent);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.ledger {
  width: 100%;
  background: rgba(20, 25, 16, 0.85);
  border: 1px solid rgba(231, 197, 103, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(231, 197, 103, 0.06),
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.ledger-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(231, 197, 103, 0.1);
  background: rgba(26, 33, 22, 0.95);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-a {
  background: #FF5F56;
}

.dot-b {
  background: #FFBD2E;
}

.dot-c {
  background: #27C93F;
}

.ledger-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
  margin-left: 6px;
  letter-spacing: 0.05em;
}

.ledger-body {
  padding: 6px 0;
}

.ledger-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  border-bottom: 1px solid rgba(233, 230, 217, 0.05);
  opacity: 0;
  animation: rowIn 0.45s ease forwards;
  transition: background 0.15s ease;
}

.ledger-row:hover {
  background: rgba(231, 197, 103, 0.04);
}

.ledger-row:last-child {
  border-bottom: none;
}

.ledger-row span:first-child {
  color: rgba(233, 230, 217, 0.3);
  font-size: 0.68rem;
}

.ledger-row .ok {
  color: var(--gold-bright);
  justify-self: end;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Small metrics row under ledger */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(231, 197, 103, 0.1);
  border: 1px solid rgba(231, 197, 103, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.hero-metric {
  background: rgba(13, 17, 9, 0.9);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-metric-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.hero-metric-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

/* Stat strip */
.stat-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(231, 197, 103, 0.12);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 28px 30px;
  border-right: 1px solid rgba(231, 197, 103, 0.08);
  transition: background .2s ease;
}

.stat:last-child {
  border-right: none;
}

.stat:hover {
  background: rgba(231, 197, 103, 0.04);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-bright);
  font-weight: 600;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
}

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

.section-panel {
  background: var(--paper-dim);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

/* who we are */
.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 46px;
  margin: 34px 0 54px;
  align-items: start;
}

.vision-card {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 32px;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25);
}

.vision-card h3 {
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 14px;
}

.vision-card p {
  color: var(--text-on-dark-muted);
  margin: 0;
  line-height: 1.7;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  border-radius: 6px;
  overflow: hidden;
}

.mission-item {
  background: var(--paper);
  padding: 28px 24px;
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .2s ease;
}

.mission-item:hover {
  background: var(--paper-dim);
}

.mission-index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
}

/* values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  margin-top: 40px;
  border-radius: 8px;
  overflow: hidden;
}

.value-card {
  background: var(--ink-2);
  padding: 34px 28px;
  transition: background .2s ease;
}

.value-card:hover {
  background: var(--ink-3);
}

.value-card h3 {
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-on-dark-muted);
  margin: 0;
  font-size: 0.94rem;
}

/* capabilities */
.capability-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 0;
}

.tab-btn {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: none;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all .18s ease;
}

.tab-btn:hover {
  border-color: var(--gold);
  color: var(--text-dark);
}

.tab-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-bright);
}

.capability-panels {
  margin-top: 30px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeUp .4s ease;
}

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

  to {
    opacity: 1;
    transform: none;
  }
}

.cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--paper-line);
}

.cap-list li {
  padding: 17px 4px;
  border-bottom: 1px solid var(--paper-line);
  font-size: 1rem;
  position: relative;
  padding-left: 24px;
  transition: color .15s ease;
}

.cap-list li:hover {
  color: var(--gold);
}

.cap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

/* security */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--text-dark);
  transition: border-color .15s ease, color .15s ease;
  cursor: default;
}

.badge:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* timeline */
.timeline {
  list-style: none;
  margin: 50px 0 0;
  padding: 0;
  border-top: 1px solid var(--paper-line);
}

.timeline li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--paper-line);
  transition: background .2s ease;
}

.timeline li:hover {
  background: rgba(185, 143, 42, 0.03);
}

.tl-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1.2;
}

.timeline h4 {
  margin-bottom: 6px;
}

.timeline p {
  margin: 0;
  color: var(--text-muted);
  max-width: 56ch;
}

/* experience */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.case-card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  padding: 32px 28px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
  border-color: rgba(231, 197, 103, 0.18);
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.case-card h3 {
  font-size: 1.12rem;
  margin: 0;
}

.case-card p {
  color: var(--text-on-dark-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.team-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--gold);
  padding: 32px 28px;
  border-radius: 6px;
  transition: box-shadow .22s ease;
}

.team-card:hover {
  box-shadow: 0 10px 30px -10px rgba(185, 143, 42, 0.2);
}

.team-role-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.team-card h3 {
  margin-bottom: 10px;
}

.team-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.96rem;
}

/* support */
.support-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 44px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  padding-left: 26px;
  position: relative;
  font-size: 0.98rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 36px;
  margin-top: 42px;
}

.why-item {
  padding: 24px 20px;
  border-top: 1px solid var(--paper-line);
  transition: border-color .2s ease;
}

.why-item:hover {
  border-color: var(--gold);
}

.why-item h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================================
   CTA / CONTACT SECTION — "The Call"
   ============================================================ */
.cta-section {
  background: var(--ink);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  padding: 120px 0 0;
}

/* Background embellishments */
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta-bg-ring {
  position: absolute;
  border: 1px solid rgba(231, 197, 103, 0.07);
  border-radius: 50%;
  animation: ringExpand 14s ease-in-out infinite;
}

.cta-ring-1 {
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-ring-2 {
  width: 900px;
  height: 900px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}

.cta-ring-3 {
  width: 1200px;
  height: 1200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes ringExpand {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.3;
  }
}

.cta-bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 10%, rgba(185, 143, 42, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.cta-bg-line {
  position: absolute;
  bottom: 220px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(231, 197, 103, 0.15) 30%, rgba(231, 197, 103, 0.15) 70%, transparent 100%);
}

/* CTA main content area */
.cta-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 80px;
}

.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.cta-eyebrow::before,
.cta-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(231, 197, 103, 0.4);
}

.cta-headline {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  max-width: 18ch;
  margin: 0 auto 24px;
}

.cta-headline em {
  font-style: italic;
  color: var(--gold-bright);
}

.cta-sub {
  font-size: 1.08rem;
  color: var(--text-on-dark-muted);
  max-width: 48ch;
  line-height: 1.72;
  margin: 0 auto 48px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
}

.btn-cta-primary {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.92rem;
  padding: 16px 36px;
  border-radius: 3px;
  box-shadow: 0 0 50px -10px rgba(185, 143, 42, 0.5);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-cta-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px -8px rgba(231, 197, 103, 0.6);
}

.btn-cta-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(233, 230, 217, 0.2);
  font-size: 0.92rem;
  padding: 16px 36px;
  border-radius: 3px;
  transition: border-color .2s ease, background .2s ease;
}

.btn-cta-ghost:hover {
  border-color: rgba(231, 197, 103, 0.5);
  background: rgba(231, 197, 103, 0.06);
}

/* Contact info card row */
.contact-strip {
  width: 100%;
  max-width: 760px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(231, 197, 103, 0.12);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.contact-strip-item {
  padding: 22px 24px;
  border-right: 1px solid rgba(231, 197, 103, 0.1);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background .2s ease;
}

.contact-strip-item:last-child {
  border-right: none;
}

.contact-strip-item:hover {
  background: rgba(231, 197, 103, 0.05);
}

.contact-strip-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.contact-strip-val {
  font-size: 0.88rem;
  color: var(--text-on-dark);
  font-weight: 500;
}

.contact-strip-val a {
  text-decoration: none;
  transition: color .15s ease;
}

.contact-strip-val a:hover {
  color: var(--gold-bright);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink-2);
  color: var(--text-on-dark-muted);
  border-top: 1px solid rgba(231, 197, 103, 0.08);
  position: relative;
  z-index: 1;
}

.footer-inner {
  padding: 48px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(233, 230, 217, 0.08);
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--text-on-dark);
  margin-bottom: 10px;
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.04em;
  max-width: 28ch;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  transition: color .15s ease;
}

.footer-col a:hover {
  color: var(--text-on-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}

.footer-copy {
  color: var(--text-on-dark-muted);
}

.footer-tag {
  font-family: var(--font-mono);
  color: var(--text-on-dark-muted);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE SYSTEM
   Breakpoints:
   1100px  — large tablet / small laptop
    900px  — tablet portrait
    720px  — mobile landscape / nav collapse
    560px  — mobile portrait
    380px  — small phone
   ============================================================ */

/* ------ 1100px: tighten desktop layout ------ */
@media (max-width: 1100px) {
  .wrap {
    padding: 0 24px;
  }

  .hero-grid {
    gap: 44px;
    padding: 90px 0 64px;
  }

  .split-grid {
    gap: 32px;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 24px;
  }

  .footer-links {
    gap: 36px;
  }
}

/* ------ 900px: tablet / stack grids ------ */
@media (max-width: 900px) {

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 72px 0 56px;
  }

  .hero-panel {
    order: -1;
  }

  .hero-float-tag {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 7vw, 4rem);
  }

  .hero-copy {
    padding-left: 8px;
  }

  .hero-lede {
    max-width: 100%;
    font-size: 1.04rem;
  }

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

  /* Stat strip */
  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat {
    padding: 22px 18px;
  }

  /* Sections */
  .section {
    padding: 80px 0;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 28px 0 40px;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .support-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
  }

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

  /* CTA */
  .cta-section {
    padding: 88px 0 0;
  }

  .cta-headline {
    font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  }

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

  .contact-strip-item:nth-child(2) {
    border-right: none;
  }

  .contact-strip-item:nth-child(3) {
    border-top: 1px solid rgba(231, 197, 103, 0.1);
  }

  .contact-strip-item:nth-child(4) {
    border-top: 1px solid rgba(231, 197, 103, 0.1);
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 32px;
  }
}

/* ------ 720px: mobile nav, tighter everything ------ */
@media (max-width: 720px) {

  /* Nav collapse */
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    z-index: 200;
  }

  .main-nav.open {
    max-height: 500px;
  }

  .main-nav a {
    width: 100%;
    padding: 15px 24px;
    border-bottom: 1px solid var(--paper-line);
    font-size: 0.96rem;
  }

  .nav-cta {
    border: none !important;
    border-radius: 0 !important;
    margin: 0;
    padding: 15px 24px !important;
    color: var(--gold) !important;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  /* wrap tighter */
  .wrap {
    padding: 0 18px;
  }

  /* Hero */
  .hero-grid {
    padding: 60px 0 44px;
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 8.5vw, 3.2rem);
  }

  .hero-lede {
    font-size: 0.98rem;
    margin-bottom: 28px;
  }

  .hero-tag {
    font-size: 0.68rem;
    margin-bottom: 20px;
  }

  .hero-actions {
    gap: 12px;
  }

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

  .hero-metric {
    padding: 12px 14px;
  }

  .hero-metric-val {
    font-size: 1.25rem;
  }

  /* Stat strip */
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(231, 197, 103, 0.12);
  }

  .stat {
    padding: 20px 20px;
    border-right: 1px solid rgba(231, 197, 103, 0.08);
    border-bottom: 1px solid rgba(231, 197, 103, 0.08);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(3) {
    border-bottom: none;
  }

  .stat:nth-child(4) {
    border-right: none;
    border-bottom: none;
  }

  .stat-num {
    font-size: 2rem;
  }

  /* Sections */
  .section {
    padding: 64px 0;
  }

  h2.section-title {
    font-size: clamp(1.7rem, 5.5vw, 2.2rem);
  }

  /* Mission + values */
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

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

  .mission-item {
    padding: 22px 20px;
  }

  /* Cases + team */
  .case-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .why-item {
    padding: 20px 0;
  }

  /* Timeline */
  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 20px 0;
  }

  .tl-num {
    font-size: 1.3rem;
  }

  /* Support columns */
  .support-columns {
    gap: 28px;
  }

  .support-columns h4 {
    margin-bottom: 12px;
  }

  /* CTA */
  .cta-section {
    padding: 72px 0 0;
  }

  .cta-eyebrow {
    font-size: 0.68rem;
    gap: 8px;
  }

  .cta-eyebrow::before,
  .cta-eyebrow::after {
    width: 24px;
  }

  .cta-headline {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    max-width: 22ch;
  }

  .cta-sub {
    font-size: 0.98rem;
    margin-bottom: 36px;
  }

  .cta-actions {
    gap: 12px;
    margin-bottom: 48px;
  }

  .btn-cta-primary,
  .btn-cta-ghost {
    padding: 14px 24px;
    font-size: 0.86rem;
  }

  .contact-strip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-strip-item {
    padding: 16px 18px;
  }

  /* Footer */
  .footer-inner {
    padding: 36px 0 24px;
  }

  .footer-top {
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-links {
    gap: 24px;
    width: 100%;
  }

  .footer-col {
    min-width: 0;
    flex: 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-tag {
    display: none;
  }
}

/* ------ 560px: small phones ------ */
@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }

  /* Hero */
  .hero-grid {
    padding: 48px 0 36px;
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hero-lede {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
  }

  .hero-metric-val {
    font-size: 1.1rem;
  }

  .hero-metric-label {
    font-size: 0.58rem;
  }

  /* Stat strip */
  .stat-num {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.66rem;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
    max-width: 360px;
  }

  .contact-strip-grid {
    grid-template-columns: 1fr;
  }

  .contact-strip-item {
    border-right: none !important;
    border-top: none;
    border-bottom: 1px solid rgba(231, 197, 103, 0.08);
  }

  .contact-strip-item:last-child {
    border-bottom: none;
  }

  /* Footer */
  .footer-links {
    flex-direction: column;
    gap: 28px;
  }

  .footer-col {
    width: 100%;
  }

  /* Misc sections */
  .cap-list li {
    font-size: 0.94rem;
  }

  .check-list li {
    font-size: 0.94rem;
  }

  .badge {
    font-size: 0.76rem;
    padding: 8px 14px;
  }

  .vision-card {
    padding: 24px 20px;
  }
}

/* ------ 380px: tiny phones ------ */
@media (max-width: 380px) {
  .wrap {
    padding: 0 14px;
  }

  .hero-copy h1 {
    font-size: 1.95rem;
  }

  .cta-headline {
    font-size: 1.75rem;
  }

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metric {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .hero-metric-val {
    font-size: 1.4rem;
    min-width: 40px;
  }

  .tab-btn {
    font-size: 0.76rem;
    padding: 8px 14px;
  }
}