/* Shared responsive rules. Keep the approved desktop artwork and content. */
:root {
  --page-gutter: clamp(20px, 3vw, 48px);
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
[id] { scroll-margin-top: 32px; }
img { height: auto; }
main, section, article, .core-copy, .v2-copy { min-width: 0; }
h1, h2, h3, p, .core-body, .v2-intro { overflow-wrap: break-word; }
.v2-title, .originators-intro .v2-title { max-width: 100%; }
.v2-button, .v2-text-link { max-width: 100%; white-space: normal; text-align: center; }
.v2-button img, .v2-text-link img { flex: none; }
.v2-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.v2-search, .v2-apply, .v2-menu-toggle, .v2-close, .v2-search-close { min-height: 44px; }
.v2-footer__legal a { display: inline-block; padding-block: 10px; }
.v2-footer__legal { overflow-wrap: anywhere; }
.invite-field, .invite-form, .invite-fields, .core-split > *, .v2-split > * { min-width: 0; }
.invite-field input, .invite-field select, .v2-search-form input { min-width: 0; font-size: 16px; }
.invite-field select { text-overflow: ellipsis; padding-right: 30px; }
.invite-field label { font-size: 12px; }
.invite-consent, .invite-status { overflow-wrap: anywhere; }
.core-shell .core-split { width: 100%; }

/* Reading measure. Where a two-column section stacks, or a centred block sits
   on a wide screen, prose would otherwise run to 130-150 characters a line —
   worst on the legal pages and the pitch and case-study copy. These caps hold
   the measure without moving any of the artwork or headings. */
.core-body,
.v2-copy > p,
.v2-intro,
.core-card p,
.v2-info-card p,
.invite-step p,
.invite-next__card p,
.about-mission__badge p,
.platform-pitch__copy,
.v2-accordion details p,
.legal-article p,
.legal-article h4 { max-width: 74ch; }
.invite-form > p,
.invite-consent { max-width: 62ch; margin-inline: auto; }
/* The status line sets its margin with !important, so the capped width needs
   the same weight to stay centred under the form it belongs to. */
.invite-status { margin-inline: auto !important; }
/* Hero ledes are centred, so they can carry a slightly longer line. */
.v2-hero p,
.media-page .v2-hero p,
.home-hero p,
.about-hero p,
.invite-hero p,
.platform-hero p { max-width: min(100%, 82ch); }
/* Sections that centre their copy keep it centred at the narrower measure. */
.about-vision .core-body,
.about-doors .core-body,
.home-alliance .core-body,
.core-center .core-body { margin-inline: auto; }
.platform-orbit { width: min(920px, 100%); height: auto; aspect-ratio: 92 / 82; max-width: 100%; }
.platform-orbit img { width: 89%; max-width: 820px; }
.investors-hive__image { width: 100%; max-width: 100%; margin-inline: 0; }

/* Both overlays stay usable in landscape and above an on-screen keyboard. */
.v2-mobile-nav {
  height: 100%; height: 100dvh;
  overflow-y: auto; overscroll-behavior: contain;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.v2-mobile-nav__top, .v2-mobile-nav__footer { flex-shrink: 0; gap: 20px; }
.v2-mobile-nav__links { gap: 10px; padding: 28px 0; }
.v2-mobile-nav__links a { display: flex; align-items: center; min-height: 44px; font-size: clamp(28px, 5vh, 38px); }
.v2-mobile-nav__footer .v2-search, .v2-mobile-nav__footer .v2-apply { min-height: 48px; }
.v2-search-modal {
  height: 100%; height: 100dvh;
  overflow-y: auto; overscroll-behavior: contain;
  padding: max(24px, 5dvh) max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.v2-search-panel { margin-block: auto; }
.v2-search-close { top: 12px; }
.v2-search-panel h2 { margin-right: 72px; }
.v2-search-form input, .v2-search-form button { min-height: 48px; }
.v2-search-results a { overflow-wrap: anywhere; }

/* Native horizontal scrolling provides touch, trackpad and keyboard access. */
.v2-carousel__track {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  scrollbar-width: thin; scrollbar-color: #646080 #111331;
  padding-bottom: 12px;
}
.v2-carousel__slide { scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; }
.v2-carousel__dots { gap: 4px; margin-top: 12px; }
.v2-carousel__dot, .v2-carousel__dot.is-active {
  display: grid; place-items: center; width: 44px; height: 44px; background: transparent;
}
.v2-carousel__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #858197; }
.v2-carousel__dot.is-active::before { background: var(--gold); }

@media (min-width: 901px) and (max-width: 1280px) {
  .core-split, .v2-split, .about-mission .core-split, .platform-nova .core-split { gap: 48px; }
  .about-mission .core-split, .invite-apply .core-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .core-heading { font-size: clamp(44px, 4.6vw, 60px); }
  .platform-pitch__head { gap: 48px; }
  .platform-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-exchange .core-card { padding: 38px 26px; }
  .invite-form { padding: 40px 24px; }
}

@media (max-width: 1280px) {
  .about-callouts { position: static; width: 100%; margin-top: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .about-callout { padding: 16px; overflow-wrap: anywhere; }
}

/* Switch navigation before the links collide with the logo and actions. */
@media (max-width: 1100px) {
  .v2-nav, .v2-actions .v2-search { display: none; }
  .v2-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .v2-actions .v2-apply { display: inline-flex; }
  .v2-header { height: 96px; }
  .v2-header__inner { gap: 20px; }
  .v2-container { width: min(calc(100% - var(--page-gutter) * 2), var(--content)); }

  .core-section, .v2-section, .media-bio, .legal-content {
    min-height: 0 !important;
    padding: clamp(64px, 9vw, 104px) var(--page-gutter);
  }
  .core-shell, .core-split, .v2-split, .v2-card-grid, .v2-accordion,
  .allies-carousel-layout, .v2-invite-card, .about-invite-card, .legal-article,
  .investors-hive .v2-split, .core-page .v2-footer__inner, .v2-footer__inner {
    width: 100%; max-width: var(--core-width, var(--content));
  }
  .v2-section > .v2-container { width: 100%; }
  .core-split, .v2-split, .home-problem .core-split, .home-founders .core-split,
  .about-mission .core-split, .invite-apply .core-split, .platform-nova .core-split,
  .platform-pitch__head, .invite-next__head, .allies-carousel-layout, .investors-hive .v2-split {
    grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 6vw, 60px);
  }
  .core-copy, .v2-copy { max-width: 720px; }
  .core-image-frame, .v2-image-frame, .platform-nova__screen { width: min(680px, 100%); margin-inline: auto; }
  .core-heading, .home-problem .core-heading { font-size: clamp(36px, 5.6vw, 60px); }
  .v2-title, .originators-intro .v2-title, .investors-access .v2-title,
  .investors-hive .v2-title, .investors-dashboard .v2-title { font-size: clamp(36px, 5.6vw, 58px); }

  .home-hero, .about-hero, .invite-hero, .platform-hero, .v2-hero,
  .originators-page .v2-hero, .allies-page .v2-hero, .investors-page .v2-hero,
  .media-page .v2-hero, .founders-page .v2-hero {
    min-height: 0 !important;
    padding: 144px var(--page-gutter) clamp(64px, 9vw, 100px);
  }
  .home-hero h1, .about-hero h1, .invite-hero h1, .platform-hero h1,
  .v2-hero h1, .founders-page .v2-hero h1, .media-page .v2-hero h1 {
    font-size: clamp(40px, 6.7vw, 76px); line-height: 1.1;
  }
  .invite-hero .core-shell { margin-top: 0; }
  .home-hero p, .about-hero p, .invite-hero p, .platform-hero p, .v2-hero p {
    font-size: clamp(16px, 1.8vw, 19px); margin-top: 28px;
  }
  .home-press { margin-top: 56px; }
  .home-logos { gap: 24px 32px; }
  .core-stats, .v2-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding: 36px var(--page-gutter); }
  .core-stat span, .v2-stat span { font-size: 12px; }
  .core-body, .v2-copy p, .v2-intro { font-size: 16px; line-height: 1.85; margin-top: 28px; }
  .core-card p, .invite-step p, .invite-next__card p { font-size: 15px; }
  .core-kicker, .home-press > span { font-size: 11px; }
  .home-exchange .core-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .home-exchange .core-card, .home-exchange .core-card:nth-child(4), .home-exchange .core-card:nth-child(5) { grid-column: auto; min-height: 0; }
  .home-exchange .core-card:last-child { grid-column: 1 / -1; }
  .home-belong .v2-accordion details[open] { min-height: 0; }
  .home-founders .core-image-frame img { height: auto; max-height: none; }
  .home-doors, .about-doors { padding-bottom: clamp(260px, 38vw, 420px); background-size: auto clamp(240px, 36vw, 400px); }
  .about-vision { padding-bottom: clamp(260px, 35vw, 420px); }
  .about-invite-card { padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 56px); }
  .about-hero__rays { width: clamp(140px, 24vw, 240px); margin-bottom: 36px; }

  .media-bio__inner { display: flex; flex-direction: column; width: 100%; min-height: 0; padding: 0; gap: 32px; }
  .media-bio__copy { width: 100%; padding: 0; }
  .media-bio__name { font-size: clamp(48px, 9vw, 86px); white-space: normal; overflow-wrap: break-word; }
  .media-bio__copy p { margin-top: 32px; max-width: 720px; font-size: 16px; }
  .media-bio__portrait { position: static; width: min(620px, 100%); height: auto; max-height: 740px; opacity: 1; }

  .invite-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
  .invite-step { padding: 28px; min-height: 0; }
  .invite-step h3 { font-size: 34px; }
  .invite-form { width: 100%; max-width: 760px; padding: clamp(24px, 5vw, 48px); margin-inline: auto; }
  .invite-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .invite-field--wide { grid-column: 1 / -1; }
  .invite-next__line { display: none; }
  .invite-next__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; gap: 20px; }
  .platform-time { margin-inline: 0; max-width: 100%; flex-wrap: wrap; }
  .platform-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .platform-cards .core-card { min-height: 0; }
  .platform-nova .v2-accordion summary, .platform-nova .v2-accordion details p { font-size: 14px; }
  .investors-hive__image { width: min(480px, 100%); margin-inline: auto; }
  .originators-video .v2-button { margin-top: 48px; }
  .v2-invite-card { padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 56px); }
  .v2-footer { padding: 40px var(--page-gutter); }
}

