@charset "UTF-8";

:root {
  --paper: #f3efe6;
  --paper-light: #faf7f0;
  --paper-deep: #e7dfd1;
  --ink: #18282f;
  --ink-soft: #4d5b5e;
  --navy: #203945;
  --navy-deep: #10272f;
  --maple: #943d34;
  --maple-bright: #b65342;
  --gold: #a67b43;
  --line: rgba(24, 40, 47, 0.16);
  --line-strong: rgba(24, 40, 47, 0.35);
  --light-line: rgba(250, 247, 240, 0.22);
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1180px, calc(100% - 72px));
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(24, 40, 47, 0.025) 100%),
    radial-gradient(circle at 10% 8%, rgba(166, 123, 67, 0.09), transparent 28%),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  transition: opacity 120ms ease;
}

body::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

html.language-switching body {
  opacity: 0.74;
}

[hidden] {
  display: none !important;
}

[data-lang="en"] {
  display: none;
}

html[data-language="en"] [data-lang="zh"] {
  display: none;
}

html[data-language="en"] [data-lang="en"] {
  display: revert;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

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

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

::selection {
  color: var(--paper-light);
  background: var(--maple);
}

:focus-visible {
  outline: 2px solid var(--maple-bright);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1200;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: var(--paper-light);
  background: var(--navy-deep);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--maple-bright);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.nav-open .site-header {
  border-color: var(--line);
  background: rgba(243, 239, 230, 0.92);
  box-shadow: 0 8px 30px rgba(16, 39, 47, 0.045);
  backdrop-filter: blur(16px);
}

body:not(.nav-open)[data-page="doujin"] .site-header:not(.is-scrolled),
body:not(.nav-open)[data-page="interests"] .site-header:not(.is-scrolled) {
  color: var(--paper-light);
}

body:not(.nav-open)[data-page="doujin"] .site-header:not(.is-scrolled) .brand-mark,
body:not(.nav-open)[data-page="interests"] .site-header:not(.is-scrolled) .brand-mark {
  fill: #d3a25e;
}

body:not(.nav-open)[data-page="doujin"] .site-header:not(.is-scrolled) .site-nav a,
body:not(.nav-open)[data-page="interests"] .site-header:not(.is-scrolled) .site-nav a,
body:not(.nav-open)[data-page="doujin"] .site-header:not(.is-scrolled) .brand-copy small,
body:not(.nav-open)[data-page="interests"] .site-header:not(.is-scrolled) .brand-copy small {
  color: rgba(250, 247, 240, 0.9);
}

body:not(.nav-open)[data-page="doujin"] .site-header:not(.is-scrolled) .language-toggle,
body:not(.nav-open)[data-page="doujin"] .site-header:not(.is-scrolled) .menu-toggle,
body:not(.nav-open)[data-page="interests"] .site-header:not(.is-scrolled) .language-toggle,
body:not(.nav-open)[data-page="interests"] .site-header:not(.is-scrolled) .menu-toggle {
  border-color: rgba(250, 247, 240, 0.42);
  background: rgba(16, 39, 47, 0.08);
}

body:not(.nav-open)[data-page="doujin"] .site-header:not(.is-scrolled) .language-next,
body:not(.nav-open)[data-page="interests"] .site-header:not(.is-scrolled) .language-next {
  color: rgba(250, 247, 240, 0.84);
}

.header-shell {
  width: var(--shell);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 116px;
}

.brand-mark {
  width: 32px;
  height: 38px;
  fill: var(--maple);
}

.brand-mark .stem {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.2vw, 32px);
}

.site-nav a {
  position: relative;
  padding: 9px 1px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.045em;
  white-space: nowrap;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--maple);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle,
.menu-toggle {
  border: 1px solid var(--line-strong);
  background: rgba(250, 247, 240, 0.36);
  cursor: pointer;
}

