body {
  --paper: oklch(98.2% .006 95);
  --ink: oklch(23% .035 245);
  --body: oklch(36% .035 245);
  --navy: oklch(50% .12 234);
  --hero-text: oklch(99% .003 95);
  --hero-shade: oklch(12% .01 95 / .8);
  --hero-glass: color-mix(in oklab, var(--white) 92%, transparent);
  background: var(--paper);
}

body .site-header {
  position: sticky;
  top: 16px;
  width: min(calc(100% - 32px), 860px);
  margin: 0 auto;
  border-radius: 40px;
  background: var(--hero-glass);
  backdrop-filter: blur(16px);
}
body .header-inner { padding-inline: 24px; height: auto; min-height: 64px; }
body :is(h1, h2, h3) { font-family: var(--sans); font-weight: 500; }
.refract-overview { padding-top: 0; margin-top: -64px; }
.refract-hero { position: relative; isolation: isolate; overflow: clip; }
.refract-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: clip;
  background: url("images/refract-field.jpg") 50% 56% / cover no-repeat;
}
.refract-field img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; }
.refract-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 56%, var(--paper)),
    linear-gradient(90deg, var(--hero-shade), transparent 77%);
}
.refract-hero .profile {
  min-height: 650px;
  padding-block: 154px 88px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(28px, 5vw, 80px);
}
.refract-hero .profile h1 {
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  color: var(--hero-text);
}
.refract-hero .profile-affiliation { font: 400 16px/1.55 var(--sans); color: var(--hero-text); margin-top: 12px; }
.refract-hero .profile-introduction {
  max-width: 39ch;
  padding: 0;
  color: var(--hero-text);
  background: transparent;
  box-shadow: none;
}
.refract-action { margin-top: 24px; border-radius: 999px; }
.refract-hero .profile-aside {
  background: var(--hero-glass);
  border-radius: 22px;
  padding: 32px;
  box-shadow: none;
}
.refract-hero .profile-photo { height: 230px; aspect-ratio: auto; }
.refract-hero .profile-photo img { object-position: 50% 66%; }
.refract-hero .keyword-content { padding: 0; margin-top: 16px; }
.refract-hero .keyword-content li { font-size: 16px; line-height: 1.8; }
.refract-overview .research-section { padding-top: 0; }
.refract-overview .project-card { border-radius: 0; box-shadow: none; background: transparent; border-block: 1px solid var(--rule); }
.refract-overview .project-card-link { padding-inline: 0; }
.refract-overview .location-label { background: transparent; padding-inline: 0; }

@keyframes refract-settle {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .refract-field img { animation: refract-settle 4s cubic-bezier(.2,.65,.3,1) both; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 10rem; }
  body .site-header { top: 0; width: 100%; border-radius: 0; }
  .refract-overview { margin-top: 0; }
  .refract-hero .profile { min-height: 0; padding-block: 48px 68px; grid-template-columns: minmax(0, 1fr); }
  .refract-hero .profile-aside { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 20px; }
  .refract-hero .profile-photo { height: 112px; }
  .refract-hero .keyword-content { margin: 0; }
  .refract-field { background-position: 45% 50%; }
  .refract-field img { object-position: 45% 50%; }
  .refract-field::after {
    background: linear-gradient(180deg, var(--hero-shade), transparent 58%, var(--paper));
  }
}
