/* Homepage exhibition system
   The global navigation and legal footer retain their existing structure and
   styling. Everything between them is scoped to the homepage. */

.home-shell {
  --home-rice: #f2efe6;
  --home-rice-light: #fbf8ef;
  --home-ink: #17251f;
  --home-ink-soft: #263a32;
  --home-jade: #2d6d5e;
  --home-jade-light: #98c6b2;
  --home-cinnabar: #c85b3d;
  --home-gold: #dcbf7b;
  --home-mist: #d9dfd5;
  --home-line: rgba(23, 37, 31, 0.17);
  --home-font-body:
    "Avenir Next", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --home-font-display:
    "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC",
    Georgia, serif;
  --home-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --home-motion-feedback: 160ms;
  --home-motion-hover: 420ms;
  --home-motion-emphasis: 760ms;
  min-height: 100vh;
  overflow: hidden;
  color: var(--home-ink);
  background: var(--home-rice);
  font-family: var(--home-font-body);
  font-synthesis: none;
}

.home-shell button,
.home-shell a {
  font-family: var(--home-font-body);
}

.home-shell img {
  user-select: none;
}

.home-shell .home-main {
  background: var(--home-rice);
}

.home-section-inner,
.home-finale-inner,
.home-hero-stage {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

/* Navigation: intentionally unchanged from the prior homepage. */

.home-shell .global-nav-path {
  gap: 36px;
}

.home-shell .global-nav-brand {
  width: 180px;
}

.home-shell .global-nav-path > .global-nav-slash {
  display: none;
}

.home-shell .global-nav-home {
  margin-left: 0;
  font-weight: 600;
}

.home-shell .global-nav-brand .brand-name,
.home-shell .global-nav-username {
  font-weight: 700;
}

.home-shell .global-nav-brand .brand-english {
  color: #557068;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.home-shell .global-nav-exit,
.home-shell .global-nav-login {
  font-weight: 500;
}

/* Hero */

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  background:
    radial-gradient(circle at 94% 7%, rgba(200, 91, 61, 0.1), transparent 22%),
    var(--home-rice);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(23, 37, 31, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 37, 31, 0.026) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

.home-hero-stage {
  padding: clamp(48px, 5vw, 64px) 0 clamp(48px, 5vw, 64px);
}

.home-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
  padding-top: 0;
}

.home-hero-copy h1 {
  position: relative;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(62px, 6.8vw, 94px);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.94;
  text-wrap: balance;
}

.home-hero-copy h1 span,
.home-hero-copy h1 em {
  display: block;
  animation: home-title-in var(--home-motion-emphasis) var(--home-ease-out) both;
}

.home-hero-copy h1 em {
  padding-top: 0.1em;
  font-family: var(--home-font-display);
  font-style: normal;
  font-weight: 650;
  letter-spacing: -0.055em;
  animation-delay: 90ms;
}

.home-hero-intro {
  display: grid;
  gap: 24px;
  padding: 0 0 8px 20px;
  border-left: 1px solid var(--home-line);
  animation: home-rise-in 640ms var(--home-ease-out) 180ms both;
}

.home-hero-intro > p {
  max-width: 22em;
  margin: 0;
  color: #47564f;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.home-primary-action,
.home-finale-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 22px;
  border: 1px solid var(--home-ink);
  border-radius: 0;
  color: var(--home-rice-light);
  background: var(--home-ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition:
    color var(--home-motion-feedback) ease,
    background var(--home-motion-feedback) ease,
    transform var(--home-motion-feedback) ease;
}

.home-primary-action:hover {
  color: var(--home-ink);
  background: transparent;
}

.home-primary-action:active,
.home-finale-action:active {
  transform: scale(0.98);
}

.home-primary-action span,
.home-finale-action span {
  font-size: 18px;
  line-height: 1;
  transition: transform var(--home-motion-feedback) ease;
}

.home-primary-action:hover span,
.home-finale-action:hover span {
  transform: translate(2px, -2px);
}

.home-scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--home-line);
  color: #44534c;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition:
    color var(--home-motion-feedback) ease,
    border-color var(--home-motion-feedback) ease;
}

.home-scroll-link:hover {
  border-color: var(--home-cinnabar);
  color: var(--home-cinnabar);
}

.home-hero-canvas {
  position: relative;
  height: clamp(410px, 38vw, 500px);
  margin-top: clamp(38px, 4vw, 52px);
  animation: home-canvas-in 860ms var(--home-ease-out) 160ms both;
}