@media (max-width: 620px) {
  .v2-header { height: 88px; }
  .v2-header__inner { gap: 12px; }
  .v2-logo { width: clamp(140px, 36vw, 180px); }
  .v2-actions { gap: 8px; }
  .v2-actions .v2-apply { display: none; }
  .core-section, .v2-section, .media-bio, .legal-content { padding-block: 64px; }
  .home-hero, .about-hero, .invite-hero, .platform-hero, .v2-hero,
  .originators-page .v2-hero, .allies-page .v2-hero, .investors-page .v2-hero,
  .media-page .v2-hero, .founders-page .v2-hero { padding-top: 128px; padding-bottom: 64px; }
  .home-hero h1, .about-hero h1, .invite-hero h1, .platform-hero h1,
  .v2-hero h1, .founders-page .v2-hero h1, .media-page .v2-hero h1 { font-size: clamp(36px, 9.6vw, 54px); }
  .core-heading, .home-problem .core-heading, .v2-title,
  .originators-intro .v2-title, .investors-access .v2-title,
  .investors-hive .v2-title, .investors-dashboard .v2-title,
  .legal-hero .core-heading { font-size: clamp(32px, 8.6vw, 44px); }
  .v2-button { min-height: 52px; padding: 15px 22px; gap: 12px; font-size: 12px; line-height: 1.5; margin-top: 32px; }
  .home-watch { min-height: 44px; }
  .home-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-items: center; gap: 24px 16px; }
  .home-logos img { max-width: min(85px, 100%); max-height: 28px; }
  .home-logos img:last-child { grid-column: 2; }
  .home-exchange .core-cards, .platform-cards, .invite-steps, .invite-next__cards,
  .v2-card-grid, .invite-fields, .about-callouts { grid-template-columns: minmax(0, 1fr); }
  .invite-field--wide { grid-column: auto; }
  .home-exchange .core-card:last-child { grid-column: auto; }
  .core-stats, .v2-stats { gap: 28px 16px; }
  .core-stat strong, .v2-stat strong { font-size: 32px; }
  .core-stat span, .v2-stat span { font-size: 11px; }
  .core-image-frame, .v2-image-frame { padding: 8px; border-width: 6px; }
  .core-card { padding: 36px 24px; }
  .home-belong .v2-accordion summary { padding: 22px; }
  .home-belong .v2-accordion details p { padding: 0 22px 24px; }
  .v2-accordion summary { position: relative; padding: 24px 44px 24px 22px; font-size: 27px; }
  .v2-accordion summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: Avenir, sans-serif; font-size: 20px; }
  .v2-accordion details[open] summary::after { content: "−"; }
  .v2-accordion details[open] summary { padding-bottom: 20px; }
  .v2-accordion details p { padding: 0 22px 24px; }
  .home-belong .v2-accordion summary, .platform-nova .v2-accordion summary { padding-right: 48px; }
  .home-doors, .about-doors { padding-top: 64px; padding-bottom: 260px; background-size: auto 240px; }
  .about-vision { padding-bottom: 280px; }
  .about-quote { margin-top: 32px; padding: 20px; font-size: 24px; }
  .invite-form h2 { font-size: 32px; line-height: 1.2; }
  .invite-form > p { font-size: 14px; }
  .invite-field input, .invite-field select { height: 52px; }
  .invite-banner { margin-top: 32px; padding: 20px; font-size: 25px; }
  .invite-next__card { padding: 24px; }
  .invite-note { font-size: 12px; }
  .platform-time { gap: 16px; }
  .platform-orbit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; height: auto; aspect-ratio: auto; margin-top: 32px; }
  .platform-orbit img { grid-column: 1 / -1; width: 100%; }
  .platform-orbit span { position: static; font-size: 10px; line-height: 1.5; padding: 8px; }
  .core-page .v2-video { min-height: 240px; }
  .core-page .v2-play, .core-page .v2-video.is-playing .v2-play { top: 34%; width: 64px; height: 64px; }
  .core-video-label { bottom: 18px; padding-inline: 16px; }
  .core-video-label small { font-size: 10px; }
  .core-video-label strong { font-size: 21px; line-height: 1.25; }
  .v2-video__message { inset: 12px 12px auto; font-size: 11px; line-height: 1.5; }
  .v2-carousel__track { grid-auto-columns: 88%; gap: 16px; }
  .v2-info-card { padding: 32px 24px; }
  .v2-text-link { font-size: 12px; }
  .v2-search-panel h2 { font-size: 30px; line-height: 1.15; }
  .v2-search-form { display: grid; }
  .legal-article h2 { font-size: 32px; margin-top: 56px; }
  .legal-article p { font-size: 16px; overflow-wrap: anywhere; }
}

@media (max-height: 520px) and (max-width: 1100px) {
  .v2-mobile-nav__links { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 16px; padding-block: 0; gap: 4px 24px; }
  .v2-mobile-nav__links a { font-size: 26px; }
  .v2-search-modal { padding-block: 16px; }
  .v2-search-panel { margin-block: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .v2-button:hover, .v2-button:focus-visible { transform: none; }
}