.language-toggle {
  min-width: 72px;
  padding: 7px 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.language-divider {
  margin: 0 4px;
  color: var(--line-strong);
}

.language-next {
  color: var(--ink-soft);
}

.menu-toggle {
  width: 39px;
  height: 35px;
  padding: 10px 8px;
  display: none;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 180ms ease;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.eyebrow,
.section-kicker,
.entry-meta,
.archive-code {
  color: var(--maple);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 27px;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.display-title {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(58px, 8vw, 116px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.045em;
}

.profile-display-title {
  font-size: clamp(50px, 6.4vw, 88px);
  line-height: 0.98;
}

html[data-language="zh"] .display-title {
  letter-spacing: 0.015em;
}

.display-title small {
  display: block;
  margin-top: 26px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 640px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.65;
}

.hero-summary {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.page-hero {
  position: relative;
  min-height: min(850px, 100vh);
  padding: calc(var(--header-height) + 72px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  right: -11vw;
  bottom: -31vw;
  width: min(65vw, 850px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 8vw rgba(166, 123, 67, 0.025), 0 0 0 16vw rgba(148, 61, 52, 0.018);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: clamp(56px, 8vw, 130px);
}

.hero-meta {
  margin-top: 42px;
  padding-top: 17px;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hero-meta div {
  display: grid;
  gap: 4px;
}

.hero-meta span {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.hero-meta strong {
  font-size: 12px;
  font-weight: 500;
}

.profile-visual {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  border: 1px solid var(--line-strong);
  background: rgba(250, 247, 240, 0.35);
  box-shadow: 24px 28px 0 rgba(148, 61, 52, 0.06);
}

.profile-visual::before,
.profile-visual::after {
  position: absolute;
  z-index: 2;
  width: 16px;
  height: 16px;
  content: "";
  pointer-events: none;
}

.profile-visual::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--maple);
  border-left: 2px solid var(--maple);
}

.profile-visual::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--maple);
  border-bottom: 2px solid var(--maple);
}

.profile-photo,
.profile-photo img {
  width: 100%;
  height: 100%;
}

.profile-photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: 0;
}

.profile-photo img {
  object-fit: cover;
}

.profile-photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  padding: 6px 8px;
  color: var(--paper-light);
  background: rgba(16, 39, 47, 0.75);
  font-size: 10px;
}

.profile-visual.has-image .archive-illustration {
  display: none;
}

.archive-illustration {
  width: 100%;
  height: 100%;
  padding: 9%;
}

.archive-illustration .ring,
.archive-illustration .axis,
.archive-illustration .wind {
  fill: none;
}

.archive-illustration .ring {
  stroke: rgba(24, 40, 47, 0.22);
}

.archive-illustration .axis {
  stroke: rgba(24, 40, 47, 0.11);
  stroke-dasharray: 3 7;
}

.archive-illustration .wind {
  stroke: var(--maple);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: wind-drift 16s linear infinite;
}

.archive-illustration .node {
  fill: var(--gold);
}

.archive-illustration .leaf {
  fill: var(--maple);
}

.visual-label {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 15px;
  left: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.section {
  position: relative;
  padding: clamp(88px, 10vw, 150px) 0;
}

.section-paper {
  background: var(--paper-light);
}

.section-dark {
  color: var(--paper-light);
  background: var(--navy-deep);
}

.section-header {
  margin-bottom: clamp(46px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: 50px;
  align-items: start;
}

.section-kicker {
  margin: 9px 0 0;
  font-weight: 400;
}

.section-header h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(39px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

html[data-language="zh"] .section-header h2 {
  letter-spacing: 0.02em;
}

.section-intro {
  grid-column: 2;
  max-width: 690px;
  margin: -22px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.section-dark .section-intro {
  color: rgba(250, 247, 240, 0.68);
}

.cv-list {
  border-top: 1px solid var(--line-strong);
}

.cv-item {
  display: grid;
  grid-template-columns: minmax(160px, 0.52fr) minmax(0, 1.48fr);
  gap: 36px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.cv-date {
  margin: 2px 0 0;
  color: var(--maple);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.cv-main h3 {
  margin-bottom: 7px;
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 400;
  line-height: 1.3;
}

.cv-main p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.expected {
  display: inline-block;
  margin-left: 9px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-strong);
}

.research-card {
  position: relative;
  min-height: 390px;
  padding: clamp(32px, 4vw, 52px);
  overflow: hidden;
}

.research-card + .research-card {
  border-left: 1px solid var(--line-strong);
}

.research-card::after {
  position: absolute;
  right: -74px;
  bottom: -92px;
  width: 210px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 28px rgba(148, 61, 52, 0.025);
}

.card-code {
  color: var(--maple);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.research-card h3 {
  max-width: 430px;
  margin: 92px 0 20px;
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 41px);
  font-weight: 400;
  line-height: 1.24;
}

.research-card p {
  position: relative;
  z-index: 1;
  max-width: 490px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.method-line {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.method-line span,
.tag-list li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--light-line);
  border: 1px solid var(--light-line);
}

.detail-panel {
  min-height: 300px;
  padding: clamp(30px, 4vw, 48px);
  background: var(--navy-deep);
}

.detail-panel h3 {
  margin: 47px 0 17px;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
}

.detail-panel p {
  margin-bottom: 0;
  color: rgba(250, 247, 240, 0.68);
  font-size: 14px;
}

.detail-panel .card-code {
  color: #d1a263;
}

.visit-list .cv-item {
  grid-template-columns: minmax(105px, 0.35fr) minmax(0, 1.65fr);
}

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

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

.media-tile {
  margin: 0;
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.page-bridge {
  position: relative;
  padding: clamp(70px, 8vw, 112px) 0;
  color: var(--paper-light);
  background: var(--maple);
  overflow: hidden;
}

.page-bridge::after {
  position: absolute;
  top: -100%;
  right: -8%;
  width: 560px;
  aspect-ratio: 1;
  border: 1px solid rgba(250, 247, 240, 0.18);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 70px rgba(250, 247, 240, 0.025), 0 0 0 140px rgba(250, 247, 240, 0.018);
}

.bridge-link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
}

.bridge-link span:first-child {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.bridge-link strong {
  font-family: var(--display);
  font-size: clamp(31px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.15;
}

.bridge-arrow {
  font-family: var(--display);
  font-size: 50px;
  transition: transform 220ms var(--ease);
}

.bridge-link:hover .bridge-arrow {
  transform: translateX(10px);
}

/* Fan-culture archive */

.tribute-hero {
  min-height: min(900px, 100vh);
  color: var(--paper-light);
  background:
    linear-gradient(115deg, rgba(16, 39, 47, 0.97), rgba(32, 57, 69, 0.92)),
    var(--navy-deep);
}

.tribute-hero::after {
  border-color: rgba(250, 247, 240, 0.13);
  box-shadow: 0 0 0 8vw rgba(250, 247, 240, 0.018), 0 0 0 16vw rgba(182, 83, 66, 0.025);
}

.tribute-hero .eyebrow {
  color: #d3a25e;
}

.tribute-hero .display-title {
  max-width: 1000px;
  font-size: clamp(54px, 8.5vw, 120px);
}

.tribute-hero .display-title small,
.tribute-hero .hero-lead {
  color: rgba(250, 247, 240, 0.68);
}

.tribute-hero .shell {
  position: relative;
  z-index: 1;
}

.decade-mark {
  position: absolute;
  right: 0;
  bottom: -60px;
  color: rgba(250, 247, 240, 0.045);
  font-family: var(--display);
  font-size: clamp(180px, 28vw, 420px);
  line-height: 0.8;
  pointer-events: none;
}

.sound-line {
  width: min(560px, 60vw);
  margin-top: 64px;
}

.sound-line path {
  fill: none;
  stroke: rgba(211, 162, 94, 0.66);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 9 8;
  animation: wind-drift 14s linear infinite;
}

.memory-line {
  position: relative;
  max-width: 920px;
  margin-left: auto;
}

.memory-line::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 128px;
  width: 1px;
  content: "";
  background: var(--line-strong);
}

.memory-entry {
  position: relative;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 60px;
  padding: 0 0 70px;
}

.memory-entry:last-child {
  padding-bottom: 0;
}

.memory-entry::before {
  position: absolute;
  top: 9px;
  left: 123px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper-light);
  border-radius: 50%;
  content: "";
  background: var(--maple);
}

.memory-date {
  margin: 2px 0 0;
  color: var(--maple);
  font-family: var(--mono);
  font-size: 11px;
  text-align: right;
}

.memory-copy h3 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 39px);
  font-weight: 400;
}

.memory-copy p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.credit-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--light-line);
  border-left: 1px solid var(--light-line);
}

.credit-entry {
  min-height: 390px;
  padding: clamp(28px, 3.5vw, 44px);
  border-right: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.credit-entry > span {
  color: #d3a25e;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.credit-entry h3 {
  margin: 82px 0 22px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 39px);
  font-weight: 400;
}

.credit-entry p {
  margin: 0;
  color: rgba(250, 247, 240, 0.68);
  font-size: 13px;
  line-height: 1.9;
}

.farewell {
  padding: clamp(98px, 13vw, 190px) 0;
  color: var(--paper-light);
  background: var(--maple);
}

.farewell blockquote {
  max-width: 990px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(31px, 5vw, 66px);
  line-height: 1.45;
}

.farewell .section-kicker {
  margin-bottom: 45px;
  color: rgba(250, 247, 240, 0.66);
}

.farewell-thanks {
  max-width: 720px;
  margin: 64px 0 0 auto;
  color: rgba(250, 247, 240, 0.86);
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.7;
}

.farewell footer {
  margin-top: 34px;
  color: rgba(250, 247, 240, 0.68);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.work-card {
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.work-card-media,
.work-card-media img {
  width: 100%;
}

.work-card-media {
  margin: 0;
}

.work-card-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-card-body {
  padding: 30px;
}

.work-card-body h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
}

.work-card-body > p:not(.entry-meta) {
  color: var(--ink-soft);
}

.work-role {
  font-size: 12px;
}

.inline-link {
  display: inline-flex;
  margin-top: 18px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--maple);
  font-size: 12px;
}

/* Notes */

.notes-hero {
  min-height: 720px;
}

.notes-hero .display-title {
  max-width: 860px;
}

.notes-hero .margin-note {
  position: absolute;
  right: max(36px, calc((100vw - 1180px) / 2));
  bottom: 74px;
  max-width: 260px;
  padding-left: 18px;
  border-left: 1px solid var(--maple);
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
}

.notes-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(40px, 8vw, 110px);
}

.notes-aside {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  align-self: start;
}

.notes-aside p:last-child {
  color: var(--ink-soft);
  font-size: 13px;
}

.essay-list {
  min-width: 0;
}

.essay-entry {
  padding: 0 0 70px;
  margin-bottom: 70px;
  border-bottom: 1px solid var(--line-strong);
}

.essay-image {
  margin: 0 0 35px;
}

.essay-image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.essay-copy h2 {
  margin: 16px 0 20px;
  font-family: var(--display);
  font-size: clamp(33px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.16;
}

.essay-summary,
.prose {
  color: var(--ink-soft);
}

.prose h3,
.prose h4 {
  margin: 2.4em 0 0.7em;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.4;
}

.prose h3 {
  font-size: 25px;
}

.prose h4 {
  font-size: 20px;
}

.prose blockquote {
  margin: 2em 0;
  padding: 8px 0 8px 26px;
  border-left: 2px solid var(--maple);
}

.prose blockquote p {
  margin: 0;
}

.prose cite {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose-link {
  display: inline-flex;
  margin: 1em 0;
  border-bottom: 1px solid currentColor;
  color: var(--maple);
  font-family: var(--sans);
  font-size: 13px;
}

.prose-image {
  margin: 2.2em 0;
}

.prose-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.essay-summary {
  max-width: 720px;
  font-size: 17px;
}

.essay-details {
  margin-top: 28px;
}

.prose-moment {
  padding-top: 24px;
}

.essay-moment .essay-copy h2 {
  font-size: clamp(29px, 3.7vw, 48px);
}

.essay-details summary {
  width: fit-content;
  padding: 6px 0;
  border-bottom: 1px solid var(--maple);
  color: var(--maple);
  cursor: pointer;
  font-size: 12px;
}

.prose {
  max-width: 740px;
  padding-top: 28px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 2;
}

.tag-list {
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.empty-state {
  min-height: 340px;
  padding: 42px;
  border: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  gap: 40px 28px;
  align-items: end;
  background: rgba(250, 247, 240, 0.36);
}

.empty-index {
  color: var(--maple);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.empty-state i {
  width: 100%;
  height: 1px;
  align-self: center;
  background: var(--line);
}

.empty-copy {
  grid-column: 2;
  max-width: 580px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(23px, 3vw, 36px);
  line-height: 1.55;
}

/* Interests */

.interests-hero {
  min-height: min(850px, 100vh);
  color: var(--paper-light);
  background: var(--maple);
}

.interests-hero::after {
  border-color: rgba(250, 247, 240, 0.16);
  box-shadow: 0 0 0 8vw rgba(250, 247, 240, 0.022), 0 0 0 16vw rgba(16, 39, 47, 0.028);
}

.interests-hero .eyebrow {
  color: rgba(250, 247, 240, 0.94);
}

.interests-hero .display-title small,
.interests-hero .hero-lead {
  color: rgba(250, 247, 240, 0.84);
}

.cabinet-index {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(250, 247, 240, 0.35);
  border-bottom: 1px solid rgba(250, 247, 240, 0.35);
}

.cabinet-index > span {
  padding: 16px 8px;
  color: rgba(250, 247, 240, 0.92);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-align: center;
}

.cabinet-index > span + span {
  border-left: 1px solid rgba(250, 247, 240, 0.35);
}

.interest-grid {
  grid-template-columns: 1fr;
  gap: 44px;
}

.interest-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  border: 1px solid var(--light-line);
  background: rgba(250, 247, 240, 0.035);
}

.interest-image {
  margin: 0;
}

.interest-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.interest-image figcaption {
  padding: 0 26px;
  color: rgba(250, 247, 240, 0.55);
}

.interest-body {
  position: relative;
  padding: 38px;
}

.interest-body > p:not(.interest-category),
.interest-prose {
  color: rgba(250, 247, 240, 0.68);
}

.interest-prose {
  margin-top: 24px;
}

.interest-prose p {
  margin: 0;
  line-height: 1.85;
}

.interest-prose p + p {
  margin-top: 16px;
}

.interest-number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: rgba(250, 247, 240, 0.28);
  font-family: var(--display);
  font-size: 44px;
}

.interest-category {
  color: #d3a25e !important;
  font-family: var(--mono);
  font-size: 9px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.interest-body h2 {
  max-width: 75%;
  margin: 46px 0 18px;
  font-family: var(--display);
  font-size: clamp(28px, 3.5vw, 45px);
  font-weight: 400;
  line-height: 1.2;
}

.interest-body > p:last-of-type {
  color: rgba(250, 247, 240, 0.65);
}

.interest-body .inline-link {
  color: #d3a25e;
}

.interest-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--light-line);
  background: var(--light-line);
}

.interest-gallery-item {
  min-width: 0;
  margin: 0;
  background: var(--navy-deep);
}

.interest-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.interest-gallery-item figcaption {
  min-height: 52px;
  margin: 0;
  padding: 11px 16px 14px;
  color: rgba(250, 247, 240, 0.58);
}

.archive-disclaimer {
  max-width: 920px;
  margin: -24px 0 46px auto;
  padding: 16px 20px;
  border-left: 2px solid #d3a25e;
  color: rgba(250, 247, 240, 0.62);
  font-size: 11px;
  line-height: 1.8;
}

.empty-state-dark {
  grid-column: 1 / -1;
  color: var(--paper-light);
  border-color: var(--light-line);
  background: rgba(250, 247, 240, 0.025);
}

.empty-state-dark .empty-index {
  color: #d3a25e;
}

.empty-state-dark i {
  background: var(--light-line);
}

/* Index */

.index-hero {
  min-height: 650px;
  padding-bottom: 45px;
}

.index-hero .hero-lead {
  max-width: 760px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.portal-card {
  position: relative;
  min-height: 340px;
  padding: clamp(30px, 4vw, 48px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  overflow: hidden;
  transition: color 260ms ease, background-color 260ms ease;
}

.portal-card::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 190px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.1;
  transition: transform 400ms var(--ease);
}

.portal-card:hover {
  color: var(--paper-light);
  background: var(--navy-deep);
}

.portal-card:hover::after {
  transform: scale(1.18);
}

.portal-number {
  color: var(--maple);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.portal-card:hover .portal-number {
  color: #d3a25e;
}

.portal-card h2 {
  margin: 90px 0 14px;
  font-family: var(--display);
  font-size: clamp(31px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.1;
}

.portal-card p {
  max-width: 470px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.portal-card:hover p {
  color: rgba(250, 247, 240, 0.65);
}

.portal-arrow {
  position: absolute;
  top: 36px;
  right: 42px;
  font-size: 28px;
  transition: transform 220ms var(--ease);
}

.portal-card:hover .portal-arrow {
  transform: translate(5px, -5px);
}

.contact-band {
  color: var(--paper-light);
  background: var(--navy-deep);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: clamp(60px, 10vw, 140px);
  align-items: end;
}

.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(43px, 6vw, 82px);
  font-weight: 400;
  line-height: 1.12;
}

.contact-copy p:last-child {
  max-width: 600px;
  margin: 29px 0 0;
  color: rgba(250, 247, 240, 0.65);
}

.contact-links {
  border-top: 1px solid var(--light-line);
}

.contact-link {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--light-line);
  transition: padding 200ms var(--ease), background-color 200ms ease;
}

.contact-link:hover {
  padding-right: 10px;
  padding-left: 10px;
  background: rgba(250, 247, 240, 0.04);
}

.contact-link span {
  color: rgba(250, 247, 240, 0.72);
  font-family: var(--mono);
  font-size: 9px;
}

.contact-link strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 400;
  text-overflow: ellipsis;
}

.site-footer {
  color: rgba(250, 247, 240, 0.58);
  background: #0b1e25;
}

.footer-shell {
  width: var(--shell);
  min-height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-shell p {
  margin: 0;
}

.footer-shell p:nth-child(2) {
  text-align: center;
}

.footer-shell a {
  justify-self: end;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms var(--ease) var(--reveal-delay, 0ms), transform 720ms var(--ease) var(--reveal-delay, 0ms);
}

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

@keyframes wind-drift {
  to { stroke-dashoffset: -180; }
}

@keyframes leaf-breathe {
  from { transform: rotate(-3deg) translateY(-2px); }
  to { transform: rotate(4deg) translateY(3px); }
}

@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 48px, 940px);
  }

  .header-shell {
    gap: 22px;
  }

  .site-nav {
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
    gap: 52px;
  }

  .profile-visual {
    box-shadow: 16px 20px 0 rgba(148, 61, 52, 0.06);
  }

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

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
    --shell: calc(100% - 40px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 90;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px;
    visibility: hidden;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    background: rgba(243, 239, 230, 0.98);
    opacity: 0;
    transform: translateY(-12px);
    transition: visibility 0s 240ms, opacity 240ms ease, transform 240ms var(--ease);
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-nav a {
    padding: 7px;
    color: var(--navy-deep);
    font-family: var(--display);
    font-size: clamp(27px, 6vw, 44px);
  }

  .nav-open .menu-toggle > span:not(.sr-only):first-of-type {
    transform: translateY(2.5px) rotate(45deg);
  }

  .nav-open .menu-toggle > span:not(.sr-only):last-of-type {
    transform: translateY(-2.5px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .profile-visual {
    width: min(78%, 500px);
    justify-self: end;
  }

  .page-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 82px);
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .section-intro {
    grid-column: 1;
    margin-top: 0;
  }

  .notes-layout {
    grid-template-columns: 1fr;
  }

  .notes-aside {
    position: static;
    max-width: 600px;
  }

  .notes-hero .margin-note {
    position: static;
    margin: 50px 0 0 auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .interest-card {
    grid-template-columns: 1fr;
  }

  .interest-image img {
    min-height: 0;
    max-height: 620px;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: calc(100% - 32px);
  }

  body {
    font-size: 15px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .language-toggle {
    min-width: 62px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .display-title {
    font-size: clamp(53px, 17vw, 82px);
    line-height: 0.98;
  }

  .profile-display-title {
    font-size: clamp(47px, 14vw, 70px);
  }

  .hero-lead {
    font-size: 20px;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .hero-meta div {
    grid-template-columns: 74px 1fr;
  }

  .profile-visual {
    width: 92%;
  }

  .section {
    padding: 82px 0;
  }

  .section-header h2 {
    font-size: clamp(36px, 11vw, 53px);
  }

  .cv-item,
  .visit-list .cv-item {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .research-grid,
  .detail-grid,
  .media-grid,
  .work-grid,
  .interest-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .research-card {
    min-height: 350px;
  }

  .research-card + .research-card {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .research-card h3 {
    margin-top: 62px;
  }

  .bridge-link {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .bridge-link span:first-child {
    grid-column: 1 / -1;
  }

  .decade-mark {
    right: -20px;
    bottom: -20px;
  }

  .sound-line {
    width: 92vw;
  }

  .memory-line::before {
    left: 10px;
  }

  .memory-entry {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 0 56px 42px;
  }

  .memory-entry::before {
    left: 5px;
  }

  .memory-date {
    text-align: left;
  }

  .farewell blockquote {
    font-size: clamp(29px, 9vw, 45px);
  }

  .empty-state {
    min-height: 310px;
    padding: 27px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .empty-copy {
    grid-column: 1;
  }

  .cabinet-index {
    grid-template-columns: repeat(2, 1fr);
  }

  .cabinet-index > span:nth-child(n + 3) {
    border-top: 1px solid rgba(250, 247, 240, 0.35);
  }

  .cabinet-index > span:nth-child(odd) {
    border-left: 0;
  }

  .cabinet-index > span:last-child {
    grid-column: 1 / -1;
  }

  .credit-ledger,
  .interest-gallery {
    grid-template-columns: 1fr;
  }

  .credit-entry {
    min-height: auto;
  }

  .credit-entry h3 {
    margin-top: 48px;
  }

  .portal-card {
    min-height: 300px;
  }

  .contact-link {
    grid-template-columns: 1fr auto;
  }

  .contact-link span {
    grid-column: 1 / -1;
  }

  .footer-shell {
    grid-template-columns: 1fr auto;
  }

  .footer-shell p:nth-child(2) {
    display: none;
  }
}

/* Refined document-led compositions */

.profile-visual {
  width: min(100%, 560px);
  aspect-ratio: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.profile-visual::before,
.profile-visual::after {
  display: none;
}

.profile-photo {
  position: static;
  inset: auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--paper-light);
}

.profile-photo,
.profile-photo img {
  width: 100%;
  height: auto;
}

.profile-photo img {
  display: block;
  object-fit: contain;
}

.profile-photo figcaption {
  display: none;
}

.education-item {
  grid-template-columns: 118px minmax(0, 1.18fr) minmax(240px, 0.82fr);
  gap: clamp(20px, 2.5vw, 34px);
  align-items: center;
}

.cv-image-slot,
.visit-image-slot,
.certificate-slot {
  min-width: 0;
}

.education-image,
.visit-image,
.certificate-image {
  margin: 0;
}

.education-image img,
.visit-image img,
.certificate-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.education-image {
  width: min(100%, 360px);
  margin-left: auto;
}

.detail-grid {
  gap: 24px;
  align-items: start;
  border: 0;
  background: transparent;
}

.detail-panel {
  border: 1px solid var(--light-line);
}

.certificate-slot {
  margin-top: 30px;
}

.certificate-image {
  width: min(100%, 250px);
  margin-inline: auto;
}

.visit-list .visit-item {
  grid-template-columns: 105px minmax(0, 1fr);
}

.visit-image-slot {
  grid-column: 2;
  margin-top: 22px;
}

.visit-image {
  width: min(100%, 860px);
}

.tribute-hero .display-title {
  max-width: 920px;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 1.08;
}

.tribute-hero .sound-line {
  margin-top: 78px;
}

.work-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
}

.work-card:nth-child(-n + 4) {
  grid-column: span 3;
}

.work-card:nth-child(n + 5) {
  grid-column: span 2;
}

.work-card-media,
.work-card-gallery,
.work-card-gallery-item {
  margin: 0;
}

.work-card-media img,
.work-card-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.work-card-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-items: start;
  background: var(--line);
}

.work-card-gallery-item {
  background: var(--paper-light);
}

.work-card-body {
  padding: 25px 28px 28px;
}

.work-card-body h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
}

.work-role {
  margin: 0;
  font-size: 13px;
}

.credit-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  padding: 22px 0 34px;
}

.credit-chip {
  flex: 1 1 260px;
  margin: 0;
  padding: 22px 26px;
  border: 1px solid rgba(250, 247, 240, 0.24);
  color: rgba(250, 247, 240, 0.92);
  background: rgba(250, 247, 240, 0.055);
  box-shadow: 0 18px 36px rgba(4, 18, 23, 0.16);
  font-family: var(--display);
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.55;
}

.credit-chip:nth-child(3n + 1) {
  transform: translateY(-8px) rotate(-0.4deg);
}

.credit-chip:nth-child(3n + 2) {
  transform: translateY(10px) rotate(0.45deg);
}

.credit-chip:nth-child(3n) {
  transform: translateY(-2px) rotate(-0.2deg);
}

.credit-chip-wide {
  flex-basis: 440px;
}

.notes-hero .margin-note {
  position: static;
  max-width: 540px;
  margin: 32px 0 0;
  padding: 12px 0 12px 20px;
}

.interest-grid {
  gap: clamp(34px, 5vw, 72px);
}

.interest-card {
  position: relative;
  display: block;
  overflow: hidden;
  padding: clamp(30px, 5vw, 68px);
  border: 1px solid var(--light-line);
  background: rgba(250, 247, 240, 0.035);
}

.interest-heading {
  position: relative;
  padding: 0 82px 28px 0;
  border-bottom: 1px solid var(--light-line);
}

.interest-heading h2 {
  max-width: 960px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.25;
}

.interest-number {
  top: -12px;
  right: 0;
  font-size: clamp(42px, 5vw, 72px);
}

.interest-post-content {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.interest-post-paragraph {
  max-width: 900px;
  margin: 34px 0;
  color: rgba(250, 247, 240, 0.76);
  font-family: var(--display);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.95;
}

.interest-post-paragraph.is-lead {
  max-width: 980px;
  color: rgba(250, 247, 240, 0.94);
  font-size: clamp(20px, 2.4vw, 29px);
}

.interest-post-image {
  width: 100%;
  margin: 34px 0;
}

.interest-post-image img,
.interest-lead-image img,
.interest-post-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.interest-post-image figcaption,
.interest-lead-image figcaption,
.interest-post-gallery figcaption {
  min-height: 0;
  margin: 9px 0 0;
  padding: 0;
  color: rgba(250, 247, 240, 0.62);
  font-size: 11px;
}

.interest-post-gallery {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
  margin: 36px 0;
}

.interest-post-gallery.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.interest-post-gallery.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.interest-post-gallery-item {
  min-width: 0;
  margin: 0;
}

.interest-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-bottom: 34px;
}

.interest-lead-grid .interest-heading {
  border-bottom: 0;
}

.interest-lead-image {
  margin: 0;
}

.interest-featured {
  border-color: rgba(211, 162, 94, 0.64);
  background:
    radial-gradient(circle at 86% 12%, rgba(211, 162, 94, 0.13), transparent 32%),
    linear-gradient(145deg, rgba(148, 61, 52, 0.19), rgba(250, 247, 240, 0.035));
  box-shadow: 0 28px 70px rgba(4, 18, 23, 0.2);
}

.interest-featured .interest-heading h2 {
  font-size: clamp(34px, 4.8vw, 64px);
}

.interest-post-paragraph.is-dream {
  margin-top: -8px;
  color: var(--paper-light);
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.55;
}

.media-policy {
  padding-top: 0;
}

.media-policy-card {
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid var(--line-strong);
  background: rgba(250, 247, 240, 0.42);
}

.media-policy-card h2 {
  margin: 18px 0 20px;
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 400;
}

.media-policy-card > p:last-child {
  max-width: 900px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 1040px) {
  .education-item {
    grid-template-columns: 106px minmax(0, 1fr) minmax(220px, 0.72fr);
  }
}

@media (max-width: 900px) {
  .profile-visual {
    width: min(100%, 620px);
    justify-self: center;
  }

  .education-item {
    grid-template-columns: 106px minmax(0, 1fr);
  }

  .education-item .cv-image-slot {
    grid-column: 2;
  }

  .education-image {
    width: min(100%, 520px);
    margin: 10px 0 0;
  }

  .interest-lead-grid {
    grid-template-columns: 1fr;
  }

  .interest-lead-image {
    width: min(100%, 720px);
  }

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

  .work-card:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .education-item,
  .visit-list .visit-item {
    grid-template-columns: 1fr;
  }

  .education-item .cv-image-slot,
  .visit-image-slot {
    grid-column: 1;
  }

  .education-image,
  .visit-image {
    width: 100%;
    margin-top: 12px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card-gallery {
    grid-template-columns: 1fr;
  }

  .credit-chip,
  .credit-chip:nth-child(n) {
    flex-basis: 100%;
    transform: none;
  }

  .interest-card {
    padding: 26px 20px 32px;
  }

  .interest-heading {
    padding-right: 52px;
  }

  .interest-number {
    top: -5px;
    font-size: 38px;
  }

  .interest-post-gallery.columns-3,
  .interest-post-gallery.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interest-post-paragraph {
    margin: 26px 0;
  }
}

@media (max-width: 430px) {
  .interest-post-gallery.columns-3,
  .interest-post-gallery.columns-4 {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  :root {
    --shell: 100%;
  }

  .motion-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  body::before,
  .site-header,
  .scroll-progress,
  .profile-visual,
  .page-bridge,
  .site-footer {
    display: none !important;
  }

  .page-hero {
    min-height: auto;
    padding: 24px 0 44px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 38px 0;
  }

  .section-dark,
  .tribute-hero,
  .interests-hero,
  .farewell,
  .contact-band {
    color: #000;
    background: #fff;
  }

  .research-card,
  .cv-item,
  .memory-entry,
  .detail-panel {
    break-inside: avoid;
  }

  .detail-panel {
    color: #000;
    background: #fff;
    border: 1px solid #bbb;
  }
}