.home-hero-canvas figure {
  margin: 0;
}

.home-hero-feature {
  position: absolute;
  inset: 0 15% 0 0;
  overflow: hidden;
  background: #d7d5c9;
}

.home-hero-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 62%, rgba(23, 37, 31, 0.24));
  content: "";
  pointer-events: none;
}

.home-hero-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
}

.home-hero-feature figcaption {
  position: absolute;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  color: var(--home-rice-light);
  background: rgba(23, 37, 31, 0.88);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.home-hero-feature figcaption span {
  color: var(--home-gold);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.home-hero-output {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  border: 8px solid var(--home-rice);
  background: var(--home-ink);
  box-shadow: 0 24px 55px rgba(23, 37, 31, 0.24);
}

.home-hero-output img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-output figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 7px;
  color: var(--home-rice-light);
  background: rgba(23, 37, 31, 0.84);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-hero-output-process {
  right: 0;
  bottom: -28px;
  width: min(34%, 430px);
  aspect-ratio: 16 / 9;
}

.home-hero-output-process img {
  object-position: center 44%;
}

.home-hero-output-fox {
  top: -30px;
  right: 4.5%;
  width: min(15%, 185px);
  height: 47%;
  transform: rotate(1.2deg);
}

.home-hero-output-fox img {
  object-position: center 31%;
}

/* Shared section headings */

.home-section-head {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.home-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.home-section-label span {
  display: inline-grid;
  width: 29px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
  letter-spacing: 0;
}

.home-section-head h2 {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: clamp(46px, 4.7vw, 64px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.03;
  text-wrap: balance;
}

.home-section-head h2 em {
  font-style: normal;
  font-weight: inherit;
}

.home-section-head > div > p {
  max-width: 610px;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.8;
}

/* Student gallery */

.home-works {
  position: relative;
  padding: clamp(64px, 6vw, 80px) 0 clamp(64px, 7vw, 80px);
  color: var(--home-rice-light);
  background:
    radial-gradient(circle at 88% 16%, rgba(152, 198, 178, 0.12), transparent 24%),
    var(--home-ink);
}

.home-works::after {
  position: absolute;
  right: 4.5vw;
  bottom: 5vw;
  width: min(20vw, 260px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 239, 230, 0.08);
  border-radius: 50%;
  content: "";
}

.home-works-head {
  margin-bottom: clamp(40px, 4vw, 56px);
}

.home-works-head .home-section-label {
  color: var(--home-jade-light);
}

.home-works-head h2 em {
  color: var(--home-gold);
}

.home-works-head > div > p {
  color: rgba(242, 239, 230, 0.68);
}

.home-work-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px 24px;
  align-items: start;
}

.home-work-card {
  min-width: 0;
}

.home-work-city {
  grid-column: 1 / span 8;
  grid-row: 1;
}

.home-work-fox {
  grid-column: 9 / span 4;
  grid-row: 1;
  margin-top: 0;
}

.home-work-qingming {
  grid-column: 1 / span 7;
  grid-row: 2;
}

.home-work-story {
  grid-column: 8 / span 5;
  grid-row: 2;
  margin-top: 0;
}

.home-work-media {
  position: relative;
  overflow: hidden;
  background: #30453c;
}

.home-work-city .home-work-media {
  height: auto;
  aspect-ratio: 8 / 5;
}

.home-work-fox .home-work-media {
  aspect-ratio: 7 / 9;
}

.home-work-qingming .home-work-media {
  height: clamp(330px, 31vw, 420px);
}

.home-work-story .home-work-media {
  height: clamp(330px, 31vw, 420px);
}

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

.home-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
  transition:
    filter var(--home-motion-hover) ease,
    transform 700ms var(--home-ease-out);
}

.home-work-card:hover .home-work-media img {
  filter: saturate(0.98) contrast(1.02);
  transform: scale(1.025);
}

.home-work-fox .home-work-media img {
  object-position: center 32%;
}

.home-work-number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--home-ink);
  background: var(--home-rice-light);
  font-size: 10px;
  font-weight: 700;
}

.home-work-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-top: 22px;
  border-top: 1px solid rgba(242, 239, 230, 0.22);
}

