/* ImmPro — The Proteoform People
   Palette and type sampled from the live brand assets:
   magenta #DA128B, deep blue #080C69, cyan #46C5E8, ink #120314 */

:root {
  --ink:        #0a0110;
  --ink-2:      #120314;
  --ink-3:      #1b0824;
  --plum:       #220a2d;
  --magenta:    #da128b;
  --magenta-hi: #ff3fa8;
  --blue:       #0b1180;
  --blue-hi:    #1f3ad8;
  --cyan:       #46c5e8;
  --green:      #1fc26b;
  --paper:      #ffffff;
  --paper-2:    #f6f3f8;
  --text:       #f4eef7;
  --text-dim:   #b9a8c6;
  --text-ink:   #16051c;
  --text-ink-d: #5c4a67;
  --line:       rgba(255,255,255,.12);
  --line-ink:   rgba(22,5,28,.12);
  --wave: linear-gradient(104deg, var(--blue) 0%, #4b0f8a 38%, var(--magenta) 72%, #ff4fb2 100%);
  --rad: 18px;
  --maxw: 1180px;
  --shadow: 0 24px 60px -24px rgba(8,2,14,.65);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: 'Epilogue', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .ff-display, .btn, .eyebrow, .nav a, .logo-txt {
  font-family: 'Poppins', 'Epilogue', Arial, sans-serif;
}

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.12; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }
p  { margin: 0 0 1.1em; }
a  { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sec { padding: clamp(68px, 9vw, 124px) 0; position: relative; }
.sec--tight { padding: clamp(48px, 6vw, 80px) 0; }

/* light sections */
.light { background: var(--paper); color: var(--text-ink); }
.light h1, .light h2, .light h3 { color: var(--text-ink); }
.light p { color: var(--text-ink-d); }
.tint { background: var(--paper-2); color: var(--text-ink); }
.tint h2, .tint h3 { color: var(--text-ink); }
.tint p { color: var(--text-ink-d); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--magenta-hi); margin: 0 0 1.1em;
}
.light .eyebrow, .tint .eyebrow { color: var(--magenta); }
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--wave);
}

.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-dim); max-width: 60ch; }
.light .lede, .tint .lede { color: var(--text-ink-d); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--wave); background-size: 180% 100%; color: #fff;
  box-shadow: 0 14px 34px -14px rgba(218,18,139,.75);
}
.btn--primary:hover { transform: translateY(-2px); background-position: 70% 0; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--magenta-hi); color: #fff; transform: translateY(-2px); }
.light .btn--ghost, .tint .btn--ghost { color: var(--text-ink); box-shadow: inset 0 0 0 1.5px rgba(22,5,28,.22); }
.light .btn--ghost:hover, .tint .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--magenta); color: var(--magenta); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,1,16,.82); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.logo { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.logo img { height: 42px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--text-dim);
  padding: 6px 0; position: relative; transition: color .16s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--wave); border-radius: 2px; transition: right .22s ease;
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: #fff; }
.nav .btn { padding: 11px 22px; font-size: .88rem; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; padding: 9px; color: var(--text);
}
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: .2s; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(84px, 11vw, 170px) 0 clamp(72px, 9vw, 132px);
  background: var(--ink);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("../assets/media/cover-bg-a.webp?v=20261012a");
  background-size: cover; background-position: 62% 50%;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(97deg, rgba(10,1,16,.96) 0%, rgba(10,1,16,.84) 38%, rgba(10,1,16,.28) 72%, rgba(10,1,16,.1) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero h1 em { font-style: normal; background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--text-dim); max-width: 48ch; }
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__art { position: relative; }
.hero__art img { filter: drop-shadow(0 30px 70px rgba(218,18,139,.3)); }
.hero__tag {
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 22px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--text);
}
.hero__tag b { color: var(--green); font-weight: 700; }

