/* ══════════════════════════════════════════════════════════════════════════
   KNOWPORT Gateway
   ══════════════════════════════════════════════════════════════════════════
   1.  Fonts
   2.  Tokens
   3.  Reset & base
   4.  Shared primitives
   5.  Header & navigation
   6.  Hero
   7.  About
   8.  Sectors
   9.  Partners
   10. Team
   11. Contact
   12. Footer
   13. Motion — reveals & keyframes
   14. Reduced motion
   ══════════════════════════════════════════════════════════════════════════ */


/* ── 1. Fonts ──────────────────────────────────────────────────────────────
   Heebo is a variable font, so one file per unicode subset covers every
   weight. Google is the primary source; the bundled copy in /fonts is the
   fallback the browser reaches for only if gstatic.com cannot be reached. */

@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/heebo/v28/NGS6v5_NC0k9P9H2TbE.woff2') format('woff2'),
       url('../fonts/heebo-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: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/heebo/v28/NGS6v5_NC0k9P9H4TbFzsQ.woff2') format('woff2'),
       url('../fonts/heebo-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: 'Heebo';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/heebo/v28/NGS6v5_NC0k9P9H0TbFzsQ.woff2') format('woff2'),
       url('../fonts/heebo-hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}


/* ── 2. Tokens ─────────────────────────────────────────────────────────── */

:root {
  --aqua:         #09bbc9;
  --ink:          #021f41;
  --surface-deep: #001d3f;
  --paper:        #ffffff;
  --mist:         #e9eaea;
  --team-band:    #bcd9ee;
  --form-error:   #ff8a8a;

  --font-sans: 'Heebo', system-ui, sans-serif;

  --shell:   80rem;   /* max-w-7xl */
  --gutter:  1.5rem;
  --header-h: 5rem;   /* scroll offset for anchor targets */

  --ease-out-quint: cubic-bezier(0, 0, .2, 1);
}


/* ── 3. Reset & base ───────────────────────────────────────────────────── */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button, input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul { list-style: none; padding: 0; }

h1, h2, h3 { font-size: inherit; font-weight: inherit; }

[hidden] { display: none !important; }

::selection { background: var(--aqua); color: var(--ink); }


/* ── 4. Shared primitives ──────────────────────────────────────────────── */

.icon-4 { width: 1rem;    height: 1rem; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.icon-6 { width: 1.5rem;  height: 1.5rem; }
.icon-8 { width: 2rem;    height: 2rem; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25rem;
  transition: background-color .15s cubic-bezier(.4, 0, .2, 1),
              border-color .15s cubic-bezier(.4, 0, .2, 1),
              color .15s cubic-bezier(.4, 0, .2, 1);
}

.btn--aqua {
  background: var(--aqua);
  color: var(--ink);
}
.btn--aqua:hover { background: rgb(9 187 201 / .9); }

.btn--outline {
  border: 1px solid var(--paper);
  color: var(--paper);
}
.btn--outline:hover { background: rgb(255 255 255 / .1); }

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

.section {
  position: relative;
  padding-block: 6rem;
  scroll-margin-top: var(--header-h);
}

.section--paper { background: var(--paper); }
.section--ink   { background: var(--ink); }
.section--band  { background: var(--team-band); }
.section--deep  { background: var(--surface-deep); }

/* Full-bleed texture layer sitting behind a section's content. */
.section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.section__inner {
  position: relative;
  z-index: 10;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Sectors and Team nest a second centred container inside the first, which
   doubles the horizontal gutter. Reproduced here as a single wider inset. */
.sectors .section__inner,
.team .section__inner { padding-inline: calc(var(--gutter) * 2); }

.section__title {
  text-wrap: balance;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.section__title--aqua  { color: var(--aqua); }
.section__title--paper { color: var(--paper); }
.section__title--ink   { color: var(--ink); }

/* Short aqua keyline used under headings and between paragraphs. */
.rule {
  height: .125rem;
  width: 3rem;
  background: var(--aqua);
}
.rule--center { margin-inline: auto; margin-top: 1.5rem; }

/* The KNOWPORT arch, drawn as a watermark behind several sections. */
.arch-svg {
  width: 100%;
  height: 100%;
  color: var(--aqua);
}


/* ── 5. Header & navigation ────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s cubic-bezier(.4, 0, .2, 1),
              border-color .3s cubic-bezier(.4, 0, .2, 1);
}

.site-header.is-scrolled {
  background: rgb(255 255 255 / .95);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--mist);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 1rem var(--gutter);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  height: 2.25rem;
  width: auto;
}

.nav__logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* The mark flips from the white lockup to the navy one once the bar fills in. */
.nav__logo-img--navy { display: none; }
.is-scrolled .nav__logo-img--white { display: none; }
.is-scrolled .nav__logo-img--navy  { display: block; }

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav__item { position: relative; }

.nav__link {
  font-size: .875rem;
  line-height: calc(1.25 / .875);
  font-weight: 500;
  letter-spacing: .025em;
  color: var(--paper);
  transition: color .15s cubic-bezier(.4, 0, .2, 1);
}
.is-scrolled .nav__link { color: var(--ink); }
.nav__link:hover { color: var(--aqua); }

.nav__item.is-active .nav__link { color: var(--aqua); }

/* Underline on the section currently in view. */
.nav__item.is-active::after {
  content: '';
  position: absolute;
  inset: auto 0 -.25rem 0;
  height: .125rem;
  border-radius: 9999px;
  background: var(--aqua);
}

.nav__cta { display: none; padding: .625rem 1.25rem; }

.nav__burger {
  border-radius: .375rem;
  padding: .5rem;
  color: var(--paper);
}
.is-scrolled .nav__burger { color: var(--ink); }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__cta   { display: inline-flex; }
  .nav__burger { display: none; }
}

/* Mobile menu ------------------------------------------------------------ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--surface-deep);
  animation: fade-in .25s ease-out both;
}
.mobile-menu.is-closing { animation: fade-out .25s ease-out both; }

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem var(--gutter);
}

.mobile-menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__close {
  border-radius: .375rem;
  padding: .5rem;
  color: var(--paper);
}

.mobile-menu__nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu__link {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 500;
  color: var(--paper);
  transition: color .15s cubic-bezier(.4, 0, .2, 1);
}
.mobile-menu__link:hover { color: var(--aqua); }

.mobile-menu__cta {
  margin-top: 1rem;
  padding: .75rem 2rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
}


/* ── 6. Hero ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--surface-deep);
  padding-top: 5rem;
  scroll-margin-top: var(--header-h);
}

/* --parallax is written by js/main.js on every scroll frame. */
.hero__backdrop {
  position: absolute;
  inset: 0;
  transform: translateY(var(--parallax, 0%)) scale(1.1);
}

.hero__backdrop-svg { width: 100%; height: 100%; }

.hero__arches { animation: arch-breathe 20s ease-in-out infinite; }

.hero__wire {
  stroke-dasharray: 0 1;
  animation: wire-draw calc(3s + var(--i) * .6s) ease-in-out infinite alternate;
}

.hero__nodes circle {
  opacity: 0;
  animation: node-pulse calc(4s + var(--i) * .8s) ease-in-out infinite;
  animation-delay: calc(var(--i) * .15s);
}
/* The original cycles the pulse length over five values, not sixteen. */
.hero__nodes circle:nth-child(5n+1) { animation-duration: 4.0s; }
.hero__nodes circle:nth-child(5n+2) { animation-duration: 4.8s; }
.hero__nodes circle:nth-child(5n+3) { animation-duration: 5.6s; }
.hero__nodes circle:nth-child(5n+4) { animation-duration: 6.4s; }
.hero__nodes circle:nth-child(5n+5) { animation-duration: 7.2s; }

/* Photograph: three independent loops (opacity, drift, breathe) that would
   fight over a single transform, so each gets its own wrapper. */
.hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 15;
  display: none;
  width: 72%;
  align-items: center;
  justify-content: flex-end;
  transform: translateY(var(--parallax, 0px));
}

@media (min-width: 768px) { .hero__photo { display: flex; } }

.hero__photo-x,
.hero__photo-scale { width: 100%; height: 100%; }

.hero__photo-x     { animation: photo-drift 9s ease-in-out infinite; }
.hero__photo-scale { animation: photo-breathe 11s ease-in-out infinite; }

.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: photo-glow 8s ease-in-out infinite;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(90deg,
    rgb(0 29 63 / .85) 0%,
    rgb(0 29 63 / .40) 55%,
    transparent 65%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: radial-gradient(circle at 70% 50%,
    transparent 0%,
    rgb(0 29 63 / .55) 70%,
    rgb(0 29 63 / .92) 100%);
}

.hero__content {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 3rem var(--gutter);
  transform: translateY(var(--parallax, 0px));
  opacity: var(--hero-fade, 1);
}

.hero__copy { max-width: 620px; }

.hero__logo { height: 4rem; width: auto; }
.hero__logo-img { height: 100%; width: auto; object-fit: contain; }

.hero__title {
  margin-top: 2rem;
  text-wrap: balance;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--paper);
}

.hero__tagline {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.375;
  color: var(--aqua);
}

.hero__lede {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--mist);
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  z-index: 20;
  translate: -50% 0;
  color: var(--aqua);
  opacity: 0;
  animation: fade-in .6s var(--ease-out-quint) 1.2s forwards;
}