.home-work-type {
  margin: 0 0 15px;
  color: var(--home-jade-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-work-copy h3 {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.home-work-copy > p:last-child {
  max-width: 46em;
  margin: 15px 0 0;
  color: rgba(242, 239, 230, 0.65);
  font-size: 14px;
  line-height: 1.75;
}

/* Four-stage practice path */

.home-stages {
  position: relative;
  padding: clamp(64px, 6vw, 80px) 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(45, 109, 94, 0.09), transparent 24%),
    linear-gradient(rgba(23, 37, 31, 0.025) 1px, transparent 1px) 0 0 / 100% 48px,
    var(--home-rice);
}

.home-stages-head {
  margin-bottom: clamp(40px, 4vw, 48px);
}

.home-stages-head .home-section-label {
  color: var(--home-cinnabar);
}

.home-stages-head h2 {
  font-family: var(--home-font-body);
  font-size: clamp(54px, 5.5vw, 76px);
  font-weight: 760;
  letter-spacing: -0.07em;
}

.home-stages-head > div > p {
  color: #526159;
}

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

.home-stage-card {
  --stage-accent: var(--home-cinnabar);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(23, 37, 31, 0.15);
  border-top: 3px solid var(--stage-accent);
  background: rgba(251, 248, 239, 0.82);
  box-shadow: 0 16px 40px rgba(23, 37, 31, 0.07);
  transition:
    border-color var(--home-motion-hover) ease,
    box-shadow var(--home-motion-hover) ease,
    transform var(--home-motion-hover) var(--home-ease-out);
}

.home-stage-card:nth-child(2) {
  --stage-accent: var(--home-jade);
}

.home-stage-card:nth-child(3) {
  --stage-accent: #a47a3d;
}

.home-stage-card:nth-child(4) {
  --stage-accent: var(--home-ink-soft);
}

.home-stage-card:hover {
  z-index: 1;
  border-color: rgba(23, 37, 31, 0.26);
  box-shadow: 0 24px 56px rgba(23, 37, 31, 0.12);
  transform: translateY(-4px);
}

.home-stage-card figure {
  grid-column: 1;
  grid-row: 1 / span 2;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #d8d3c3;
}

.home-stage-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transition:
    filter var(--home-motion-hover) ease,
    transform 700ms var(--home-ease-out);
}

.home-stage-card:hover figure img {
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.035);
}

.home-stage-card:nth-child(2) figure img {
  object-position: 54% center;
}

.home-stage-index {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 6px;
  color: var(--stage-accent);
}

.home-stage-index span {
  font-size: clamp(38px, 3.2vw, 48px);
  font-weight: 740;
  letter-spacing: -0.07em;
  line-height: 1;
}

.home-stage-index small {
  color: #65736c;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.home-stage-copy {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 0 18px 16px;
}

.home-stage-copy h3 {
  margin: 0;
  font-family: var(--home-font-display);
  font-size: clamp(23px, 1.9vw, 29px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.home-stage-copy div {
  width: 100%;
  height: 1px;
  margin: 10px 0;
  background: var(--home-line);
}

.home-stage-copy > p:last-child {
  margin: 0;
  color: #4f5d56;
  font-size: 13px;
  line-height: 1.55;
}

/* One-space platform */

.home-platform {
  padding: 48px 0;
  border-top: 1px solid rgba(23, 37, 31, 0.1);
  background:
    radial-gradient(circle at 86% 14%, rgba(251, 248, 239, 0.76), transparent 26%),
    var(--home-mist);
}

.home-platform-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid rgba(23, 37, 31, 0.22);
  background:
    linear-gradient(rgba(23, 37, 31, 0.035) 1px, transparent 1px) 0 0 / 100% 40px,
    #cfd7cd;
  box-shadow: 0 28px 64px rgba(23, 37, 31, 0.11);
}

.home-platform-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  margin-bottom: 0;
  padding: 40px;
  color: var(--home-rice-light);
  background:
    linear-gradient(rgba(242, 239, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 230, 0.035) 1px, transparent 1px),
    var(--home-ink);
  background-size: 48px 48px;
}

.home-platform-head .home-section-label {
  color: var(--home-jade-light);
}

.home-platform-head h2 em {
  color: var(--home-gold);
}

.home-platform-head h2 {
  font-size: clamp(42px, 3.5vw, 48px);
}

.home-platform-head > div > p {
  color: rgba(242, 239, 230, 0.66);
}

