:root {
  --bg: #0f0f10;
  --panel: #171719;
  --panel-2: #1c1c1f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f0eb;
  --muted: #b9b4aa;
  --soft: #8d877f;
  --accent: #d2a763;
  --accent-soft: rgba(210, 167, 99, 0.16);
  --max: 1440px;
}

/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(210, 167, 99, 0.08), transparent 22%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

img,
video {
  display: block;
  width: 100%;
}

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

.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 36px 88px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  backdrop-filter: blur(20px);
  background: rgba(15, 15, 16, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: "Newsreader", serif;
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 999px;
}

nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 999px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

nav a.active,
nav a[aria-current="page"] {
  color: var(--text);
  background: var(--accent-soft);
  border: 1px solid rgba(210, 167, 99, 0.35);
}

nav a::after {
  content: "";
  position: absolute;
  left: 20%;
  bottom: 4px;
  width: 60%;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.25s ease;
}

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

/* ---------- Shared Typography ---------- */

.eyebrow,
.mini-label {
  margin: 0 0 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.hero__content h1,
.section h2 {
  font-family: "Newsreader", serif;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  font-weight: 400;
}

.section h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #e6e1d8;
}

.rich-text p,
.card p,
.process-copy p,
.final-video-card p,
.reflection-card p,
.story-summary__text,
.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.82;
}

.rich-text p + p,
.process-copy p + p,
.reflection-card p + p {
  margin-top: 14px;
}

/* ---------- Sections / Layout ---------- */

.section {
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
}

.section--hero {
  padding-top: 52px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: start;
}

.grid-two {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 52px;
  align-items: start;
}

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

.section-note {
  max-width: 500px;
}

/* ---------- Hero ---------- */

.hero__content {
  max-width: 640px;
  padding-bottom: 8px;
}

.hero__content h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 1.2;
  font-weight: 500;
  max-width: 18ch;
}

.hero__lede {
  margin: 24px 0 20px;
  color: #ddd5c8;
  font-size: 1.22rem;
  line-height: 1.75;
  max-width: 34rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero__meta span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.84rem;
}

.hero__media {
  padding: 0;
}

.hero__media figure {
  margin: 0;
}

.hero__media img {
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hero__video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 15px;
}

/* ---------- Info / Cards ---------- */

.info-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-grid > div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.info-label {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.info-grid strong {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.6;
}

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

.card,
.reflection-card,
.contact-card,
.portrait-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.015)
  );
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.card,
.reflection-card,
.contact-card {
  border-radius: 22px;
}

.card,
.reflection-card {
  padding: 28px;
}

/* ---------- Journey ---------- */

.journey-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(210, 167, 99, 0.06),
    rgba(255, 255, 255, 0.02)
  );
}

.journey-step {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 4px;
}

.step-number {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.journey-step p {
  margin: 0;
  color: var(--soft);
  line-height: 1.7;
}

.journey-line {
  width: 42px;
  height: 1px;
  align-self: center;
  background: linear-gradient(
    90deg,
    rgba(210, 167, 99, 0.2),
    rgba(210, 167, 99, 0.8)
  );
}

/* ---------- Process Blocks ---------- */

.process-block {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: 30px;
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 110px;
}

/* ---------- Media Grids ---------- */

.image-grid {
  display: grid;
  gap: 18px;
}

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

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

.image-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.image-grid figure,
.image-grid--heroish figure,
.storyboard-strip figure,
.showcase-strip figure {
  margin: 0;
}

.image-grid figcaption,
.image-grid--heroish figcaption,
.showcase-strip figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.image-grid img,
.grid-two img {
  width: 100%;
  aspect-ratio: 9 / 20;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: transparent;
  padding: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

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

.image-grid--heroish figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: transparent;
  padding: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.showcase-strip figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-strip img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

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

.storyboard-strip img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 18px;
  padding: 0;
  background: transparent;
}

#character .grid-two img {
  aspect-ratio: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  border-radius: 28px;
}

/* ---------- Reflection / Story ---------- */

.reflection-grid {
  display: grid;
  gap: 18px;
}

.story-block {
  margin-top: 52px;
}

.story-intro {
  max-width: 620px;
  margin-bottom: 24px;
}

/* ---------- Closing ---------- */

.closing {
  padding: 40px 0 24px;
}

.closing__quote {
  max-width: 520px;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--soft);
}

/* ---------- Home / Index ---------- */

