size {
  display: none;
}

.home-hero {
  --hero-ink: #252b33;
  --hero-muted: #68727e;
  --hero-accent: #52677f;
  position: relative;
  isolation: isolate;
  contain: paint;
  min-height: calc(100svh - 81px);
  overflow: hidden;
  color: var(--hero-ink);
  background: radial-gradient(circle at 50% 44%, rgba(167, 177, 192, 0.25), transparent 35%), linear-gradient(145deg, #f8f9fb, #e9edf2);
}

.home-hero__copy {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem 12rem;
  text-align: center;
  pointer-events: none;
}

.home-hero__copy::before {
  content: "";
  position: absolute;
  width: min(820px, 72vw);
  height: clamp(190px, 27vw, 310px);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  filter: blur(46px);
  pointer-events: none;
}

.home-hero__wordmark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(760px, 74vw);
  max-width: min(760px, 74vw);
  transform: translate(-50%, -50%);
}

.home-hero h1 {
  margin: 0;
  color: var(--hero-ink);
  font-family: var(--title);
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  font-weight: var(--regular);
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-transform: none;
  text-shadow: 0 2px 28px rgba(255, 255, 255, 0.9);
}

.home-hero h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin: 1.2rem auto 1.15rem;
  background: linear-gradient(90deg, #315f99, #2a8c8f, #b57a24);
  border-radius: 999px;
}

.home-hero__wordmark p {
  margin: 0;
  color: #465362;
  font-family: var(--heading);
  font-size: clamp(0.78rem, 1.15vw, 1rem);
  font-weight: var(--semi-bold);
  letter-spacing: 0.2em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.9);
}

.protein-hero {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: 0;
  overflow: hidden;
  color: var(--hero-ink);
  counter-reset: protein-choice;
}

.protein-hero__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
}

.protein-hero__visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.14);
}

.protein-hero__stage,
.protein-hero__poster {
  position: absolute;
  z-index: 1;
  inset: -4% 0 0;
  width: 100%;
  height: 104%;
}

.protein-hero__stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.protein-hero__poster {
  z-index: 0;
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
  mix-blend-mode: multiply;
}

