/* Orbital Arc — shared styles (homepage + future pages) */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap");

@font-face {
  font-family: Helios;
  src:
    local("Helios"),
    local("Helios Regular"),
    local("Helios-Regular"),
    url("assets/fonts/Helios.woff2") format("woff2"),
    url("assets/fonts/Helios.woff") format("woff"),
    url("assets/fonts/HeliosRegular.woff2") format("woff2"),
    url("assets/fonts/HeliosRegular.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-helios: Helios, "Segoe UI", system-ui, -apple-system, sans-serif;
  --bg-deep: #070a12;
  --bg-panel: #0f1422;
  --bg-elevated: #151c2e;
  --text: #e8ecf4;
  --text-muted: #9aa3b8;
  --accent: #3dd6e0;
  --accent-dim: #2a9aa3;
  --logo-orange: #c1502e;
  --logo-gray: #404040;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

html.intro-active,
body.intro-active {
  overflow: hidden;
  height: 100%;
}

body.intro-done {
  overflow: auto;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(61, 214, 224, 0.12), transparent),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(61, 214, 224, 0.04), transparent);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Hero masthead: orbit canvas + persistent brand lockup */
.hero--masthead {
  position: relative;
  min-height: min(100vh, 960px);
  padding: clamp(3.5rem, 10vh, 5.5rem) 0 clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
}

.hero-orbit-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-deep);
}

.hero-orbit-layer--off {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.65s ease,
    visibility 0s linear 0.7s;
  pointer-events: none;
}

#intro-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-masthead-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 0.08in;
  padding-top: calc(min(46vh, 520px) + 1.25in);
  padding-bottom: clamp(1.25rem, 3.5vh, 2rem);
}

.hero-brand-lockup {
  flex-shrink: 0;
  text-align: center;
  width: 100%;
}

.hero-brand-flat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.75s ease 0.12s,
    transform 0.75s ease 0.12s;
  pointer-events: none;
}

.hero-brand-flat.hero-brand-flat--visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-wordmark {
  margin: 0;
  font-family: var(--font-helios);
  font-size: clamp(4.375rem, 13vw, 6.625rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--logo-orange);
}

/*
 * ORBIT / PLANET–MOON FRAMING (LOCKED)
 * The hero masthead is a flex column. `.hero-copy--orbit-spacer` must keep the same
 * box metrics as the old visible `.hero-copy--deferred` block so the orbit canvas
 * framing is unchanged. Do not remove or shrink the spacer without replacing its
 * layout height. Real headline copy lives in `#hero-pitch` only.
 */

/* Tagline under wordmark: no layout impact on orbit layer; transparent over animation */
.hero-eyebrow-lockup {
  margin: 0.45rem 0 0;
  padding: 0;
  max-width: 22rem;
  font-size: clamp(1.3rem, 2.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.25;
  text-align: center;
  background: transparent;
  text-shadow: 0 1px 12px rgba(7, 10, 18, 0.85);
}

/* Layout-only duplicate of former hero copy; keeps flex column height for orbit framing */
.hero-copy--orbit-spacer {
  opacity: 0;
  max-width: 42rem;
  width: 100%;
  text-align: center;
  margin-top: -0.05in;
  position: relative;
  top: clamp(11rem, 34vh, 18rem);
  pointer-events: none;
  user-select: none;
}

.hero-orbit-spacer__title {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  font-family: "Montserrat", "Avenir Next", "Gotham", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.hero-orbit-spacer__lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-orbit-spacer__actions {
  justify-content: center;
}

/* Screen-space lens flare at projected sun (driven from intro.js) */
.intro-sun-flare {
  position: absolute;
  left: 0;
  top: 0;
  width: min(72vw, 520px);
  height: min(72vw, 520px);
  margin: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle, rgba(255, 252, 238, 0.95) 0%, rgba(255, 230, 190, 0.4) 12%, transparent 42%),
    radial-gradient(circle at 28% 32%, rgba(255, 255, 255, 0.55) 0%, transparent 22%),
    radial-gradient(circle at 72% 58%, rgba(200, 230, 255, 0.35) 0%, transparent 18%);
  filter: blur(0.6px);
}

.intro-sun-flare.intro-sun-flare--burst {
  animation: intro-sun-flare-burst 0.65s ease-out forwards;
}

@keyframes intro-sun-flare-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45);
    filter: blur(6px);
  }
  38% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0.6px);
  }
}

.intro-flare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 58% 38%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(105deg, transparent 42%, rgba(200, 235, 255, 0) 48%, rgba(200, 235, 255, 0.12) 50%, rgba(200, 235, 255, 0) 52%, transparent 58%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.08s ease;
}

.intro-flare.intro-flare--active {
  opacity: 1;
  animation: intro-flare-pulse 0.38s ease-out;
}

/* Full-frame white flash at logo handoff */
.intro-flash-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #f4f8ff;
  opacity: 0;
  mix-blend-mode: normal;
}

