@charset "UTF-8";

:root {
  --bg: #f6f4ef;
  --ink: #252421;
  --muted: #68665f;
  --soft: #7b7870;
  --line: #d9d5cc;
  --card: #ece9e1;
  --purple: #e1d6ef;
  --yellow: #f1e4aa;
  --green: #dce5d2;
  --white: #fffdf9;
  --radius: 22px;
  --content: 1320px;
  --gutter: clamp(24px, 4.55vw, 64px);
  --section-space: clamp(82px, 8.5vw, 124px);
  --grid-side: minmax(290px, 0.72fr);
  --grid-main: minmax(0, 1.28fr);
  --grid-gap: clamp(42px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

button,
a {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8a64ba;
  outline-offset: 4px;
}

::selection {
  background: #ddc8f4;
  color: #252525;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 120;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}

.skip:focus {
  top: 12px;
}

.header {
  width: min(100%, var(--content));
  min-height: 98px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 28px;
}

.identity {
  display: flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.identity-note {
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.mini-friend {
  width: 32px;
  height: 31px;
  border-radius: 14px 14px 9px 9px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transform: rotate(-7deg);
}

.mini-friend i {
  width: 4px;
  height: 7px;
  border-radius: 100%;
  background: var(--bg);
}

.header nav {
  display: flex;
  justify-self: center;
  gap: clamp(21px, 2.5vw, 35px);
  font-size: 13px;
  white-space: nowrap;
}

.header nav a {
  position: relative;
}

.header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.header nav a:hover::after,
.header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.small-button {
  justify-self: end;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.small-button span {
  margin-left: 10px;
}

.small-button:hover {
  background: var(--ink);
  color: var(--bg);
}

main {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.82fr);
  grid-template-areas:
    "copy art"
    "facts art";
  align-items: start;
  gap: 28px clamp(34px, 4.5vw, 68px);
  padding: clamp(54px, 6vw, 84px) 0 34px;
}

.hero-copy {
  grid-area: copy;
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #5f7a50;
  box-shadow: 0 0 0 4px #dfe7d8;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  line-height: 1;
  letter-spacing: 0;
  white-space: normal;
}

.hero-tagline {
  display: block;
  max-width: 720px;
  font-size: clamp(35px, 3.6vw, 52px);
  line-height: 1.34;
  letter-spacing: -0.035em;
}

.hero-director {
  white-space: nowrap;
}

.hero-person {
  display: block;
  font-size: clamp(66px, 6.2vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.hero-person .asterisk {
  position: static;
  display: inline-block;
  margin-left: 8px;
  font-family: Arial, sans-serif;
  font-size: 0.43em;
  color: #7a718e;
  vertical-align: top;
  transform: translateY(0.02em) rotate(7deg);
}

.asterisk svg,
.closing-star svg {
  display: block;
  width: 1em;
  height: 1em;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.intro {
  max-width: 650px;
  margin: 28px 0 26px;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.015em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px #2524211a;
}

.primary span {
  margin-left: 2px;
}

.aside {
  color: var(--muted);
  font-size: 12px;
}

.hero-art {
  grid-area: art;
  min-width: 0;
  align-self: start;
}

.portrait-stage {
  position: relative;
  width: 100%;
}

.portrait-paper {
  display: block;
  margin: 0;
}

.portrait-paper img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.hero-mobile-facts {
  grid-area: facts;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 3px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-mobile-facts > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.hero-mobile-facts > div span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.hero-mobile-facts > div strong {
  font-size: 16px;
  font-weight: 550;
  white-space: nowrap;
}

.hero-mobile-facts ul {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.hero-mobile-facts li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.section {
  padding-top: var(--section-space);
  scroll-margin-top: 24px;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.resume-layout,
.about-layout,
.journey-layout {
  display: grid;
  grid-template-columns: var(--grid-side) var(--grid-main);
  align-items: start;
  gap: var(--grid-gap);
  padding-bottom: clamp(48px, 5.8vw, 72px);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  line-height: 1.35;
}

.resume-layout h2,
.about-layout > h2,
.journey-intro h2,
.work-heading h2 {
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: 1.35;
  letter-spacing: 0.015em;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.resume-intro > .muted {
  max-width: 380px;
  margin: 14px 0 0;
}

.capability-web {
  max-width: 100%;
  margin: 24px 0 0;
  padding: 15px 14px 10px;
  border-radius: var(--radius);
  background: #eeeae3;
}

.capability-web-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.capability-web-head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.spider-grid {
  display: block;
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  overflow: visible;
}

.spider-web polygon,
.spider-web line {
  fill: none;
  stroke: #cbc7be;
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.spider-web polygon:first-child {
  stroke: #bbb6ad;
}

.spider-shape {
  fill: #a985c526;
  stroke: #8968ae;
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.spider-hub circle {
  fill: #1f1e1c;
}

.spider-hub ellipse {
  fill: #fffdf7;
}

.spider-labels text,
.spider-labels .spider-level {
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

.spider-labels text {
  fill: #2d2c29;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.spider-labels .spider-level {
  fill: #67645e;
  font-size: 13px;
  font-weight: 500;
}

.resume-details {
  margin: 0;
}

.resume-details > div {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.resume-details > div:first-child {
  padding-top: 3px;
}

.resume-details > div:last-child {
  border-bottom: 0;
}

.resume-details dt {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.resume-details dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.resume-details dd a:hover,
.closing-contacts a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-copy {
  max-width: 720px;
  padding-top: 2px;
}

.about-copy p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.9;
}

.about-copy .muted {
  color: #5f5d57;
  font-size: 14px;
  line-height: 1.9;
}

.signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-size: 11px;
}

.signature-line {
  width: 32px;
  height: 1px;
  background: var(--ink);
}

.journey-intro h2 {
  margin: 0;
}

.experience-stamp {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 44px;
}

.experience-stamp strong {
  color: #937fae;
  font-family: var(--display-font);
  font-size: clamp(58px, 6vw, 78px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  transform: rotate(-3deg);
  transform-origin: left bottom;
}

.experience-stamp span {
  color: var(--muted);
  font-size: 11px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 34px 34px;
  border-left: 1px solid var(--line);
}

.timeline li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline li:last-child::after {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 1px;
  height: 12px;
  background: var(--line);
}

.timeline li::before {
  display: none;
}

.timeline-date {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  white-space: nowrap;
}

.timeline h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.45;
}

.timeline p {
  margin: 0;
  color: #5f5d57;
  font-size: 14px;
  line-height: 1.82;
}

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

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

.work-card {
  position: relative;
  min-width: 0;
  min-height: 250px;
  padding: 28px 28px 24px;
  border-radius: 18px;
  background: var(--card);
  display: flex;
  flex-direction: column;
}

.work-card:nth-child(2n) {
  background: #e2e7dc;
}

.work-card .tiny-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.work-card h3 {
  margin: 20px 0 12px;
  font-size: clamp(27px, 2.4vw, 34px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-indent: -0.04em;
}

.work-card p {
  margin: 0 0 20px;
  color: #5d5b55;
  font-size: 14px;
  line-height: 1.78;
  white-space: pre-wrap;
}

.work-card a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 10px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  line-height: 1.4;
}

.work-empty {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.work-empty h3 {
  margin: 8px 0;
  font-size: 20px;
  font-weight: 500;
}

.work-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.frame-drawing {
  position: relative;
  width: 84px;
  height: 64px;
  flex: 0 0 auto;
  border: 1px solid #8e8a82;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transform: rotate(-5deg);
}

.frame-drawing span {
  position: absolute;
  inset: -5px 7px 6px -7px;
  border: 1px solid var(--line);
  border-radius: inherit;
}

.frame-drawing i {
  font-size: 14px;
  font-style: normal;
}

.tiny-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.text-button {
  padding: 7px 0;
  color: var(--muted);
  font-size: 12px;
}

.text-button:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.work-empty .text-button {
  margin-left: auto;
  white-space: nowrap;
}

.closing {
  padding-top: var(--section-space);
  padding-bottom: clamp(64px, 7vw, 92px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing .section-label {
  margin-bottom: 24px;
}

.closing-star {
  display: grid;
  width: 1em;
  height: 1em;
  margin: 0 auto 18px;
  place-items: center;
  color: #8c7da4;
  font-family: Arial, sans-serif;
  font-size: 44px;
  line-height: 1;
  transform: rotate(10deg);
}

.closing p {
  max-width: 590px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.closing h2 {
  margin: 18px 0 24px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.15;
}

.closing-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 26px;
  font-size: 13px;
}

footer {
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--content) - 2 * var(--gutter)));
  min-height: 78px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 10px;
}

footer > span:first-child {
  justify-self: start;
  letter-spacing: 0.08em;
}

footer > span:nth-child(2) {
  justify-self: center;
}

footer button {
  justify-self: end;
  color: var(--muted);
}

dialog {
  width: min(720px, calc(100% - 28px));
  max-height: min(90dvh, 880px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 30px 90px #1e1d1a3b;
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: #22222273;
  backdrop-filter: blur(7px);
}

.dialog-shell {
  max-height: min(90dvh, 880px);
  padding: 28px 30px 24px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.dialog-heading h2 {
  margin: 4px 0 0;
  font-size: 26px;
}

.dialog-heading .tiny-label {
  margin: 0;
}

.close-button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
}

.close-button:hover {
  background: var(--card);
}

.editor-notice {
  margin: 12px 0 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.editor-scroll {
  min-height: 0;
  overflow-y: auto;
  padding-right: 9px;
  scrollbar-gutter: stable;
}

.editor-scroll::-webkit-scrollbar {
  width: 8px;
}

.editor-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c5c0b7;
}

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

label {
  display: block;
  margin: 0 0 15px;
  color: #4d4a44;
  font-size: 12px;
}

input,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid #cec9bf;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #8a64ba;
  outline: 2px solid #aa8bc52e;
  outline-offset: 1px;
}

fieldset {
  margin: 2px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

legend {
  padding: 0 8px;
  font-size: 12px;
}

.field-help {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.work-editor {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.work-editor:first-child {
  padding-top: 0;
}

.work-editor:last-of-type {
  border-bottom: 0;
}

.remove-work {
  color: #8e4b44;
  font-size: 11px;
}

.add-work {
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--card);
  font-size: 12px;
}

.editor-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.editor-actions .primary {
  margin-left: 2px;
  padding: 10px 16px;
}

.editor-actions-spacer {
  flex: 1;
}

.form-message {
  min-height: 18px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.form-message:empty {
  min-height: 0;
  margin: 0;
}

#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 140;
  max-width: min(90vw, 520px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.is-inline-editing {
  outline: 2px dashed #8a64ba !important;
  outline-offset: 5px;
  background: #fff9;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere;
  cursor: text;
}

.inline-textarea {
  position: fixed;
  z-index: 130;
  margin: 0;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px dashed #8a64ba;
  border-radius: 6px;
  background: var(--bg);
  box-shadow: 0 12px 34px #26262624;
  resize: none;
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  :root {
    --grid-side: minmax(245px, 0.72fr);
    --grid-main: minmax(0, 1.28fr);
    --grid-gap: 36px;
  }

  .header {
    gap: 18px;
  }

  .header nav {
    gap: 20px;
    font-size: 12px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: 24px 34px;
  }

  .hero-tagline {
    font-size: clamp(31px, 4.2vw, 44px);
  }

  .hero-person {
    font-size: clamp(56px, 7vw, 76px);
  }

  .timeline li {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 17px;
    padding-left: 28px;
  }

  .work-card {
    padding: 24px;
  }
}

@media (max-width: 820px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  .header nav {
    display: none;
  }

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

  .resume-layout,
  .about-layout,
  .journey-layout {
    grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
    gap: 28px;
  }

  .resume-details > div {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 13px;
  }

  .works-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 22px;
  }

  .header {
    min-height: 78px;
    padding-inline: 20px;
    gap: 12px;
  }

  .identity {
    gap: 8px;
    font-size: 15px;
  }

  .identity-note {
    display: none;
  }

  .small-button {
    padding: 9px 13px;
    font-size: 11px;
  }

  main {
    padding-inline: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 126px;
    grid-template-areas:
      "eyebrow eyebrow"
      "copy art"
      "intro intro"
      "actions actions"
      "facts facts";
    gap: 15px 13px;
    padding: 26px 0 30px;
  }

  .hero-copy {
    display: contents;
  }

  .eyebrow {
    grid-area: eyebrow;
    margin: 0;
    font-size: 9.5px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .hero h1 {
    grid-area: copy;
    gap: 5px;
    padding-top: 4px;
  }

  .hero-tagline {
    font-size: clamp(22px, 6.4vw, 28px);
    line-height: 1.36;
    letter-spacing: -0.025em;
  }

  .hero-person {
    font-size: clamp(40px, 11.3vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  .intro {
    grid-area: intro;
    margin: 3px 0 0;
    font-size: 14px;
    line-height: 1.72;
  }

  .hero-actions {
    grid-area: actions;
    margin-top: 4px;
    gap: 17px;
  }

  .primary {
    min-height: 44px;
    padding: 11px 18px;
    gap: 19px;
  }

  .hero-art {
    width: 126px;
    max-width: 126px;
    justify-self: end;
  }

  .hero-mobile-facts {
    margin-top: 2px;
    padding: 13px 0 12px;
    border-bottom: 1px solid var(--line);
  }

  .hero-mobile-facts > div span {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .hero-mobile-facts > div strong {
    font-size: 13px;
  }

  .hero-mobile-facts ul {
    margin-top: 5px;
  }

  .hero-mobile-facts li {
    padding: 3px 7px;
    font-size: 8px;
  }

  .section {
    padding-top: 58px;
  }

  .section-label {
    margin-bottom: 24px;
    font-size: 8.5px;
    letter-spacing: 0.07em;
  }

  .resume-layout,
  .about-layout,
  .journey-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 44px;
  }

  .resume-layout h2,
  .about-layout > h2,
  .journey-intro h2,
  .work-heading h2 {
    font-size: 34px;
  }

  .resume-intro > .muted {
    margin-top: 9px;
    font-size: 12px;
  }

  .capability-web {
    margin-top: 17px;
    padding: 13px 10px 8px;
  }

  .capability-web-head h3 {
    font-size: 20px;
  }

  .spider-labels text {
    font-size: 24px;
  }

  .spider-labels .spider-level {
    font-size: 14px;
  }

  .resume-details > div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
    padding: 14px 0;
  }

  .resume-details dt {
    font-size: 11.5px;
  }

  .resume-details dd {
    font-size: 15px;
    line-height: 1.65;
  }

  .about-copy p,
  .about-copy .muted {
    font-size: 14px;
    line-height: 1.82;
  }

  .experience-stamp {
    margin-top: 20px;
  }

  .experience-stamp strong {
    font-size: 50px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 0 0 28px 31px;
  }

  .timeline-date {
    font-size: 11px;
  }

  .timeline h3 {
    font-size: 23px;
  }

  .timeline p {
    font-size: 13px;
    line-height: 1.78;
  }

  .work-heading {
    margin-bottom: 24px;
  }

  .works-list {
    gap: 38px;
  }

  .work-card {
    min-height: 232px;
    padding: 25px 22px 22px;
  }

  .work-card h3 {
    font-size: 29px;
  }

  .work-card p {
    font-size: 13px;
    line-height: 1.75;
  }

  .work-empty {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 22px;
  }

  .work-empty .text-button {
    margin-left: 0;
  }

  .closing {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .closing .section-label {
    margin-bottom: 20px;
  }

  .closing h2 {
    margin-top: 14px;
    font-size: 38px;
  }

  .closing-contacts {
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-size: 12px;
  }

  footer {
    width: auto;
    min-height: 70px;
    margin: 0 20px;
    grid-template-columns: 1fr auto;
    gap: 14px;
    font-size: 9px;
  }

  footer > span:nth-child(2) {
    display: none;
  }

  .dialog-shell {
    max-height: min(92dvh, 900px);
    padding: 22px 18px 18px;
  }

  .dialog-heading h2 {
    font-size: 23px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .editor-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }

  .editor-actions-spacer {
    display: none;
  }

  .editor-actions .primary {
    grid-column: 1 / -1;
    justify-content: center;
    margin: 4px 0 0;
  }
}

@media (max-width: 360px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 13px 10px;
  }

  .hero-tagline {
    font-size: 21px;
  }

  .hero-person {
    font-size: 38px;
  }

  .hero-art {
    width: 112px;
    max-width: 112px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  @page {
    size: A4;
    margin: 13mm;
  }

  body {
    --bg: #fff;
    --ink: #202020;
    --muted: #555;
    --line: #ddd;
    background: #fff;
    color: #202020;
    print-color-adjust: exact;
  }

  main {
    width: 100%;
    padding: 0;
  }

  .header {
    min-height: 34px;
    padding: 0 0 10px;
    grid-template-columns: 1fr auto;
    border-bottom: 1px solid #ddd;
  }

  .header nav,
  .small-button,
  .hero-actions,
  footer,
  .edit-trigger,
  dialog,
  #toast,
  .skip,
  .hero-mobile-facts {
    display: none !important;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) 86px;
    grid-template-areas: "copy art";
    gap: 22px;
    padding: 14px 0 12px;
  }

  .hero-tagline {
    font-size: 19px;
    line-height: 1.3;
  }

  .hero-person {
    font-size: 30px;
    line-height: 1.1;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 7px;
  }

  .intro,
  .intro > span:last-child {
    margin: 8px 0 0;
    font-size: 9px;
    line-height: 1.6;
  }

  .hero-art {
    width: 86px;
    padding: 0;
  }

  .hero .portrait-stage {
    width: 86px !important;
    height: 108px !important;
    margin: 0 !important;
    aspect-ratio: auto !important;
  }

  .hero .portrait-paper {
    inset: 0 !important;
  }

  .portrait-stage .friend,
  .portrait-tape,
  .bot-squad,
  .timeline-node {
    display: none !important;
  }

  .portrait-paper img {
    height: 100% !important;
    border: 0 !important;
    object-position: 50% 25%;
  }

  .portrait-paper figcaption {
    display: none !important;
  }

  .portrait-paper::before {
    display: none !important;
  }

  .section {
    padding-top: 18px;
    break-inside: avoid;
  }

  .section-label {
    margin-bottom: 9px;
    font-size: 7px;
  }

  .resume-layout,
  .about-layout,
  .journey-layout {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 20px;
    padding-bottom: 12px;
  }

  .resume-layout h2,
  .about-layout > h2,
  .journey-intro h2,
  .work-heading h2 {
    font-size: 18px;
  }

  .capability-web {
    margin-top: 8px;
    padding: 4px;
    background: #fff;
  }

  .capability-web-head h3 {
    font-size: 9px;
  }

  .spider-labels text {
    font-size: 10px;
  }

  .spider-labels .spider-level {
    font-size: 6px;
  }

  .resume-details > div {
    grid-template-columns: 66px 1fr;
    gap: 8px;
    padding: 6px 0;
  }

  .resume-details dt,
  .resume-details dd,
  .about-copy p,
  .about-copy .muted,
  .timeline p,
  .work-card p {
    font-size: 8px;
    line-height: 1.55;
  }

  .signature,
  .experience-stamp {
    display: none;
  }

  .timeline li {
    padding: 0 0 9px 18px;
    gap: 8px;
  }

  .timeline li::before {
    display: block;
    content: "";
    position: absolute;
    top: 5px;
    left: -3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #777;
  }

  .timeline h3 {
    font-size: 11px;
  }

  .works-list {
    gap: 10px;
  }

  .work-card {
    min-height: 92px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff !important;
  }

  .work-card h3 {
    margin: 7px 0 5px;
    font-size: 13px;
  }

  .work-card a {
    display: none;
  }

  .closing {
    padding: 15px 0 0;
  }

  .closing-star {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .closing h2 {
    margin: 8px 0;
    font-size: 20px;
  }

  .closing p,
  .closing-contacts {
    font-size: 8px;
  }

  .closing #contact-action {
    display: none;
  }

  a[href^="http"]::after {
    content: none !important;
  }
}

/* Bilingual editorial accents — strictly additive on top of original layout */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--meta-font, monospace);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease;
}

.lang-switch:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.lang-switch i {
  font-style: normal;
  opacity: 0.4;
}

.lang-switch .is-active {
  color: var(--ink);
  font-weight: 700;
}

.identity-note {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.bi-tag,
.bi-mono {
  font-style: normal;
  font-family: var(--meta-font, monospace);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--soft);
  text-transform: uppercase;
}

.eyebrow .bi-mono {
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.hero-en-line {
  margin: 14px 0 0;
  font-family: var(--meta-font, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--soft);
}

.bi-sub {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--soft);
}

.bi-about-en {
  margin: 0 0 22px;
  padding-left: 14px;
  border-left: 2px solid var(--purple);
  font-size: 13px;
  line-height: 1.78;
}

.resume-details dt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dt-en {
  font-family: var(--meta-font, monospace);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--soft);
}

.timeline-date {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tl-en {
  font-style: normal;
  font-family: var(--meta-font, monospace);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--soft);
}

.closing-en-line {
  margin: 0 auto 8px !important;
  font-family: var(--meta-font, monospace);
  font-size: 10.5px !important;
  letter-spacing: 0.16em;
  color: #8c7da4 !important;
}

.portrait-paper figcaption {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Subtle tactile micro-interactions & motion */
.portrait-paper {
  cursor: pointer;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-paper::before,
.portrait-paper::after {
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease;
}

.portrait-paper:hover {
  transform: rotate(0deg) translateY(-4px);
}

.portrait-paper:hover::before {
  transform: rotate(2.2deg) translate(2px, 2px);
  box-shadow: 0 14px 32px rgba(38, 38, 38, 0.12), 0 0 0 1px rgba(38, 38, 38, 0.06);
}

.portrait-paper:hover::after {
  transform: rotate(-6deg) translate(-3px, 1px);
}

.portrait-paper img {
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-paper img.is-switching {
  opacity: 0.25;
  transform: scale(0.985);
}

.hero-person .asterisk,
.closing-star {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms ease;
}

.hero-person:hover .asterisk {
  transform: translateY(0.02em) rotate(52deg) scale(1.08);
  color: #8a64ba;
}

.closing-star:hover {
  transform: rotate(55deg) scale(1.08);
  color: #8a64ba;
}

.spider-shape {
  transition: fill 240ms ease, stroke-width 240ms ease;
}

.capability-web:hover .spider-shape {
  fill: #a985c542;
  stroke-width: 2.5;
}

.spider-hub {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.capability-web:hover .spider-hub {
  transform: scale(1.08);
}

.timeline li {
  transition: border-color 220ms ease;
}

.timeline li:hover {
  border-left-color: #8a64ba;
}

.timeline li > div {
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline li:hover > div {
  transform: translateX(4px);
}

.work-card {
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(37, 36, 33, 0.08);
}

.primary:active,
.small-button:active,
.lang-switch:active {
  transform: scale(0.97);
}

.js-motion .section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js-motion .section.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* Lighten 01 Resume Overview block & add playful pill/radar polish */
.capability-web {
  position: relative;
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(217, 213, 204, 0.78);
  box-shadow: 0 12px 32px rgba(37, 36, 33, 0.035);
  padding: 18px 18px 10px;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms ease;
}

.capability-web:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 36, 33, 0.06);
}

.spider-dots circle {
  stroke: #fffdf9;
  stroke-width: 2.2;
  transition: r 200ms ease;
}

.spider-hub-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: bot-blink 5.8s linear infinite;
}

.resume-details {
  position: relative;
}

.resume-details > div {
  padding: 16px 14px;
  border-bottom: 1px dashed rgba(205, 200, 190, 0.85);
  border-radius: 12px;
  transition: background-color 200ms ease, transform 200ms ease;
}

.resume-details > div:first-child {
  padding-top: 12px;
}

.resume-details > div:hover {
  background: rgba(255, 253, 249, 0.65);
}

.kw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kw-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13.5px;
  line-height: 1.45;
  background: var(--purple);
  color: var(--ink);
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.kw-pill:nth-child(4n + 2) {
  background: var(--yellow);
}

.kw-pill:nth-child(4n + 3) {
  background: var(--green);
}

.kw-pill:nth-child(4n + 4) {
  background: var(--white);
  border: 1px solid var(--line);
}

.kw-pill:hover {
  transform: translateY(-2px) rotate(-1.5deg);
}

.path-arrow {
  color: #8a64ba;
  font-weight: 700;
  margin: 0 4px;
}

.experience-stamp {
  position: relative;
}

@media (max-width: 760px) {
  .squad--radar,
  .squad--stamp {
    display: none;
  }

  .resume-details > div {
    padding-inline: 4px;
  }
}

html[data-lang="en"] .bi-sub,
html[data-lang="en"] .eyebrow .bi-mono,
html[data-lang="en"] .bi-tag {
  display: none;
}

@media (max-width: 760px) {
  .eyebrow .bi-mono,
  .hero-en-line {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }

  .lang-switch {
    padding: 8px 10px;
    font-size: 10px;
  }
}

@media print {
  .lang-switch,
  .copy-btn,
  .back-top-bot {
    display: none !important;
  }

  body::before {
    display: none !important;
  }
}

/* Creative Director Polish: subtle paper grain, bilingual subtraction, editorial 02 interlude, one-click copy, and back-to-top bot */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Bilingual subtraction: keep default Chinese view crisp without heavy English body blocks */
.bi-sub {
  display: none;
}

/* 02 Profile — Centered editorial interlude to break repetitive 2-column rhythm */
.about-layout.about-editorial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 6.5vw, 84px);
}

.about-kicker {
  margin: 0 0 14px;
  font-family: var(--meta-font, monospace);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: #8a64ba;
}

.about-editorial .about-quote {
  margin: 0 0 28px;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.24;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
}

.about-editorial .about-quote::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--purple);
}

.about-editorial .about-copy {
  max-width: 680px;
  padding-top: 0;
}

.about-editorial .signature {
  justify-content: center;
}

/* One-click copy pill */
.contact-item-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.copy-btn {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.82);
  font-family: var(--meta-font, monospace);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.5;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.copy-btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-1px);
}

/* Back-to-top crew bot */
.back-top-bot {
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.86);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back-top-bot.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-top-face {
  width: 44px;
  height: 42px;
  border-radius: 20px 20px 14px 14px;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(37, 36, 33, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 200ms ease;
}

.back-top-face i {
  width: 5px;
  height: 8.5px;
  border-radius: 100%;
  background: var(--bg);
  animation: mini-blink 5.2s infinite;
}

.back-top-bot:hover .back-top-face {
  transform: translateY(-4px) rotate(-8deg) scale(1.06);
  background: #6c3bff;
}

.back-top-bot:active .back-top-face {
  transform: scale(0.92);
}

.back-top-label {
  font-family: var(--meta-font, monospace);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

@media (max-width: 760px) {
  .about-editorial .about-quote {
    font-size: 32px;
  }

  .back-top-bot {
    right: 16px;
    bottom: 18px;
  }
}

/* Bold Street/Editorial Bilingual Typography + Bento Resume Grid + Full Hero Skill Tags */
.identity-note b {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-left: 6px;
}

.eyebrow-bold-en {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--bg);
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.hero-en-display {
  display: block;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(37, 36, 33, 0.16);
  margin-bottom: 2px;
}

.hero-en-dot {
  color: #8a64ba;
  margin: 0 6px;
}

.hero-skill-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0 !important;
  padding: 0;
  list-style: none;
}

.hero-skill-tags li {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 6px 13px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(37, 36, 33, 0.12) !important;
  background: rgba(255, 253, 249, 0.9);
  color: var(--ink) !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.25 !important;
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-skill-tags li small {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: rgba(37, 36, 33, 0.5);
}

.hero-skill-tags li.tag-purple {
  background: var(--purple);
  border-color: transparent !important;
}

.hero-skill-tags li.tag-yellow {
  background: var(--yellow);
  border-color: transparent !important;
}

.hero-skill-tags li.tag-green {
  background: var(--green);
  border-color: transparent !important;
}

.hero-skill-tags li:hover {
  transform: translateY(-2px);
}

/* Bold Oversized English Display Titles for Sections */
.section-hero-head {
  margin-bottom: 30px;
}

.en-display-title {
  display: block;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: rgba(37, 36, 33, 0.12);
  margin-bottom: -8px;
  user-select: none;
}

.en-display-center {
  text-align: center;
  margin-bottom: 4px;
}

.sig-bold-en {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink);
}

/* 01 Resume Bento Modular Grid */
.resume-bento-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: start;
  padding-bottom: clamp(48px, 5.8vw, 72px);
  border-bottom: 1px solid var(--line);
}

.bento-radar {
  margin-top: 0 !important;
}

.bento-en-badge {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.bento-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bento-card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(217, 213, 204, 0.8);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 36, 33, 0.05);
}

.bento-wide {
  grid-column: 1 / -1;
}

.bento-focus {
  background: var(--purple);
  border-color: transparent;
}

.bento-edu {
  background: var(--yellow);
  border-color: transparent;
}

.bento-site {
  background: var(--green);
  border-color: transparent;
}

.bento-en {
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(37, 36, 33, 0.48);
  line-height: 1.1;
}

.bento-zh {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 4px;
}

.bento-card > strong {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.bento-sub {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: rgba(37, 36, 33, 0.72);
}

.path-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
}

.cap-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 4px;
}

.cap-mini-grid > div {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(246, 244, 239, 0.85);
}

.cap-mini-grid strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 4px;
}

.cap-mini-grid em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  color: #8a64ba;
  background: rgba(138, 100, 186, 0.12);
  padding: 2px 7px;
  border-radius: 999px;
}

.cap-mini-grid p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.bento-link {
  font-size: 16px;
  font-weight: 700;
  word-break: break-all;
}

.bento-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bento-contact #contact-display {
  font-size: 13.5px;
  line-height: 1.75;
}

@media (max-width: 960px) {
  .resume-bento-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-en-display {
    font-size: 20px;
  }

  .hero-skill-tags {
    gap: 6px;
  }

  .hero-skill-tags li {
    padding: 4px 9px !important;
    font-size: 10.5px !important;
  }

  .en-display-title {
    font-size: 30px;
    margin-bottom: -4px;
  }

  .bento-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cap-mini-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bento-card {
    padding: 16px 16px 14px;
  }
}


/* Personal Info Top Banner Card & Balanced Left Bento Column */
.bento-profile-top {
  margin-bottom: 16px;
  background: #fffdf9;
  border: 1px solid #d9d5cc;
  padding: 20px 24px;
}

.profile-top-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.profile-top-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--purple);
  font-family: var(--meta-font, monospace);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.profile-top-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px 18px;
}

.profile-top-grid > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.profile-top-grid span {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.profile-top-grid strong {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}

.bento-col-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bento-contact #contact-display {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
}

.bento-contact #contact-display br {
  display: none;
}

@media (max-width: 960px) {
  .profile-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bento-profile-top {
    padding: 16px;
  }

  .profile-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .profile-top-grid strong {
    font-size: 14px;
  }
}


/* Flush Bento Alignment, Clean Chinese Tags, Profile Mini-List, and Work Section Bottom Breathing Room */
.hero-skill-tags li {
  flex-direction: row !important;
  align-items: center !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}

.resume-bento-grid {
  align-items: stretch !important;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr) !important;
  gap: 18px !important;
}

.bento-col-left {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  height: 100%;
}

.bento-col-left .bento-radar {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-cards {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  height: 100%;
}

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

.bento-skills-breakdown {
  flex: 1 1 auto;
  justify-content: center;
}

.info-mini-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.info-mini-list li {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.info-mini-list span {
  font-size: 10.5px;
  color: rgba(37, 36, 33, 0.56);
}

.info-mini-list b {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.section.work {
  padding-bottom: clamp(60px, 6.5vw, 88px);
}

.work-heading {
  position: relative;
}

@media (max-width: 960px) {
  .resume-bento-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .bento-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .squad--work-head {
    display: none;
  }
}


/* Strict Pixel-Aligned 12-Col x 3-Row Bento Matrix (Zero Misaligned Seams!) */
.bento-matrix {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 16px;
  align-items: stretch;
  padding-bottom: clamp(48px, 5.8vw, 72px);
  border-bottom: 1px solid var(--line);
}

.bento-matrix .bento-radar {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px 14px;
}

.bento-matrix .spider-grid {
  margin: auto;
  max-width: 420px;
}

.bento-area-profile {
  grid-column: 6 / 10;
  grid-row: 1 / 2;
}

.bento-area-focus {
  grid-column: 10 / 13;
  grid-row: 1 / 2;
  justify-content: space-between;
}

.bento-area-caps {
  grid-column: 6 / 13;
  grid-row: 2 / 3;
  justify-content: space-between;
}

.bento-area-site {
  grid-column: 1 / 6;
  grid-row: 3 / 4;
  justify-content: center;
}

.bento-area-contact {
  grid-column: 6 / 13;
  grid-row: 3 / 4;
  justify-content: center;
}

.profile-name {
  font-family: var(--display-font);
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  margin-bottom: 8px;
}

.bento-area-profile .info-mini-list {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(37, 36, 33, 0.1);
}

.bento-area-caps .cap-mini-grid {
  margin-top: 10px;
}

@media (max-width: 1020px) {
  .bento-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .bento-matrix .bento-radar,
  .bento-area-caps,
  .bento-area-site,
  .bento-area-contact {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bento-area-profile {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .bento-area-focus {
    grid-column: 2 / 3;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .bento-matrix {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento-area-profile,
  .bento-area-focus {
    grid-column: 1 / -1;
  }
}


/* Crisp Monochrome Streetwear Skill Tags (Replacing Pastel Clutter) */
.hero-skill-tags li {
  background: #fffdf9 !important;
  color: #3a3833 !important;
  border: 1px solid #d5d0c5 !important;
  padding: 6px 14px !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  letter-spacing: 0.02em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-skill-tags li.tag-core {
  background: #252421 !important;
  color: #f6f4ef !important;
  border-color: #252421 !important;
  font-weight: 650 !important;
}

.hero-skill-tags li:hover {
  background: #252421 !important;
  color: #f6f4ef !important;
  border-color: #252421 !important;
  transform: translateY(-2px);
}


/* Prevent LET'S ROLL display title from overlapping closing paragraph on narrow viewports */
.closing .en-display-center {
  margin-bottom: 14px !important;
}


/* 04 Selected Projects: Balanced 5-Card Bento Grid (Row 1: 2 cards, Row 2: 3 cards) + 3D Flip + Full-Bleed Video Modal */
.works-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  perspective: 1200px;
}

.work-card {
  grid-column: span 2;
  min-height: 238px;
  padding: 24px 24px 20px;
  border-radius: 20px;
  background: #fffdf9;
  border: 1px solid #d9d5cc;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 220ms ease;
}

.work-card:nth-child(1),
.work-card:nth-child(2) {
  grid-column: span 3;
}

.work-card:nth-child(1) {
  background: #ece9e1;
  border-color: transparent;
}

.work-card:nth-child(2) {
  background: var(--purple);
  border-color: transparent;
}

.work-card:nth-child(3) {
  background: #e2e7dc;
  border-color: transparent;
}

.work-card:nth-child(4) {
  background: var(--yellow);
  border-color: transparent;
}

.work-card:nth-child(5) {
  background: #fffdf9;
  border: 1px solid #d9d5cc;
}

.work-card:hover {
  transform: translateY(-5px) rotateY(-4deg);
  box-shadow: 0 18px 34px rgba(37, 36, 33, 0.1);
}

.work-card.is-flipping {
  transform: rotateY(180deg) scale(0.95);
  opacity: 0.45;
  transition: transform 360ms cubic-bezier(0.34, 1.2, 0.64, 1), opacity 260ms ease;
}

.work-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.work-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.work-card h3 {
  margin: 18px 0 10px;
  font-size: clamp(23px, 2.1vw, 30px);
  line-height: 1.3;
}

.work-card p {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(37, 36, 33, 0.74);
}

.work-open-cue {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.76;
  transition: opacity 180ms ease, transform 200ms ease;
}

.work-open-cue i {
  font-style: normal;
  font-size: 10px;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 36, 33, 0.1);
}

.work-card:hover .work-open-cue {
  opacity: 1;
  transform: translateX(3px);
}

body.modal-open {
  overflow: hidden;
}

/* Full-Bleed Background Video Showcase Modal */
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 36px);
  perspective: 1400px;
  opacity: 0;
  transition: opacity 280ms ease;
}

.work-modal.is-open {
  opacity: 1;
}

.work-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 15, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.work-modal-stage {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  height: min(640px, 84dvh);
  border-radius: 26px;
  overflow: hidden;
  background: #141312;
  color: #ffffff;
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateY(-22deg) scale(0.88);
  transform-origin: center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.work-modal.is-open .work-modal-stage {
  transform: rotateY(0deg) scale(1);
}

.work-modal-stage.is-switching {
  transform: rotateY(12deg) scale(0.96);
  opacity: 0.55;
}

.work-modal-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.work-modal-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 360ms ease;
}

.work-modal-stage[data-has-video="1"] .work-modal-media video {
  opacity: 1;
}

.work-modal-stage[data-orient="portrait"] .work-modal-media video {
  object-fit: contain;
  background: #0d0c0b;
}

.work-modal-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 25%, rgba(138, 100, 186, 0.38), transparent 46%),
    radial-gradient(circle at 80% 72%, rgba(226, 149, 0, 0.24), transparent 50%),
    linear-gradient(135deg, #1a1917 0%, #100f0e 100%);
  transition: opacity 360ms ease;
}

.work-modal-stage[data-has-video="1"] .work-modal-fallback {
  opacity: 0;
}

.work-modal-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 11, 10, 0.88) 0%,
    rgba(12, 11, 10, 0.42) 48%,
    rgba(12, 11, 10, 0.32) 100%
  );
  pointer-events: none;
}

.work-modal-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px) clamp(22px, 3.5vw, 38px) 0;
}

.work-modal-meta {
  font-family: var(--meta-font, monospace);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
}

.work-modal-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color 180ms ease, transform 180ms ease;
}

.work-modal-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(90deg);
}

