.eyebrow {
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero__title {
  max-width: 1080px;
  margin: 0 auto 1.25rem;
  font-size: clamp(2.35rem, 4.9vw, 4.85rem);
}

.hero__title,
.section-heading h2,
.split-layout h2,
.page-hero h1,
.cta-card h2 {
  position: relative;
  display: inline-block;
  padding: 0 0 0.14em;
  overflow: visible;
  color: #f4f7ff;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
  -webkit-text-stroke: 0.012em rgba(255, 255, 255, 0.06);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 2px 0 rgba(209, 218, 255, 0.12),
    0 3px 0 rgba(167, 181, 255, 0.11),
    0 4px 0 rgba(123, 140, 255, 0.10),
    0 5px 0 rgba(81, 94, 178, 0.16),
    0 18px 34px rgba(0, 0, 0, 0.44),
    0 0 28px rgba(123, 140, 255, 0.14);
}

.hero__title::after,
.section-heading h2::after,
.split-layout h2::after,
.page-hero h1::after,
.cta-card h2::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: 0.04em;
  height: 0.32em;
  background: linear-gradient(180deg, rgba(123, 140, 255, 0.16), rgba(255, 210, 113, 0.03));
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.hero__subtitle,
.page-hero p,
.section-heading p,
.split-layout__content p {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 730px;
}

.hero .hero__subtitle {
  max-width: 940px;
}

.split-layout .contact-question {
  display: block;
  margin-top: 1.8rem;
  font-size: clamp(1.35rem, 2.35vw, 2.25rem);
  letter-spacing: -0.035em;
}

.hero__content--centered {
  max-width: 1100px;
  margin-inline: auto;
  text-align: center;
}

.hero__content--centered .eyebrow,
.hero__content--centered .hero__subtitle {
  margin-inline: auto;
}

.hero__content--centered .hero__actions,
.hero__content--centered .hero__meta {
  justify-content: center;
}

.hero__actions,
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.hero__meta span,
.tech-chips span,
.capability-grid span,
.product-panel__grid span,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: var(--muted-strong);
  padding: 0.45rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 0 24px rgba(123, 140, 255, 0.035);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--disabled,
.button--disabled:hover {
  cursor: not-allowed;
  opacity: 0.54;
  transform: none;
  filter: grayscale(0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.project-card__action-disabled {
  user-select: none;
}

.button--primary {
  background: linear-gradient(135deg, var(--brand), #a77bff 58%, #ffd27e);
  color: #02040c;
  box-shadow:
    0 18px 44px rgba(123, 140, 255, 0.34),
    0 0 34px rgba(255, 210, 113, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.button--secondary {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--text);
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.button--light {
  background: linear-gradient(135deg, #ffffff, #dce2ff 62%, #ffe7ad);
  color: #02040c;
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.32),
    0 0 30px rgba(255, 210, 113, 0.10);
}

.hero-card,
.product-panel,
.feature-card,
.module-card,
.portfolio-card,
.tool-card,
.note-card,
.tech-panel,
.screenshot-card,
.orcid-card,
.identity-card,
.contact-form,
.stack-list,
.problem-list,
.check-list--panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    color-mix(in srgb, var(--surface) 70%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.hero-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  min-height: 470px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -35% -20% auto auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(123, 140, 255, 0.24), transparent 68%);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 10% 8% auto;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 226, 142, 0.12), transparent 70%);
  pointer-events: none;
  filter: blur(1px);
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero .hero-card {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.78fr);
  grid-template-areas:
    "topline dashboard"
    "title dashboard"
    "body dashboard";
  gap: 0.85rem clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero .hero-card__topline {
  grid-area: topline;
  margin-bottom: 0;
}

.hero .hero-card h2 {
  grid-area: title;
  margin-bottom: 0;
}

.hero .hero-card p {
  grid-area: body;
  margin-bottom: 0;
}

.hero .mini-dashboard {
  grid-area: dashboard;
  margin-top: 0;
}

.hero-card__topline,
.product-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  margin-bottom: 1.4rem;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #35f2a2;
  box-shadow:
    0 0 0 8px rgba(53, 242, 162, 0.12),
    0 0 28px rgba(53, 242, 162, 0.55);
  align-self: center;
}

.hero-card h2,
.product-panel h2,
.feature-card h3,
.module-card h3,
.portfolio-card h3,
.tool-card h3,
.note-card h3,
.tech-panel h2,
.orcid-card strong,
.identity-card h3 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: 0.85rem;
}

.mini-dashboard {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.06), transparent 9rem),
    linear-gradient(135deg, rgba(123, 140, 255, 0.20), rgba(3, 6, 16, 0.50));
  border: 1px solid var(--line);
  padding: 1rem;
}

