:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #0b1020;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f6f7fb;
  --muted: #a7adbf;
  --dim: #687086;
  --blue: #4b8dff;
  --violet: #9b63ff;
  --cyan: #50e6ff;
  --gold: #ffd15c;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  font-family: Inter, "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(80, 95, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 10% 28%, rgba(143, 69, 255, 0.18), transparent 30rem),
    linear-gradient(135deg, #03050a 0%, #090b13 46%, #080414 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 70%);
}

button,
a {
  font: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.ambient-a {
  top: 8vh;
  right: -10vw;
  background: #4b60ff;
}

.ambient-b {
  bottom: -18vw;
  left: -10vw;
  background: #802dff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 22, 0.72);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(97, 148, 255, 0.55);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(75, 141, 255, 0.26), rgba(155, 99, 255, 0.18));
  color: #dce8ff;
  font-size: 12px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.nav-links {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a,
.header-action,
.primary-btn,
.ghost-btn,
.filter-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  padding: 0 15px;
  color: var(--muted);
}

.nav-links a:hover,
.header-action:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.header-action {
  min-width: 54px;
  border: 1px solid rgba(75, 141, 255, 0.44);
  color: #cfe0ff;
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

#sections,
#experience,
#work,
#contact {
  scroll-margin-top: 116px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  min-height: calc(100vh - 126px);
  margin-top: 48px;
  padding: 52px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 36%, rgba(75, 141, 255, 0.2), transparent 34rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-copy {
  position: relative;
}

.hero-label,
.section-heading span,
.panel-head span,
.contact-panel span {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #c9d7ff;
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-btn,
.ghost-btn {
  min-width: 120px;
  padding: 0 18px;
  border: 0;
  cursor: pointer;
}

.primary-btn {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 14px 42px rgba(75, 116, 255, 0.32);
}

.ghost-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.metric-strip span {
  min-height: 84px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.metric-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 26px;
}

.experience-panel,
.work-panel,
.contact-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.hero-stage {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.hero-stage::before {
  position: absolute;
  inset: -30% -20% auto auto;
  width: 60%;
  height: 70%;
  border-radius: 50%;
  background: rgba(80, 230, 255, 0.2);
  filter: blur(58px);
  content: "";
}

.stage-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7px;
  padding: 4px 0 12px 4px;
}

.stage-toolbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.hero-preview {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #111520;
  cursor: zoom-in;
}

.hero-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 500ms ease, opacity 500ms ease;
}

.hero-profile-stage {
  align-self: stretch;
}

.hero-portrait {
  height: calc(100% - 25px);
  cursor: default;
}

.hero-portrait img {
  height: 100%;
  min-height: 520px;
  aspect-ratio: 3 / 4;
  object-position: center;
}

.hero-preview:hover img {
  transform: scale(1.035);
  opacity: 1;
}

.hero-preview span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.section-overview,
.experience-panel,
.work-panel,
.contact-panel {
  padding: 78px 0 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.section-card {
  position: relative;
  overflow: hidden;
  min-height: 244px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.section-card::after {
  position: absolute;
  right: -26px;
  bottom: -18px;
  color: rgba(255, 255, 255, 0.06);
  content: attr(data-index);
  font-size: 126px;
  font-weight: 900;
  line-height: 1;
}

.section-card:hover,
.work-card:hover,
.rail-card:hover,
.kv-card:hover {
  border-color: rgba(92, 157, 255, 0.58);
  transform: translateY(-3px);
}

.section-card,
.work-card,
.rail-card,
.kv-card {
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.section-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
}

.section-card .en {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section-card p {
  position: relative;
  z-index: 1;
  margin-top: 42px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.work-panel {
  margin-top: 76px;
  padding: 28px;
  border-radius: 30px;
}

.experience-panel {
  margin-top: 76px;
  padding: 28px;
  border-radius: 30px;
}

.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.panel-intro {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.experience-list {
  display: grid;
  gap: 14px;
}

.experience-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(75, 141, 255, 0.09), rgba(155, 99, 255, 0.045)),
    rgba(255, 255, 255, 0.055);
  transition: border-color 240ms ease, background 240ms ease, transform 240ms ease;
}

.experience-item:hover {
  border-color: rgba(92, 157, 255, 0.58);
  transform: translateY(-2px);
}

.experience-inner {
  display: grid;
  grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  min-height: 210px;
  padding: 16px;
}

.experience-media {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 210px;
  border-radius: 18px;
  background: #111520;
}

.experience-media > img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.experience-item:hover .experience-media > img {
  transform: scale(1.025);
}

.experience-thumbs {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.experience-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.experience-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 8px 8px 8px 0;
}

.experience-kicker {
  color: #90adff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.experience-title {
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.18;
}

.experience-focus {
  margin-top: 14px;
  max-width: 760px;
  color: #d8dded;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.experience-tags span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dce8ff;
  font-size: 12px;
  font-weight: 800;
}

.experience-more {
  width: fit-content;
  margin-top: 20px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.experience-detail {
  margin: 0 16px 16px calc(38% + 38px);
  padding: 0 18px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
}

.experience-detail p {
  max-width: 720px;
  line-height: 1.8;
}

.filter-bar button {
  min-width: 70px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: pointer;
}

.filter-bar button.is-active {
  border-color: rgba(75, 141, 255, 0.68);
  background: rgba(75, 141, 255, 0.18);
  color: #e4ecff;
}

.featured-rail {
  display: grid;
  grid-auto-columns: minmax(290px, 36%);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
}

.featured-rail::-webkit-scrollbar,
.work-grid::-webkit-scrollbar {
  height: 10px;
}

.featured-rail::-webkit-scrollbar-thumb,
.work-grid::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  background-clip: padding-box;
}

.rail-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #111520;
  cursor: pointer;
  scroll-snap-align: start;
}

.rail-card img,
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail-card img {
  position: absolute;
  inset: 0;
}

.rail-card::after,
.work-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08) 58%, transparent);
  content: "";
}

.rail-card-info {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 1;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #e8edff;
  font-size: 12px;
  font-weight: 800;
}

.rail-card h3 {
  margin: 0;
  font-size: 26px;
}

.rail-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.kv-mosaic {
  display: block;
  column-count: 3;
  column-gap: 10px;
}

.kv-card {
  position: relative;
  display: inline-block;
  width: 100%;
  min-height: 0;
  margin: 0 0 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111520;
  cursor: zoom-in;
  vertical-align: top;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.kv-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  transition: transform 500ms ease, filter 300ms ease;
}

.kv-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.kv-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.1) 56%, transparent);
  content: "";
}

