@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/newsreader.woff2") format("woff2-variations"), url("fonts/newsreader.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --soft: #f5f5f7;
  --ink: #0b0b0c;
  --ink-2: #3a3a3f;
  --muted: #6e6e76;
  --faint: #a1a1aa;
  --line: #ececef;
  --accent: #3b5bff;
  --radius: 26px;
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --font: "Newsreader", Georgia, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(10, 10, 20, 0.04), 0 12px 40px -12px rgba(10, 10, 20, 0.12);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "opsz" 16;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

::selection {
  background: var(--ink);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 64px;
  padding: 0 var(--pad);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  margin-right: auto;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2px;
}

.nav-links a {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15.5px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--soft);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 96px var(--pad) 72px;
  overflow: hidden;
  isolation: isolate;
}

#field {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 30%, transparent 85%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bg));
  pointer-events: none;
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.aurora i {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: drift 22s ease-in-out infinite alternate;
}

.aurora i:nth-child(1) {
  top: -25vmax;
  left: -10vmax;
  background: radial-gradient(circle, #dfe6ff 0%, transparent 65%);
}

.aurora i:nth-child(2) {
  right: -20vmax;
  bottom: -30vmax;
  background: radial-gradient(circle, #efe4ff 0%, transparent 65%);
  animation-delay: -11s;
}

@keyframes drift {
  to {
    transform: translate(8vmax, 6vmax) scale(1.1);
  }
}

.hero-inner {
  width: 100%;
  max-width: var(--wrap);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wordmark {
  margin: 0;
  font-size: clamp(76px, 16.5vw, 256px);
  font-weight: 450;
  line-height: 0.95;
  letter-spacing: -0.035em;
  white-space: nowrap;
  user-select: none;
}

.wm-line {
  display: inline-block;
}

.wm-char {
  display: inline-block;
  transform: translateY(var(--ty, 0)) scale(var(--s, 1));
  transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease), color 0.5s var(--ease);
  will-change: transform;
}

.wm-char.space {
  width: 0.22em;
}

.wm-intro .wm-char {
  animation: rise 1.1s var(--ease) both;
  animation-delay: calc(var(--i) * 45ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.4em);
    filter: blur(10px);
  }
}

.wm-alt {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.12em;
  animation: fade 1s 0.5s var(--ease) both;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(36px, 6vh, 60px);
  animation: fade 1s 0.7s var(--ease) both;
}

.chip {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink-2);
  font-size: 15.5px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.3s var(--ease);
}

.chip:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 22px;
  height: 36px;
  margin-left: -11px;
  border: 1.5px solid #cfcfd6;
  border-radius: 12px;
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--muted);
  animation: wheel 1.8s var(--ease) infinite;
}

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translateY(-3px);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ---------- intro facts ---------- */

.intro {
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) var(--pad) clamp(24px, 4vw, 48px);
}

.facts {
  margin: 0;
  border-top: 1px solid var(--line);
}

.fact {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px 32px;
  padding: clamp(20px, 2.8vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.fact dt {
  color: var(--faint);
  font-size: 15px;
  transition: color 0.6s var(--ease);
}

.fact dd {
  margin: 0;
  color: #d6d6db;
  font-size: clamp(32px, 4.8vw, 66px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
  transform: translateX(-10px);
  transition: color 0.7s var(--ease), transform 0.9s var(--ease);
}

.fact .seg {
  white-space: nowrap;
}

.fact.on dt {
  color: var(--muted);
}

.fact.on dd {
  color: var(--ink);
  transform: none;
}

.fact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  padding: 0;
  border: 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: background-size 0.5s var(--ease);
}

.fact-link:hover {
  background-size: 100% 1px;
}

.fact-arrow {
  display: inline-grid;
  transition: transform 0.5s var(--ease);
}

.fact-arrow svg {
  width: 0.55em;
  height: 0.55em;
}

.fact-link:hover .fact-arrow {
  transform: translate(0.08em, -0.08em);
}

/* ---------- sections ---------- */

.section {
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 140px) var(--pad) 0;
  scroll-margin-top: 20px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(44px, 6.4vw, 92px);
  font-weight: 450;
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- experience cards ---------- */

.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.exp-card {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s;
}

.exp-card:hover {
  border-color: transparent;
  box-shadow: 0 30px 60px -24px rgba(10, 10, 30, 0.22), 0 0 0 1px rgba(10, 10, 30, 0.04);
}

.exp-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.exp-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}

.exp-card:hover .exp-media img {
  transform: scale(1.08);
}

.exp-date {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.exp-body {
  display: block;
  padding: 22px 26px 26px;
}

.exp-title {
  margin: 0 0 6px;
  font-size: clamp(21px, 1.9vw, 25px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
  word-break: keep-all;
}

.exp-role {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- hobbies ---------- */

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hobby {
  margin: 0;
}

.hobby-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

.hobby-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04) translate(var(--px, 0), var(--py, 0));
  transition: transform 1s var(--ease);
}

.hobby figcaption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 20px 4px 0;
}

.hobby h3 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 450;
  letter-spacing: -0.02em;
}