.mini-dashboard__bar {
  height: 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  background: linear-gradient(90deg, var(--brand), #a77bff, #ffd27e);
  box-shadow: 0 0 24px rgba(123, 140, 255, 0.26);
}

.mini-dashboard__bar--one { width: 86%; }
.mini-dashboard__bar--two { width: 62%; opacity: 0.75; }
.mini-dashboard__bar--three { width: 74%; opacity: 0.48; }

.mini-dashboard__row {
  height: 3.2rem;
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--surface-strong) 70%, transparent);
  border: 1px solid var(--line);
  margin-top: 0.8rem;
}

.mini-dashboard__row.short {
  width: 72%;
}

.feature-card,
.module-card,
.portfolio-card,
.tool-card,
.note-card,
.tech-panel,
.orcid-card,
.identity-card {
  padding: 1.25rem;
}

.feature-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 850;
  margin-bottom: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 24px rgba(123, 140, 255, 0.10);
}

.portfolio-card,
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--brand-strong);
  font-weight: 850;
}

.product-panel {
  padding: 1.25rem;
  transform: rotate(1deg);
  position: relative;
  overflow: hidden;
}

.product-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -34% 16%;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 210, 113, 0.14), transparent 70%);
  pointer-events: none;
}

.product-panel > * {
  position: relative;
  z-index: 1;
}

.product-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.check-list,
.problem-list {
  list-style: none;
}

.check-list li,
.problem-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--muted-strong);
}

.check-list li::before,
.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(123, 140, 255, 0.40);
}

.problem-list,
.check-list--panel {
  padding: 1.25rem;
}

.stack-list {
  padding: 1rem;
}

.stack-list div {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.stack-list div:last-child {
  border-bottom: 0;
}

.stack-list strong {
  letter-spacing: -0.02em;
}

.stack-list span {
  color: var(--muted);
}

.tech-chips,
.capability-grid,
.card-meta,
.card-tags {
  align-items: flex-start;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tech-chips--panel {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.capability-grid span {
  width: auto;
  justify-content: center;
  min-height: 3rem;
  text-align: center;
}

.screenshot-card {
  margin: 0;
  padding: clamp(0.75rem, 2vw, 1.15rem);
  overflow: hidden;
}

.screenshot-card__trigger {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--radius-md);
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.screenshot-card__trigger:focus-visible {
  outline: 3px solid var(--brand-strong);
  outline-offset: 4px;
}

.screenshot-card__trigger img,
.screenshot-card img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.screenshot-card__trigger:hover img,
.screenshot-card__trigger:focus-visible img {
  transform: translateY(-2px) scale(1.005);
  border-color: rgba(220, 226, 255, 0.34);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34), 0 0 28px rgba(123, 140, 255, 0.16);
}

.screenshot-card figcaption {
  color: var(--muted-strong);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.95rem 0.25rem 0.25rem;
  text-align: center;
}

body.has-open-lightbox {
  overflow: hidden;
}

.screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(2, 4, 12, 0.84);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.screenshot-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.screenshot-lightbox__dialog {
  position: relative;
  display: grid;
  gap: 0.85rem;
  width: min(96vw, 1240px);
  max-height: 92vh;
}

.screenshot-lightbox__image {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.66);
}

.screenshot-lightbox__caption {
  margin: 0;
  color: var(--muted-strong);
  font-weight: 800;
  text-align: center;
}

.screenshot-lightbox__close {
  position: absolute;
  top: clamp(0.65rem, 1.8vw, 1rem);
  right: clamp(0.65rem, 1.8vw, 1rem);
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(3, 5, 13, 0.74);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}

.screenshot-lightbox__close:hover,
.screenshot-lightbox__close:focus-visible {
  background: var(--brand-soft);
  border-color: rgba(220, 226, 255, 0.36);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--muted-strong);
  padding: 0.65rem 0.95rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.filter-button.is-active,
.filter-button:hover {
  background: var(--brand-soft);
  color: var(--text);
  border-color: rgba(220, 226, 255, 0.30);
}

.cta-section {
  padding-bottom: clamp(3.5rem, 5.5vw, 5rem);
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.08), transparent 12rem),
    radial-gradient(circle at 90% 24%, rgba(123, 140, 255, 0.28), transparent 17rem),
    linear-gradient(135deg, rgba(12, 18, 34, 0.94), rgba(4, 8, 20, 0.96) 58%, rgba(33, 24, 50, 0.94));
  color: var(--text);
  box-shadow: var(--shadow-md);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.72) 0 0.05rem, rgba(255, 210, 113, 0.34) 0.07rem 0.17rem, transparent 0.38rem),
    radial-gradient(circle at 72% 38%, rgba(255, 244, 190, 0.66) 0 0.045rem, rgba(255, 210, 113, 0.30) 0.065rem 0.16rem, transparent 0.34rem),
    radial-gradient(circle at 86% 78%, rgba(159, 199, 255, 0.58) 0 0.04rem, rgba(123, 140, 255, 0.25) 0.06rem 0.14rem, transparent 0.30rem);
  mix-blend-mode: screen;
  opacity: 0.32;
  animation: fireflies-pulse-b 6.8s ease-in-out infinite;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card p,
