/* ==========================================================================
   NASH TECHNOLOGY ADVISORS
   Executive Technology Advisory & Transformation
   Design system — refined editorial-minimalist consulting aesthetic
   ========================================================================== */

/* ----------  Fonts  ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Familjen+Grotesk:wght@400;500;600;700&display=swap');

/* ----------  Tokens  ---------- */
:root {
  /* Core palette */
  --ink:        #0a1322;   /* near-black navy text */
  --navy:       #0f1e38;   /* deep navy */
  --navy-2:     #14264a;   /* lighter navy panel */
  --navy-deep:  #070d18;   /* darkest backdrop */
  --slate:      #5b6678;   /* slate gray */
  --slate-2:    #8b94a3;   /* muted slate */
  --mist:       #c7cdd8;   /* light slate */
  --paper:      #f7f6f2;   /* warm off-white */
  --paper-2:    #efede6;   /* deeper paper */
  --white:      #ffffff;
  --line:       #e3e1d9;   /* hairline on paper */
  --line-dark:  rgba(255,255,255,0.10);

  /* Accent */
  --accent:     #2f6df6;   /* sharp electric blue */
  --accent-2:   #5b8dff;
  --accent-deep:#1f4fc4;
  --gold:       #b79a5b;   /* restrained warm accent */

  /* Typography */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Familjen Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Metrics */
  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--accent); color: #fff; }