.intro-flash-burst--play {
  animation: intro-flash-burst-anim 0.55s ease-out forwards;
}

@keyframes intro-flash-burst-anim {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
  }
}

@keyframes intro-flare-pulse {
  0% {
    opacity: 0;
    filter: brightness(0.4);
  }
  35% {
    opacity: 1;
    filter: brightness(1.35);
  }
  100% {
    opacity: 0.15;
    filter: brightness(0.85);
  }
}

.logo-text-only .logo-wordmark {
  font-family: var(--font-helios);
}

.site-header.intro-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  transition: opacity 0.55s ease 0.15s, visibility 0s linear 0.6s;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.logo-wordmark {
  font-family: var(--font-helios);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--logo-orange);
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.nav-main a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-main a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #061016;
}

.btn-primary:hover {
  background: #5ee8f0;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
  text-decoration: none;
}

.contact-card {
  width: 100%;
  max-width: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.contact-field--full {
  width: 100%;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.contact-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.contact-field input,
.contact-field textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  width: 100%;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.contact-field input:focus-visible,
.contact-field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent-dim);
}

.contact-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form-status {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-form-status--success {
  color: var(--accent-dim);
}

.contact-form-status--error {
  color: #f0a8a8;
}

.contact-form-footnote {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.contact-form-footnote a {
  color: var(--accent-dim);
}

.contact-form-footnote a:hover {
  color: var(--accent);
}

.contact-form-footnote code {
  font-size: 0.85em;
  color: var(--accent-dim);
}

.hero:not(.hero--masthead) {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.eyebrow {
  font-size: clamp(1.3rem, 2.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.65rem;
}

.section-hero-pitch {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-hero-pitch .hero-pitch-inner {
  max-width: 42rem;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.section-hero-pitch .hero-lead {
  margin-inline: auto;
}

.section-hero-pitch .hero-actions {
  justify-content: center;
}

.section-hero-pitch h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.8rem;
  letter-spacing: 0.01em;
  font-family: "Montserrat", "Avenir Next", "Gotham", "Segoe UI", system-ui, -apple-system, sans-serif;
  text-transform: none;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--bg-panel), var(--bg-elevated));
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

@media (min-width: 900px) {
  /* Overlay wipe: hero + headline stack, then approach dock slides up to cover headline. */
  #hero.hero--masthead {
    position: sticky;
    top: 4.2rem;
    z-index: 1;
  }

  main > .section#hero-pitch {
    position: sticky;
    top: 4.2rem;
    min-height: calc(100vh - 4.2rem);
    isolation: isolate;
    z-index: 2;
  }

  main > .section#hero-pitch::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--bg-deep);
    z-index: -1;
  }

  main > .section.section-approach-dock {
    position: relative;
    z-index: 3;
    isolation: isolate;
  }

  main > .section.section-approach-dock::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--bg-deep);
    z-index: -1;
  }

  .section-approach-dock__scroll {
    width: 100%;
  }

  .section-approach-dock__scroll #team,
  .section-approach-dock__scroll #news,
  .section-approach-dock__scroll #contact,
  .section-approach-dock__scroll #partners {
    scroll-margin-top: 0.75rem;
  }

  #team {
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
  }
}

/* Approach dock: outer shell has no block padding; inner .section blocks keep rhythm. */
.section-approach-dock.section {
  padding-block: 0;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}

.card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.offer-layout {
  display: grid;
  gap: 1.25rem;
}

.offer-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.offer-card {
  padding: 0;
  min-height: 11.5rem;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.offer-card:hover {
  border-color: rgba(61, 214, 224, 0.35);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px rgba(61, 214, 224, 0.12);
}

.offer-card:hover .offer-card__summary {
  border-color: rgba(61, 214, 224, 0.55);
  background: linear-gradient(
    165deg,
    rgba(61, 214, 224, 0.14) 0%,
    rgba(61, 214, 224, 0.04) 45%,
    transparent 75%
  );
}

.offer-card__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.offer-card__summary {
  list-style: none;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.75rem 1.25rem 1.35rem;
  min-height: 11.5rem;
  cursor: pointer;
  user-select: none;
  position: relative;
  border-radius: calc(var(--radius) - 2px);
  border: 1px dashed rgba(61, 214, 224, 0.4);
  margin: 0.35rem;
  background: linear-gradient(
    165deg,
    rgba(61, 214, 224, 0.09) 0%,
    rgba(61, 214, 224, 0.02) 42%,
    transparent 72%
  );
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.offer-card__summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.2rem;
  border-right: 2px solid var(--accent-dim);
  border-bottom: 2px solid var(--accent-dim);
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.18s ease;
  opacity: 0.9;
  pointer-events: none;
}

.offer-card__details[open] .offer-card__summary::after {
  margin-top: 0.1rem;
  transform: rotate(225deg);
}

.offer-card__summary::-webkit-details-marker {
  display: none;
}

.offer-card__summary::marker {
  content: "";
}

.offer-card__summary:focus {
  outline: none;
}

.offer-card__summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.offer-card .offer-card__summary h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  text-align: center;
  max-width: 24ch;
}

