/* HyLo Inno Map landing (hylo-inno-map.html). Builds on styles.css + map.css. */

/* ---------- Pink page scrollbar (desktop: native, mobile: custom track) ---------- */
html { scrollbar-color: var(--magenta) var(--ink); }
html::-webkit-scrollbar { width: 22px; }
html::-webkit-scrollbar-track { background: var(--ink); }
html::-webkit-scrollbar-thumb { background: var(--magenta); border-radius: 8px; border: 3px solid var(--ink); min-height: 48px; }
html::-webkit-scrollbar-thumb:hover { background: #ec74b2; }

#mob-scroll-track { display: none; position: fixed; top: 0; right: 0; width: 22px; height: 100%; background: var(--ink); z-index: 9000; pointer-events: none; }
#mob-scroll-thumb { position: absolute; right: 3px; width: 16px; min-height: 48px; background: var(--magenta); border-radius: 8px; pointer-events: auto; cursor: grab; touch-action: none; }
#mob-scroll-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(90deg); white-space: nowrap; font: 700 8px/1 var(--font-mono); letter-spacing: .25em; color: rgba(250,250,247,.45); pointer-events: none; user-select: none; }
@media (max-width: 768px) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; width: 0; }
  body.innomap-page { padding-right: 22px; }
  #mob-scroll-track { display: block; }
  body.menu-open #mob-scroll-track { display: none; }
}

/* ---------- Hero ---------- */
.innomap-hero h1.display { font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: .95; max-width: 14ch; }
.innomap-hero h1 .hl-gold { color: var(--gold); }
.innomap-hero h1 .hl-magenta { color: var(--magenta); }
.innomap-hero .lede { max-width: 58ch; }
.innomap-hero .btn-row { margin-top: 2rem; }
.innomap-stats { grid-template-columns: repeat(4, 1fr); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.innomap-stats .stat__num { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.innomap-stats__note { margin-top: .9rem; font: 400 .72rem/1.5 var(--font-mono); letter-spacing: .06em; color: rgba(250,250,247,.62); }
@media (max-width: 900px) { .innomap-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Resources ---------- */
.innomap-resources .section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.innomap-resources .section-head p { margin-top: 1rem; max-width: 62ch; }
.featured-resource {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
  background: var(--ink); color: var(--paper);
  border: 3px solid var(--gold); padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}
.featured-resource__flag {
  position: absolute; top: -3px; right: -3px;
  background: var(--gold); color: var(--ink);
  font: 700 .66rem/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase;
  padding: .7rem 1rem;
}
.featured-resource .partner-logo { width: 200px; border-color: var(--white); }
.featured-resource .partner-logo img { width: 150px; }
.featured-resource .corridor-partner__label { color: var(--gold); }
.featured-resource h3.display { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 1rem; }
.featured-resource p { max-width: 64ch; color: rgba(250,250,247,.88); }
.featured-resource p + p { margin-top: 1rem; }
.featured-resource .map-resource-callout { background: rgba(250,250,247,.07); border-left-color: var(--gold); }
.featured-resource .map-resource-callout h3 { color: var(--gold); }
.featured-resource .btn-row { margin-top: 1.8rem; }
.resource-card--ieee .partner-logo img { width: 135px; }
.innomap-resources .resource-card { margin-top: 1.5rem; }
.innomap-resources__more { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2rem; font: 700 .76rem/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.innomap-resources__more a { text-underline-offset: 5px; }
.innomap-resources__more a:hover { color: var(--cerulean); }

/* ---------- About the initiative ---------- */
.innomap-about h2 { font-size: clamp(2.4rem, 4.8vw, 4rem); }
.innomap-about__body p + p { margin-top: 1.2rem; }
.innomap-about__body p { max-width: 64ch; }
.innomap-lenses { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.innomap-lenses li { border-top: 2px solid var(--gold); padding-top: 1rem; font-size: .98rem; color: rgba(255,255,255,.85); }
.innomap-lenses strong { display: block; font: 400 1.35rem/1.15 var(--font-display); text-transform: uppercase; color: var(--white); margin-bottom: .45rem; }
.innomap-report { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); border-top: 1px solid rgba(255,255,255,.3); padding-top: clamp(2rem, 4vw, 3rem); }
.innomap-report h3 { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--font-display); text-transform: uppercase; margin-bottom: 1rem; }
.innomap-report p + p { margin-top: 1rem; }
.innomap-report .btn-row { margin-top: 1.6rem; }
@media (max-width: 900px) {
  .innomap-lenses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .innomap-report { grid-template-columns: 1fr; }
}

/* ---------- Team + partners ---------- */
.innomap-team__grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; }
.innomap-team h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.team-label { display: block; font: 700 .72rem/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--cerulean); margin-bottom: 1.2rem; }
.team-list { list-style: none; display: grid; gap: 0; }
.team-list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 2px solid var(--ink); text-decoration: none; font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.1 var(--font-display); text-transform: uppercase; transition: color .2s; }
.team-list li:last-child a { border-bottom: 2px solid var(--ink); }
.team-list a:hover, .team-list a:focus-visible { color: var(--magenta); }
.team-list svg { width: 22px; height: 22px; flex: none; }
.team-list--two { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.team-list--two li:nth-last-child(2) a { border-bottom: 2px solid var(--ink); }
.team-note { margin-top: 1rem; font-size: .92rem; color: rgba(11,14,34,.72); }

@media (max-width: 768px) {
  .innomap-team__grid { grid-template-columns: 1fr; }
  .team-list--two { grid-template-columns: 1fr; }
  .team-list--two li:nth-last-child(2) a { border-bottom: 0; }
}
@media (max-width: 640px) {
  .featured-resource { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .featured-resource .partner-logo { width: 150px; }
  .featured-resource .partner-logo img { width: 110px; }
  .innomap-lenses { grid-template-columns: 1fr; }
  .innomap-hero .btn-row .btn { width: 100%; text-align: center; }
}