.hero__scroll-bob {
  display: block;
  animation: bob 2s ease-in-out infinite;
}


/* ── 7. About ──────────────────────────────────────────────────────────── */

.about__grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }
}

.about__lede {
  margin-top: 1.5rem;
  max-width: 70ch;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgb(2 31 65 / .8);
}
.about__lede--tight { margin-top: 0; }

.about .rule { margin-block: 1.5rem; }

.about__list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__item {
  display: flex;
  gap: 1rem;
}

.about__icon {
  margin-top: .125rem;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--aqua);
}

.about__item-title {
  font-weight: 600;
  color: var(--ink);
}

.about__item-line {
  font-size: .875rem;
  line-height: 1.625;
  color: rgb(2 31 65 / .7);
}

/* The commercialization wheel -------------------------------------------- */

/* Height drives how large the wheel draws, since the view box is taller than it
   is wide relative to this box. 680/526.4 is 680/470 opened up by just enough
   that, against the 448-unit view box, the wheel renders at 1.25× the size it
   had at 680/470 against 500 units — and it holds at every viewport width. */
.about__wheel {
  position: relative;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  aspect-ratio: 680 / 526.4;
}

@media (min-width: 1024px) {
  .about__wheel {
    max-width: none;
    margin-right: -4rem;
  }
}

