/* iGame Invest — institutional design system
   Typography: Cormorant Garamond (headings), Inter (body) */

:root {
  --gold: #c9be36;
  --blue: #1b89b0;
  --turco: #2c938a;
  --green: #66a463;
  --ink: #0f1419;
  --ink-muted: #3d4654;
  --line: rgba(15, 20, 25, 0.09);
  --surface: #f6f8f9;
  --surface-warm: #fbfaf6;
  --surface-blue: rgba(27, 137, 176, 0.045);
  --surface-turco: rgba(44, 147, 138, 0.06);
  --white: #ffffff;
  --reveal-distance: 1.75rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 6rem; /* synced to actual .site-header height in main.js for mobile nav offset */
  --container: min(74rem, calc(100% - 2rem));
  --container-narrow: min(56rem, calc(100% - 2rem));
  --container-hero: min(80rem, calc(100% - 2.5rem));
  /* Body copy scale (~+1.25pt vs prior baseline) */
  --text-body: 1.0625rem;
  --text-body-lg: 1.125rem;
  --text-lede: clamp(1.125rem, 1.9vw, 1.3125rem);
  --text-lede-lg: 1.3125rem;
  --text-lede-xl: 1.375rem;
  --text-hero-sub: clamp(1.1875rem, 1.55vw, 1.4375rem);
  --text-hero-sub-lg: 1.5rem;
  --text-card: 1rem;
  --text-card-lg: 1.125rem;
  --text-support: 1.0625rem;
  /* Wordmark logo scaling — footer = reference; navbar uses same logic × --logo-nav-scale */
  --logo-img-min: 4rem;
  --logo-img-pref: 10vw;
  --logo-img-max: 5.75rem;
  --logo-nav-scale: 0.88;
  /* Stacked navbar lockup (igameinvest_transparent.png): height-led scale */
  --logo-nav-lockup-min: 5.15rem;
  --logo-nav-lockup-pref: 13vw;
  --logo-nav-lockup-max: 7.35rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-reveal,
  .hero__media,
  .hero__content > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .nav a::after {
    transition: none;
    transform: scaleX(0);
  }

  .nav a:hover::after,
  .nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink-muted);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
}

/* Desktop: slightly larger body copy for readability */
@media (min-width: 1024px) {
  body {
    font-size: var(--text-body-lg);
    line-height: 1.7;
  }

  .lede {
    font-size: var(--text-lede-lg);
  }

  .lede-large,
  .about-block .lede-large {
    font-size: var(--text-lede-xl);
  }

  .page-hero .lede {
    font-size: var(--text-lede-lg);
  }

  .hero__sub {
    font-size: var(--text-hero-sub-lg);
  }

  .card p,
  .area-card p,
  .timeline__item p,
  .portfolio-spotlight__content p,
  .prose p,
  .article-block p {
    font-size: var(--text-card-lg);
  }

  .footer-brand p {
    font-size: var(--text-card-lg);
  }

  .footer-col li {
    font-size: 0.9375rem;
  }

  .simple-list li {
    font-size: var(--text-card-lg);
  }

  .cta-band p {
    font-size: 1.25rem;
  }
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--turco);
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.75rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* —— Decorative atmosphere (subtle, institutional) —— */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-bg__orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: radial-gradient(
    circle at 30% 30%,
    var(--gold) 0%,
    transparent 65%
  );
}

.page-bg__orb--1 {
  width: 42rem;
  height: 42rem;
  top: -12rem;
  right: -8rem;
}

.page-bg__orb--2 {
  width: 28rem;
  height: 28rem;
  bottom: 15%;
  left: -10rem;
  opacity: 0.05;
  background: radial-gradient(circle at 60% 40%, var(--blue) 0%, transparent 70%);
}

.page-bg__ring {
  position: absolute;
  border: 1px solid rgba(201, 190, 54, 0.12);
  border-radius: 50%;
  width: 36rem;
  height: 36rem;
  bottom: -18rem;
  right: 8%;
  opacity: 0.5;
}

