/* Second edition: oversized type, a photographic archive, and a live terminal. */
:root {
  --paper: #f3f5ec;
  --lime: #ccff6b;
  --ink: #18261f;
  --green: #3c6229;
  --night: #12241c;
  --page-content: 1100px;
}
.hero-atmosphere {
  background: radial-gradient(ellipse at 85% 48%, #d2f89d 0, transparent 46%), radial-gradient(ellipse at 3% 86%, #eff3e4 0, transparent 48%), #f3f5ec;
}
.hero-title { font-size: clamp(80px, 8.9vw, 132px); letter-spacing: -7px; }
.hero-sub { font-size: 20px; letter-spacing: 8px; }
.hero-art { transform-origin: center; }
.orbital-sculpture { scale: 1.06; }
.orbit-grid { border-color: #7e9e6538; }
.orbit-grid::before, .orbit-grid::after { border-color: #7e9e6526; }
.hero-eyebrow { color: #4d6739; }
.hero-btns .solid { box-shadow: 0 10px 28px -12px #95c341aa, inset 0 1px 0 #efffcf; }
.sec-title { font-size: clamp(38px, 4vw, 58px); letter-spacing: -2px; }
.sec-kicker { color: #65784c; }
.sec-head { margin-bottom: 48px; }
.section { padding-top: 110px; padding-bottom: 110px; }

/* A brief system boot; content remains available without JavaScript. */
.preloader { display: none; }
.is-booting, .is-booting body { overflow: hidden; }
.is-booting .preloader, .preloader.is-exiting {
  position: fixed; inset: 0; z-index: 300;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 35px 48px; overflow: hidden; background: #10231b; color: #ecf2e1;
  background-image: radial-gradient(ellipse at 60% 45%, #315d322e, transparent 60%);
}
.preloader::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(#d4ff8026 1px, transparent 1px), linear-gradient(90deg,#d4ff8026 1px,transparent 1px);
  background-size: 100px 100px; opacity: .15; mask-image: radial-gradient(ellipse, black, transparent 65%);
}
.preloader.is-exiting { animation: boot-exit .75s cubic-bezier(.76,0,.24,1) forwards; pointer-events: none; }
.boot-top { display: flex; align-items: center; justify-content: space-between; font-size: 10px; letter-spacing: 1px; color: #a3b89a; }
.boot-top>span { display: flex; align-items: center; gap: 10px; }
.boot-top i, .gallery-status i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #ccff6b77; }
#skipBoot { border: 1px solid #bddea436; border-radius: 30px; color: #d6e5c9; background: #c9f7960b; padding: 10px 18px; font-size: 11px; }
#skipBoot:hover { background: #ccff6b; color: #172a1e; }
.boot-center { align-self: center; width: min(100%, 960px); position: relative; padding: 45px 0; }
.boot-wordmark { position: relative; font: 800 clamp(74px, 12vw, 175px)/.79 var(--mono); letter-spacing: -13px; }
.boot-wordmark>span { display: block; color: var(--lime); margin: 17px 0 0 24%; }
.boot-wordmark>i { position: absolute; font-size: 22px; font-style: normal; right: 0; top: -10px; letter-spacing: 0; }
.boot-emblem { position: absolute; right: 6%; top: -50px; display: grid; place-items: center; width: 160px; height: 160px; }
.boot-emblem>span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #d8ff9433; border-top-color: var(--lime); animation: boot-orbit 2s linear infinite; }
.boot-emblem>span::after { content: ''; position: absolute; inset: 13px; border-radius: 50%; border: 1px dashed #d8ff9444; }
.boot-emblem img { width: 68px; height: 68px; object-fit: contain; }
.boot-greeting { font-size: 10px; color: #829b76; margin-top: 30px; padding-left: 25%; }
.boot-bottom { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 22px; }
.boot-console { height: 95px; align-self: end; color: #8da281; font-size: 10px; line-height: 1.9; }
.boot-console>div:last-child { color: #c5ec9a; }
.boot-meter { align-self: end; display: flex; align-items: baseline; gap: 20px; }
.boot-meter>span { font-size: 9px; letter-spacing: 1px; color: #93ab86; }
.boot-meter strong { font-size: 82px; font-weight: 400; line-height: 1; letter-spacing: -6px; color: var(--lime); }
.boot-meter .boot-percent { font-size: 24px; color: var(--lime); margin-left: -12px; }
.boot-track { grid-column: 1/-1; height: 2px; background: #a3c78728; }
.boot-track>span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--lime); box-shadow: 0 0 14px #ccff6b66; }
.is-booting .hero-content, .is-booting .hero-art { opacity: 0; translate: 0 40px; }
.hero-content, .hero-art { transition: opacity 1s var(--ease), translate 1.2s var(--ease); }
@keyframes boot-orbit { to { rotate: 360deg; } }
@keyframes boot-exit { to { clip-path: inset(0 0 100% 0); } }

/* Original photographs, complete frames. Filmstrip selection replaces crops. */
.about-grid { display: block; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; row-gap: 22px; }
.about-text p, .about-text p+p { margin: 0; }
.about-lead { grid-row: 1/3; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.9; letter-spacing: -.5px; }
.about-outro { grid-column: 1/-1; margin-top: 4px!important; padding-top: 23px; }
.about-photos {
  display: block; position: relative; overflow: hidden; mask-image: none;
  margin: 58px 0 0; padding: 26px; border: 1px solid #304c36;
  border-radius: 30px; background: var(--night); color: #f1f5e9;
  box-shadow: 0 28px 60px -40px #203b2280;
}
.gallery-top { display: flex; justify-content: space-between; align-items: center; margin: 0 5px 23px; font-size: 10px; letter-spacing: 2px; color: #bdcbae; }
.gallery-status { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 1px; }
.gallery-frame { position: relative; height: clamp(360px, 43vw, 610px); border-radius: 18px; overflow: hidden; isolation: isolate; background: #0d1b15; }
.gallery-ambient { position: absolute; inset: -25%; z-index: -1; background-position: center; background-size: cover; filter: blur(48px) saturate(.7); opacity: .28; transition: background-image .6s; }
.gallery-open { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); width: 100%; height: 100%; justify-content: center; align-items: center; padding: 20px 76px; background: transparent; cursor: zoom-in; }
.gallery-open>img { grid-area: 1 / 1; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; filter: drop-shadow(0 15px 20px #0004); border-radius: 0; }
.gallery-open>.gallery-previous { pointer-events: none; }
.gallery-expand { position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #ffffff4d; border-radius: 50%; color: white; background: #ffffff12; font-size: 24px; }
.gallery-arrow { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 46px; height: 46px; background: #eff5e51c; color: white; border: 1px solid #eff5e54a; border-radius: 50%; font-size: 22px; transition: color .25s, background .25s, scale .25s; }
.gallery-arrow:hover { color: var(--night); background: var(--lime); scale: 1.08; }
.gallery-prev { left: 15px; }.gallery-next { right: 15px; }
.gallery-caption { display: flex; align-items: center; gap: 22px; min-height: 76px; padding: 15px 5px; }
#galleryCount { font-size: 12px; letter-spacing: -1px; white-space: nowrap; color: var(--lime); }
#galleryCaption { font-size: 12px; line-height: 1.7; color: #c3cfb7; }
.gallery-instruction { margin-left: auto; white-space: nowrap; font-size: 8px; letter-spacing: 1px; color: #74896a; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-color: #6d874d transparent; scrollbar-width: thin; scroll-snap-type: x proximity; }
.gallery-thumbs .shot { position: relative; width: calc((100% - 90px)/10); min-width: 88px; height: 76px; flex: none; border: 2px solid transparent; border-radius: 8px; background: #26392b; padding: 4px; box-shadow: none; cursor: pointer; opacity: .52; scroll-snap-align: start; transition: opacity .25s, border-color .25s; }
.gallery-thumbs .shot img { width: 100%; height: 100%; object-fit: contain; transform: none; }
.gallery-thumbs .shot:hover, .gallery-thumbs .shot[aria-pressed="true"] { opacity: 1; }
.gallery-thumbs .shot[aria-pressed="true"] { border-color: var(--lime); background: #405532; }

/* Projects have breathing room and large image stages. */
.card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.work-card { display: flex; flex-direction: column; border-radius: 25px; background: #fbfcf7; }
.work-media { min-height: 0; height: 315px; flex: none; background: radial-gradient(ellipse at 50% 40%, #e2ffb4, transparent 65%), #e5efda; }
.work-media::before { content: ''; position: absolute; inset: 30px; border: 1px solid #819d5b24; border-radius: 50%; scale: .82; }
.work-media::after { inset: 15px; border-radius: 15px; }
.work-media>img { width: 190px; height: 190px; max-height: none; object-fit: contain; filter: drop-shadow(0 20px 16px #50654126); }
.work-card:hover .work-media>img { transform: translateY(-5px) rotate(-4deg); }
.work-media>svg { width: 104px; height: 104px; }
.work-badge { top: 19px; bottom: auto; left: auto; right: 19px; padding: 7px 12px; font-size: 9px; border-radius: 20px; }
.card-idx { left: 27px; top: 22px; font-size: 11px; }
.work-body { min-height: 240px; padding: 29px 32px 32px; }
.work-body h3 { font-size: 25px; letter-spacing: -.5px; }
.work-body p { font-size: 13px; max-width: 560px; line-height: 1.9; }
.work-links { font-size: 11px; padding-top: 23px; }
.work-links a { padding: 7px 12px; }
.work-links>div { max-width: 320px; }
.work-links>div>a { font-size: 11px; }
.card-grid.four>.reveal:nth-child(4) .work-media { background: #172b23; }
.card-grid.four>.reveal:nth-child(4) .card-idx { color: #ccdbbd; }
.work-media>img.cover { position: static; width: 100%; height: 100%; padding: 18px 50px; object-fit: contain; filter: none; }
.work-card:hover .work-media>img.cover { transform: none; }
.work-media:has(img.cover) { cursor: zoom-in; }
.work-media:has(img.cover)::after { content: '⤢'; display: flex; justify-content: flex-end; align-items: flex-end; color: #d2e8b8; font-size: 24px; padding: 5px 12px; }

/* Community: an uncropped, uneven photographic wall on a dark canvas. */
#vibe { max-width: none; background: #14251d; color: #f0f5e7; padding: 95px max(48px,calc((100vw - 1296px)/2)) 100px; overflow: hidden; }
#vibe .sec-kicker { color: #8ca077; }
#vibe .sec-title { font-size: clamp(36px, 4.1vw, 60px); max-width: 1000px; }
#vibe .sec-title>.accent { display: block; color: var(--lime); margin: 0 0 0 13%; }
#vibe .sec-head::after { background: var(--lime); }
.vibe-stage { display: block; columns: 3; column-gap: 25px; padding: 20px 0 0; }
.vibe-stage::before { content: none; }
.vibe-fig, .vibe-main, .vibe-sat {
  display: block; break-inside: avoid; width: 100%; height: auto; min-height: 0; max-height: none;
  margin: 0 0 25px; padding: 7px; border: 1px solid #ffffff26; border-radius: 15px;
  background: #edf1e5; transform: none; box-shadow: 0 18px 26px -16px #0009;
  overflow: hidden; cursor: zoom-in; transition: transform .45s var(--ease), box-shadow .45s;
}
.vibe-fig img, .vibe-main img { width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 8px; }
.vibe-fig:hover, .vibe-fig:focus-visible { transform: translateY(-5px); box-shadow: 0 25px 35px -20px #000b; }
.vibe-fig::after { content: '⤢'; position: absolute; right: 14px; bottom: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #14251dc9; color: white; opacity: 0; transition: opacity .25s; }
.vibe-fig:hover::after, .vibe-fig:focus-visible::after { opacity: 1; }

/* The terminal types actual text, with a stable layout and a replay control. */
#join { margin-top: 85px; background: #dcecc7; border-color: #c4d9a8; }
.terminal { background: #101e17; border-color: #405735; border-radius: 19px; transform: perspective(1300px) rotateY(-3deg) rotateZ(1deg); }
.term-bar { height: 52px; padding: 0 19px; background: #1c2c21; }
.term-title { padding-right: 0; color: #a8b698; }
.term-dot { width: 8px; height: 8px; }
.term-replay { width: 29px; height: 29px; display: grid; place-items: center; background: #ffffff08; color: #c2d9a9; border-radius: 7px; font-size: 20px; line-height: 1; }
.term-replay:hover { background: #ccff6b; color: #14251d; }
.term-body { position: relative; min-height: 354px; padding: 25px 24px; font-size: 12px; line-height: 2.7; }
.term-body>.term-line, .motion-ready .terminal:not(.term-ready) .term-line, .term-ready .term-line { opacity: 1; transform: none; animation: none; }
.term-body>.term-line { gap: 12px; min-height: 2.7em; }
.term-line>span:last-child:not(.term-caret) { position: relative; min-width: 0; }
.term-source { display: block; opacity: 0; white-space: pre-wrap; }
.term-live { position: absolute; inset: 0; white-space: pre-wrap; }
.term-body>.term-line.term-pending, .motion-paused .term-body>.term-line.term-pending { visibility: hidden; }
.term-line .prompt { color: #90b16b; }
.term-line>.cmd { color: #e0f0c9; }
.term-line>.out { color: #9caf8d; }
.term-line>.ok { color: var(--lime); }
.term-writing::after { content: ''; display: inline-block; height: 1.05em; width: 7px; margin-left: 3px; vertical-align: -2px; background: var(--lime); animation: blink .9s steps(2,end) infinite; }
.term-caret { display: inline-block; margin-top: 10px; background: var(--lime); }
.term-status { display: flex; justify-content: space-between; border-top: 1px solid #c8e5ad1a; padding: 9px 18px; color: #6d885d; font-size: 8px; letter-spacing: .6px; }
.term-status>span:first-child { display: flex; align-items: center; gap: 7px; }
.term-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

/* Fullscreen photo viewer: fit, original-size zoom, keyboard and touch paging. */
.lightbox { padding: 72px 75px 60px; background: #0b1712f2; }
.lb-toolbar { position: absolute; top: 20px; left: 30px; right: 30px; display: flex; align-items: center; justify-content: space-between; color: #a5bd8e; font-size: 11px; }
.lb-toolbar>div { display: flex; align-items: center; gap: 14px; }
.lb-toolbar .lb-close { position: static; width: 36px; height: 36px; background: #d1eab51a; }
#lbZoom { display: flex; align-items: center; gap: 8px; padding: 7px 14px; color: #d7e6cb; background: #d1eab512; border: 1px solid #d1eab526; border-radius: 30px; font-size: 18px; }
#lbZoom span { font-size: 10px; }
#lbZoom[aria-pressed="true"] { color: #14251d; background: var(--lime); }
.lb-figure { width: min(1300px, 100%); height: 100%; max-height: 850px; gap: 13px; }
.lb-viewport { width: 100%; flex: 1; min-height: 0; display: flex; overflow: auto; overscroll-behavior: contain; scrollbar-color: #6f885b #14251d; scrollbar-width: thin; }
.lb-figure .lb-viewport img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0; margin: auto; box-shadow: none; cursor: zoom-in; flex-shrink: 0; }
.lb-viewport.zoomed { display: block; }
.lb-figure .lb-viewport.zoomed img { width: var(--image-width); height: auto; max-width: none; max-height: none; cursor: zoom-out; }
.lb-figure figcaption { flex: none; max-width: 100%; font-size: 12px; color: #c3d0b6; }
.lb-nav { display: grid; place-items: center; position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; background: #d1eab51a; border: 1px solid #d1eab530; color: #cceaac; border-radius: 50%; font-size: 21px; }
.lb-nav:hover { color: var(--night); background: var(--lime); }
.lb-prev { left: 17px; }.lb-next { right: 17px; }
.lb-hint { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; white-space: nowrap; color: #71885f; font-size: 9px; }
.lb-hint span { margin: 0 12px; }
@supports (backdrop-filter:blur(10px)) {
  .gallery-arrow, .gallery-expand { backdrop-filter: blur(15px); }
}
@media (max-width:1100px) {
  .hero-title { font-size: 87px; }
  .hero-sub { font-size: 16px; letter-spacing: 5px; }
  .about-text { column-gap: 40px; }
  .about-lead { font-size: 25px; }
  .work-media { height: 275px; }
  .work-body { padding: 27px; min-height: 260px; }
  .work-body h3 { font-size: 22px; }
  .vibe-stage { column-gap: 20px; }
  .vibe-fig { margin-bottom: 20px; }
  #vibe { padding-left: 36px; padding-right: 36px; }
  .term-body { font-size: 11px; padding: 25px 18px; }
}
@media (max-width:760px) {
  .section { padding: 70px 24px; }
  .sec-title { font-size: 37px; }
  .sec-head { margin-bottom: 32px; }
  .hero-title { font-size: clamp(61px,15vw,99px); letter-spacing: -4px; }
  .hero-sub { font-size: 13px; letter-spacing: 3.8px; }
  .hero-art { margin-top: 15px; }
  .orbital-sculpture { scale: 1; }
  .is-booting .preloader, .preloader.is-exiting { padding: 25px; }
  .boot-top { font-size: 8px; letter-spacing: 0; }
  .boot-top>span { gap: 7px; }
  #skipBoot { padding: 8px 11px; font-size: 9px; }
  .boot-wordmark { font-size: 15.6vw; letter-spacing: -5px; }
  .boot-wordmark>span { margin-left: 20%; margin-top: 13px; }
  .boot-wordmark>i { font-size: 13px; top: -20px; }
  .boot-emblem { right: 12%; top: -93px; width: 110px; height: 110px; }
  .boot-emblem img { width: 45px; height: 45px; }
  .boot-greeting { font-size: 7px; padding-left: 5%; margin-top: 25px; }
  .boot-bottom { grid-template-columns: 1fr; gap: 14px; }
  .boot-console { font-size: 8px; height: 85px; }
  .boot-meter { justify-content: flex-end; }
  .boot-meter strong { font-size: 60px; }
  .boot-meter>span:first-child { margin-right: auto; }
  .about-text { display: block; font-size: 13px; }
  .about-text p+p { margin-top: 22px; }
  .about-lead { font-size: 24px; line-height: 1.85; }
  .about-outro { margin-top: 24px!important; }
  .about-photos { margin: 38px -12px 0; padding: 14px; border-radius: 22px; }
  .gallery-top { font-size: 8px; letter-spacing: 1px; margin: 5px 3px 17px; }
  .gallery-status { font-size: 8px; gap: 6px; }
  .gallery-frame { height: 315px; border-radius: 12px; }
  .gallery-open { padding: 12px 8px 52px; }
  .gallery-arrow { width: 34px; height: 34px; font-size: 19px; top: auto; bottom: 10px; translate: 0 0; }
  .gallery-prev { left: 12px; }.gallery-next { right: 12px; }
  .gallery-expand { width: 30px; height: 30px; font-size: 21px; bottom: 12px; right: calc(50% - 15px); }
  .gallery-caption { gap: 13px; min-height: 70px; padding: 14px 3px; align-items: flex-start; }
  #galleryCount { font-size: 10px; padding-top: 3px; }
  #galleryCaption { font-size: 10px; }
  .gallery-instruction { display: none; }
  .gallery-thumbs { gap: 8px; padding-bottom: 8px; }
  .gallery-thumbs .shot { min-width: 66px; height: 55px; padding: 2px; border-radius: 6px; }
  .card-grid.four { grid-template-columns: 1fr; gap: 22px; }
  .work-media { height: 260px; min-height: 0; }
  .work-media>img { width: 155px; height: 155px; }
  .work-media>img.cover { width: 100%; height: 100%; padding: 15px 20px; }
  .work-media>svg { width: 85px; height: 85px; }
  .work-body { min-height: 230px; padding: 25px; }
  .work-body h3 { font-size: 23px; }
  .work-body p { font-size: 13px; }
  .work-badge { font-size: 8px; right: 16px; top: 17px; left: auto; bottom: auto; padding: 6px 9px; }
  .card-idx { left: 21px; top: 20px; }
  .work-links>div>a { padding: 7px 10px!important; font-size: 10px; }
  #vibe { padding: 65px 24px; }
  #vibe .sec-title { font-size: 32px; }
  #vibe .sec-title>.accent { margin-left: 0; margin-top: 8px; }
  .vibe-stage { columns: 2; column-gap: 13px; padding-top: 10px; }
  .vibe-fig, .vibe-main, .vibe-sat { margin-bottom: 13px; padding: 4px; border-radius: 10px; max-height: none; min-height: 0; height: auto; }
  .vibe-fig img, .vibe-main img { width: 100%; height: auto; max-height: none; border-radius: 5px; }
  #join { margin-top: 45px; padding: 38px 24px; }
  .terminal { transform: none; margin: 0 -8px; }
  .term-body { font-size: 10px; padding: 22px 15px; min-height: 330px; }
  .term-body>.term-line { gap: 8px; }
  .term-title { font-size: 8px; }
  .term-status { padding: 9px 14px; font-size: 7px; }
  .lightbox { padding: 70px 12px 90px; }
  .lb-toolbar { left: 16px; right: 16px; top: 17px; }
  .lb-figure { height: 100%; max-height: none; }
  .lb-figure figcaption { font-size: 10px; line-height: 1.6; }
  .lb-nav { top: auto; bottom: 25px; translate: 0 0; width: 36px; height: 36px; }
  .lb-prev { left: 22px; }.lb-next { right: 22px; }
  .lb-hint { font-size: 7px; bottom: 37px; }
  .lb-hint span { margin: 0 5px; }
}
@media (max-width:380px) {
  .hero-title { font-size: 59px; }
  .hero-sub { font-size: 11px; letter-spacing: 3px; }
  .gallery-frame { height: 280px; }
  .gallery-top { font-size: 7px; }
  .gallery-status { font-size: 7px; }
  .term-body { font-size: 9px; }
  .lb-hint { max-width: 180px; white-space: normal; text-align: center; bottom: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader.is-exiting { display: none; }
  .hero-content, .hero-art { translate: none; }
  .motion-toggle { display: none; }
  .term-writing::after { animation: none; }
  .vibe-fig:hover { transform: none; }
}
@media (min-width: 1000px) {
  /* 普通 section：about / works / friends */
  .section {
    max-width: calc(var(--page-content) + 96px); /* 加左右各 48px padding */
  }

  /* 全宽背景区：history（六届历程） */
  #history {
    padding-left: max(48px, calc((100vw - var(--page-content)) / 2));
    padding-right: max(48px, calc((100vw - var(--page-content)) / 2));
  }

  /* 全宽背景区：vibe（社团氛围） */
  #vibe {
    padding: 95px max(48px, calc((100vw - var(--page-content)) / 2)) 100px;
  }

  /* 加宽圆角卡片：join（加入我们） */
  #join {
    max-width: var(--page-content);
  }

  /* 页脚 */
  .footer {
    max-width: var(--page-content);
  }
}
/* ═══════════════════════════════════════════════════════
   Hero 底部信息栏（SCROLL TO EXPLORE / 名言 / 页码）
   修复：小视口 / 非全屏浏览器下被裁掉的问题
   ═══════════════════════════════════════════════════════ */
.hero {
  /* 由固定高度改为最小高度：视口矮时内容自动撑开，hero-bottom 不被裁 */
  height: auto;
  min-height: 100svh;
  max-height: none;
}
/* 兼容不支持 svh 的旧浏览器 */
@supports not (height: 100svh) {
  .hero { min-height: 100vh; }
}

/* 限制雕塑高度：防止它把 hero-bottom 挤到视口外
   125px = 顶部 padding，89px = hero-bottom 高度 */
.hero-art {
  max-width: min(100%, calc(100svh - 125px - 89px));
  max-height: calc(100svh - 125px - 89px);
}

/* 移动端（Hero 在 style.css 里已是 height:auto）不受影响 */
@media (max-width: 760px) {
  .hero {
    min-height: 0;
  }
  .hero-art {
    max-width: 100%;
    max-height: 450px;
  }
}