.about__wheel-arch {
  position: absolute;
  inset: 0;
  opacity: .04;
  pointer-events: none;
}

.wheel { width: 100%; height: 100%; }

/* The ring carries pathLength="1", so dash lengths are fractions of the
   circumference (2π × 174 ≈ 1093.27 user units):
     16 units of dash/gap → 16 / 1093.27   = 0.014635
     1000 units of travel → 1000 / 1093.27 = 0.914684
   It sweeps in solid over 1.2s, then the dash pattern marches round the ring
   once every ~33s. */
.wheel__ring {
  stroke-dasharray: 0 1;
  stroke-dashoffset: 0;
}
.is-in .wheel__ring {
  animation: ring-draw 1.2s ease-in-out forwards,
             ring-march 30s linear 1.2s infinite;
}

.wheel__node {
  opacity: 0;
  transition: opacity .5s cubic-bezier(.4, 0, .2, 1);
}
.is-in .wheel__node          { opacity: .55; }
.is-in .wheel__node.is-active { opacity: 1; }

.wheel__node-dot {
  fill: var(--aqua);
  transition: r .5s cubic-bezier(.4, 0, .2, 1);
}
.wheel__node.is-active .wheel__node-dot { r: 10; }

.wheel__node-label {
  fill: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

/* Marker that runs the circumference once every cycle. */
.wheel__orbiter {
  fill: var(--aqua);
  stroke: var(--ink);
  offset-path: path('M 200 26 A 174 174 0 1 1 199.99 26');
  offset-distance: 0%;
}
.is-in .wheel__orbiter { animation: orbit 18s linear infinite; }

.wheel__center {
  opacity: 0;
  transform-box: view-box;
  transform-origin: 200px 200px;
}
.is-in .wheel__center {
  animation: fade-in .6s ease-out .3s forwards,
             center-breathe 14s ease-in-out infinite;
}

/* (206, 202) is the centre of the arrows' hole and of the photo clip alike, so
   the graphic turns on the spot instead of orbiting. */
.wheel__arrows {
  transform-box: view-box;
  transform-origin: 206px 202px;
}
.is-in .wheel__arrows { animation: arrows-spin 80s linear infinite; }

/* Both layers hold a photograph; only the top one is opaque, so the composite
   never dips in the middle of a cross-fade. */
.wheel__photo {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1);
}
.wheel__photo.is-shown { opacity: 1; }


/* ── 8. Sectors ────────────────────────────────────────────────────────── */

.sectors__sparks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sectors__sparks span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 9999px;
  background: rgb(9 187 201 / .7);
  box-shadow: 0 0 14px rgb(9 187 201 / .7);
  opacity: .3;
  animation: spark var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

