/* VASCO Technical static site styles */
:root {
  --navy-950: #071323;
  --navy-900: #102033;
  --navy-800: #162b43;
  --blue-700: #255b8d;
  --blue-500: #2f6697;
  --blue-300: #8fb3d3;
  --slate-700: #334155;
  --slate-600: #5b6470;
  --slate-300: #c8ced6;
  --slate-200: #e1e5ea;
  --slate-100: #f5f7f9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 19, 35, 0.13);
  --radius: 16px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy-950);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--slate-600); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.035em; }
h1 { margin: 0; }
.page-title { max-width: 780px; font-size: clamp(2.35rem, 5vw, 4.4rem); font-weight: 850; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 760; }
h3 { font-size: 1.18rem; font-weight: 720; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem max(1rem, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: rgba(7, 19, 35, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: 0.95rem; color: var(--white); }
.brand-main { font-size: clamp(1.8rem, 4vw, 3.1rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.08em; }
.brand-rule { width: 4px; height: 48px; background: var(--blue-700); }
.brand-sub { display: grid; color: var(--slate-300); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.08; }
.brand-sub span { color: var(--white); }
.nav { display: flex; align-items: center; gap: 1.4rem; font-size: 0.82rem; font-weight: 850; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.78); }
.nav a:hover { color: var(--white); }
.nav-cta { padding: 0.62rem 0.9rem; border: 1px solid rgba(200, 206, 214, 0.35); border-radius: 4px; color: var(--white) !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-dark { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 72% 20%, rgba(47, 102, 151, 0.18), transparent 34%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.section-dark p { color: rgba(255, 255, 255, 0.74); }
.section-light { background: var(--slate-100); }
.section-blue { background: linear-gradient(180deg, #f3f6f9 0%, #ffffff 100%); }

.technical-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(200, 206, 214, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(200, 206, 214, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  transform: translate3d(0, 0, 0);
  transition: transform 120ms linear, opacity 120ms linear;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-title, .hero-lockup, .technical-grid { transition: none; will-change: auto; }
}

.hero { padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.eyebrow { color: var(--blue-700); font-weight: 800; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem; margin-bottom: 0.8rem; }
.section-dark .eyebrow { color: var(--slate-300); }
.hero-title { max-width: 680px; font-size: clamp(1.75rem, 3.6vw, 3rem); font-weight: 850; text-transform: uppercase; transition: opacity 120ms linear, transform 120ms linear; will-change: opacity, transform; }
.motto { margin: 1rem 0 1.2rem; color: var(--slate-300) !important; font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-summary { max-width: 720px; font-size: 1.12rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue-700); box-shadow: 0 14px 34px rgba(37, 91, 141, 0.22); }
.button-secondary { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.32); }
.hero-panel, .boundary-box, .contact-card { border: 1px solid rgba(200, 206, 214, 0.20); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-panel { padding: 2rem; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(18px); }
.panel-kicker { margin-bottom: 1.3rem; color: var(--slate-300); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-checks { display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.hero-checks li { position: relative; padding-left: 1.35rem; color: rgba(255, 255, 255, 0.82); font-weight: 650; }
.hero-checks li::before { content: ""; position: absolute; left: 0; top: 0.62rem; width: 8px; height: 8px; background: var(--blue-300); }

.quick-links { position: relative; z-index: 1; margin-top: 0; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); box-shadow: var(--shadow); }
.quick-grid a { display: grid; gap: 0.65rem; min-height: 170px; padding: 1.6rem; border-right: 1px solid var(--slate-200); }
.quick-grid a:last-child { border-right: 0; }
.quick-grid span { color: var(--blue-700); font-weight: 900; letter-spacing: 0.12em; }
.quick-grid strong { color: var(--navy-900); font-size: 1.25rem; text-transform: uppercase; line-height: 1.05; }
.quick-grid small { color: var(--slate-600); font-size: 0.95rem; line-height: 1.5; }

.split-layout, .two-column { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.content-block p, .lead { font-size: 1.08rem; }
.narrow { max-width: 900px; }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { min-height: 215px; padding: 1.45rem; border: 1px solid var(--slate-200); border-radius: 18px; background: rgba(255, 255, 255, 0.86); box-shadow: 0 16px 46px rgba(14, 36, 56, 0.06); }
.card h3 { margin-bottom: 0.75rem; color: var(--navy-800); }
.card p { margin-bottom: 0; }

.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; padding: 0; margin: 0; list-style: none; }
.check-list li, .pill-grid span { border: 1px solid var(--slate-200); background: var(--white); border-radius: 14px; font-weight: 700; }
.check-list li { position: relative; padding: 1rem 1rem 1rem 2.6rem; }
.check-list li::before { content: ""; position: absolute; left: 1rem; top: 1.32rem; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-700); box-shadow: 0 0 0 5px rgba(47, 102, 151, 0.10); }
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pill-grid span { padding: 0.75rem 1rem; color: var(--slate-700); }

.process-section { padding-bottom: clamp(4rem, 7vw, 6rem); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0; margin: 0; list-style: none; counter-reset: process; }
.process-grid li { padding: 1.4rem; border: 1px solid rgba(200, 206, 214, 0.22); border-radius: 18px; background: rgba(255, 255, 255, 0.07); }
.process-grid span { display: inline-block; margin-bottom: 1.2rem; color: var(--slate-300); font-weight: 800; letter-spacing: 0.1em; }
.process-grid h3 { margin-bottom: 0.75rem; }
.process-grid p { margin-bottom: 0; }

.boundary-box { padding: clamp(1.4rem, 4vw, 2.2rem); background: var(--white); }
.boundary-box p:last-child { margin-bottom: 0; }
.contact-section { background: var(--white); }
.contact-card { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; padding: clamp(1.6rem, 5vw, 3rem); background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: var(--white); }
.contact-card p { color: rgba(255, 255, 255, 0.72); }
.contact-actions { display: grid; gap: 0.9rem; }
.contact-actions > a:not(.button) { color: var(--slate-300); font-weight: 800; word-break: break-word; }
.site-footer { padding: 1.5rem 0; color: rgba(255, 255, 255, 0.7); background: var(--navy-950); }
.footer-layout { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.site-footer p { margin: 0; color: rgba(255, 255, 255, 0.7); }
.site-footer a { color: var(--blue-300); }

.contact-hero { padding: clamp(4rem, 8vw, 6rem) 0; }
.form-layout { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-intro a { color: var(--blue-700); font-weight: 800; }
.form-note { padding: 1rem; border-left: 4px solid var(--blue-700); background: var(--white); font-size: 0.94rem; }
.intake-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.intake-form label { display: grid; gap: 0.45rem; color: var(--navy-900); font-size: 0.82rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.intake-form input, .intake-form select, .intake-form textarea { width: 100%; border: 1px solid var(--slate-200); border-radius: 8px; padding: 0.85rem 0.9rem; color: var(--navy-950); background: var(--slate-100); font: inherit; letter-spacing: 0; text-transform: none; }
.intake-form textarea { resize: vertical; }
.full-span { grid-column: 1 / -1; }
.file-drop { padding: 1.2rem; border: 1px dashed var(--blue-700); border-radius: 12px; background: #f8fafc; cursor: pointer; }
.file-drop span { color: var(--navy-900); font-size: 1rem; }
.file-drop small { color: var(--slate-600); font-weight: 600; letter-spacing: 0; line-height: 1.45; text-transform: none; }
.file-drop input { padding: 0; border: 0; background: transparent; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.form-secondary { color: var(--blue-700); border: 1px solid var(--slate-200); background: var(--white); }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 0.2rem; }
  .hero-layout, .split-layout, .two-column, .contact-card, .quick-grid, .form-layout { grid-template-columns: 1fr; }
  .quick-links { margin-top: 0; }
  .quick-grid a { border-right: 0; border-bottom: 1px solid var(--slate-200); }
  .quick-grid a:last-child { border-bottom: 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 1.25rem, var(--max-width)); }
  .site-header { padding: 0.9rem 0.75rem; }
  .nav { gap: 1rem; font-size: 0.76rem; }
  .nav-cta { white-space: nowrap; }
  .hero { padding-top: 4.2rem; }
  .button, .button-row { width: 100%; }
  .card-grid, .check-list, .process-grid, .intake-form { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .brand-main { font-size: 2rem; }
  .brand-rule { height: 38px; }
  .brand-sub { font-size: 0.75rem; }
  .form-actions, .form-actions .button { width: 100%; }
  .footer-layout { align-items: flex-start; flex-direction: column; }
}

.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.expert-card { min-height: 260px; padding: 1.45rem; border: 1px solid var(--slate-200); border-radius: 18px; background: var(--white); box-shadow: 0 16px 46px rgba(14, 36, 56, 0.06); }
.expert-label { display: inline-flex; margin-bottom: 1rem; color: var(--blue-700); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.expert-card h3 { margin-bottom: 0.85rem; color: var(--navy-800); }
.profile-template { display: grid; gap: 0.8rem; margin-top: 1.25rem; }
.profile-template div { display: grid; gap: 0.25rem; padding: 1rem; border: 1px solid var(--slate-200); border-radius: 12px; background: var(--slate-100); }
.profile-template strong { color: var(--navy-900); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.profile-template span { color: var(--slate-600); }

@media (max-width: 900px) {
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .expert-grid { grid-template-columns: 1fr; }
  .expert-card { min-height: auto; }
}

.hero-lockup { display: flex; align-items: center; gap: 1rem; max-width: 760px; margin-bottom: 1.2rem; transition: opacity 120ms linear, transform 120ms linear; will-change: opacity, transform; }
.hero-logo { color: var(--white); font-size: clamp(2.4rem, 5.8vw, 5rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.08em; }
.hero-lockup-rule { flex: 0 0 4px; align-self: stretch; min-height: 62px; background: var(--blue-700); }
.hero-descriptor { max-width: 360px; color: var(--slate-300); font-size: clamp(0.95rem, 1.45vw, 1.16rem); font-weight: 750; line-height: 1.38; text-transform: uppercase; letter-spacing: 0.045em; }
.compact-summary { max-width: 650px; }
.compass-panel { display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.compass-panel p { margin-bottom: 0; }
.compass-wrap { position: relative; width: min(260px, 62vw); aspect-ratio: 1; display: grid; place-items: center; animation: compass-settle 1200ms ease-out both; }
.compass-ring { position: absolute; inset: 12%; border: 1px solid rgba(200, 206, 214, 0.38); border-radius: 50%; box-shadow: inset 0 0 0 20px rgba(255,255,255,0.03), 0 0 44px rgba(47,102,151,0.14); }
.compass-ring::before, .compass-ring::after { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(143, 179, 211, 0.28); border-radius: 50%; }
.compass-ring::after { inset: 38%; background: rgba(143, 179, 211, 0.10); }
.compass-axis { position: absolute; background: rgba(200, 206, 214, 0.36); transform-origin: center; }
.compass-axis-ns { width: 1px; height: 78%; }
.compass-axis-ew { width: 78%; height: 1px; }
.compass-needle { position: absolute; width: 34%; height: 34%; background: linear-gradient(135deg, transparent 48%, var(--blue-300) 49% 51%, transparent 52%), linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.82) 49% 51%, transparent 52%); clip-path: polygon(50% 0, 60% 44%, 100% 50%, 60% 56%, 50% 100%, 40% 56%, 0 50%, 40% 44%); animation: needle-pulse 2600ms ease-in-out infinite; }
.compass-point { position: absolute; color: var(--slate-300); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.14em; }
.compass-point.north { top: 0; }
.compass-point.east { right: 0; }
.compass-point.south { bottom: 0; }
.compass-point.west { left: 0; }
.intro-reveal { animation: hero-reveal 900ms ease-out both; }
.compass-panel.intro-reveal { animation-delay: 160ms; }
.hero .technical-grid { animation: grid-open 1400ms ease-out both; }

@keyframes hero-reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes grid-open {
  from { opacity: 0; transform: scale(1.04) translate3d(-18px, -12px, 0); }
  to { opacity: 0.16; transform: scale(1) translate3d(0, 0, 0); }
}

@keyframes compass-settle {
  from { opacity: 0; transform: rotate(-18deg) scale(0.92); }
  to { opacity: 1; transform: rotate(0deg) scale(1); }
}

@keyframes needle-pulse {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.82; }
  50% { transform: rotate(4deg) scale(1.04); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-reveal, .compass-wrap, .compass-needle, .hero .technical-grid { animation: none; }
}

@media (max-width: 620px) {
  .hero-lockup { align-items: flex-start; flex-direction: column; gap: 0.75rem; }
  .hero-lockup-rule { width: 84px; height: 4px; min-height: 0; }
  .hero-descriptor { max-width: none; }
}

.value-statement { position: relative; z-index: 1; margin-top: 0; }
.value-box { padding: clamp(1.25rem, 3vw, 1.75rem); border-left: 5px solid var(--blue-700); background: var(--white); box-shadow: var(--shadow); }
.value-box p { margin: 0; color: var(--navy-900); font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 800; line-height: 1.35; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.audience-grid article { padding: 1.25rem; border: 1px solid var(--slate-200); border-radius: 16px; background: var(--white); box-shadow: 0 16px 46px rgba(14, 36, 56, 0.05); }
.audience-grid h3 { margin-bottom: 0.6rem; color: var(--navy-800); }
.audience-grid p { margin: 0; }
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fit-card { padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--white); box-shadow: 0 16px 46px rgba(14, 36, 56, 0.06); }
.fit-card h3 { margin-bottom: 1rem; }
.fit-card ul { display: grid; gap: 0.7rem; padding: 0; margin: 0; list-style: none; }
.fit-card li { position: relative; padding-left: 1.35rem; color: var(--slate-600); font-weight: 700; }
.fit-card li::before { content: ""; position: absolute; left: 0; top: 0.62rem; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-700); }
.fit-card-negative li::before { background: var(--slate-300); }

@media (max-width: 900px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .value-statement { margin-top: 0; }
  .audience-grid { grid-template-columns: 1fr; }
}

/* Anchor and section spacing refinements */
main section, section[id] { scroll-margin-top: 120px; }
.section + .section { border-top: 1px solid rgba(225, 229, 234, 0.72); }
.hero-panel { position: relative; z-index: 1; }
.compass-panel { align-self: center; }

@media (max-width: 900px) {
  main section, section[id] { scroll-margin-top: 150px; }
  .hero-layout { align-items: stretch; }
  .compass-panel { justify-self: stretch; }
}

/* Scroll reveal animation for cards and process content */
.reveal-item {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 620ms ease, transform 620ms ease, filter 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-1 { transform: translate3d(-22px, 20px, 0); }
.reveal-2 { transform: translate3d(22px, 20px, 0); }
.reveal-3 { transform: translate3d(0, 18px, 0) scale(0.98); filter: blur(2px); }
.reveal-item.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal-item { opacity: 1; transform: none; transition: none; filter: none; will-change: auto; }
}

.form-status { min-height: 1.4rem; margin: 0; font-weight: 800; }
.form-status[data-state="pending"] { color: var(--slate-600); }
.form-status[data-state="success"] { color: var(--blue-700); }
.form-status[data-state="error"] { color: #9f3a38; }
.button:disabled { cursor: wait; opacity: 0.72; transform: none; }


.expert-profile-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.25rem, 4vw, 2rem);
  align-items: stretch;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.expert-profile-header {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
}
.expert-profile-header h2 { margin-bottom: 0.8rem; }
.expert-profile-header p:not(.eyebrow) { margin: 0; color: var(--slate-300); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.profile-detail-grid { display: grid; gap: 1rem; }
.profile-detail-grid article { padding: 1.25rem; border: 1px solid var(--slate-200); border-radius: 14px; background: var(--slate-100); }
.profile-detail-grid strong { display: block; margin-bottom: 0.65rem; color: var(--blue-700); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.profile-detail-grid span { color: var(--slate-600); line-height: 1.68; }

@media (max-width: 900px) {
  .expert-profile-card { grid-template-columns: 1fr; }
}
