/**
 * 功能说明：定义香瓜手札的静态站视觉系统，负责首页、子页和简历页的版式、配色与交互状态。
 * 职责边界：只处理静态页面展示和响应式布局，不负责数据请求、路由控制与部署逻辑。
 */

:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --bg-alt: #efeae1;
  --surface: #fdfbf7;
  --surface-soft: #f8f4ed;
  --surface-strong: #ffffff;
  --text: #1d221f;
  --text-soft: rgba(29, 34, 31, 0.74);
  --text-muted: rgba(29, 34, 31, 0.48);
  --line: rgba(29, 34, 31, 0.08);
  --line-strong: rgba(29, 34, 31, 0.12);
  --accent: #5a8c78;
  --accent-deep: #3a5f4e;
  --accent-soft: #c8dcd3;
  --clay: #6f7e76;
  --shadow-soft: 0 24px 56px rgba(31, 28, 23, 0.08);
  --shadow-card: 0 18px 34px rgba(31, 28, 23, 0.06);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 20%),
    radial-gradient(circle at top left, rgba(190, 178, 160, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #f0ece4 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

button,
input,
textarea,
object {
  font: inherit;
}

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

.shell {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
}

.shell--wide {
  width: min(1240px, calc(100vw - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.84);
  backdrop-filter: blur(18px) saturate(118%);
}

.header-row {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 237, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 680;
  color: var(--text);
}

.brand-copy small {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.footer-links a,
.footer-records a,
.inline-links a {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-soft);
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-records a:hover,
.footer-records a:focus-visible,
.inline-links a:hover,
.inline-links a:focus-visible {
  color: var(--text);
}

.page-home main,
.page-sub main {
  padding-bottom: 88px;
}

.hero,
.section-block,
.page-intro {
  padding-top: 58px;
}

.hero-banner {
  position: relative;
  display: grid;
  min-height: clamp(540px, calc(100dvh - 132px), 640px);
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: #e9e2d7;
  box-shadow: var(--shadow-soft);
}

.hero-banner-image,
.hero-banner-shade,
.hero-banner-copy,
.hero-identity {
  grid-area: 1 / 1;
}

.hero-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-shade {
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.56) 0%, rgba(18, 17, 15, 0.24) 28%, rgba(18, 17, 15, 0.08) 48%, rgba(18, 17, 15, 0.02) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(20, 19, 16, 0.09) 100%);
}

.hero-banner-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 0;
  width: min(520px, calc(100% - 64px));
  padding: 54px 56px 50px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent);
}

.hero-title,
.page-intro h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 4.2vw, 4.05rem);
  line-height: 1.1;
  font-weight: 560;
  letter-spacing: -0.01em;
  letter-spacing: 0;
  color: #fffdf8;
}

.hero-title {
  max-width: none;
  white-space: nowrap;
}

.page-intro h1 {
  max-width: 4.8ch;
}

.hero-lead,
.page-intro p:last-child {
  margin-top: 18px;
  font-size: clamp(1rem, 1.06vw, 1.08rem);
  line-height: 1.88;
  color: rgba(255, 253, 248, 0.9);
}

.hero-lead {
  max-width: none;
}

.page-intro p:last-child {
  max-width: 15ch;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.94rem;
  font-weight: 620;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.project-card:hover,
.project-card:focus-visible,
.project-row:hover,
.project-row:focus-visible {
  transform: translateY(-2px);
}

.button--solid {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #f4fbf7;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.82);
  color: #1d221f;
}

.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-list li,
.platform-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.75rem;
  font-weight: 640;
  line-height: 1;
  color: var(--text-soft);
}

.platform-chip--neutral {
  color: rgba(25, 23, 18, 0.58);
}

.hero-identity {
  position: relative;
  z-index: 1;
  display: grid;
  align-self: end;
  justify-self: end;
  width: min(344px, calc(100% - 56px));
  margin: 0 26px 26px 0;
  padding: 18px 18px 15px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(253, 251, 247, 0.62);
  backdrop-filter: blur(14px) saturate(106%);
  box-shadow: 0 12px 28px rgba(25, 23, 18, 0.08);
}

.hero-identity-head {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.hero-identity-avatar {
  width: 62px;
  aspect-ratio: 1 / 1;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(25, 23, 18, 0.08);
}

.project-art img,
.project-row-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-identity-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.hero-identity-meta {
  display: grid;
  gap: 5px;
}

.hero-identity-meta strong {
  font-size: 1.52rem;
  line-height: 1.08;
  font-weight: 590;
}

.hero-identity-meta span {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero-identity-copy {
  margin-top: 12px;
  max-width: none;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--text-soft);
  white-space: nowrap;
}

.hero-identity-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.hero-identity-links a {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--accent-deep);
}