.sectors__head { margin-bottom: 3.5rem; text-align: center; }

.sectors__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .sectors__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.sector__figure {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  aspect-ratio: 3 / 4;
  transition: transform .2s cubic-bezier(.4, 0, .2, 1);
}
.sector__figure:hover { transform: translateY(-3px); }

.sector__glow {
  position: absolute;
  inset: 18% 8% 3% 8%;
  border-radius: 9999px;
  background: rgb(9 187 201 / .25);
  filter: blur(64px);
}

.sector__glow-base {
  position: absolute;
  inset: auto 0 0 0;
  height: 66.6667%;
  background: linear-gradient(to top,
    rgb(9 187 201 / .2) 0%,
    rgb(9 187 201 / .05) 50%,
    transparent 100%);
  filter: blur(40px);
}

.sector__img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sector__body {
  position: relative;
  z-index: 10;
  margin-top: -2.5rem;
}

@media (min-width: 768px) {
  .sector__body { margin-top: -3.5rem; }
}

.sector__title {
  text-align: left;
  font-size: 45px;
  font-weight: 800;
  line-height: .95;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--paper);
}

.sector__hr {
  margin-top: 1rem;
  height: 1px;
  width: 100%;
  background: rgb(9 187 201 / .4);
}

.sector__list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.sector__list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9375rem;
  line-height: 1.625;
  color: var(--mist);
}

.sector__bullet {
  margin-top: .375rem;
  width: .375rem;
  height: .375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--aqua);
}


/* ── 9. Partners ───────────────────────────────────────────────────────── */

.partners {
  overflow: hidden;
  padding-block: 4rem;
}

.partners__head { text-align: center; }

.partners__eyebrow {
  font-size: 18px;
  font-weight: 500;
  color: rgb(2 31 65 / .6);
}

.marquee {
  position: relative;
  margin-top: 2rem;
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, black 120px, black calc(100% - 120px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 120px, black calc(100% - 120px), transparent 100%);
}

.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3rem;
  animation: marquee 40s linear infinite;
}

@media (min-width: 768px) { .marquee__track { gap: 5rem; } }

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__cell {
  display: flex;
  flex-shrink: 0;
  width: 180px;
  height: 4rem;
  align-items: center;
  justify-content: center;
}

.marquee__cell img {
  max-height: 3rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter .3s cubic-bezier(.4, 0, .2, 1);
}
.marquee__cell:hover img { filter: grayscale(0); }


/* ── 10. Team ──────────────────────────────────────────────────────────── */

.team__wrap { position: relative; }

.team__arch {
  position: absolute;
  left: -5rem;
  top: 25%;
  width: 40rem;
  aspect-ratio: 1;
  opacity: .05;
  pointer-events: none;
}

.team__head {
  position: relative;
  z-index: 10;
  margin-bottom: 3.5rem;
  text-align: center;
}

.team__lede {
  margin-inline: auto;
  margin-top: 1rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgb(2 31 65 / .7);
}

.team__rows {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.team__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.member { flex: 0 1 240px; }

.member__card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.5rem;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.member:hover .member__card { transform: translateY(-.25rem); }

.member__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1);
  transition: filter .5s cubic-bezier(.4, 0, .2, 1);
}
.member:hover .member__photo { filter: grayscale(0); }

.member__veil {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgb(2 31 65 / .92), transparent);
}

.member__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
}

.member__name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--paper);
}

.member__role {
  margin-top: .25rem;
  font-size: .75rem;
  line-height: 1.375;
  color: rgb(233 234 234 / .8);
}

.member__underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: .125rem;
  width: 0;
  background: var(--aqua);
  transition: width .25s cubic-bezier(.4, 0, .2, 1);
}
.member:hover .member__underline { width: 100%; }


/* ── 11. Contact ───────────────────────────────────────────────────────── */

.contact { overflow: hidden; }

.contact__wrap {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin-inline: auto;
}

.contact__head { text-align: center; }

.contact__lede {
  margin-inline: auto;
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--mist);
}

.contact__panel {
  margin-top: 3rem;
  border-radius: 1rem;
  border: 1px solid rgb(255 255 255 / .12);
  background: rgb(255 255 255 / .05);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
}

@media (min-width: 768px) { .contact__panel { padding: 3rem; } }

.contact__step { animation: step-in .2s ease-out both; }
.contact__step[data-step='audience'] { animation-name: step-in-left; }

.contact__step-label {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: .875rem;
  line-height: calc(1.25 / .875);
  font-weight: 600;
  color: rgb(255 255 255 / .7);
}