.work-modal-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(22px, 3.5vw, 38px) clamp(22px, 3.2vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.work-modal-role {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.work-modal-title {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
}

.work-modal-desc {
  margin: 0;
  max-width: 660px;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.work-modal-foot {
  width: 100%;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.work-modal-hint {
  font-family: var(--meta-font, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
}

.work-modal-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.work-modal-nav-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 160ms ease, transform 160ms ease;
}

.work-modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2) {
    grid-column: span 1;
  }

  .work-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .works-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2),
  .work-card:nth-child(5) {
    grid-column: auto;
    min-height: 196px;
    padding: 20px 18px 18px;
  }

  .work-modal-stage {
    height: min(600px, 86dvh);
    border-radius: 22px;
  }

  .work-modal-title {
    font-size: 30px;
  }

  .work-modal-desc {
    font-size: 13.5px;
  }
}


/* Work modal visual polish: 16:9 cinematic frame, brighter mid-frame scrim, pixel-centered SVG close */
.work-modal-stage {
  width: min(1160px, 100%);
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 86dvh;
}

.work-modal-scrim {
  background: linear-gradient(
    to top,
    rgba(12, 11, 10, 0.78) 0%,
    rgba(12, 11, 10, 0.26) 34%,
    rgba(12, 11, 10, 0.03) 68%,
    rgba(12, 11, 10, 0.22) 100%
  );
}

.work-modal-close svg {
  display: block;
}

@media (max-width: 760px) {
  .work-modal-stage {
    aspect-ratio: auto;
    height: min(600px, 86dvh);
  }
}


/* 05 Closing polish: keep LET'S ROLL paired with heading, clean contacts, playful coffee easter egg */
.closing .en-display-center {
  margin-bottom: -4px !important;
}

.closing h2 {
  margin: 0 0 14px;
}

.closing .closing-lead {
  margin: 0 auto 24px;
}

.closing-contacts {
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 26px;
}

.closing-sep {
  color: var(--line);
  user-select: none;
}

.closing-easter-egg {
  display: inline-block;
  margin: 26px auto 0 !important;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  background: rgba(255, 253, 249, 0.72);
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  .closing-sep {
    display: none;
  }

  .closing-easter-egg {
    font-size: 11px !important;
    padding: 7px 13px;
  }
}


/* Post-Credits Collector's Drink Pass Modal (Two-Tone Die-Cut Cinema Ticket) */
.egg-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 36px);
  opacity: 0;
  transition: opacity 300ms ease;
}