.page-bg__ring--sm {
  width: 18rem;
  height: 18rem;
  top: 40%;
  left: -6rem;
  border-color: rgba(27, 137, 176, 0.1);
}

/* —— Shell —— */
.site-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  width: var(--container-narrow);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

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

.kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--turco);
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(201, 190, 54, 0.55);
}

.section-title {
  margin: 0 0 1.25rem;
  max-width: 22ch;
}

.section-title--strategic {
  color: var(--blue);
  max-width: 28ch;
}

.section--warm {
  background: linear-gradient(
    180deg,
    var(--surface-warm) 0%,
    var(--white) 55%,
    var(--surface) 100%
  );
}

.section--band-blue {
  background: linear-gradient(
    180deg,
    var(--surface-blue) 0%,
    var(--white) 38%,
    var(--surface-turco) 100%
  );
  border-top: 1px solid rgba(27, 137, 176, 0.07);
  border-bottom: 1px solid rgba(44, 147, 138, 0.06);
}

.section--mint {
  background: linear-gradient(
    180deg,
    rgba(102, 164, 99, 0.04) 0%,
    var(--surface) 50%,
    var(--white) 100%
  );
  border-top: 1px solid rgba(102, 164, 99, 0.08);
}

.lede {
  font-size: var(--text-lede);
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 38rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(27, 137, 176, 0.09);
  transition: box-shadow 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(15, 20, 25, 0.05);
}

.header-inner {
  padding-block: clamp(0.75rem, 1.65vw, 1.25rem);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  width: var(--container);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.2rem 0.4rem 0.2rem 0;
  margin: 0;
  flex-shrink: 0;
}

.brand:hover {
  color: inherit;
}

/* Navbar lockup (transparent PNG): height only, width:auto preserves aspect — no opacity/filter/blend */
.brand__logo {
  display: block;
  width: auto;
  height: clamp(
    var(--logo-nav-lockup-min),
    var(--logo-nav-lockup-pref),
    var(--logo-nav-lockup-max)
  );
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.brand__text {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand__text span:first-child {
  color: var(--blue);
}

.brand__text span:last-child {
  font-weight: 500;
  color: var(--gold);
  text-transform: lowercase;
  margin-left: 0.15em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(27, 137, 176, 0.12);
  background: var(--surface-warm);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  column-gap: clamp(0.45rem, 1.1vw, 1.15rem);
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(15, 20, 25, 0.72);
  text-decoration: none;
  padding: 0.4rem 0;
  position: relative;
  border-bottom: none;
  transition: color 0.3s var(--ease-out);
  flex-shrink: 0;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 190, 54, 0.35));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
  opacity: 0.85;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--gold);
}