.theme-yokai .project-art,
.theme-yokai .project-art,
.theme-yokai .project-row-art {
  background: linear-gradient(180deg, #6f3022, #9a4a31 72%, #dcc8b3);
}

.theme-kacha .project-art,
.theme-kacha .project-art,
.theme-kacha .project-row-art {
  background: linear-gradient(180deg, #f6f1e8, #eadfce 72%, #fffaf4);
}

.theme-timeart .project-art,
.theme-timeart .project-art,
.theme-timeart .project-row-art {
  background: linear-gradient(180deg, #151b26, #2a3548 70%, #edf1f6);
}

.theme-sparksafe .project-row-art {
  background: linear-gradient(180deg, #f2eee8, #dfd7cc 70%, #fcfaf5);
}

.theme-classgrid .project-row-art {
  background: linear-gradient(180deg, #f5f2eb, #e4dbcf 72%, #fdfaf4);
}

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

.tool-card {
  position: relative;
  display: grid;
  min-height: 226px;
  gap: 18px;
  align-content: space-between;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(29, 34, 31, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 244, 239, 0.98));
  box-shadow: 0 14px 26px rgba(31, 28, 23, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--tool-accent, var(--accent));
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(29, 34, 31, 0.18);
  box-shadow: 0 18px 32px rgba(31, 28, 23, 0.075);
}

.tool-card-head,
.tool-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(29, 34, 31, 0.1);
  border-radius: 8px;
  background: var(--tool-icon-bg, rgba(255, 255, 255, 0.76));
}

.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-card-body {
  display: grid;
  gap: 8px;
}

.tool-card-body h3 {
  font-size: 1.34rem;
  font-weight: 640;
  line-height: 1.2;
  letter-spacing: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.tool-card-body p {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text-soft);
}

.tool-domain {
  min-width: 0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(29, 34, 31, 0.52);
  overflow-wrap: anywhere;
}

.tool-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 6px;
  background: #27342e;
  font-size: 0.84rem;
  font-weight: 680;
  line-height: 1;
  color: #fffaf3;
  white-space: nowrap;
}

.theme-toolstory {
  --tool-accent: #78a892;
  --tool-icon-bg: #eef6f1;
}

.theme-toolemotion {
  --tool-accent: #c98968;
  --tool-icon-bg: #fbf0e7;
}

.theme-toolscreenshot {
  --tool-accent: #5b6abf;
  --tool-icon-bg: #eef0fa;
}

.theme-toolscenes {
  --tool-accent: #9b6a32;
  --tool-icon-bg: #f6efe4;
}

.theme-toolwallpaper {
  --tool-accent: #9a91ad;
  --tool-icon-bg: #f0eef5;
}

.theme-toolpatterns {
  --tool-accent: #235789;
  --tool-icon-bg: #f9f7f1;
}

.project-body,
.project-row-body {
  display: grid;
  gap: 8px;
}

.project-type {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(25, 23, 18, 0.56);
}

.project-body h3,
.project-row-body h3,
.about-card h2,
.note-card h2,
.resume-copy h2,
.section-heading h2,
.about-strip h2,
.essay-grid h2 {
  font-weight: 620;
  letter-spacing: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 24px;
  align-items: end;
  padding-bottom: 22px;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.12;
}

.section-heading p,
.about-strip-copy p,
.essay-copy p,
.about-card p,
.note-card p,
.resume-copy p,
.footer-grid p {
  font-size: 0.98rem;
  line-height: 1.84;
  color: var(--text-soft);
}

.section-note {
  max-width: 28ch;
  justify-self: end;
}

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

.project-card,
.project-row,
.about-card,
.note-card,
.resume-card,
.resume-viewer {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 237, 0.98));
  box-shadow: var(--shadow-card);
}

.project-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover,
.project-card:focus-visible,
.project-row:hover,
.project-row:focus-visible {
  border-color: rgba(25, 23, 18, 0.18);
  box-shadow: 0 22px 42px rgba(27, 23, 16, 0.1);
}

.project-art {
  aspect-ratio: 1 / 0.92;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-body h3,
.project-row-body h3 {
  font-size: 1.44rem;
  line-height: 1.22;
}

.project-body p,
.project-row-body p {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.project-link,
.project-row-link {
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--accent-deep);
}

.project-rows {
  display: grid;
  gap: 14px;
}

.project-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-row-art {
  width: 132px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
}

.about-strip-grid,
.essay-grid,
.page-intro-grid,
.resume-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.86fr);
  gap: 42px;
}

.about-strip-copy,
.essay-copy {
  display: grid;
  gap: 18px;
  align-content: end;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.inline-links a {
  position: relative;
}

.inline-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  opacity: 0.24;
}

.page-intro-grid {
  align-items: end;
}

.page-intro h1 {
  max-width: 10ch;
}

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

.about-card,
.note-card,
.resume-card {
  padding: 24px;
}