.home-platform-window {
  display: grid;
  min-width: 0;
  padding: 24px;
  background:
    linear-gradient(rgba(23, 37, 31, 0.025) 1px, transparent 1px) 0 0 / 100% 40px,
    #f8f7f1;
}

.home-platform-chat {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
}

.home-platform-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  min-width: 0;
}

.home-platform-user-message {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 24px;
  border-radius: 16px 16px 4px;
  color: #27463a;
  background: #dcefe4;
}

.home-platform-user-message p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

.home-platform-result {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(23, 37, 31, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.home-platform-result-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-platform-result-head p {
  margin: 0;
  color: #68776f;
  font-size: 11px;
  font-weight: 650;
}

.home-platform-ai-mark {
  display: grid;
  width: 32px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #d9ff58;
  background: var(--home-ink);
  box-shadow: 0 8px 16px rgba(23, 37, 31, 0.14);
  font-size: 16px;
}

.home-platform-result figure {
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 37, 31, 0.1);
  border-radius: 8px;
  background: #c8d9d2;
}

.home-platform-result figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-platform-next {
  margin: 0;
  color: #6a7c72;
  font-size: 10px;
  line-height: 1.5;
}

.home-platform-composer {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  min-height: 64px;
  align-items: center;
  gap: 16px;
  padding: 8px 12px 8px 16px;
  border: 1px solid #ccd6d0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(23, 37, 31, 0.05);
}

.home-platform-composer > p {
  margin: 0;
  color: #9aa59f;
  font-size: 11px;
}

.home-platform-composer > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-platform-composer span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #456c5b;
  background: #e9f4ec;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.home-platform-composer .home-platform-add {
  padding: 0 4px;
  color: #607069;
  background: transparent;
  font-size: 22px;
  font-weight: 400;
}

.home-platform-composer strong {
  display: grid;
  width: 40px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  margin-left: 4px;
  border-radius: 12px;
  color: var(--home-rice-light);
  background: var(--home-ink);
  font-size: 18px;
}

/* Closing system statement */

.home-finale {
  position: relative;
  overflow: hidden;
  color: var(--home-rice-light);
  background: #101a16;
}

.home-finale::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(242, 239, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 230, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

.home-finale-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 0;
  align-items: center;
  gap: 64px;
  padding: 56px 0;
  text-align: left;
}

.home-finale-copy {
  position: relative;
  z-index: 2;
}

.home-finale .home-section-label {
  position: relative;
  z-index: 2;
  color: var(--home-jade-light);
}

.home-finale h2 {
  position: relative;
  z-index: 2;
  margin: 24px 0 0;
  font-family: var(--home-font-body);
  font-size: clamp(44px, 4.7vw, 64px);
  font-weight: 740;
  letter-spacing: -0.065em;
  line-height: 1.05;
  text-wrap: balance;
}

.home-finale h2 em {
  color: var(--home-gold);
  font-family: var(--home-font-display);
  font-style: normal;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.home-finale-action {
  position: relative;
  z-index: 2;
  min-height: 54px;
  border-color: var(--home-rice-light);
  color: var(--home-ink);
  background: var(--home-rice-light);
  justify-self: end;
}

.home-finale-action:hover {
  color: var(--home-rice-light);
  background: transparent;
}

.home-finale-orbit,
.home-finale-orbit i,
.home-finale-orbit b {
  position: absolute;
  border-radius: 50%;
}

.home-finale-orbit {
  top: 50%;
  left: 78%;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(220, 191, 123, 0.18);
  transform: translate(-50%, -50%);
}

.home-finale-orbit::before,
.home-finale-orbit::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(152, 198, 178, 0.12);
  border-radius: 50%;
  content: "";
}

.home-finale-orbit::after {
  inset: 28%;
  border-color: rgba(200, 91, 61, 0.24);
}

.home-finale-orbit i:first-child {
  top: 13%;
  right: 9%;
  width: 10px;
  aspect-ratio: 1;
  background: var(--home-cinnabar);
  box-shadow: 0 0 0 7px rgba(200, 91, 61, 0.1);
}

.home-finale-orbit i:nth-child(2) {
  bottom: 18%;
  left: 4%;
  width: 7px;
  aspect-ratio: 1;
  background: var(--home-gold);
}

.home-finale-orbit b {
  top: 50%;
  left: 50%;
  width: 9%;
  aspect-ratio: 1;
  background: rgba(45, 109, 94, 0.28);
  transform: translate(-50%, -50%);
}