@media (min-width: 1200px) and (max-width: 1380px) {
  .nav {
    column-gap: 0.42rem;
  }

  .nav a {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1199px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 99;
    max-height: calc(100dvh - var(--header-h) - 0.5rem);
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(251, 250, 246, 0.98);
    border-bottom: 1px solid rgba(27, 137, 176, 0.1);
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 0.75rem 1.35rem 1.35rem;
    column-gap: 0;
    row-gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), opacity 0.3s, visibility 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink-muted);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    white-space: normal;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a[aria-current="page"] {
    color: var(--ink);
    border-bottom-color: rgba(201, 190, 54, 0.35);
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* —— Footer —— */
.site-footer {
  background: linear-gradient(180deg, #0a0d11 0%, var(--ink) 100%);
  color: rgba(255, 255, 255, 0.75);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  margin-top: auto;
  border-top: 1px solid rgba(201, 190, 54, 0.15);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

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

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  max-width: 20rem;
}

.footer-social {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 0;
  transition: color 0.25s var(--ease-out);
}

.footer-social__link:hover {
  color: var(--gold);
  background: transparent;
}

.footer-social__link svg,
.footer-social__icon {
  width: 1.125rem;
  height: 1.125rem;
  max-width: 1.125rem;
  max-height: 1.125rem;
  fill: currentColor;
  display: block;
  flex-shrink: 0;
}

.footer-logo {
  height: clamp(var(--logo-img-min), var(--logo-img-pref), var(--logo-img-max));
  width: auto;
  max-width: 100%;
  margin-bottom: 1rem;
  opacity: 0.98;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: lighten;
}

.footer-col h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* —— Page hero (inner pages) —— */
.page-hero {
  padding-block: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    165deg,
    var(--surface-warm) 0%,
    var(--surface-blue) 45%,
    var(--white) 100%
  );
}

.page-hero h1 {
  margin: 0 0 1rem;
}

.page-hero .lede {
  max-width: 40rem;
}

/* —— Homepage hero —— */
.hero {
  padding-block: clamp(3.75rem, 9vw, 6.5rem) 0;
  background: linear-gradient(
    180deg,
    var(--surface-warm) 0%,
    var(--white) 28%,
    var(--surface) 100%
  );
}

.hero__container {
  width: var(--container-hero);
}

.hero__content {
  max-width: min(46rem, 100%);
}

.hero__content > * {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.hero.is-visible .hero__content > * {
  opacity: 1;
  transform: none;
}

.hero.is-visible .hero__content > *:nth-child(1) {
  transition-delay: 0.05s;
}

.hero.is-visible .hero__content > *:nth-child(2) {
  transition-delay: 0.15s;
}

.hero.is-visible .hero__content > *:nth-child(3) {
  transition-delay: 0.25s;
}

.hero__title {
  margin: 0 0 clamp(1.35rem, 3vw, 2.25rem);
  font-size: clamp(2.85rem, calc(6.5vw + 1rem), 5.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: min(16em, 100%);
}

.hero__title-line1 {
  white-space: nowrap;
}

.hero__title-line2 {
  display: block;
  margin-top: 0.08em;
  position: relative;
  padding-bottom: 0.14em;
}

.hero__title-line2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(5rem, 18vw, 11rem);
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 190, 54, 0.15));
}

@media (max-width: 480px) {
  .hero__title-line1 {
    white-space: normal;
  }
}

.hero__sub {
  font-size: var(--text-hero-sub);
  line-height: 1.72;
  max-width: min(40rem, 100%);
  margin: 0;
  color: var(--ink-muted);
  font-weight: 400;
}

.hero__media {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(15, 20, 25, 0.1);
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1s var(--ease-out) 0.2s, transform 1s var(--ease-out) 0.2s;
}

.hero__media--full {
  width: 100%;
}

.hero.is-visible .hero__media {
  opacity: 1;
  transform: none;
}

.hero__media img {
  width: 100%;
  height: clamp(17rem, 48vw, 38rem);
  object-fit: cover;
  object-position: center 32%;
  display: block;
}

.hero__caption {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27, 137, 176, 0.65);
  margin-top: 1rem;
  margin-bottom: 0;
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
}

/* —— About strip —— */
.about-block {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.about-block .lede-large {
  font-size: var(--text-lede);
  line-height: 1.75;
  max-width: 46rem;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(44, 147, 138, 0.22);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 2px;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-left-color 0.35s var(--ease-out);
}

.card:hover {
  border-color: rgba(27, 137, 176, 0.22);
  border-left-color: rgba(201, 190, 54, 0.65);
  box-shadow: 0 22px 55px rgba(15, 20, 25, 0.07);
}

.card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}

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

/* —— Operator timeline —— */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid rgba(201, 190, 54, 0.45);
  margin: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 3px;
  margin-left: -1px;
  background: linear-gradient(
    180deg,
    var(--gold) 0%,
    rgba(201, 190, 54, 0.2) 100%
  );
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding-bottom: 2.25rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 5px);
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 190, 54, 0.12);
}

.timeline__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.timeline__item p {
  margin: 0;
  font-size: var(--text-support);
}

/* —— Areas grid (numbered) —— */
.areas-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
}

.area-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(27, 137, 176, 0.2);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.35s,
    border-left-color 0.35s var(--ease-out);
}

.area-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 137, 176, 0.04) 0%,
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}

.area-card:hover {
  border-color: rgba(44, 147, 138, 0.28);
  border-left-color: rgba(201, 190, 54, 0.55);
  box-shadow: 0 18px 45px rgba(15, 20, 25, 0.06);
  transform: translateY(-3px);
}

