/* SDC Ventures – static site styles
   Ported from the former WordPress (The7 + Elementor) theme. */

/* ---------- Fonts (self-hosted, variable weight) ---------- */
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/comfortaa-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/comfortaa-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (from the Elementor global kit) ---------- */
:root {
  --blue: #0376ea;
  --blue-dark: #025cb7;
  --green: #03d87d;
  --green-dark: #02a665;
  --navy: #263d81;
  --ink: #0b0f1f;
  --text: rgba(11, 15, 31, 0.72);
  --muted: rgba(11, 15, 31, 0.44);
  --line: rgba(11, 15, 31, 0.12);
  --tint: #edf5fd; /* --blue at 8% on white */
  --white: #fff;
  --font-title: "Comfortaa", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --container: 1140px;
  --nav-h: 120px;
  --nav-h-stuck: 70px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h-stuck);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--ink); line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.bg-network :focus-visible, .site-nav :focus-visible, .site-footer :focus-visible { outline-color: var(--green); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; padding: .5em 1em; background: var(--white); border-radius: 3px; }
.skip-link:focus { left: 1em; top: 1em; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.narrow--wide { max-width: 960px; }
.center { text-align: center; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1em;
}
.eyebrow--green { color: var(--green); }
.title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(24px, 1.2rem + 2vw, 34px);
  line-height: 1.3;
  text-wrap: balance;
}
.lead { font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  background: var(--green);
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover, .btn:focus-visible { background: var(--green-dark); color: var(--ink); }
.btn--wide { padding-left: 52px; padding-right: 52px; }
.btn--blue, .btn--blue:hover, .btn--blue:focus-visible { color: var(--white); }
.btn--blue { background: var(--blue-dark); }
.btn--blue:hover, .btn--blue:focus-visible { background: var(--navy); }

/* ---------- Dark "network" backgrounds ---------- */
.bg-network {
  position: relative;
  color: var(--white);
  background: radial-gradient(at top center, var(--navy) 0%, #000 100%);
  isolation: isolate;
}
.bg-network::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/poly-bg.svg") top center / 100% auto no-repeat;
  opacity: .7;
  mix-blend-mode: overlay;
  pointer-events: none;
}
@media (max-width: 777px) {
  .bg-network::before { background-image: url("../img/poly-bg-mobile.svg"); }
}

/* ---------- Hero (home) ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px calc(var(--nav-h) + 40px);
}
.hero__logo { width: min(400px, 60vw); }
.hero__tagline {
  margin: .4em 0 0;
  font-family: var(--font-title);
  font-size: clamp(36px, 7vw, 82px);
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--white);
}

/* ---------- Page header (sub pages) ---------- */
.page-header {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px calc(var(--nav-h-stuck) + 20px);
}
.page-header h1 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(34px, 1.6rem + 2.5vw, 46px);
  font-weight: 700;
  color: var(--white);
}

/* ---------- Navigation bar ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  height: var(--nav-h);
  margin-top: calc(-1 * var(--nav-h));
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--white);
  background: transparent;
  transition: background .3s, height .3s;
}
.site-nav--compact { height: var(--nav-h-stuck); margin-top: calc(-1 * var(--nav-h-stuck)); }
.site-nav.is-stuck { background: #000; height: var(--nav-h-stuck); }
.site-nav__logo img { width: 52px; }
.site-nav__menu {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__menu a, .site-nav__cta {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.site-nav__menu a { position: relative; display: inline-block; padding: 4px 0; }
.site-nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .25s;
}
.site-nav__menu a:hover::after, .site-nav__menu a[aria-current]::after { transform: scaleX(1); }
.site-nav__menu-cta { display: none; }
.site-nav__cta { display: inline-flex; align-items: center; gap: 10px; }
.site-nav__cta .icon { font-size: 22px; color: var(--green); }
.site-nav__cta:hover { color: var(--green); }
.site-nav__toggle {
  display: none;
  margin-left: auto;
  padding: 6px;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .site-nav, .site-nav--compact { height: var(--nav-h-stuck); margin-top: calc(-1 * var(--nav-h-stuck)); padding: 0 20px; }
  .site-nav__toggle { display: inline-flex; }
  .site-nav__menu, .site-nav__cta { display: none; }
  .site-nav.is-open { background: #000; }
  .site-nav.is-open .site-nav__menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    max-height: calc(100vh - var(--nav-h-stuck));
    max-height: calc(100dvh - var(--nav-h-stuck));
    overflow-y: auto;
    padding: 10px 20px 20px;
    background: #000;
  }
  .site-nav.is-open .site-nav__menu-cta { display: block; }
  .site-nav.is-open .site-nav__menu a { display: block; padding: 10px 0; font-size: 18px; }
  .site-nav.is-open .site-nav__menu a::after { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--tint { background: var(--tint); }
.section--tight { padding: 100px 0; }
@media (max-width: 777px) { .section, .section--tight { padding: 70px 0; } }
.section__head { text-align: center; margin-bottom: 60px; }
.section__head .title { margin: 0 auto; max-width: 760px; }

/* Split: image half / text half */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__media { position: relative; display: block; min-height: 420px; background: var(--tint); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: 100px clamp(20px, 6vw, 70px); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.split__body > :last-child { margin-bottom: 0; }
@media (max-width: 777px) {
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 300px; }
  .split__body { padding: 70px 20px; }
}