/* ----------  Typography scale  ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.light { color: var(--accent-2); }
.eyebrow.light::before { background: var(--accent-2); }
.eyebrow.center { justify-content: center; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); }
.h-xl { font-size: clamp(2.8rem, 6.4vw, 5.4rem); font-weight: 400; }
.h-lg { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.h-md { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.h-sm { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--slate); line-height: 1.65; font-weight: 400; }
.muted { color: var(--slate); }
em.it { font-style: italic; font-family: var(--display); color: var(--accent-deep); }

/* ----------  Layout  ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.section.tight { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.bg-navy { background: var(--navy-deep); color: var(--paper); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-paper2 { background: var(--paper-2); }
.divider { height: 1px; background: var(--line); width: 100%; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 1.4rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav.scrolled {
  background: rgba(247,246,242,0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.9rem 0;
}
.nav.on-dark:not(.scrolled) { color: #fff; }
.nav.on-dark:not(.scrolled) .brand-mark span { color: #fff; }

.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  position: relative;
}
.brand-mark svg { width: 38px; height: 38px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .n { font-family: var(--display); font-size: 1.16rem; letter-spacing: -0.01em; font-weight: 500; }
.brand-name .t { font-family: var(--sans); font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate); margin-top: 4px; }
.nav.on-dark:not(.scrolled) .brand-name .t { color: var(--mist); }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.01em;
  position: relative; padding: 4px 0; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--accent); transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.85rem 1.5rem; border-radius: var(--radius);
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(47,109,246,0.6); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; opacity: 0.92; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.bg-navy .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.4); }

.nav-cta { display: flex; align-items: center; gap: 1.4rem; }
.menu-toggle { display: none; width: 30px; height: 22px; position: relative; }
.menu-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--navy-deep); color: var(--paper);
  overflow: hidden; padding-top: 8rem; padding-bottom: 4rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(7,13,24,0.96) 0%, rgba(7,13,24,0.78) 42%, rgba(7,13,24,0.42) 100%),
    radial-gradient(120% 90% at 88% 8%, rgba(47,109,246,0.22), transparent 55%);
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 100% at 30% 50%, #000 30%, transparent 80%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 880px; }
.hero h1 { color: #fff; margin: 1.6rem 0 1.6rem; }
.hero h1 .accent-word { color: var(--accent-2); font-style: italic; }
.hero-sub { max-width: 600px; color: var(--mist); font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }

.hero-meta {
  position: relative; z-index: 2; margin-top: clamp(3rem, 7vw, 5.5rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-dark); border-top: 1px solid var(--line-dark);
}
.hero-meta .cell { background: transparent; padding: 1.8rem 1.6rem 0; }
.hero-meta .cell .num { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.5rem); color: #fff; line-height: 1; }
.hero-meta .cell .lab { font-size: 0.78rem; color: var(--mist); margin-top: 0.6rem; letter-spacing: 0.04em; }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3;
  font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--slate-2);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-hint .line { width: 1px; height: 38px; background: linear-gradient(var(--accent-2), transparent); animation: scrollPulse 2.4s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.3; transform:scaleY(.6);} 50%{opacity:1; transform:scaleY(1);} }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.sec-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { margin: 1.2rem 0 1.2rem; }
.sec-head .lead { max-width: 640px; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }

.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: clamp(2.5rem,5vw,4rem); }
.split-head .right { padding-bottom: 0.3rem; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust { padding: 2.6rem 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-inner { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; justify-content: space-between; }
.trust-label { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-2); font-weight: 600; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 0.7rem 2rem; }
.trust-tags span { font-family: var(--display); font-size: 1.05rem; color: var(--slate); font-style: italic; }

/* ==========================================================================
   FEATURE / VALUE GRID
   ========================================================================== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.value-card {
  padding: 2.2rem 2rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.value-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -28px rgba(15,30,56,0.28); border-color: transparent; }
.value-card:hover::before { transform: scaleX(1); }
.value-card .vc-num { font-family: var(--display); font-size: 0.95rem; color: var(--accent); letter-spacing: 0.1em; }
.value-card h3 { font-size: 1.22rem; margin: 1rem 0 0.7rem; }
.value-card p { font-size: 0.96rem; color: var(--slate); }

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc-card {
  background: var(--paper); padding: 2.4rem 2rem; position: relative;
  transition: background .4s var(--ease); min-height: 260px; display: flex; flex-direction: column;
}
.svc-card:hover { background: var(--white); }
.svc-icon { width: 46px; height: 46px; color: var(--accent); margin-bottom: 1.4rem; transition: transform .4s var(--ease); }
.svc-card:hover .svc-icon { transform: translateY(-4px) scale(1.04); }
.svc-icon svg { width: 100%; height: 100%; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.svc-card p { font-size: 0.93rem; color: var(--slate); flex-grow: 1; }
.svc-card .svc-arrow { margin-top: 1.4rem; color: var(--accent); display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; opacity: 0; transform: translateX(-6px); transition: .4s var(--ease); }
.svc-card:hover .svc-arrow { opacity: 1; transform: translateX(0); }
.svc-card .svc-index { position: absolute; top: 1.6rem; right: 1.8rem; font-family: var(--display); font-size: 0.85rem; color: var(--mist); }

/* List-style services (services page) */
.svc-row {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 2rem; align-items: center;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease);
  position: relative;
}
.svc-row::before {
  content: ""; position: absolute; left: -100vw; right: 100%; top: 0; bottom: 0;
  background: var(--white); z-index: -1; transition: right .5s var(--ease);
}
.svc-row:hover { padding-left: 1.2rem; }
.svc-row .rn { font-family: var(--display); font-size: 1.4rem; color: var(--accent); }
.svc-row .rt h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.svc-row .rt p { color: var(--slate); font-size: 0.98rem; max-width: 640px; }
.svc-row .ra { color: var(--ink); transition: transform .4s var(--ease); }
.svc-row:hover .ra { transform: translateX(8px); color: var(--accent); }

/* ==========================================================================
   FRACTIONAL SECTION
   ========================================================================== */
.frac { background: var(--navy-deep); color: var(--paper); position: relative; overflow: hidden; }
.frac::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(47,109,246,0.16), transparent 62%);
  pointer-events: none;
}
.frac-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; position: relative; z-index: 1; }
.frac h2 { color: #fff; margin: 1.3rem 0 1.5rem; }
.frac .lead { color: var(--mist); }
.frac-quote { font-family: var(--display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.4; color: #fff; margin: 2rem 0; padding-left: 1.6rem; border-left: 2px solid var(--accent); }
.frac-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.6rem; margin-top: 2rem; }
.frac-caps li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.93rem; color: var(--mist); }
.frac-caps li svg { width: 16px; height: 16px; color: var(--accent-2); flex: none; margin-top: 3px; }

.frac-panel { background: linear-gradient(160deg, var(--navy-2), var(--navy)); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(2rem, 3.5vw, 3rem); position: relative; }
.frac-panel .ptag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.frac-panel h3 { color: #fff; font-size: 1.5rem; margin: 0.8rem 0 1.6rem; }
.frac-compare { display: flex; flex-direction: column; gap: 1.1rem; }
.frac-compare .ci { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-dark); }
.frac-compare .ci:last-child { border-bottom: none; padding-bottom: 0; }
.frac-compare .ci .k { font-weight: 600; color: #fff; font-size: 0.95rem; min-width: 0; }
.frac-compare .ci .v { color: var(--mist); font-size: 0.9rem; }
.frac-compare .ci .ico { width: 34px; height: 34px; border-radius: 50%; background: rgba(47,109,246,0.14); display: grid; place-items: center; flex: none; color: var(--accent-2); }
.frac-compare .ci .ico svg { width: 16px; height: 16px; }

/* ==========================================================================
   INDUSTRY SECTION
   ========================================================================== */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ind-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.ind-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.ind-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7,13,24,0.94) 8%, rgba(7,13,24,0.5) 50%, rgba(7,13,24,0.2) 100%); }