.area-card:hover::after {
  opacity: 1;
}

.area-card__num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.75rem;
  font-weight: 500;
  color: rgba(27, 137, 176, 0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.area-card h3 {
  margin: 0 0 0.65rem;
}

.area-card p {
  margin: 0;
  font-size: var(--text-card);
  position: relative;
  z-index: 1;
}

/* —— Insights list —— */
.insights-row {
  display: grid;
  gap: 1rem;
}

.insight-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s;
}

@media (max-width: 640px) {
  .insight-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.insight-item:first-child {
  border-top: 1px solid var(--line);
}

.insight-item:hover {
  background: linear-gradient(
    90deg,
    rgba(250, 251, 252, 0.9) 0%,
    transparent 40%
  );
}

.insight-item:hover h3 {
  color: var(--blue);
}

.insight-item__meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(61, 70, 84, 0.65);
  white-space: nowrap;
}

.insight-item h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin: 0;
  transition: color 0.25s;
}

.insight-item__arrow {
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1;
}

/* —— CTA band —— */
.section--paper {
  background: var(--white);
  border-top: 1px solid rgba(27, 137, 176, 0.06);
  border-bottom: 1px solid rgba(44, 147, 138, 0.06);
}

.cta-band {
  position: relative;
  background: linear-gradient(180deg, #5e9a5b 0%, var(--green) 45%, #558e52 100%);
  color: rgba(255, 255, 255, 0.94);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
  border-top: 1px solid rgba(201, 190, 54, 0.35);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 15% 30%,
      rgba(201, 190, 54, 0.12) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 90% 70%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--white);
  margin: 0 0 1rem;
  max-width: 18ch;
}

.cta-band p {
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1.85vw, 1.1875rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* —— Portfolio page banner —— */
.portfolio-hero-img {
  margin-top: 2rem;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(15, 20, 25, 0.08);
}

.portfolio-hero-img img {
  width: 100%;
  height: clamp(12rem, 32vw, 22rem);
  object-fit: cover;
  object-position: center 30%;
}

/* —— Portfolio: company spotlight (e.g. Bluejack Gaming) —— */
.portfolio-spotlight {
  border-top: 1px solid var(--line);
}

.portfolio-spotlight__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 768px) {
  .portfolio-spotlight__inner {
    grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 4.5rem);
  }
}

.portfolio-spotlight__logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
  transition: opacity 0.25s var(--ease-out);
}

.portfolio-spotlight__logo:hover {
  opacity: 0.88;
}

.portfolio-spotlight__logo img {
  width: 100%;
  max-width: 14rem;
  height: auto;
  object-fit: contain;
  display: block;
}

.portfolio-spotlight__title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}

.portfolio-spotlight__content p {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 52rem;
}

/* —— Forms —— */
.form-wrap {
  max-width: 36rem;
  margin-top: 2rem;
}

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

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

label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(27, 137, 176, 0.45);
  box-shadow: 0 0 0 3px rgba(27, 137, 176, 0.12);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  background: var(--ink);
  color: var(--white);
  transition: background 0.25s, transform 0.2s;
}

.btn:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* —— Insights articles —— */
.article-block {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.article-block--last {
  padding-bottom: 1rem;
  margin-bottom: 0;
  border-bottom: none;
}

.article-block h2 {
  max-width: 40rem;
  margin: 0 0 1rem;
}

.prose {
  max-width: 40rem;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

/* —— Stats / list —— */
.simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.simple-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--text-support);
}

.simple-list li:first-child {
  border-top: 1px solid var(--line);
}

/* —— Scroll reveal —— */
.js-reveal {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* stagger children */
.stagger > .js-reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger > .js-reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.stagger > .js-reveal:nth-child(3) {
  transition-delay: 0.19s;
}

.stagger > .js-reveal:nth-child(4) {
  transition-delay: 0.26s;
}

.stagger > .js-reveal:nth-child(5) {
  transition-delay: 0.33s;
}

.stagger > .js-reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* utility */
.mt-0 {
  margin-top: 0;
}
.mb-lg {
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

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