.note-stack {
  display: grid;
  gap: 16px;
}

.resume-layout {
  align-items: start;
}

.resume-copy {
  display: grid;
  gap: 16px;
}

.resume-viewer {
  min-height: 760px;
  padding: 0;
  overflow: hidden;
}

.resume-object {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #f8f4ed;
}

.resume-placeholder {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 760px;
  padding: 40px;
  text-align: center;
  color: var(--text-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 244, 237, 0.98)),
    var(--surface);
}

.page-resume {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(225, 218, 208, 0.2), transparent 22%),
    linear-gradient(180deg, #f7f4ee 0%, #f1ece4 100%);
}

.page-resume .site-footer {
  display: none;
}

.resume-stage-main {
  padding: 18px 0 40px;
}

.resume-stage {
  display: grid;
  gap: 14px;
}

.resume-stage-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.resume-stage-head h1 {
  margin-top: 6px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.08;
  font-weight: 590;
}

.resume-stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.resume-stage-viewer {
  overflow: hidden;
  min-height: calc(100vh - 154px);
  border-radius: 34px;
  border: 1px solid rgba(29, 34, 31, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 64px rgba(25, 23, 18, 0.08);
  backdrop-filter: blur(12px) saturate(104%);
}

.resume-object--stage {
  width: 100%;
  min-height: calc(100vh - 154px);
  background: #eae6df;
}

.resume-placeholder--stage {
  min-height: calc(100vh - 154px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 237, 0.98)),
    var(--surface);
}

.site-footer {
  padding: 24px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  gap: 24px 36px;
  align-items: start;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-title {
  font-size: 1.08rem;
  font-weight: 680;
  line-height: 1.25;
  color: var(--text);
}

.footer-mail {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: flex-start;
  align-items: center;
  justify-self: start;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  align-items: center;
}

.footer-records span {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.police-record {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.police-record img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .button,
  .project-card,
  .project-row,
  .tool-card,
  .nav a,
  .footer-links a,
  .footer-records a,
  .inline-links a {
    transition: none;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .about-strip-grid,
  .essay-grid,
  .page-intro-grid,
  .resume-layout {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-note {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100vw - 32px, 1120px);
  }

  .shell--wide {
    width: min(100vw - 28px, 1240px);
  }

  .header-row {
    min-height: 76px;
  }

  .nav {
    gap: 14px 18px;
  }

  .section-heading {
    padding-bottom: 18px;
  }

  .project-grid,
  .about-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .project-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-row-link,
  .footer-links,
  .footer-records {
    justify-content: flex-start;
  }

  .project-row-art {
    width: 124px;
  }

  .hero-banner {
    min-height: 590px;
  }

  .resume-viewer,
  .resume-object,
  .resume-placeholder {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .hero,
  .section-block,
  .page-intro {
    padding-top: 44px;
  }

  .header-row {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
    gap: 10px;
  }

  .brand {
    min-height: 48px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .brand-copy strong {
    font-size: 0.96rem;
  }

  .nav {
    width: 100%;
    gap: 12px 16px;
    justify-content: flex-start;
  }

  .hero-title,
  .page-intro h1 {
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

  .page-intro h1 {
    max-width: 5.2ch;
  }

  .hero-lead,
  .page-intro p:last-child {
    max-width: none;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-banner {
    min-height: 628px;
    border-radius: 24px;
  }

  .hero-banner-copy {
    width: calc(100% - 32px);
    align-content: start;
    padding: 28px 20px 24px;
  }

  .hero-banner-shade {
    background:
      linear-gradient(180deg, rgba(18, 17, 15, 0.4) 0%, rgba(18, 17, 15, 0.2) 38%, rgba(18, 17, 15, 0.09) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(20, 19, 16, 0.1) 100%);
  }

  .hero-identity {
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    padding: 16px 16px 13px;
    border-radius: 20px;
  }

  .hero-identity-head {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .hero-identity-avatar {
    width: 60px;
    border-radius: 18px;
  }

  .hero-identity-avatar img {
    border-radius: 12px;
  }

  .hero-identity-meta strong {
    font-size: 1.48rem;
  }

  .hero-identity-copy {
    max-width: none;
    white-space: normal;
  }

  .project-art {
    aspect-ratio: 1 / 0.72;
  }

  .project-row {
    gap: 16px;
  }

  .tool-card {
    min-height: 0;
  }

  .project-row-art {
    width: min(120px, 38vw);
  }

  .section-heading h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .section-note {
    max-width: none;
  }

  .resume-stage-main {
    padding: 18px 0 32px;
  }

  .resume-stage-head {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .resume-stage-actions {
    justify-content: flex-start;
  }

  .resume-viewer,
  .resume-object,
  .resume-placeholder,
  .resume-stage-viewer,
  .resume-object--stage,
  .resume-placeholder--stage {
    min-height: 420px;
  }
}