.cta-card .eyebrow {
  color: color-mix(in srgb, var(--text) 74%, transparent);
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 750;
  color: var(--muted-strong);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--brand-soft);
  border-color: var(--brand);
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status[data-status="ok"] {
  color: #35f2a2;
}

.form-status[data-status="error"] {
  color: #ffb4b4;
}

.contact-form [hidden],
.contact-form .form-conditional-field[hidden] {
  display: none !important;
}

.form-context-note {
  margin-top: 1rem;
  color: var(--muted-strong);
  line-height: 1.65;
}

.product-interest-help {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.55;
}

.orcid-card {
  display: grid;
  gap: 0.8rem;
}

.orcid-card span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.orcid-card strong {
  word-break: break-word;
}

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


.identity-card__photo {
  display: block;
  width: clamp(6.5rem, 14vw, 8.4rem);
  height: clamp(6.5rem, 14vw, 8.4rem);
  margin: 0 auto 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 2rem;
  object-fit: cover;
  object-position: center;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.20), transparent 1.2rem),
    linear-gradient(135deg, rgba(123, 140, 255, 0.26), rgba(255, 210, 113, 0.14));
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.40),
    0 0 42px rgba(123, 140, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.identity-card__links {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.identity-card__links a {
  color: var(--brand-strong);
  font-weight: 850;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.platform-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 11.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.055), transparent 8rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.014)),
    color-mix(in srgb, var(--surface) 70%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -38% 22%;
  z-index: -1;
  height: 9rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(123, 140, 255, 0.16), transparent 70%);
  opacity: 0.75;
  pointer-events: none;
}

.platform-card::after {
  content: "↗";
  position: absolute;
  right: 1rem;
  top: 0.9rem;
  color: color-mix(in srgb, var(--brand-strong) 70%, transparent);
  font-weight: 900;
  opacity: 0.78;
  transition: transform 180ms ease, opacity 180ms ease;
}

.platform-card:hover,
.platform-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(220, 226, 255, 0.32);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.075), transparent 8rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    color-mix(in srgb, var(--surface) 80%, transparent);
  box-shadow:
    var(--shadow-md),
    0 0 38px rgba(123, 140, 255, 0.10);
}

.platform-card:hover::after,
.platform-card:focus-visible::after {
  transform: translate(2px, -2px);
  opacity: 1;
}

.platform-card:focus-visible {
  outline: 3px solid var(--brand-soft);
  outline-offset: 3px;
}

.platform-card__eyebrow {
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-right: 1.6rem;
}


.platform-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding-right: 1.55rem;
}