/* Audience picker -------------------------------------------------------- */

.audience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.audience__option {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgb(255 255 255 / .15);
  background: transparent;
  padding: 1.5rem;
  text-align: left;
  transition: transform .2s cubic-bezier(.4, 0, .2, 1),
              border-color .2s cubic-bezier(.4, 0, .2, 1),
              background-color .2s cubic-bezier(.4, 0, .2, 1);
}
.audience__option:hover {
  transform: translateY(-2px);
  border-color: var(--aqua);
}
.audience__option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--aqua);
}
.audience__option.is-selected {
  border-color: var(--aqua);
  background: rgb(9 187 201 / .1);
}

.audience__check {
  position: absolute;
  right: .75rem;
  top: .75rem;
  display: none;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--aqua);
  color: var(--ink);
}
.audience__check svg { width: .875rem; height: .875rem; }
.audience__option.is-selected .audience__check { display: flex; }

.audience__icon {
  display: inline-block;
  color: var(--aqua);
  animation: bob-sm var(--dur) ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

.audience__label {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
}

/* Chip summarising the chosen audience ----------------------------------- */

.chip {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 9999px;
  border: 1px solid var(--aqua);
  background: rgb(9 187 201 / .1);
  padding: .5rem 1rem;
  font-size: .875rem;
  line-height: calc(1.25 / .875);
  font-weight: 500;
  color: var(--paper);
}

.chip__icon { display: inline-flex; color: var(--aqua); }
.chip__icon svg { width: 1rem; height: 1rem; }

.chip__clear {
  margin-left: .25rem;
  border-radius: 9999px;
  padding: .125rem;
  color: rgb(255 255 255 / .7);
  transition: background-color .15s cubic-bezier(.4, 0, .2, 1),
              color .15s cubic-bezier(.4, 0, .2, 1);
}
.chip__clear:hover {
  background: rgb(9 187 201 / .2);
  color: var(--paper);
}

/* Fields ----------------------------------------------------------------- */

.fields {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: span 2; }
}

.field { display: block; }

.field__label {
  margin-bottom: .375rem;
  display: block;
  font-size: .875rem;
  line-height: calc(1.25 / .875);
  font-weight: 500;
  color: rgb(255 255 255 / .8);
}

.field__input {
  width: 100%;
  border-radius: .75rem;
  border: 1px solid rgb(255 255 255 / .2);
  background: transparent;
  padding: .75rem 1rem;
  color: var(--paper);
  transition: border-color .15s cubic-bezier(.4, 0, .2, 1),
              box-shadow .15s cubic-bezier(.4, 0, .2, 1);
}
.field__input::placeholder { color: rgb(255 255 255 / .4); }
.field__input:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 1px var(--aqua);
}

.field__error {
  margin-top: .375rem;
  display: block;
  font-size: .875rem;
  line-height: calc(1.25 / .875);
  color: var(--form-error);
}
.field__error--center { margin-top: 1rem; text-align: center; }

.contact__submit {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}

@media (min-width: 640px) {
  .contact__submit { flex-direction: row; align-items: center; }
}

.btn--submit {
  width: 100%;
  padding-inline: 2rem;
  font-weight: 700;
}
.btn--submit:disabled { opacity: .6; }

@media (min-width: 640px) { .btn--submit { width: auto; } }

/* Confirmation ----------------------------------------------------------- */

.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 2.5rem;
  text-align: center;
  animation: thanks-in .4s ease-out both;
}

.thanks__badge {
  display: flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgb(9 187 201 / .1);
  color: var(--aqua);
}

.thanks__tick {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: tick-draw .5s ease-out .1s forwards;
}

.thanks__title {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  line-height: calc(2 / 1.5);
  font-weight: 700;
  color: var(--paper);
}

.thanks__line {
  margin-top: .75rem;
  max-width: 28rem;
  color: rgb(255 255 255 / .7);
}

.thanks__again {
  margin-top: 2rem;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / .3);
  padding: .625rem 1.5rem;
  font-size: .875rem;
  line-height: calc(1.25 / .875);
  font-weight: 600;
  color: var(--paper);
  transition: background-color .15s cubic-bezier(.4, 0, .2, 1),
              color .15s cubic-bezier(.4, 0, .2, 1);
}
.thanks__again:hover { background: var(--paper); color: var(--ink); }


/* ── 12. Footer ────────────────────────────────────────────────────────── */

.footer {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding-block: 4rem;
}