/* ---------- accelerator / badges strip ---------- */
.badges { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.badges__in { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: clamp(24px,4vw,56px); align-items: center; padding: 34px 0; }
.badges__copy h3 { margin-bottom: .35em; font-size: clamp(1.05rem,1.7vw,1.35rem); }
.badges__copy p { margin: 0; color: var(--text-dim); font-size: .95rem; max-width: 56ch; }
.light .badges__copy p, .tint .badges__copy p { color: var(--text-ink-d); }
.badges__logos { display: flex; align-items: center; gap: clamp(22px,3vw,42px); flex-wrap: wrap; }
.badges__logos img { height: 40px; width: auto; opacity: .95; }
.badges__logos .b-ill { height: 54px; }
.b-year {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding-left: 18px; border-left: 1px solid var(--line);
}
.b-year .y { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.b-year .l { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- generic cards ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  background: rgba(255,255,255,.045); border: 1px solid var(--line);
  border-radius: var(--rad); padding: 28px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,63,168,.45); background: rgba(255,255,255,.07); }
.card h3 { margin-bottom: .45em; }
.card p { margin: 0; color: var(--text-dim); font-size: .95rem; }
.card__num {
  font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 14px;
}
.light .card, .tint .card { background: #fff; border-color: var(--line-ink); box-shadow: 0 2px 14px -8px rgba(22,5,28,.2); }
.light .card:hover, .tint .card:hover { border-color: rgba(218,18,139,.4); box-shadow: 0 18px 40px -22px rgba(22,5,28,.35); }
.light .card p, .tint .card p { color: var(--text-ink-d); }

/* pill list (modifications) */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pills li {
  padding: 9px 18px; border-radius: 999px; font-size: .88rem; font-weight: 500;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
.light .pills li, .tint .pills li { background: #fff; border-color: var(--line-ink); color: var(--text-ink); }
.pills li:nth-child(3n+1) { border-color: rgba(218,18,139,.5); }
.pills li:nth-child(3n+2) { border-color: rgba(31,58,216,.5); }
.pills li:nth-child(3n+3) { border-color: rgba(70,197,232,.5); }

/* problem list ("I can't ...") */
.probs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.probs li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px; border-radius: 14px;
  background: rgba(255,255,255,.045); border: 1px solid var(--line);
  font-size: 1.02rem; font-weight: 500;
}
.light .probs li, .tint .probs li { background: #fff; border-color: var(--line-ink); }
.probs li::before {
  content: "“"; font-family: 'Poppins', serif; font-size: 2rem; line-height: .8;
  background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent;
  flex: 0 0 auto;
}

/* split (text + image) */
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(30px, 5vw, 70px); align-items: center; }
.split--art img { border-radius: var(--rad); }

/* ---------- people ---------- */
.person { text-align: left; }
.person__ph {
  position: relative; border-radius: var(--rad); overflow: hidden; margin-bottom: 20px;
  aspect-ratio: 1/1; background: var(--ink-3);
}
.person__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.person__ph::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--wave);
}
.person h3 { margin-bottom: .15em; }
.role { font-size: .83rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta); margin-bottom: 1em; }
.person p { font-size: .95rem; }