.platform-card__icon {
  --platform-accent: var(--brand);
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--platform-accent) 36%, rgba(255, 255, 255, 0.16));
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.18), transparent 1rem),
    color-mix(in srgb, var(--platform-accent) 20%, rgba(255, 255, 255, 0.025));
  color: var(--platform-accent);
  box-shadow:
    0 12px 30px color-mix(in srgb, var(--platform-accent) 18%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.platform-card__icon svg {
  width: 1.52rem;
  height: 1.52rem;
  display: block;
}

.platform-card__icon img {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: cover;
  border-radius: 0.52rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.16));
}

.platform-card--linkedin .platform-card__icon { --platform-accent: #0a66c2; }
.platform-card--orcid .platform-card__icon { --platform-accent: #a6ce39; }
.platform-card--researchgate .platform-card__icon { --platform-accent: #00ccbb; }
.platform-card--zenodo .platform-card__icon { --platform-accent: #1682d4; }
.platform-card--github .platform-card__icon { --platform-accent: #f0f6fc; }
.platform-card--x .platform-card__icon { --platform-accent: #ffffff; }
.platform-card--youtube .platform-card__icon { --platform-accent: #ff0033; }
.platform-card--spotify .platform-card__icon { --platform-accent: #1ed760; }
.platform-card--podcasta .platform-card__icon { --platform-accent: #ffd27e; }

.platform-card__title {
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.platform-card__body {
  color: var(--muted);
  font-size: 0.95rem;
}

.platform-card__open {
  width: fit-content;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.68rem;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 850;
  background: color-mix(in srgb, var(--surface-strong) 68%, transparent);
}

.reveal {
  opacity: 1;
  transform: none;
}

.has-reveal-animations .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.has-reveal-animations .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes title-glow {
  0% {
    background-position: 50% 0%;
    filter:
      drop-shadow(0 15px 24px rgba(0, 0, 0, 0.28))
      drop-shadow(0 0 18px rgba(123, 140, 255, 0.12));
  }

  100% {
    background-position: 50% 100%;
    filter:
      drop-shadow(0 18px 30px rgba(0, 0, 0, 0.34))
      drop-shadow(0 0 30px rgba(255, 210, 113, 0.12));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  .has-reveal-animations .reveal {
    opacity: 1;
    transform: none;
  }
}



.projects-browser {
  display: grid;
  gap: clamp(1.45rem, 3.6vw, 2.55rem);
}

.projects-browser__inner,
.project-filter-content {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.55rem);
}

.project-filter-bar {
  justify-content: center;
  margin-bottom: 0.4rem;
}

.project-filter-button {
  position: relative;
  overflow: hidden;
}

.project-filter-button::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 70%);
  transition: opacity 180ms ease;
  pointer-events: none;
}

.project-filter-button:hover::before,
.project-filter-button.is-active::before {
  opacity: 1;
}

.project-empty {
  max-width: 760px;
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.project-empty h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.project-empty p {
  margin-bottom: 0;
}

.projects-sections {
  display: grid;
  gap: clamp(2rem, 4.2vw, 3.2rem);
}

.project-section {
  display: grid;
  gap: 1.05rem;
}

.project-section__heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.project-section__heading h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 0.75rem;
  padding-bottom: 0.12em;
  color: #f4f7ff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
  -webkit-text-stroke: 0.012em rgba(255, 255, 255, 0.06);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 2px 0 rgba(209, 218, 255, 0.12),
    0 3px 0 rgba(167, 181, 255, 0.11),
    0 4px 0 rgba(123, 140, 255, 0.10),
    0 5px 0 rgba(81, 94, 178, 0.16),
    0 18px 34px rgba(0, 0, 0, 0.44),
    0 0 28px rgba(123, 140, 255, 0.14);
}

.project-section__heading h2::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: 0.04em;
  z-index: -1;
  height: 0.32em;
  background: linear-gradient(180deg, rgba(123, 140, 255, 0.16), rgba(255, 210, 113, 0.03));
  filter: blur(10px);
  pointer-events: none;
}

.project-section__heading p {
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
}

.project-grid {
  align-items: stretch;
}

.project-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.065), transparent 11rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.014)),
    color-mix(in srgb, var(--surface) 70%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem;
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -28% -18% auto auto;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(123, 140, 255, 0.16), transparent 66%);
  pointer-events: none;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card__title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-align: center;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 26px rgba(0, 0, 0, 0.32),
    0 0 22px rgba(123, 140, 255, 0.10);
}

.project-card__image-wrap {
  display: grid;
  place-items: center;
  min-height: 9rem;
  margin: 0.15rem auto 0.2rem;
}

.project-card__image {
  width: min(9.5rem, 54vw);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 1.8rem;
  filter:
    drop-shadow(0 18px 38px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 20px rgba(123, 140, 255, 0.14));
}

.project-card__description {
  margin-bottom: 0;
  color: var(--muted);
}

.project-card__references {
  display: grid;
  gap: 0.55rem;
}

.project-card__reference {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-card__reference strong {
  color: var(--muted-strong);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card__reference a {
  color: var(--brand-strong);
  font-weight: 750;
}

.project-card__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
  gap: 0.7rem;
  margin-top: auto;
}

.project-card__actions .button {
  width: 100%;
  min-height: 2.65rem;
}

.project-card__chips {
  justify-content: center;
  margin-top: 0;
}


.operating-base-video-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.operating-base-video-actions .button {
  min-width: min(100%, 18rem);
}

.operating-base-summary .button {
  width: fit-content;
  margin-top: 0.9rem;
}


/* Legal pages and informed consent */
.form-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  font-weight: 650;
  line-height: 1.55;
}

.contact-form .form-consent input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  accent-color: var(--brand);
}

.form-consent__text {
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.form-consent__text a,
.form-legal-note a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.form-legal-note {
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.legal-layout {
  display: grid;
  gap: 1.35rem;
}

.legal-document {
  display: grid;
  gap: 1rem;
}

.legal-document__header,
.legal-card,
.legal-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.legal-document__header {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.legal-document__header h2 {
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.legal-document__subtitle,
.legal-updated,
.legal-version {
  color: var(--muted-strong);
}

.legal-version {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.legal-card,
.legal-section {
  padding: clamp(1.15rem, 2.6vw, 1.8rem);
}

.legal-section h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.legal-section p,
.legal-card p,
.legal-list,
.legal-table {
  color: var(--muted-strong);
  line-height: 1.7;
}

.legal-section p:last-child,
.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.legal-list strong {
  color: var(--text);
}

.legal-note {
  margin-top: 1rem;
  padding: 0.95rem;
  border: 1px solid color-mix(in srgb, var(--brand) 38%, var(--line));
  border-radius: 0.95rem;
  background: color-mix(in srgb, var(--brand-soft) 62%, transparent);
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.legal-table th,
.legal-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

/* Legal document navigation, alerts and related cards */
.legal-page-shell .container {
  display: grid;
  gap: 1.25rem;
}

.legal-alert,
.legal-toc,
.legal-related {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.014)),
    color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: var(--shadow-sm);
  padding: clamp(1rem, 2.2vw, 1.45rem);
}

.legal-alert {
  border-color: color-mix(in srgb, var(--brand) 46%, var(--line));
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 210, 113, 0.12), transparent 13rem),
    color-mix(in srgb, var(--surface) 76%, transparent);
}

.legal-alert strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.legal-alert p,
.legal-toc a,
.legal-related-card span,
.legal-definition-list dd {
  color: var(--muted-strong);
}

.legal-toc {
  display: grid;
  gap: 0.6rem;
}

.legal-toc h2,
.legal-related h2 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.legal-toc a {
  display: block;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.94rem;
}

.legal-toc a:hover {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text);
}

.legal-sections {
  display: grid;
  gap: 1rem;
}

.legal-section h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.legal-definition-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.legal-definition-list div {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.legal-definition-list dt {
  color: var(--text);
  font-weight: 850;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.button--ghost {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border-color: var(--line);
  color: var(--text);
}

.legal-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  gap: 0.75rem;
}

.legal-related-card {
  display: grid;
  gap: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.95rem;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.legal-related-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  transform: translateY(-1px);
}

.legal-related-card strong {
  color: var(--text);
}