.ind-card:hover img { transform: scale(1.07); }
.ind-card .ind-body { padding: 2rem; position: relative; z-index: 1; }
.ind-card .ind-body h3 { color: #fff; font-size: 1.45rem; margin-bottom: 0.5rem; }
.ind-card .ind-body p { color: var(--mist); font-size: 0.92rem; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .5s var(--ease), max-height .5s var(--ease), margin .5s; }
.ind-card:hover .ind-body p { opacity: 1; max-height: 120px; margin-top: 0.5rem; }
.ind-card .ind-tag { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.stat .num { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.bg-navy .stat .num { color: #fff; }
.stat .num .sym { color: var(--accent); }
.stat .lab { margin-top: 0.9rem; font-size: 0.92rem; color: var(--slate); max-width: 220px; }
.bg-navy .stat .lab { color: var(--mist); }
.stat { position: relative; padding-left: 1.6rem; }
.stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--accent); opacity: 0.55; }

/* ==========================================================================
   APPROACH / PROCESS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 2rem 1.8rem 2rem 0; border-top: 2px solid var(--ink); position: relative; }
.step .sn { font-family: var(--display); font-size: 0.85rem; color: var(--accent); letter-spacing: 0.1em; }
.step h3 { font-size: 1.22rem; margin: 1.2rem 0 0.7rem; }
.step p { font-size: 0.92rem; color: var(--slate); }
.bg-navy .step { border-top-color: var(--accent); }
.bg-navy .step p { color: var(--mist); }

/* ==========================================================================
   FOUNDER / ABOUT
   ========================================================================== */
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.founder-photo { position: relative; }
.founder-photo .frame {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
  box-shadow: 0 40px 80px -40px rgba(15,30,56,0.45);
}
.founder-photo .frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.02); }
.founder-photo .badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--ink); color: #fff;
  padding: 1.5rem 1.7rem; border-radius: var(--radius); max-width: 220px;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.4);
}
.founder-photo .badge .bn { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--accent-2); }
.founder-photo .badge .bl { font-size: 0.8rem; color: var(--mist); margin-top: 0.4rem; }
.founder-body h2 { margin: 1.2rem 0; }
.founder-body p { color: var(--slate); margin-bottom: 1.2rem; }
.founder-body .sig { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--ink); margin-top: 1.5rem; }
.founder-body .sig-role { font-size: 0.82rem; letter-spacing: 0.04em; color: var(--slate); margin-top: 0.2rem; }