/* ---------- resources ---------- */
.rescard {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border-radius: var(--rad);
  background: #fff; border: 1px solid var(--line-ink);
  text-decoration: none; color: var(--text-ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rescard:hover { transform: translateY(-4px); border-color: rgba(218,18,139,.45); box-shadow: 0 20px 44px -24px rgba(22,5,28,.4); }
.rescard .k { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--magenta); }
.rescard .t { font-family: 'Poppins', sans-serif; font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em; }
.rescard .more { margin-top: auto; padding-top: 12px; font-size: .88rem; font-weight: 600; color: var(--blue-hi); }
.rescard .more::after { content: " →"; }

.publist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.publist li { border-bottom: 1px solid var(--line-ink); }
.publist a {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: baseline;
  padding: 22px 6px; text-decoration: none; color: var(--text-ink);
  transition: background .18s ease, padding .18s ease;
}
.publist a:hover { background: rgba(218,18,139,.05); padding-left: 16px; }
.publist .ttl { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 1.04rem; letter-spacing: -.01em; line-height: 1.4; }
.publist .go { font-size: .84rem; font-weight: 600; letter-spacing: .04em; color: var(--magenta); white-space: nowrap; }
.publist .go::after { content: " ↗"; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px; }
.stat { padding: 30px 26px; background: rgba(255,255,255,.045); border: 1px solid var(--line); }
.stat:first-child { border-radius: var(--rad) 0 0 var(--rad); }
.stat:last-child  { border-radius: 0 var(--rad) var(--rad) 0; }
.stat .v {
  font-family: 'Poppins', sans-serif; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700;
  letter-spacing: -.035em; line-height: 1; margin-bottom: 10px;
  background: var(--wave); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .k { font-size: .88rem; color: var(--text-dim); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 0;
  padding: clamp(60px, 8vw, 104px) 0; text-align: center;
}
.cta__bg { position: absolute; inset: 0; background-image: url("../assets/media/immpro-background.webp?v=20261012a"); background-size: cover; background-position: 50% 45%; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,1,16,.62); }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { max-width: 22ch; margin-inline: auto; }
.cta p { color: var(--text-dim); max-width: 50ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 16px; width: 100%;
}
.field textarea { min-height: 136px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--magenta-hi); box-shadow: 0 0 0 3px rgba(218,18,139,.18);
}
.field select option { background: var(--ink-2); }
.form-note { font-size: .84rem; color: var(--text-dim); }
.form-ok {
  display: none; padding: 16px 20px; border-radius: 12px;
  background: rgba(31,194,107,.12); border: 1px solid rgba(31,194,107,.45); color: #bff3d6;
  font-size: .95rem;
}
.form-ok.on { display: block; }

.contact-aside { display: grid; gap: 26px; align-content: start; }
.ci { display: grid; gap: 4px; }
.ci .k { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--magenta-hi); }
.ci .v { font-size: 1.02rem; }
.ci a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); }
.ci a:hover { border-color: var(--magenta-hi); }

/* ---------- page header (subpages) ---------- */
.phead { position: relative; overflow: hidden; padding: clamp(70px, 8vw, 118px) 0 clamp(44px, 5vw, 70px); }
.phead__bg { position: absolute; inset: 0; background-image: url("../assets/media/cover-bg-a.webp?v=20261012a"); background-size: cover; background-position: 50% 42%; }
.phead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,1,16,.95), rgba(10,1,16,.6)); }
.phead .wrap { position: relative; z-index: 1; }
.phead h1 { max-width: 20ch; margin-bottom: .4em; }
.crumbs { font-size: .82rem; color: var(--text-dim); margin-bottom: 1.4em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink-2); border-top: 1px solid var(--line); padding: 62px 0 30px; }
.foot-grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: 36px; }
.foot-brand img { height: 44px; margin-bottom: 18px; }
.foot-brand p { font-size: .93rem; color: var(--text-dim); max-width: 34ch; }
.foot-col h4 { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.2em; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a { text-decoration: none; font-size: .94rem; color: var(--text); opacity: .82; }
.foot-col a:hover { opacity: 1; color: var(--magenta-hi); }
.foot-ts { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.foot-ts img { height: 24px; }
.foot-ts span { font-size: .78rem; color: var(--text-dim); }
.foot-bot {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .84rem; color: var(--text-dim);
}
.foot-bot a { text-decoration: none; }
.foot-bot a:hover { color: #fff; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat, .stat:first-child, .stat:last-child { border-radius: 12px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: rgba(10,1,16,.98); border-bottom: 1px solid var(--line);
    padding: 10px 24px 26px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; width: 100%; }
  .nav-toggle { display: block; }
  .hero__grid, .split, .badges__in { grid-template-columns: minmax(0,1fr); }
  .hero__art { order: -1; max-width: 420px; }
  .g3, .g2 { grid-template-columns: minmax(0,1fr); }
  .form .row2 { grid-template-columns: minmax(0,1fr); }
  .publist a { grid-template-columns: minmax(0,1fr); gap: 6px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .g4 { grid-template-columns: minmax(0,1fr); }
  .stats { grid-template-columns: minmax(0,1fr); }
  .foot-grid { grid-template-columns: minmax(0,1fr); }
  .badges__logos { gap: 20px; }
  .b-year { padding-left: 0; border-left: 0; }
}
