/* ==========================================================================
   Inspire Group Investments
   Design tokens taken from the previous Wix build so the brand carries over.
   ========================================================================== */

@font-face {
  font-family: 'Sora';
  src: url('/assets/fonts/sora-latin-var.woff2') format('woff2-variations'),
       url('/assets/fonts/sora-latin-var.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --brand: #FF5101;
  --ink: #121212;
  --muted: #6B6B6B;        /* darkened from the Wix #7D7D7D to clear AA on white */
  --surface: #F5F5F5;
  --surface-2: #EEEEEE;
  --paper: #FFFFFF;
  --line: #E2E2E2;

  --shell: 1152px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 8px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
address { font-style: normal; }

a { color: inherit; }

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

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header[data-scrolled] {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}
@media (min-width: 60em) {
  .site-header__inner { min-height: 5.5rem; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand__mark {
  width: 1.875rem;
  height: 1.875rem;
  flex: 0 0 auto;
  border-radius: 6px;
}

/* ----------------------------------------------------------------- nav -- */

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  font-size: 0.9375rem;
}

.site-nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 0.35rem;
  text-decoration: none;
  color: var(--ink);
}
.site-nav__list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav__list a:hover::after,
.site-nav__list a[aria-current='true']::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  place-items: center;
  align-content: center;
  justify-items: center;
  gap: 0.375rem;
}
.nav-toggle__bar {
  width: 1.375rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

@media (max-width: 47.99em) {
  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  .site-nav[data-open] { opacity: 1; visibility: visible; }

  .site-nav__list {
    flex-direction: column;
    gap: 1.75rem;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
  }

  body[data-nav-open] { overflow: hidden; }
  body[data-nav-open] .nav-toggle,
  body[data-nav-open] .brand { position: relative; z-index: 45; }

  /* backdrop-filter on the header makes it the containing block for fixed
     descendants, which traps the overlay inside the header strip. Drop it
     while the menu is open so .site-nav sizes to the viewport instead. */
  body[data-nav-open] .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    border-bottom-color: transparent;
  }
  body[data-nav-open] .nav-toggle__bar:first-child { transform: translateY(0.75px) rotate(45deg); }
  body[data-nav-open] .nav-toggle__bar:last-child  { transform: translateY(-0.75px) rotate(-45deg); }
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(44rem, 82svh);
  margin-top: calc(-4.5rem);
  padding-block: 8rem clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  background: var(--ink);
}
@media (min-width: 60em) {
  .hero { margin-top: -5.5rem; }
}

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.55) 0%, rgba(18,18,18,0.18) 38%, rgba(18,18,18,0.72) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  color: #fff;
}
@media (min-width: 60em) {
  .hero__inner { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
}

.hero__title {
  /* Capped at 56px, matching the previous build, so "Innovative companies"
     stays on one line at the 1152px content width. */
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero__tagline {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  max-width: 26ch;
}
@media (min-width: 60em) {
  .hero__tagline { padding-bottom: 0.75rem; }
}

/* ------------------------------------------------------------ sections -- */

.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface); }

.section__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 60em) {
  .section__grid { grid-template-columns: 230px minmax(0, 1fr); gap: 2.25rem; }
}

.section__head { align-self: start; }
@media (min-width: 60em) {
  .section__head { position: sticky; top: 8rem; }
}

.section__number {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section__number::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.75rem;
  background: var(--brand);
}

.section__title {
  margin-top: 0.875rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
}

.lede {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  max-width: 44ch;
  text-wrap: pretty;
}

/* --------------------------------------------------------------- cards -- */

.cards { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 48em) {
  .cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 2rem) clamp(1.75rem, 3vw, 2.5rem);
  background: var(--paper);
}
.section--tint .card { background: var(--surface); }

.card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }

.card__index {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.card__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.card__text {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 52ch;
  text-wrap: pretty;
}

.card__link {
  margin-top: auto;
  padding-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.card__link:hover { color: var(--brand); border-bottom-color: var(--brand); }
.card__arrow { transition: transform 0.3s var(--ease); }
.card__link:hover .card__arrow { transform: translateX(3px); }

.card--accent { background: var(--ink) !important; color: #fff; }
.card--accent .card__index { color: rgba(255,255,255,0.6); }
.card--accent .card__text { color: rgba(255,255,255,0.72); }
.card--accent .card__link { border-bottom-color: rgba(255,255,255,0.3); }
.card--accent .card__link:hover { color: var(--brand); border-bottom-color: var(--brand); }

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* --------------------------------------------------------------- strip -- */

/* No block padding of its own: the neighbouring sections already supply
   --section-y above and below, and doubling it left an oversized gap. */
.strip { padding-block: 0; }

.strip__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--gutter);
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  overscroll-behavior-x: contain;
}
.strip__item {
  flex: 0 0 auto;
  width: min(80vw, 560px);
  scroll-snap-align: center;
}
.strip__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--surface-2);
  border-radius: var(--radius);
}

/* ----------------------------------------------------------------- cta -- */

.cta__headline {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.035em;
  max-width: 22ch;
  text-wrap: balance;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.cta__note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.button:hover { background: var(--brand); border-color: var(--brand); }

.button--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.button--light { background: #fff; color: var(--ink); border-color: #fff; }
.button--light:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* -------------------------------------------------------------- footer -- */

.site-footer {
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  background: var(--ink);
  color: #fff;
}

.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 48em) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60em) {
  .footer__grid { grid-template-columns: 1fr 1fr 1.6fr; }
}

.footer__heading {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer__link {
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.footer__link:hover { color: var(--brand); border-bottom-color: var(--brand); }

.footer__address {
  margin-top: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.footer__social:hover { color: var(--brand); }

.footer__text {
  max-width: 46ch;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------- reveals -- */

/* Scoped to .js so that if the script fails to load, every .reveal stays
   visible rather than being permanently invisible. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Staggered entry for cards within a grid. */
.js .cards .reveal:nth-child(2) { transition-delay: 60ms; }
.js .cards .reveal:nth-child(3) { transition-delay: 120ms; }
.js .cards .reveal:nth-child(4) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .strip__track { scroll-snap-type: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------- print -- */

@media print {
  .site-header, .nav-toggle, .strip, .skip-link { display: none; }
  body { color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
