body.experience-page.hub-home .page-hero { min-height: 540px; padding-block: clamp(64px, 9vw, 120px); }
body.experience-page.hub-home .page-hero .hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  max-width: none;
  padding: 0;
}
body.experience-page.hub-home .page-hero .hero-copy::before { content: none; }
body.experience-page.hub-home .hub-title h1 {
  max-width: none;
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.065em;
}
body.experience-page.hub-home .hub-title h1 span { display: block; }
body.experience-page.hub-home .hub-title-outline {
  margin-left: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--xp-accent) 78%, white);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--xp-accent) 24%, transparent));
}
body.experience-page.hub-home :is(.eyebrow, .card-label) { font-size: 0.6rem; letter-spacing: 0.17em; }
body.experience-page.hub-home .hub-intro,
body.experience-page.hub-home .hub-project-card {
  padding: clamp(24px, 2.5vw, 36px);
  border: 1px solid rgba(213, 224, 255, 0.16);
  background: linear-gradient(135deg, rgba(120, 214, 255, 0.07), transparent 35%), var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
body.experience-page.hub-home .hub-intro p { color: var(--muted); font-size: 0.9rem; line-height: 1.8; }
body.experience-page.hub-home .hub-intro .lead { margin-top: 0; color: rgba(240, 244, 255, 0.86); font-weight: 400; }
body.experience-page.hub-home .button { font-size: 0.64rem; letter-spacing: 0.14em; }
body.experience-page.hub-home .sub-nav { margin-bottom: 0; }
body.experience-page.hub-home #projects > .section-head {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  column-gap: clamp(32px, 6vw, 88px);
}
body.experience-page.hub-home #projects > .section-head .eyebrow { grid-column: 1; }
body.experience-page.hub-home #projects > .section-head h2 {
  grid-column: 1;
  margin-top: 8px;
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}
body.experience-page.hub-home #projects > .section-head > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.85;
}
body.experience-page.hub-home .hub-project-card::before { inset: 0 auto 0 0; border: 0; clip-path: none; }
body.experience-page.hub-home .hub-project-card::after { content: none; }
body.experience-page.hub-home .hub-project-card > header h3 {
  font-size: clamp(1.3rem, 2vw, 1.95rem);
  letter-spacing: -0.035em;
}
body.experience-page.hub-home .hub-project-card header p { font-size: 0.85rem; line-height: 1.8; }
body.experience-page.hub-home .hub-project-card .panel {
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid rgba(218, 226, 255, 0.16);
  background: transparent;
  clip-path: none;
}
body.experience-page.hub-home .hub-project-card .panel::after { content: none; }
body.experience-page.hub-home .hub-project-card .panel h4 { font-size: 0.6rem; letter-spacing: 0.17em; }
body.experience-page.hub-home .hub-project-card .panel p { font-size: 0.8rem; line-height: 1.8; }
body.experience-page.hub-home .footer-links a { border-color: rgba(120, 214, 255, 0.2); background: rgba(120, 214, 255, 0.04); }
body.experience-page.hub-home .art-card { border-color: rgba(218, 226, 255, 0.12); background: rgba(5, 7, 20, 0.6); }
body.experience-page.hub-home .art-card figcaption { font-size: 0.75rem; line-height: 1.7; color: var(--muted); }

/* Let the card width size previews, independently of source-image dimensions. */
body.experience-page.hub-home .hub-project-card { align-content: start; }
body.experience-page.hub-home .hub-project-card > .art-card {
  display: flex;
  width: 100%;
  min-height: 0;
  margin: 0;
  align-self: start;
}
body.experience-page.hub-home .hub-project-card > .art-card .art-link {
  display: block;
  flex: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
body.experience-page.hub-home .hub-project-card > .art-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
}
body.experience-page.hub-home .hub-project-card > .diagram-card { min-height: 0; }

@media (max-width: 900px) {
  body.experience-page.hub-home .page-hero .hero-copy,
  body.experience-page.hub-home #projects > .section-head { grid-template-columns: minmax(0, 1fr); }
  body.experience-page.hub-home .hub-title h1 { font-size: clamp(2rem, 9vw, 5rem); }
  body.experience-page.hub-home #projects > .section-head > p:last-child { grid-column: 1; grid-row: auto; margin-top: 20px; }
}
@media (max-width: 580px) {
  body.experience-page.hub-home .hub-intro,
  body.experience-page.hub-home .hub-project-card { padding: 24px 20px; }
  body.experience-page.hub-home .hub-project-card .grid.two { grid-template-columns: minmax(0, 1fr); }
}