.egg-modal.is-open {
  opacity: 1;
}

.egg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 8, 12, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.egg-wrap {
  position: relative;
  z-index: 1;
  width: min(656px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: translateY(28px) scale(0.95) rotate(-0.8deg);
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.egg-modal.is-open .egg-wrap {
  transform: translateY(0) scale(1) rotate(0deg);
}

/* Pristine floating close button outside the ticket so screenshots stay clean */
.egg-close {
  position: absolute;
  top: -46px;
  right: 0;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 253, 249, 0.22);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.08);
  color: rgba(255, 253, 249, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 180ms ease, color 180ms ease, transform 220ms ease;
}

.egg-close:hover {
  background: #f6f4ef;
  color: #161518;
  transform: rotate(90deg);
}

/* Horizontal Two-Tone Ticket (Desktop) */
.egg-ticket {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 216px;
  color: var(--ink);
  filter: drop-shadow(0 30px 72px rgba(4, 3, 8, 0.65));
}

/* Left Panel: Warm Archival Cotton Paper */
.egg-ticket-main {
  position: relative;
  padding: 14px;
  border-radius: 18px 0 0 18px;
  background:
    radial-gradient(120% 100% at 12% 0%, #fffdf8 0%, #f7f2e7 58%, #eee7d7 100%);
  -webkit-mask-image:
    radial-gradient(circle 11px at 100% 0, transparent 10.4px, #000 11px),
    radial-gradient(circle 11px at 100% 100%, transparent 10.4px, #000 11px);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle 11px at 100% 0, transparent 10.4px, #000 11px),
    radial-gradient(circle 11px at 100% 100%, transparent 10.4px, #000 11px);
  mask-composite: intersect;
}

/* Fine letterpress inner border frame */
.egg-main-frame {
  height: 100%;
  padding: 20px 24px 20px;
  border: 1px solid rgba(37, 36, 33, 0.14);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.egg-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(37, 36, 33, 0.1);
  font-family: var(--meta-font, monospace);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: #847d70;
}

.egg-no {
  padding: 2px 7px;
  border: 1px solid rgba(37, 36, 33, 0.18);
  border-radius: 4px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.egg-body {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.egg-eyebrow {
  font-family: var(--meta-font, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #936b2c;
}

.egg-title {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(34px, 4.4vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-synthesis: none;
}

.egg-copy {
  margin: 2px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #4a4740;
}

.egg-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(37, 36, 33, 0.1);
}

.egg-meta-grid > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.egg-meta-grid span {
  font-family: var(--meta-font, monospace);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: #8c8578;
}

.egg-meta-grid strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* Right Tear-Off Stub: Deep Matte After-Hours Ink */
.egg-ticket-stub {
  position: relative;
  margin-left: -1px;
  padding: 22px 22px 20px;
  border-radius: 0 18px 18px 0;
  background:
    radial-gradient(90% 80% at 50% 34%, #2a2630 0%, #1b191f 68%, #141217 100%);
  color: #f6f4ef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: center;
  -webkit-mask-image:
    radial-gradient(circle 11px at 0 0, transparent 10.4px, #000 11px),
    radial-gradient(circle 11px at 0 100%, transparent 10.4px, #000 11px);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(circle 11px at 0 0, transparent 10.4px, #000 11px),
    radial-gradient(circle 11px at 0 100%, transparent 10.4px, #000 11px);
  mask-composite: intersect;
}

/* Crisp vertical dashed tear perforation */
.egg-ticket-stub::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  border-left: 1.5px dashed rgba(246, 244, 239, 0.22);
}

.egg-stub-kicker {
  font-family: var(--meta-font, monospace);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgba(241, 228, 170, 0.72);
}

.egg-stub-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.egg-emblem {
  line-height: 0;
}

.egg-steam {
  animation: egg-steam-float 2.8s ease-in-out infinite;
}

.egg-steam-2 {
  animation-delay: -1.1s;
}

@keyframes egg-steam-float {
  0%, 100% { transform: translateY(2px); opacity: 0.32; }
  50% { transform: translateY(-3px); opacity: 0.92; }
}

.egg-stub-label {
  font-family: var(--meta-font, monospace);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(246, 244, 239, 0.85);
}

.egg-barcode {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.84;
}

.egg-serial {
  font-family: var(--meta-font, monospace);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: rgba(246, 244, 239, 0.56);
}

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

.egg-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  background: #f6f4ef;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.36);
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 180ms ease;
}

.egg-cta:hover {
  transform: translateY(-2px);
  background: var(--yellow);
}

.egg-dismiss {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 249, 0.22);
  background: rgba(255, 253, 249, 0.08);
  color: rgba(255, 253, 249, 0.88);
  font-size: 12.5px;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.egg-dismiss:hover {
  background: rgba(255, 253, 249, 0.16);
  border-color: rgba(255, 253, 249, 0.36);
}

/* Mobile: Vertical Two-Tone Ticket with Left/Right Die-Cut Notches */
@media (max-width: 640px) {
  .egg-wrap {
    width: min(372px, 100%);
  }

  .egg-close {
    top: -42px;
  }

  .egg-ticket {
    grid-template-columns: 1fr;
  }

  .egg-ticket-main {
    border-radius: 18px 18px 0 0;
    -webkit-mask-image:
      radial-gradient(circle 11px at 0 100%, transparent 10.4px, #000 11px),
      radial-gradient(circle 11px at 100% 100%, transparent 10.4px, #000 11px);
    mask-image:
      radial-gradient(circle 11px at 0 100%, transparent 10.4px, #000 11px),
      radial-gradient(circle 11px at 100% 100%, transparent 10.4px, #000 11px);
  }

  .egg-main-frame {
    padding: 18px 18px 20px;
    gap: 16px;
  }

  .egg-ticket-stub {
    margin-left: 0;
    margin-top: -1px;
    padding: 18px 22px 20px;
    border-radius: 0 0 18px 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: center;
    -webkit-mask-image:
      radial-gradient(circle 11px at 0 0, transparent 10.4px, #000 11px),
      radial-gradient(circle 11px at 100% 0, transparent 10.4px, #000 11px);
    mask-image:
      radial-gradient(circle 11px at 0 0, transparent 10.4px, #000 11px),
      radial-gradient(circle 11px at 100% 0, transparent 10.4px, #000 11px);
  }

  .egg-ticket-stub::before {
    top: 0;
    bottom: auto;
    left: 18px;
    right: 18px;
    border-left: 0;
    border-top: 1.5px dashed rgba(246, 244, 239, 0.22);
  }

  .egg-stub-kicker {
    display: none;
  }

  .egg-stub-hero {
    gap: 4px;
  }

  .egg-emblem svg {
    width: 102px;
    height: 64px;
  }

  .egg-stub-label {
    font-size: 8.5px;
    letter-spacing: 0.14em;
  }

  .egg-barcode {
    margin-top: 0;
    align-items: center;
  }

  .egg-barcode svg {
    width: 112px;
    height: 22px;
  }

  .egg-copy {
    font-size: 13px;
  }
}


/* =========================================================
   Post-Credits Cinema · 散场之后 (view from the last row)
   ========================================================= */
body {
  transition: background-color 700ms cubic-bezier(0.22, 1, 0.36, 1), color 520ms ease;
}

body.is-cinema-mode {
  background: #0b0a0d;
}

main,
footer,
.header {
  transition: opacity 600ms ease;
}

body.is-cinema-mode main,
body.is-cinema-mode footer,
body.is-cinema-mode .header {
  opacity: 0.18;
}

body.is-cinema-mode .back-top-face {
  background: #efe8da;
}

body.is-cinema-mode .back-top-face i {
  background: #0b0a0d;
}

body.is-cinema-mode .back-top-label {
  color: rgba(255, 253, 249, 0.5);
}

.cinema-afterworld {
  --aud-h: clamp(232px, min(28.5vw, 44dvh), 420px);
  --aud-scale: max(100vw, calc(var(--aud-h) * 3.51));
  --scr-w: min(960px, 80vw, calc((100dvh - var(--aud-h) - 68px) * 2.25));
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  margin-top: 24px;
  padding: clamp(44px, 7vh, 96px) var(--gutter) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  color: #f6f4ef;
  background: linear-gradient(180deg, rgba(11, 10, 13, 0) 0%, #0b0a0d 16%, #0b0a0d 100%);
}

body.is-cinema-mode .cinema-afterworld {
  background: #0b0a0d;
}

/* Subtle entry line visible from footer, fades out once theater lights dim */
.cinema-threshold {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 4;
  width: 1px;
  height: 44px;
  transform: translateX(-50%);
  overflow: hidden;
  opacity: 0.42;
  transition: opacity 600ms ease;
}

body.is-cinema-mode .cinema-threshold {
  opacity: 0;
}

.cinema-threshold span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255, 253, 249, 0.7), transparent);
}

/* Room atmosphere: soft overhead projector beam + screen spill + corner vignette */
.cinema-room {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cinema-beam {
  position: absolute;
  top: -8%;
  left: 50%;
  width: min(1160px, 118vw);
  height: 76%;
  transform: translateX(-50%);
  background: conic-gradient(
    from 180deg at 50% 0%,
    transparent 34%,
    rgba(255, 240, 206, 0.045) 44%,
    rgba(232, 220, 245, 0.065) 50%,
    rgba(255, 240, 206, 0.045) 56%,
    transparent 66%
  );
  filter: blur(22px);
  opacity: 0;
  transition: opacity 1100ms ease;
}

body.is-cinema-mode .cinema-beam {
  opacity: 1;
}

.cinema-glow {
  position: absolute;
  left: 50%;
  bottom: calc(var(--aud-h) * 0.56);
  width: calc(var(--scr-w) * 1.95);
  height: calc(var(--scr-w) * 1.08);
  transform: translateX(-50%);
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(255, 238, 206, 0.18) 0%,
    rgba(214, 196, 240, 0.065) 46%,
    transparent 74%
  );
  opacity: 0;
  transition: opacity 1100ms ease, transform 700ms ease;
}

body.is-cinema-mode .cinema-glow {
  opacity: 1;
}

.cinema-afterworld:has(.cinema-claim-btn:hover) .cinema-glow {
  opacity: 1;
  transform: translateX(-50%) scale(1.06);
}

.cinema-room::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 42%, transparent 54%, rgba(0, 0, 0, 0.58) 100%);
}

.cinema-exit {
  position: absolute;
  top: clamp(28px, 6vh, 62px);
  left: clamp(20px, 4vw, 56px);
  padding: 3px 7px 2px;
  border: 1px solid rgba(110, 242, 196, 0.44);
  border-radius: 3px;
  font-family: var(--meta-font, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #79f2c6;
  text-shadow: 0 0 10px rgba(110, 242, 196, 0.75);
  box-shadow: 0 0 18px rgba(54, 211, 153, 0.18);
  opacity: 0;
  transition: opacity 800ms ease 180ms;
}

body.is-cinema-mode .cinema-exit {
  opacity: 0.74;
}

.cinema-dust {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 900ms ease;
}

body.is-cinema-mode .cinema-dust {
  opacity: 1;
}

/* Stage: CinemaScope screen + velvet curtains catching warm inner bounce light */
.cinema-stage {
  position: relative;
  z-index: 1;
  width: var(--scr-w);
  flex: none;
}

.cinema-curtain {
  position: absolute;
  top: -60vh;
  bottom: -20px;
  width: clamp(40px, 9.5vw, 158px);
  background:
    linear-gradient(180deg, rgba(11, 10, 13, 0.9) 0%, transparent 28%, transparent 62%, rgba(11, 10, 13, 0.72) 100%),
    repeating-linear-gradient(90deg, #240b15 0 6px, #441526 14px, #581b30 18px, #35101f 26px, #240b15 32px);
  opacity: 0;
  transition: opacity 900ms ease;
}

.cinema-curtain--l {
  right: calc(100% + 14px);
  border-bottom-right-radius: 40% 26px;
  box-shadow: inset -12px 0 22px -8px rgba(255, 224, 178, 0.18);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 72%);
}

.cinema-curtain--r {
  left: calc(100% + 14px);
  border-bottom-left-radius: 40% 26px;
  box-shadow: inset 12px 0 22px -8px rgba(255, 224, 178, 0.18);
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 72%);
  mask-image: linear-gradient(270deg, transparent 0%, #000 72%);
}

body.is-cinema-mode .cinema-curtain {
  opacity: 1;
}

.cinema-screen-frame {
  position: relative;
  padding: 0;
  border-radius: 6px;
  background: #100e14;
  box-shadow:
    0 0 0 7px #050407,
    0 0 0 8px rgba(255, 242, 214, 0.06);
}

.cinema-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 2.25 / 1;
  padding: 0 clamp(24px, 5vw, 64px) calc(var(--scr-w) * 0.038);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.15vw, 14px);
  text-align: center;
  color: var(--ink);
  background: radial-gradient(72% 92% at 50% 44%, #fcf9f2 0%, #f3eee3 56%, #dfd7c8 100%);
  opacity: 0.16;
  transform: scale(0.992);
  box-shadow:
    inset 0 0 42px rgba(37, 36, 33, 0.08),
    0 0 60px 6px rgba(255, 244, 222, 0),
    0 0 220px 40px rgba(255, 236, 200, 0);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 950ms ease;
}

body.is-cinema-mode .cinema-screen {
  opacity: 1;
  transform: scale(1);
  box-shadow:
    inset 0 0 42px rgba(37, 36, 33, 0.08),
    0 0 64px 8px rgba(255, 244, 222, 0.18),
    0 0 220px 44px rgba(255, 236, 200, 0.09);
  animation: cinema-flicker 9s ease-in-out 1.1s infinite;
}

/* Fine 35mm film grain */
.cinema-screen::before {
  content: "";
  position: absolute;
  inset: -50%;
  pointer-events: none;
  opacity: 0.085;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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)'/%3E%3C/svg%3E");
  animation: cinema-grain 0.9s steps(3) infinite;
}

/* 35mm reel changeover cue mark, top-right corner */
.cinema-screen::after {
  content: "";
  position: absolute;
  top: 7%;
  right: 4.2%;
  width: clamp(10px, 1.25vw, 17px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #2a2522 0%, #3b3430 60%, transparent 72%);
  opacity: 0;
  animation: cinema-cue 8s linear 2s infinite;
}

.cinema-screen > * {
  position: relative;
  z-index: 1;
}

/* Whisper-quiet director film-gate corner metadata */
.cinema-meta {
  position: absolute !important;
  font-family: var(--meta-font, monospace);
  font-size: clamp(9px, 0.78vw, 10.5px);
  letter-spacing: 0.16em;
  color: rgba(37, 36, 33, 0.36);
  pointer-events: none;
  user-select: none;
}

.cinema-meta--tl {
  top: clamp(12px, 2vw, 20px);
  left: clamp(16px, 2.4vw, 26px);
}

.cinema-meta--bl {
  bottom: clamp(18px, 3.2vw, 34px);
  left: clamp(16px, 2.4vw, 26px);
}

.cinema-meta--br {
  bottom: clamp(18px, 3.2vw, 34px);
  right: clamp(16px, 2.4vw, 26px);
}

.cinema-screen-tag {
  font-family: var(--meta-font, monospace);
  font-size: clamp(10px, 0.9vw, 12px);
  letter-spacing: 0.26em;
  color: #827c70;
}

.cinema-screen-line {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ink);
  font-synthesis: none;
}

.cinema-screen-sub {
  margin: 0;
  font-size: clamp(12.5px, 1.05vw, 14px);
  color: #6b665c;
  letter-spacing: 0.04em;
}

.cinema-claim-btn {
  margin-top: clamp(6px, 1.1vw, 14px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(37, 36, 33, 0.22);
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 220ms ease, background-color 200ms ease;
}

.cinema-claim-btn:hover {
  transform: translateY(-2px) scale(1.015);
  background: #3a2f52;
  box-shadow: 0 14px 32px rgba(58, 47, 82, 0.32);
}

.cinema-claim-btn:active {
  transform: scale(0.97);
}

.cinema-claim-btn:focus-visible {
  outline: 2px solid #8a64ba;
  outline-offset: 3px;
}

.cinema-arrow {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  animation: cinema-arrow-bob 1.8s ease-in-out infinite;
}

/* Audience silhouettes seen from behind (the last row) */
.cinema-audience {
  position: relative;
  z-index: 3;
  flex: none;
  width: 100vw;
  height: var(--aud-h);
  margin-top: calc(var(--aud-scale) * -0.032);
  line-height: 0;
  pointer-events: none;
}

.cinema-audience svg {
  display: block;
  width: 100%;
  height: 100%;
}

.c-bot {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.c-bot--bob {
  animation: c-bob var(--cd, 4.8s) ease-in-out var(--cdel, 0s) infinite;
}

.c-bot--sway {
  animation: c-sway var(--cd, 5.6s) ease-in-out var(--cdel, 0s) infinite;
}

.c-bot--nod {
  animation: c-nod var(--cd, 6.4s) ease-in-out var(--cdel, 0s) infinite;
}

/* XINTAO mascot starts UP & curious, glances around, briefly ducks down shyly */
.c-peeker {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: c-peek 9.5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.c-peeker-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: c-peek-eyes 9.5s ease-in-out infinite, bot-blink 4.6s linear 0.9s infinite;
}

.c-peeker-hands {
  animation: c-peek-hands 9.5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

/* Mascot perks up eagerly when you hover the Easter egg button */
.cinema-afterworld:has(.cinema-claim-btn:hover) .c-peeker {
  animation-play-state: paused;
  transform: translateY(-4px) rotate(-3deg);
}

@keyframes c-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes c-sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

@keyframes c-nod {
  0%, 70%, 100% { transform: rotate(0); }
  78% { transform: rotate(-5.5deg); }
  88% { transform: rotate(2.5deg); }
}

@keyframes c-peek {
  0%, 18% { transform: translateY(0) rotate(0deg); }
  32%, 44% { transform: translateY(0) rotate(-6deg); }
  56%, 68% { transform: translateY(0) rotate(2deg); }
  76%, 84% { transform: translateY(28px) rotate(0deg); }
  92%, 100% { transform: translateY(0) rotate(0deg); }
}

@keyframes c-peek-hands {
  0%, 72% { transform: translateY(0); opacity: 1; }
  76%, 84% { transform: translateY(12px); opacity: 0; }
  92%, 100% { transform: translateY(0); opacity: 1; }
}

@keyframes c-peek-eyes {
  0%, 16% { translate: 0 0; }
  26%, 46% { translate: -3.5px 1px; }
  54%, 68% { translate: 2.5px 0; }
  76%, 100% { translate: 0 0; }
}

@keyframes cinema-arrow-bob {
  0%, 100% { transform: translateY(-1.5px); }
  50% { transform: translateY(2px); }
}

@keyframes cinema-flicker {
  0%, 100% { filter: brightness(1); }
  47% { filter: brightness(1.02); }
  49% { filter: brightness(0.975); }
  51% { filter: brightness(1.015); }
}

@keyframes cinema-grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-6%, 4%); }
  66% { transform: translate(5%, -3%); }
  100% { transform: translate(0, 0); }
}

@keyframes cinema-cue {
  0%, 86%, 100% { opacity: 0; }
  87%, 91% { opacity: 0.82; }
}

@media (max-width: 760px) {
  .cinema-afterworld {
    --aud-h: clamp(265px, 38dvh, 345px);
    --scr-w: 100%;
    min-height: 100dvh;
    padding-top: clamp(72px, 11vh, 104px);
  }

  .cinema-exit {
    top: 26px;
    left: 20px;
  }

  .cinema-stage {
    width: 100%;
  }

  .cinema-screen {
    aspect-ratio: auto;
    min-height: clamp(320px, 44dvh, 410px);
    padding: 52px 22px 64px;
  }

  .cinema-meta--bl {
    display: none;
  }

  .cinema-meta--br {
    bottom: auto;
    top: 12px;
    right: 16px;
  }

  .cinema-screen::after {
    top: auto;
    bottom: 24px;
    right: 16px;
  }

  .cinema-glow {
    width: 180vw;
    height: 110vw;
  }

  .cinema-curtain {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-bot,
  .c-peeker,
  .c-peeker-eyes,
  .c-peeker-hands,
  .cinema-arrow,
  .cinema-screen,
  .cinema-screen::before,
  .cinema-screen::after {
    animation: none !important;
  }
}

@media print {
  .cinema-afterworld,
  .egg-modal {
    display: none !important;
  }
}