/* Footer: intentionally unchanged from the prior homepage. */

.home-shell .home-footer {
  margin-top: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.home-shell .home-footer .site-footer-inner {
  width: min(1224px, calc(100% - 56px));
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-size: 13px;
}

.home-shell .footer-signature {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #65716b;
}

.home-shell .footer-signature strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.home-shell .footer-signature span {
  font-size: 12px;
  font-weight: 400;
}

.home-shell .footer-signature small {
  color: #849089;
  font-size: 12px;
  font-weight: 400;
}

.home-shell .home-footer .footer-links {
  gap: 24px;
}

.home-shell .home-footer .footer-link {
  border: 0;
  color: #65716b;
  font-size: 13px;
  font-weight: 500;
  transition: color var(--home-motion-feedback) ease;
}

.home-shell .home-footer .footer-link:hover {
  color: var(--accent-strong);
}

/* Focus and motion */

.home-shell :where(button, a[href]):focus-visible {
  outline: 3px solid var(--home-cinnabar);
  outline-offset: 4px;
}

.home-shell .home-finale :where(button, a[href]):focus-visible,
.home-shell .home-works :where(button, a[href]):focus-visible {
  outline-color: var(--home-gold);
}

@keyframes home-rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-title-in {
  from {
    opacity: 0;
    transform: translateY(0.28em);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-canvas-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive layout */

@media (max-width: 1100px) {
  .home-section-inner,
  .home-finale-inner,
  .home-hero-stage {
    width: min(100% - 56px, 1280px);
  }

  .home-hero-copy {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.95fr);
    gap: 36px;
  }

  .home-hero-copy h1 {
    font-size: clamp(62px, 8vw, 82px);
  }

  .home-section-head {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .home-platform-layout {
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
    gap: 0;
  }

  .home-platform-head {
    padding: 32px;
  }

  .home-platform-composer {
    grid-template-columns: minmax(120px, 1fr) auto;
  }

  .home-platform-composer span {
    padding-inline: 8px;
  }
}

@media (max-width: 900px) {
  .home-hero-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero-intro {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 22px 0 0;
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .home-hero-canvas {
    height: 460px;
  }

  .home-hero-feature {
    right: 10%;
  }

  .home-hero-output-process {
    width: 43%;
  }

  .home-hero-output-fox {
    right: 0;
    width: 20%;
  }

  .home-section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .home-section-head > div > p {
    margin-top: 20px;
  }

  .home-work-city {
    grid-column: 1 / span 12;
    grid-row: 1;
  }

  .home-work-fox {
    grid-column: 1 / span 5;
    grid-row: 2;
    margin-top: 0;
  }

  .home-work-story {
    grid-column: 6 / span 7;
    grid-row: 2;
    margin-top: 0;
  }

  .home-work-qingming {
    grid-column: 1 / span 12;
    grid-row: 3;
  }

  .home-stage-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-stage-card {
    grid-template-columns: minmax(240px, 0.84fr) minmax(0, 1.16fr);
    min-height: 190px;
  }

  .home-platform-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home-platform-head {
    gap: 24px;
    min-height: 280px;
    padding: 40px 40px 56px;
  }

  .home-platform-window {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 64px), 720px);
    justify-self: center;
    margin: -24px auto 32px;
    box-shadow: 10px 12px 0 rgba(23, 37, 31, 0.1);
  }
}

@media (max-width: 720px) {
  .home-section-inner,
  .home-finale-inner,
  .home-hero-stage {
    width: min(100% - 32px, 1280px);
  }

  .home-shell .global-nav-path {
    gap: 9px;
  }

  .home-shell .global-nav-brand {
    width: auto;
  }

  .home-shell .global-nav-home {
    margin-left: 0;
  }

  .home-hero-stage {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .home-hero-copy {
    gap: 30px;
    padding-top: 0;
  }

  .home-hero-copy h1 {
    font-size: clamp(46px, 12.6vw, 58px);
    letter-spacing: -0.065em;
    line-height: 1;
  }

  .home-hero-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .home-hero-actions {
    gap: 16px;
  }

  .home-hero-canvas {
    height: 400px;
    margin-top: 36px;
  }

  .home-hero-feature {
    inset: 0 0 74px;
  }

  .home-hero-feature img {
    object-position: 45% center;
  }

  .home-hero-feature figcaption {
    bottom: 14px;
    left: 14px;
  }

  .home-hero-output {
    border-width: 5px;
  }

  .home-hero-output-process {
    right: -5px;
    bottom: 32px;
    width: 58%;
  }

  .home-hero-output-fox {
    top: 26px;
    right: -4px;
    width: 31%;
    height: 42%;
  }

  .home-section-head h2 {
    font-size: clamp(38px, 10.8vw, 49px);
    line-height: 1.08;
  }

  .home-works-head h2 {
    font-size: clamp(36px, 10vw, 43px);
  }

  .home-platform-head h2 {
    font-size: clamp(35px, 9.6vw, 41px);
  }

  .home-works {
    padding: 56px 0 64px;
  }

  .home-works-head,
  .home-stages-head {
    margin-bottom: 32px;
  }

  .home-work-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .home-work-city,
  .home-work-fox,
  .home-work-qingming,
  .home-work-story {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .home-work-qingming .home-work-media,
  .home-work-story .home-work-media {
    height: 280px;
  }

  .home-work-city .home-work-media {
    height: auto;
    aspect-ratio: 8 / 5;
  }

  .home-work-city .home-work-media img {
    height: 100%;
    aspect-ratio: auto;
  }

  .home-work-fox .home-work-media {
    height: 400px;
    aspect-ratio: auto;
  }

  .home-work-copy {
    padding-top: 18px;
  }

  .home-work-copy h3 {
    font-size: 27px;
  }

  .home-stages {
    padding: 56px 0 64px;
  }

  .home-stages-head h2 {
    font-size: 48px;
  }

  .home-stage-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-stage-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    min-height: 0;
  }

  .home-stage-card figure {
    grid-column: 1;
    grid-row: 1;
    height: 140px;
  }

  .home-stage-index {
    grid-column: 1;
    grid-row: 2;
    padding: 14px 16px 6px;
  }

  .home-stage-copy {
    grid-column: 1;
    grid-row: 3;
    padding: 0 16px 18px;
  }

  .home-stage-copy > p:last-child {
    min-height: 0;
  }

  .home-platform {
    padding: 40px 0 48px;
  }

  .home-platform-layout {
    gap: 0;
  }

  .home-platform-head {
    gap: 24px;
    margin-bottom: 0;
    padding: 32px 24px 48px;
  }

  .home-platform-window {
    width: calc(100% - 32px);
    margin: -24px auto 24px;
    padding: 12px;
    box-shadow: 8px 10px 0 rgba(23, 37, 31, 0.11);
  }

  .home-platform-main {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 8px;
  }

  .home-platform-user-message {
    padding: 12px;
  }

  .home-platform-user-message p {
    font-size: 10px;
    line-height: 1.6;
  }

  .home-platform-result {
    gap: 4px;
    padding: 8px;
  }

  .home-platform-result-head {
    gap: 4px;
  }

  .home-platform-result-head p {
    font-size: 8px;
  }

  .home-platform-ai-mark {
    width: 24px;
    font-size: 12px;
  }

  .home-platform-next {
    font-size: 8px;
  }

  .home-platform-composer {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .home-platform-composer > div {
    display: grid;
    grid-template-columns: 32px repeat(3, minmax(0, 1fr)) 40px;
    gap: 4px;
  }

  .home-platform-composer span {
    min-height: 32px;
    justify-content: center;
    padding: 0 4px;
    font-size: 8px;
  }

  .home-platform-composer strong {
    margin-left: 0;
  }

  .home-finale-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    min-height: 0;
    padding: 48px 0;
  }

  .home-finale h2 {
    margin: 24px 0 0;
    font-size: clamp(39px, 11.5vw, 52px);
    line-height: 1.08;
  }

  .home-finale-action {
    justify-self: start;
  }

  .home-finale-orbit {
    left: 82%;
    width: min(94vw, 380px);
  }

  .home-shell .home-footer .site-footer-inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0 28px;
  }

  .home-shell .footer-signature {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
}

@media (max-width: 420px) {
  .home-hero-copy h1 {
    font-size: clamp(43px, 12.3vw, 52px);
  }

  .home-primary-action,
  .home-finale-action {
    gap: 18px;
  }

  .home-work-qingming .home-work-media,
  .home-work-story .home-work-media {
    height: 235px;
  }

  .home-work-fox .home-work-media {
    height: 360px;
  }

}

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

  .home-shell,
  .home-shell * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