.offer-card__details[open] .offer-card__summary {
  flex: 0 0 auto;
  min-height: 0;
  padding: 1.1rem 2.75rem 1.1rem 1.35rem;
  align-items: center;
  border-style: solid;
  border-color: rgba(61, 214, 224, 0.45);
  box-shadow: inset 0 0 0 1px rgba(61, 214, 224, 0.08);
}

.offer-card__body {
  padding: 1.35rem;
  margin: 0 0.35rem 0.35rem;
  border-radius: 0 0 calc(var(--radius) - 4px) calc(var(--radius) - 4px);
  border: 1px solid var(--border);
  border-top: 1px dashed rgba(61, 214, 224, 0.22);
  background: rgba(0, 0, 0, 0.12);
}

.offer-card__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: left;
  line-height: 1.55;
}

.offer-specs-card {
  min-height: 4rem;
}

.offer-specs-card .offer-card__summary {
  min-height: 4rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  padding-right: 2.75rem;
}

.offer-specs-card .offer-card__summary h3 {
  max-width: none;
}


.offer-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.offer-specs-table th,
.offer-specs-table td {
  padding: 0.52rem 0;
  vertical-align: top;
  border-top: 1px solid var(--border);
  text-align: left;
  font-size: 0.92rem;
}

.offer-specs-table tr:first-child th,
.offer-specs-table tr:first-child td {
  border-top: 0;
}

.offer-specs-table th {
  width: 34%;
  color: var(--text);
  font-weight: 600;
  padding-right: 1rem;
}

.offer-specs-table td {
  color: var(--text-muted);
  line-height: 1.45;
}

.offer-specs-disclaimer {
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.offer-image-slot {
  min-height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--bg-panel);
  border-style: dashed;
}

.offer-render-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  min-height: 260px;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) - 2px);
  background: var(--bg-panel);
  border: 1px solid var(--border);
}

.offer-image-slot .offer-interactive-link {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.82rem;
}

.offer-image-slot .offer-interactive-link a {
  color: var(--accent-dim);
}

.offer-image-slot .offer-interactive-link .btn {
  color: #061016;
}

.offer-image-slot .offer-interactive-link .btn:hover {
  color: #061016;
}

.offer-image-slot .offer-interactive-link a:hover {
  color: var(--accent);
}

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

  .offer-specs-card {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1040px) {
  .offer-layout {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    align-items: stretch;
  }
}

.team-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.team-card .avatar {
  width: 123px;
  height: 123px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid var(--border);
  object-fit: cover;
  object-position: center center;
  background: var(--bg-elevated);
}

.team-card .name {
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.team-card .team-linkedin {
  margin: 0 0 0.5rem;
  line-height: 0;
}

/* Round LinkedIn brand button (white glyph on LinkedIn blue) */
.team-card .team-linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0a66c2;
  color: #fff;
  text-decoration: none;
  border: none;
  vertical-align: middle;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.team-card .team-linkedin-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 2px 10px rgba(10, 102, 194, 0.45);
}

.team-card .team-linkedin-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.team-card .team-linkedin-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.team-card .bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.team-partners {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border);
}

.partners-banner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: center;
  padding: 1.35rem;
}

.partner-logo {
  min-height: 6.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.1rem;
}

.partner-logo img {
  height: 96px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.partner-logo__capital-factory {
  background: #ffffff;
  padding: 0.42rem 0.7rem;
  border-radius: 6px;
}

@media (min-width: 860px) {
  .partners-banner {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ~3 cards visible; scroll (wheel / bar / trackpad) for the rest */
.news-scroll-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: -0.35rem 0 0.5rem;
  text-align: right;
  opacity: 0.85;
}

.news-scroll-region {
  position: relative;
  max-height: min(24rem, 68vh);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(61, 214, 224, 0.45) var(--bg-panel);
  padding-right: 0.25rem;
  margin-right: -0.25rem;
  border-radius: var(--radius);
  outline: none;
}

.news-scroll-region:focus-visible {
  box-shadow: 0 0 0 2px var(--bg-elevated), 0 0 0 4px var(--accent);
}

.news-scroll-region::-webkit-scrollbar {
  width: 10px;
}

.news-scroll-region::-webkit-scrollbar-track {
  background: var(--bg-panel);
  border-radius: 6px;
}

.news-scroll-region::-webkit-scrollbar-thumb {
  background: rgba(61, 214, 224, 0.45);
  border-radius: 6px;
}

.news-scroll-region::-webkit-scrollbar-thumb:hover {
  background: rgba(61, 214, 224, 0.65);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 0.35rem;
}

.news-item {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-panel);
}

@media (min-width: 640px) {
  .news-item {
    grid-template-columns: 7rem 1fr;
    align-items: start;
  }
}

.news-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-dim);
  white-space: nowrap;
}

.news-item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.news-item h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.news-item h3 a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.news-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.site-footer .inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}