.kv-card-info {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.kv-card-info strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
  text-align: right;
}

.kv-wide {
  min-height: 0;
}

.kv-large {
  min-height: 0;
}

.kv-tall {
  min-height: 0;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #111520;
  cursor: pointer;
}

.work-card,
.rail-card,
.kv-card,
.experience-item {
  contain: layout paint;
}

.work-card img {
  aspect-ratio: 16 / 9;
}

.work-card-info {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.work-card h3 {
  margin: 0;
  font-size: 18px;
}

.work-card small {
  color: var(--muted);
  font-weight: 800;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 76px;
  margin-bottom: 60px;
  padding: 34px;
  border-radius: 30px;
}

.contact-panel p {
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-actions {
  position: relative;
  display: grid;
  justify-items: end;
  gap: 12px;
  min-width: min(100%, 360px);
  margin-top: 0;
}

.contact-link,
.wechat-card {
  width: min(100%, 340px);
  min-height: 66px;
  padding: 12px 16px;
  border: 1px solid rgba(75, 141, 255, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(75, 141, 255, 0.18), rgba(155, 99, 255, 0.1)),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: 0 14px 42px rgba(75, 116, 255, 0.12);
  text-align: right;
}

.contact-link small,
.wechat-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.contact-link strong,
.wechat-card strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.35;
}

.wechat-card {
  position: relative;
  cursor: default;
  outline: none;
}

.wechat-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  z-index: 8;
  width: 230px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(10, 12, 22, 0.92);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.wechat-card:hover .wechat-popover,
.wechat-card:focus-within .wechat-popover,
.wechat-card:focus .wechat-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.wechat-popover img {
  width: 100%;
  border-radius: 14px;
}

.wechat-popover p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: rgba(4, 6, 13, 0.88);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: opacity 220ms ease;
}

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

.lightbox-frame {
  display: grid;
  max-height: calc(100vh - 48px);
  margin: 0;
  place-items: center;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: calc(100vh - 132px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.lightbox-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 980px);
  gap: 20px;
  padding-top: 16px;
  color: var(--muted);
}

.lightbox-frame strong {
  color: var(--text);
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 30px;
}

.lightbox-nav {
  width: 54px;
  height: 54px;
  font-size: 42px;
}

@media (max-width: 920px) {
  .site-header,
  .section-shell {
    width: min(100% - 28px, 720px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 36px;
  }

  .hero-stage {
    max-width: 640px;
  }

  .section-cards,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kv-mosaic {
    column-count: 2;
    column-gap: 10px;
  }

  .kv-card,
  .kv-wide,
  .kv-large,
  .kv-tall {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 0;
  }

  .panel-head,
  .contact-panel {
    display: block;
  }

  .filter-bar {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .contact-actions {
    justify-items: stretch;
    margin-top: 22px;
  }

  .contact-link,
  .wechat-card {
    width: 100%;
  }

  .wechat-popover {
    right: 0;
    bottom: calc(100% + 12px);
  }
}

@media (max-width: 620px) {
  .site-header {
    border-radius: 22px;
  }

  #sections,
  #experience,
  #work,
  #contact {
    scroll-margin-top: 94px;
  }

  .brand small,
  .header-action {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero {
    padding: 24px;
    border-radius: 28px;
  }

  .hero-text {
    font-size: 15px;
  }

  .metric-strip,
  .section-cards,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .kv-mosaic {
    column-count: 1;
  }

  .featured-rail {
    grid-auto-columns: 86%;
  }

  .work-panel {
    padding: 18px;
  }

  .experience-panel {
    padding: 18px;
  }

  .experience-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 14px;
  }

  .experience-copy {
    padding: 2px 4px 6px;
  }

  .experience-focus {
    font-size: 15px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .lightbox-nav {
    display: none;
  }

  .lightbox-frame figcaption {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