.hobby p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- contact ---------- */

.contact-group + .contact-group {
  margin-top: clamp(40px, 5vw, 64px);
}

.group-title {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  transition: background 0.3s, border-color 0.3s, transform 0.5s var(--ease);
}

.social-link:hover {
  background: #fff;
  border-color: #d9d9de;
  transform: translateY(-2px);
}

.social-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink-2);
  transition: background 0.3s, color 0.3s;
}

.social-link:hover .social-icon {
  background: var(--ink);
  color: #fff;
}

.social-text {
  flex: 1;
  min-width: 0;
  display: grid;
  line-height: 1.3;
}

.social-label {
  color: var(--muted);
  font-size: 13.5px;
}

.social-value {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-arrow {
  color: var(--faint);
  transition: transform 0.4s var(--ease), color 0.3s;
}

.social-link:hover .social-arrow {
  color: var(--ink);
  transform: translate(2px, -2px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-card {
  position: relative;
}

.contact-card:first-child {
  grid-column: 1 / -1;
}

.contact-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  min-height: 200px;
  height: 100%;
  padding: 26px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: border-color 0.4s, box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.contact-link:hover {
  border-color: transparent;
  box-shadow: 0 24px 50px -24px rgba(10, 10, 30, 0.2), 0 0 0 1px rgba(10, 10, 30, 0.05);
  transform: translateY(-3px);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--ink-2);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.contact-link:hover .contact-icon {
  background: var(--ink);
  color: #fff;
}

.contact-arrow {
  grid-column: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--faint);
  transition: transform 0.5s var(--ease), color 0.3s;
}

.contact-link:hover .contact-arrow {
  color: var(--ink);
  transform: translate(3px, -3px);
}

.contact-text {
  grid-column: 1 / -1;
  align-self: end;
  display: grid;
  gap: 6px;
  margin-top: 36px;
}

.contact-label {
  color: var(--muted);
  font-size: 15px;
}

.contact-value {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.copy-btn {
  position: absolute;
  top: 28px;
  right: 72px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.copy-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.copy-btn.done {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.to-top {
  display: inline-flex;
  gap: 8px;
  margin: clamp(60px, 9vw, 120px) 0 56px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s;
}

.to-top:hover {
  color: var(--ink);
}

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(245, 245, 247, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 760px);
  max-height: calc(100svh - 48px);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(10, 10, 30, 0.35), 0 0 0 1px rgba(10, 10, 30, 0.05);
  outline: none;
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}

.modal-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal.open .modal-backdrop {
  opacity: 1;
}

.modal.open .modal-panel {
  opacity: 1;
  transform: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(10, 10, 30, 0.1), 0 0 0 1px rgba(10, 10, 30, 0.05);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--ink);
  color: #fff;
}

.modal-media[hidden],
.modal.solo .modal-nav {
  display: none;
}

.modal.solo .modal-panel {
  width: min(100%, 640px);
}

.modal.solo .modal-body {
  padding-top: 36px;
  padding-bottom: 28px;
}

.modal-media {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--soft);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s var(--ease);
}

.modal.open .modal-media img {
  transform: scale(1);
}

.modal-body {
  padding: 28px clamp(22px, 4vw, 40px) 8px;
}

.modal-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.pill.dark {
  background: var(--ink);
  color: #fff;
}

.modal-body h3 {
  margin: 0 0 22px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
  word-break: keep-all;
}

.modal-meta {
  display: grid;
  gap: 0;
  margin: 0 0 26px;
  border-top: 1px solid var(--line);
}

.modal-meta div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.modal-meta dt {
  color: var(--muted);
}

.modal-meta dd {
  margin: 0;
}

.modal-meta a {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s;
}

.modal-meta a:hover {
  border-color: var(--ink);
}

.modal-list-title {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}

.modal-sessions {
  display: grid;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.modal-sessions li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 2px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.modal-sessions li:last-child {
  border-bottom: 0;
}

.s-when {
  grid-row: span 2;
  color: var(--muted);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.s-name {
  font-size: 17px;
  line-height: 1.45;
}

.s-where {
  color: var(--muted);
  font-size: 15px;
}

.modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(22px, 4vw, 40px) 24px;
}

.modal-step {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.modal-step:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.modal-count {
  color: var(--faint);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s, transform 0.4s var(--ease);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

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

.exp-card.reveal.in {
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .exp-grid,
  .hobby-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .fact {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hobby-media {
    aspect-ratio: 1 / 1;
  }

  .hobby figcaption {
    flex-direction: column;
  }

  .contact-link {
    min-height: 168px;
    padding: 22px;
  }

  .social-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .copy-btn {
    top: 24px;
    right: 64px;
  }

  .modal-sessions li {
    grid-template-columns: 1fr;
  }

  .s-when {
    grid-row: auto;
  }

  .modal {
    padding: 0;
    align-items: end;
  }

  .modal-panel {
    max-height: 92svh;
    border-radius: 24px 24px 0 0;
  }

  .modal-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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