/* Feature grid (icon + text) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 50px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1024px) { .features { gap: 50px 30px; } }
@media (max-width: 777px) { .features { grid-template-columns: 1fr; } }
.feature { text-align: center; font-size: 15px; }
.feature__icon {
  width: 75px; height: 75px;
  margin: 0 auto 25px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 32px;
  transition: background .2s;
}
.feature:hover .feature__icon { background: var(--green-dark); }
.feature__icon--number { font-family: var(--font-body); font-size: 36px; font-weight: 400; line-height: 1; }
.feature h3 { font-family: var(--font-body); font-size: 24px; font-weight: 500; margin-bottom: .6em; }
.feature p { margin: 0; }

/* Counters */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; text-align: center; }
@media (max-width: 777px) { .counters { grid-template-columns: repeat(2, 1fr); } }
.counters { margin: 0; }
.counters > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.counter__value { margin: 0; font-size: clamp(40px, 2rem + 2vw, 52px); font-variant-numeric: tabular-nums; font-weight: 500; line-height: 1.2; color: var(--blue); }
.counter__label { margin-top: 10px; font-size: 18px; font-weight: 500; color: var(--ink); }

/* Quote */
.quote { margin: 0; }
.quote img { width: 90px; height: 90px; margin: 0 auto 30px; border-radius: 50%; object-fit: cover; }
.quote blockquote { margin: 0 0 30px; font-size: 20px; line-height: 1.6; }
.quote figcaption strong { display: block; font-size: 18px; font-weight: 600; color: var(--ink); }
.quote figcaption span { font-size: 14px; color: var(--blue); }

.recruiting__cta { margin-top: 50px; }

/* CTA band */
.cta { padding: 130px 20px; text-align: center; }
.cta .eyebrow { text-transform: none; font-size: 22px; color: var(--green); }
.cta .title { color: var(--white); font-size: clamp(30px, 1.4rem + 3vw, 46px); margin-bottom: 1.2em; }

/* Contact info boxes */
.contact-list { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; text-align: center; }
.contact-list--row { grid-template-columns: repeat(3, 1fr); gap: 40px 50px; }
@media (max-width: 777px) { .contact-list--row { grid-template-columns: 1fr; } }
.contact-item .icon { display: block; margin: 0 auto 14px; font-size: 32px; color: var(--blue); }
.contact-item .contact-item__title { margin: 0 0 6px; font-size: clamp(20px, 1rem + 1.2vw, 24px); font-weight: 500; line-height: 1.3; color: var(--ink); }
.contact-item__title a { color: inherit; }
.contact-item__title a:hover { color: var(--blue); }
.contact-item p { margin: 0; font-size: 15px; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
.contact-form .full { grid-column: 1 / -1; }
@media (max-width: 777px) { .contact-form { grid-template-columns: 1fr; } }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: -1px; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form ::placeholder { color: rgba(11, 15, 31, .6); opacity: 1; }
.form-title { margin-bottom: 30px; font-size: 24px; font-weight: 500; }
.contact-form .btn { width: 100%; }
.form-note { margin: 0; font-size: 13px; color: var(--text); text-align: center; }

/* Hotspot over image */
.hotspot-wrap { position: relative; }
.hotspot {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  font-size: 28px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .3);
  cursor: default;
  z-index: 1;
}
.hotspot__tip {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: min(260px, 80vw);
  padding: 16px 20px;
  transform: translateX(-50%) scale(.9);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.hotspot:hover .hotspot__tip, .hotspot:focus .hotspot__tip { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }

/* ---------- Legal pages ---------- */
.legal { padding: 50px 0 60px; }
.legal { hyphens: auto; }
.legal h1 { font-family: var(--font-title); font-size: clamp(30px, 1.2rem + 3vw, 46px); font-weight: 700; }
.legal h2 { font-family: var(--font-title); font-size: clamp(24px, 1.2rem + 2vw, 34px); font-weight: 600; margin-top: .6em; }
.legal h3 { font-size: clamp(20px, 1.1rem + .6vw, 24px); font-weight: 500; margin-top: 1em; }
.legal h4 { font-size: 18px; font-weight: 600; margin-top: 1em; }
.legal a { color: var(--blue-dark); text-decoration: underline; overflow-wrap: anywhere; hyphens: none; }
.legal ul { padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 20px; background: #000; text-align: center; }
.site-footer nav { display: flex; justify-content: center; gap: 10px; }
.site-footer a { color: var(--white); font-size: 14px; font-weight: 500; padding: 4px 6px; }
.site-footer a:hover { color: var(--green); }

/* Back to top */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 900;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, background .2s;
}
.to-top:hover { background: var(--green-dark); color: var(--ink); }
.to-top.is-visible { opacity: 1; visibility: visible; }

@media (max-width: 777px) {
  .page-header { min-height: 300px; }
}