.cred-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 2rem; margin: 1.8rem 0; }
.cred-list li { display: flex; gap: 0.7rem; font-size: 0.92rem; color: var(--slate); align-items: flex-start; }
.cred-list li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 80% 0%, rgba(47,109,246,0.28), transparent 55%);
}
.cta-grid-overlay {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(100% 100% at 70% 50%, #000, transparent 75%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
.cta-inner h2 { color: #fff; margin: 1.4rem 0 1.3rem; }
.cta-inner p { color: var(--mist); max-width: 560px; margin: 0 auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2.4rem; flex-wrap: wrap; }

/* ==========================================================================
   PAGE HEADER (interior pages)
   ========================================================================== */
.page-head { background: var(--navy-deep); color: #fff; padding: clamp(9rem, 16vw, 13rem) 0 clamp(4rem, 8vw, 6rem); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 85% 10%, rgba(47,109,246,0.2), transparent 55%); }
.page-head-grid {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(120% 100% at 20% 50%, #000 30%, transparent 80%);
}
.page-head .inner { position: relative; z-index: 1; max-width: 800px; }
.page-head h1 { color: #fff; margin: 1.4rem 0 1.3rem; }
.page-head .lead { color: var(--mist); max-width: 620px; }
.breadcrumb { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--slate-2); display: flex; gap: 0.5rem; }
.breadcrumb a:hover { color: var(--accent-2); }

/* ==========================================================================
   CAPABILITY DETAIL (services page)
   ========================================================================== */
.cap-block { display: grid; grid-template-columns: 0.4fr 0.6fr; gap: 3rem; padding: clamp(3rem,6vw,5rem) 0; border-bottom: 1px solid var(--line); align-items: start; }
.cap-block:last-child { border-bottom: none; }
.cap-block .cap-meta .ci { font-family: var(--display); font-size: 3rem; color: var(--mist); line-height: 1; }
.cap-block .cap-meta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0.8rem 0; }
.cap-block .cap-meta .tag { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.cap-block .cap-detail p { color: var(--slate); margin-bottom: 1.4rem; font-size: 1.02rem; }
.cap-block .cap-detail ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.6rem; }
.cap-block .cap-detail ul li { display: flex; gap: 0.6rem; font-size: 0.93rem; color: var(--slate); align-items: flex-start; }
.cap-block .cap-detail ul li svg { width: 15px; height: 15px; color: var(--accent); flex: none; margin-top: 4px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); }
.contact-aside h2 { margin: 1rem 0 1.4rem; }
.contact-aside .lead { margin-bottom: 2.4rem; }
.contact-points li { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-points li .ico { width: 42px; height: 42px; border-radius: 50%; background: rgba(47,109,246,0.1); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-points li .ico svg { width: 18px; height: 18px; }
.contact-points li .ct .k { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-2); font-weight: 600; }
.contact-points li .ct .v { font-size: 1.02rem; color: var(--ink); margin-top: 0.2rem; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem); box-shadow: 0 30px 60px -40px rgba(15,30,56,0.3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); font-weight: 600; margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1rem; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border .3s, box-shadow .3s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,109,246,0.12); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--slate-2); margin-top: 1rem; }

/* ==========================================================================
   FAQ / ACCORDION
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; padding: 1.6rem 0; display: flex; justify-content: space-between; align-items: center; gap: 2rem; font-family: var(--display); font-size: 1.2rem; color: var(--ink); transition: color .3s; }
.faq-q:hover { color: var(--accent); }
.faq-q .pm { width: 22px; height: 22px; flex: none; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--accent); transition: transform .35s var(--ease); }
.faq-q .pm::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-q .pm::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a .inner { padding-bottom: 1.6rem; color: var(--slate); max-width: 760px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-deep); color: var(--mist); padding: clamp(4rem, 7vw, 6rem) 0 2.5rem; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer .brand-name .n { color: #fff; }
.footer .brand-name .t { color: var(--slate-2); }
.footer-blurb { margin-top: 1.4rem; font-size: 0.92rem; color: var(--slate-2); max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 1.2rem; font-weight: 600; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { font-size: 0.92rem; color: var(--slate-2); transition: color .25s, padding .25s; }
.footer-col ul li a:hover { color: var(--accent-2); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.82rem; color: var(--slate-2); }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; display: grid; place-items: center; color: var(--mist); transition: .3s var(--ease); }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-social a svg { width: 17px; height: 17px; }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }
[data-reveal][data-delay="6"] { transition-delay: .48s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .frac-grid, .founder-grid, .contact-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; margin: 0 auto 3rem; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .cap-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { 
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); flex-direction: column;
    background: var(--navy-deep); padding: 7rem 2.2rem 2rem; align-items: flex-start; gap: 1.6rem;
    transform: translateX(100%); transition: transform .5s var(--ease); z-index: 90;
  }
  body.menu-open .nav-links { transform: none; box-shadow: -30px 0 80px -30px rgba(0,0,0,0.5); }
  .nav-links a { color: #fff; font-size: 1.05rem; }
  .nav-cta .btn { display: none; }
  .menu-toggle { display: block; z-index: 95; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr; }
  .split-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .frac-caps, .cred-list, .cap-block .cap-detail ul { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .svc-row .ra { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .frac-caps { grid-template-columns: 1fr; }
  .founder-photo .badge { right: 0; }
}
@media (max-width: 460px) {
  .hero-meta { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