.protein-hero__heading {
  position: absolute;
  z-index: 4;
  bottom: clamp(2rem, 5vw, 4.5rem);
  left: max(2rem, (100vw - 1180px) / 2);
  min-width: 15rem;
  padding: 1rem 1.2rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 0.75rem;
  box-shadow: 0 12px 34px rgba(55, 64, 76, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.protein-hero__eyebrow {
  margin-bottom: 0.35rem;
  color: var(--hero-accent);
  font-size: 0.75rem;
  font-weight: var(--semi-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.protein-hero__heading h2 {
  margin: 0;
  color: var(--hero-ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: var(--regular);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.protein-hero__source {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--hero-accent);
  font-size: 0.78rem;
  font-weight: var(--semi-bold);
  letter-spacing: 0.08em;
  text-decoration: none;
}

.protein-hero__source:hover {
  color: #354b63;
}

.protein-hero__source:focus-visible,
.protein-hero__selector button:focus-visible {
  outline: 2px solid #526b84;
  outline-offset: 4px;
}

.protein-hero__fallback {
  position: absolute;
  z-index: 4;
  bottom: 1.25rem;
  left: 50%;
  margin: 0;
  color: var(--hero-muted);
  font-size: 0.78rem;
  transform: translateX(-50%);
}

.protein-hero__selector {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: max(1.5rem, (100vw - 1280px) / 2);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 12rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 0.9rem;
  box-shadow: 0 18px 45px rgba(55, 64, 76, 0.1);
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.protein-hero__selector button {
  position: relative;
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  align-items: center;
  min-height: 2.8rem;
  padding: 0.45rem 0.65rem;
  color: #69737f;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 0.55rem;
  counter-increment: protein-choice;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.protein-hero__selector button::before {
  content: "0" counter(protein-choice);
  color: #89939f;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.protein-hero__selector button:hover {
  color: var(--hero-ink);
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(-0.2rem);
}

.protein-hero__selector button[aria-pressed=true] {
  color: var(--hero-ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 5px 16px rgba(55, 64, 76, 0.09);
}

.protein-hero__selector button strong {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: var(--semi-bold);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-directions > h2 {
  margin: 40px 0 20px;
  padding-bottom: 5px;
  color: inherit;
  border-bottom: solid 1px var(--light-gray);
  font-size: 1.6rem;
  font-weight: var(--regular);
  letter-spacing: 1px;
  text-align: left;
}

.home-directions {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 0 0 clamp(2rem, 4vw, 4rem);
}

.home-directions__intro {
  margin: 0 0 2rem;
  color: #687687;
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
}

.research-direction-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 1.8vw, 1.4rem);
  text-align: left;
}

.research-direction-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 16.5rem;
  overflow: hidden;
  flex-direction: row;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(72, 91, 112, 0.13);
  border-radius: 1rem;
  box-shadow: 0 24px 54px rgba(42, 54, 69, 0.12), 0 6px 16px rgba(42, 54, 69, 0.06), inset 1px 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.research-direction-card__visual {
  position: relative;
  display: grid;
  width: 34%;
  min-height: 16.5rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  flex: 0 0 34%;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
  border-right: 1px solid rgba(72, 91, 112, 0.1);
}

.research-direction-card__visual img {
  width: auto;
  max-width: 90%;
  height: auto;
  max-height: 13.5rem;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  transition: transform 0.4s ease;
}

.research-direction-card__number {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  z-index: 1;
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  color: #ffffff;
  background: #334a62;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(44, 62, 82, 0.2);
  font-size: 0.76rem;
  font-weight: var(--bold);
  letter-spacing: 0.06em;
}

.research-direction-card__content {
  display: flex;
  padding: clamp(1.25rem, 2vw, 1.65rem);
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.research-direction-card:hover {
  border-color: rgba(67, 94, 122, 0.28);
  box-shadow: 0 34px 68px rgba(42, 54, 69, 0.16), 0 10px 22px rgba(42, 54, 69, 0.08), inset 1px 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-0.45rem);
}

.research-direction-card:hover .research-direction-card__visual img {
  transform: scale(1.025);
}

.research-direction-card__label {
  margin: 0 0 0.7rem;
  color: #6e8499;
  font-size: 0.74rem;
  font-weight: var(--bold);
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.research-direction-card h3 {
  margin: 0 0 0.75rem;
  color: #2d3b4d;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.3;
}

.research-direction-card__content > p:last-child {
  margin: 0;
  color: #5d6875;
  font-size: 0.94rem;
  line-height: 1.62;
}

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

html[data-dark=true] .home-hero {
  background: radial-gradient(circle at 50% 44%, rgba(154, 165, 181, 0.24), transparent 36%), linear-gradient(145deg, #f0f2f5, #e1e5ea);
}

html[data-dark=true] .protein-hero__poster {
  filter: none;
  mix-blend-mode: multiply;
}

html[data-dark=true] .research-direction-card {
  background: linear-gradient(145deg, #2b3037, #22272d);
  border-color: rgba(157, 171, 190, 0.18);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.3), 0 6px 14px rgba(0, 0, 0, 0.2), inset 1px 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-dark=true] .research-direction-card__visual {
  background: #ffffff;
}

html[data-dark=true] .home-directions > h2,
html[data-dark=true] .research-direction-card h3 {
  color: #e1e6ed;
}

html[data-dark=true] .home-directions__intro,
html[data-dark=true] .research-direction-card__content > p:last-child {
  color: #b5bec9;
}

html[data-dark=true] .research-direction-card__label {
  color: #9eb1c4;
}

@media (max-width: 900px) {
  .research-direction-card__visual {
    width: 38%;
    flex: 0 0 38%;
  }
  .home-hero__copy {
    place-items: center;
    padding: 5rem 8rem;
    text-align: center;
  }
  .home-hero__copy::before {
    width: min(680px, 82vw);
  }
  .home-hero h1 {
    max-width: 36rem;
    font-size: clamp(2.7rem, 8vw, 4.2rem);
  }
  .home-hero h1::after {
    margin-left: auto;
  }
  .home-hero__wordmark {
    width: min(34rem, 72vw);
    max-width: min(34rem, 72vw);
  }
  .protein-hero__stage,
  .protein-hero__poster {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .protein-hero__heading {
    bottom: 2rem;
    left: 2rem;
  }
  .protein-hero__selector {
    right: 1.25rem;
    width: 10.5rem;
  }
}
@media (max-width: 700px) {
  .research-direction-card {
    min-height: 0;
    flex-direction: column;
  }
  .research-direction-card__visual {
    width: 100%;
    height: 14.5rem;
    min-height: 14.5rem;
    flex-basis: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(72, 91, 112, 0.1);
  }
}
@media (max-width: 620px) {
  .home-hero {
    min-height: 46rem;
  }
  .home-hero__copy {
    place-items: center;
    padding: 4rem 1.25rem 17rem;
    text-align: center;
  }
  .home-hero__copy::before {
    top: 2rem;
    left: -4rem;
    width: 26rem;
    height: 13rem;
    filter: blur(38px);
  }
  .home-hero h1 {
    max-width: 18rem;
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }
  .home-hero__wordmark {
    width: 18rem;
    max-width: 18rem;
  }
  .home-hero__wordmark p {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }
  .protein-hero__stage,
  .protein-hero__poster {
    top: 4rem;
    height: 65%;
  }
  .protein-hero__heading {
    right: auto;
    bottom: 1.25rem;
    left: 1.25rem;
    min-width: 11.5rem;
    padding: 0.75rem 0.9rem;
  }
  .protein-hero__selector {
    top: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 8.6rem;
    max-height: 16rem;
    padding: 0.4rem;
    overflow-y: auto;
    transform: none;
  }
  .protein-hero__selector button {
    grid-template-columns: 1.5rem minmax(0, 1fr);
    min-height: 2.25rem;
    padding: 0.35rem 0.45rem;
  }
  .protein-hero__selector button strong {
    font-size: 0.72rem;
  }
  .home-directions__intro {
    margin-bottom: 1.75rem;
  }
  .research-direction-card__visual {
    height: 13rem;
    min-height: 13rem;
    padding: 1rem;
  }
  .research-direction-card__content {
    padding: 1.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .protein-hero__selector button,
  .research-direction-card,
  .research-direction-card__visual img {
    transition: none;
  }
}

/*# sourceMappingURL=home.css.map */