.home-hero {
  padding-top: 72px;
  min-height: 52vh;
  display: flex;
  align-items: center;
}

.home-hero__inner {
  max-width: 760px;
}

.home-hero__inner h1 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: 1.1;
  font-weight: 500;
}

.home-hero__inner p:not(.eyebrow) {
  margin: 22px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 0.75fr;
  gap: 52px;
  align-items: start;
}

.about-copy {
  max-width: 680px;
}

.about-quote {
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 2px solid rgba(210, 167, 99, 0.35);
  font-family: "Newsreader", serif;
  font-size: 1.45rem;
  line-height: 1.55;
  color: #e6dfd3;
}

.portrait-card {
  border-radius: 26px;
  padding: 18px;
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.resume-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(210, 167, 99, 0.28);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.92rem;
  transition: 0.25s ease;
}

.resume-link:hover {
  transform: translateY(-1px);
  background: rgba(210, 167, 99, 0.22);
  border-color: rgba(210, 167, 99, 0.45);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
  align-items: start;
}

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

.contact-card {
  display: block;
  min-height: 100%;
  padding: 26px;
  transition: 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(210, 167, 99, 0.28);
  background: linear-gradient(
    180deg,
    rgba(210, 167, 99, 0.09),
    rgba(255, 255, 255, 0.02)
  );
}

.contact-card strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.site-footer {
  padding-top: 10px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0 0;
  color: var(--soft);
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__links a {
  color: var(--muted);
  transition: 0.2s ease;
}

.site-footer__links a:hover {
  color: var(--text);
}
.image-grid--one {
  max-width: 820px;     /* 控制整体宽度 */
  margin: 0 auto;       /* 居中 */
}

.image-grid--one img {
  aspect-ratio: auto;   /* 不强制比例 */
  object-fit: contain;  /* 不裁剪 */
  height: auto;
}

/* ---------- Final section ---------- */

.section--final {
  padding: 76px 0;
}

.final-block {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(520px, 1.1fr);
  gap: 40px;
  align-items: start;
}

.final-copy {
  position: sticky;
  top: 110px;   /* 稍微大一点更明显 */
}

.section--final h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.7vw, 2.9rem);
  line-height: 1.08;
  max-width: 12ch;
}

.section--final .rich-text {
  margin-top: 18px;
  max-width: 34rem;
}

.final-media {
  align-self: start;
  width: 100%;
  max-width: none;
  margin: 0;
}

.final-media img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: top center;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  background: transparent;
}
#final h2,
#shell h2,
#model h2 {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #e6e1d8;

  margin: 0;
  max-width: 28rem;
}
@media (max-width: 1180px) {
  .final-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .final-copy {
    position: static;
  }

  .section--final .rich-text {
    max-width: 100%;
  }

  .final-media img {
    max-width: 100%;
    max-height: none;
    margin: 0;
  }
}
@media (max-width: 1180px) {
  .final-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .final-copy {
    position: static;
    max-width: 100%;
  }

  .final-media {
    max-width: 420px;
  }

  .final-media img {
    max-height: none;
  }
}
/* ---------- Home page special alignment ---------- */

.page-home .home-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 0 120px;
}

.page-home .home-hero__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.page-home .home-hero__inner h1 {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  line-height: 1.08;
}

.page-home .home-hero__inner p {
  margin: 24px auto 0;
  max-width: 600px;
  text-align: center;
}

.page-home .project-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-home .project-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.page-home .project-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.page-home .project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .project-card__body {
  padding: 20px;
}


/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .section--hero,
  .grid-two,
  .process-block,
  .section-head,
  .card-list,
  .about-grid,
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .process-copy {
    position: static;
  }

  .journey-map {
    grid-template-columns: 1fr;
  }

  .journey-line {
    width: 1px;
    height: 24px;
    margin: 0 auto;
  }

  .hero__media {
    max-width: 860px;
  }

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

@media (max-width: 720px) {
  .page-shell {
    padding: 0 18px 48px;
  }

  .header-inner {
    padding: 14px 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    border-radius: 22px;
  }

  .section {
    padding: 68px 0;
  }

  .hero__content h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .image-grid--two,
  .image-grid--three,
  .info-grid,
  .page-home .project-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .reflection-card,
  .hero__media {
    padding: 18px;
  }

  .image-grid img,
  .grid-two img {
    aspect-ratio: 10 / 16;
  }
}


