/* Strategic Venture Associates — www.sva-us.com
   Colours are sampled from the SVA logo mark: red #D02828, black, grey #B0B8C0.
   Red passes AA for text on white (5.2:1); the logo grey is decorative only. */

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/raleway-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  color-scheme: light;
  --red: #d02828;
  --red-dark: #a81f1f;
  --ink: #141414;
  --text: #2b2f33;
  --muted: #555c64;
  --logo-grey: #b0b8c0;
  --line: #e2e5e9;
  --panel: #f4f5f7;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgb(20 20 20 / 0.06), 0 8px 24px rgb(20 20 20 / 0.06);
  --page: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: 'Raleway', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

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

a { color: var(--red); text-underline-offset: 0.18em; }
a:hover { color: var(--red-dark); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  color: var(--red); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 76px; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 8px 0; }
.brand img.mark { width: 40px; height: auto; }
.brand img.wordmark { width: clamp(190px, 24vw, 270px); height: auto; }

.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 6px;
}
.nav a:hover { background: var(--panel); color: var(--ink); }
.nav a[aria-current='page'] { color: var(--red); }
.nav a.nav-cta { background: var(--red); color: #fff; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--red-dark); color: #fff; }
.nav a.nav-cta[aria-current='page'] { color: #fff; }

@media (max-width: 720px) {
  .site-header { position: static; }
  .site-header .wrap { justify-content: center; padding-bottom: 10px; }
  .brand { width: 100%; justify-content: center; }
  .nav { justify-content: center; }
  .nav a { padding: 8px 10px; }
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex; align-items: center; gap: 0.55em;
  background: var(--red); color: #fff; border: 2px solid var(--red);
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: 0.8em 1.35em; border-radius: 8px; text-decoration: none; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.button:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.button svg { width: 1.1em; height: 1.1em; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: #fff; }
.button[disabled] { opacity: 0.6; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.text-link { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; text-decoration: none; }
.text-link svg { width: 1.1em; height: 1.1em; transition: transform 0.15s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--panel); border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 120px); }
.hero h1 { max-width: 15ch; }
.hero h1 .accent { color: var(--red); display: block; }
.hero .lead { max-width: 36rem; }

/* The logo mark stands in for a photo: large, faint, cropped off the edge. */
.hero-mark {
  position: absolute; z-index: 0; pointer-events: none;
  right: max(-120px, calc((100vw - var(--page)) / 2 - 140px));
  top: 50%; transform: translateY(-50%) rotate(-8deg);
  width: clamp(320px, 46vw, 620px); opacity: 0.13;
}
@media (max-width: 720px) {
  .hero-mark { right: -110px; top: auto; bottom: -60px; transform: rotate(-8deg); width: 300px; opacity: 0.09; }
}

.page-hero .wrap { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 20ch; }

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split > div > p:last-child { margin-bottom: 0; }

/* ---------- Cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.cards.four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}
.card::before {
  content: ''; position: absolute; left: 24px; top: 0; width: 36px; height: 3px;
  background: var(--red); border-radius: 0 0 3px 3px;
}
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.card a.stretched { color: inherit; text-decoration: none; }
.card a.stretched::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card:has(a.stretched):hover { border-color: var(--red); transform: translateY(-2px); }
.card:has(a.stretched:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }
.card a.stretched:focus-visible { outline: none; }
.card .more { margin-top: auto; padding-top: 16px; color: var(--red); font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.35em; }
.card .more svg { width: 1em; height: 1em; }

.icon {
  width: 52px; height: 52px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: #fbeaea; color: var(--red);
}
.icon svg { width: 30px; height: 30px; }
.icon.dark { background: var(--ink); color: #fff; }

/* ---------- Vision band ---------- */

.vision { background: var(--ink); color: #e9ecef; position: relative; overflow: hidden; }
.vision .wrap { position: relative; padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.vision .eyebrow { color: #ff6b6b; }
.vision blockquote { margin: 0; max-width: 52rem; }
.vision blockquote p {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.35; font-weight: 500; color: #fff; margin: 0;
}
.vision blockquote p::before {
  content: '\201C'; display: block; color: var(--red);
  font-size: 5rem; line-height: 0.6; font-weight: 800; margin-bottom: 0.15em;
}
.vision .vision-intro { color: #c4cad1; margin-bottom: 2rem; }
.vision .stripe { position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--red) 0 33%, var(--logo-grey) 33% 66%, #fff 66%); opacity: 0.9; }

/* ---------- Consulting detail ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 2rem 0 0; }
.chips a {
  display: inline-block; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem;
  border: 1px solid var(--line); background: var(--white); padding: 7px 14px; border-radius: 999px;
}
.chips a:hover { border-color: var(--red); color: var(--red); }

.practice { display: grid; grid-template-columns: 64px 1fr; gap: 8px 28px; padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.practice:first-child { border-top: 0; padding-top: 0; }
.practice .icon { width: 64px; height: 64px; border-radius: 14px; }
.practice .icon svg { width: 34px; height: 34px; }
.practice h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 10px; }
.practice .body { max-width: 46rem; }
.practice .body p:last-child { margin-bottom: 0; }
.practice .how {
  border-left: 3px solid var(--red); padding: 2px 0 2px 18px; color: var(--ink); font-weight: 500;
}
@media (max-width: 600px) { .practice { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */

.industry h3 { margin-top: 18px; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--panel); border-top: 1px solid var(--line); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); }
.cta-band h2 { margin: 0 0 0.25em; }
.cta-band p { margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); }

.contact-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .contact-form .grid { grid-template-columns: 1fr; } }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 600; color: var(--ink); font-size: 0.95rem; margin-bottom: 6px; }
.field > span .opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid #c8cdd3; border-radius: 8px; padding: 11px 13px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.field [aria-invalid='true'] { border-color: var(--red); background: #fff7f7; }
.error { display: block; color: var(--red-dark); font-size: 0.88rem; font-weight: 600; min-height: 0; margin-top: 4px; }
.error:empty { display: none; }
.hint { color: var(--muted); font-size: 0.92rem; }
.form-status { color: var(--red-dark); font-weight: 600; margin: 12px 0 0; }
.form-status:empty { display: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin: 4px 0 16px; }
.turnstile:empty { margin: 0; }

.contact-done { text-align: center; padding: 24px 8px; }
.contact-done:focus { outline: none; }
.contact-done .check {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: #fbeaea; color: var(--red); font-size: 2rem; font-weight: 800;
}

.details { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.details li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.details .icon { width: 44px; height: 44px; border-radius: 10px; }
.details .icon svg { width: 22px; height: 22px; }
.details strong { display: block; color: var(--ink); }
.details address { font-style: normal; }

/* ---------- 404 ---------- */

.not-found { text-align: center; }
.not-found img { width: 120px; margin: 0 auto 24px; opacity: 0.9; }
.not-found h1 { margin-left: auto; margin-right: auto; }
.not-found .lead { margin: 0 auto; }
.not-found .actions { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #c4cad1; font-size: 0.95rem; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid #2c3035; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 46px; height: auto; background: #fff; border-radius: 10px; padding: 6px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; line-height: 1.3; }
.site-footer h2 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: #e9ecef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-bottom { padding-top: 20px; font-size: 0.86rem; color: #8d959e; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