.footer__arch {
  position: absolute;
  inset: 0;
  opacity: .03;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 10;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer__brand   { grid-column: span 5; }
  .footer__nav     { grid-column: span 3; }
  .footer__contact { grid-column: span 4; }
}

.footer__logo {
  display: inline-block;
  height: 2.5rem;
  width: auto;
}
.footer__logo img { height: 100%; width: auto; object-fit: contain; }

.footer__blurb {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: .875rem;
  line-height: 1.625;
  color: rgb(2 31 65 / .7);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  color: rgb(2 31 65 / .7);
}

.footer__list a { transition: color .15s cubic-bezier(.4, 0, .2, 1); }
.footer__list a:hover { color: var(--aqua); }

.footer__social {
  display: inline-flex;
  color: var(--aqua);
  transition: transform .15s cubic-bezier(.4, 0, .2, 1);
}
.footer__social:hover { transform: translateY(-2px); }

.footer__divider {
  margin-block: 2.5rem;
  height: 1px;
  width: 100%;
  background: rgb(2 31 65 / .1);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  font-size: .75rem;
  line-height: calc(1 / .75);
  color: rgb(2 31 65 / .5);
}
.footer__legal a { transition: color .15s cubic-bezier(.4, 0, .2, 1); }
.footer__legal a:hover { color: var(--aqua); }

@media (min-width: 768px) {
  .footer__legal { flex-direction: row; align-items: center; }
}


/* ── 13. Motion ────────────────────────────────────────────────────────── */

/* Scroll reveals. js/main.js adds .is-in once the block enters the viewport;
   --y and --t vary the travel and duration, --d the stagger. */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--y, 16px));
  transition: opacity var(--t, .5s) ease-out var(--d, 0s),
              transform var(--t, .5s) ease-out var(--d, 0s);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.sector,
.member { --y: 24px; }
.member { --t: .4s; }
.partners__eyebrow { --y: 8px; --t: .4s; }

/* Hero copy animates on load rather than on scroll. */
.reveal-up { animation: reveal-up .4s var(--ease-out-quint) var(--d, 0s) both; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }

@keyframes arch-breathe {
  0%, 100% { opacity: .04; }
  50%      { opacity: .07; }
}

@keyframes wire-draw {
  from { stroke-dasharray: 0 1; }
  to   { stroke-dasharray: 1 1; }
}

@keyframes node-pulse {
  0%, 100% { opacity: .2; }
  50%      { opacity: .55; }
}

@keyframes photo-glow {
  0%, 100% { opacity: .72; }
  50%      { opacity: .88; }
}

@keyframes photo-drift {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-16px); }
}

@keyframes photo-breathe {
  0%, 100% { transform: scale(1.04); }
  50%      { transform: scale(1.08); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

@keyframes bob-sm {
  from { transform: translateY(0); }
  to   { transform: translateY(-2px); }
}

@keyframes ring-draw {
  from { stroke-dasharray: 0 1; }
  to   { stroke-dasharray: 1 1; }
}

@keyframes ring-march {
  from { stroke-dasharray: 0.014635 0.014635; stroke-dashoffset: 0; }
  to   { stroke-dasharray: 0.014635 0.014635; stroke-dashoffset: -0.914684; }
}

@keyframes orbit {
  from { offset-distance: 0%; }
  to   { offset-distance: 100%; }
}

@keyframes center-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}

@keyframes arrows-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spark {
  0%, 100% { opacity: .3; transform: translate(0, 0); }
  50%      { opacity: .9; transform: translate(var(--dx), -52px); }
}

@keyframes marquee {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@keyframes step-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes step-in-left {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes thanks-in {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: none; }
}

@keyframes tick-draw {
  to { stroke-dashoffset: 0; }
}


/* ── 14. Larger viewports ──────────────────────────────────────────────── */

@media (min-width: 768px) {
  .section        { padding-block: 8rem; }
  .partners       { padding-block: 5rem; }
  .footer         { padding-block: 5rem; }
  .section__title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .section__title { font-size: 3rem; line-height: 1.05; }
}


/* ── 15. Reduced motion ────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-reveal],
  .reveal-up,
  .hero__scroll-cue { opacity: 1; transform: none; }

  .hero__nodes circle { opacity: .35; }
  .wheel__node        { opacity: 1; }
  .wheel__center      { opacity: 1; }
  .wheel__ring        { stroke-dasharray: 0.014635 0.014635; }
  .hero__wire         { stroke-dasharray: 1 1; }
  .sectors__sparks span { opacity: .35; }
}
