/* 首屏全景：左边题首栏，右边六块颜色。全页唯一一处编排过的入场在这里。 */
.hero { display: grid; grid-template-columns: var(--side) 1fr; height: 100vh; min-height: 720px; }

.hero-title { position: relative; display: flex; flex-direction: column; padding: 30px 44px 34px var(--pad); min-width: 0; }
.brand { align-self: flex-start; font-size: 14px; font-weight: 600; letter-spacing: .28em; }
.brand:hover { text-decoration: underline; text-underline-offset: 4px; }
.brand-ext { display: none; }
.hero-title h1 { margin-top: clamp(64px, 12vh, 112px); font-size: clamp(88px, 8.6vw, 124px); font-weight: 600; line-height: 1; letter-spacing: .04em; white-space: nowrap; }
.motto { margin-top: 22px; font-size: clamp(22px, 1.9vw, 27px); font-weight: 600; line-height: 1.3; letter-spacing: .36em; white-space: nowrap; }
.hero-quote { margin-top: 22px; font-size: 14px; line-height: 1.9; color: var(--c2); }
.lede { margin-top: 24px; font-size: 18px; font-weight: 500; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
.lede span { display: block; text-wrap: balance; }
.hero-foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; font-size: 13px; }
.out { color: var(--c2); }
.out:hover { text-decoration: underline; text-underline-offset: 4px; }

.pano { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 214fr 458fr 228fr; min-width: 0; }
.blk { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px 26px 24px 28px; }
.blk--band { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(232px, 1fr) minmax(0, 1.55fr) minmax(168px, .85fr); align-items: center; gap: 24px; padding: 0 36px 0 40px; }
.blk:focus-visible { outline-offset: -6px; }
.blk:active { filter: brightness(.94); }

.blk-head { display: flex; flex-direction: column; }
.blk--band .blk-head { flex-direction: row; align-items: center; gap: 20px; flex: none; }
.glyph { font-size: clamp(64px, 6.4vw, 92px); font-weight: 600; line-height: 1; }
.word { font-size: clamp(40px, 4vw, 58px); font-weight: 600; line-height: 1.05; letter-spacing: .02em; white-space: nowrap; }
.blk-office { display: flex; flex-direction: column; margin-top: 14px; }
.blk--band .blk-office { margin-top: 0; }
.office { font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: .22em; white-space: nowrap; }
.blk .duty { margin-top: 5px; font-size: 13px; line-height: 1.5; color: var(--c2); white-space: nowrap; }

.prod { display: flex; flex-direction: column; align-items: flex-start; margin-top: auto; padding-top: 18px; min-width: 0; }
.blk--band .prod { margin: 0; padding-top: 0; }
.prod-name { font-size: clamp(20px, 1.75vw, 25px); line-height: 1.3; white-space: nowrap; }
.prod-blurb { margin: 6px 0 10px; font-size: 13.5px; line-height: 1.65; color: var(--c2); text-wrap: balance; }
.blk:not(.blk--band) .prod-blurb { min-height: 4.95em; }
.go { position: absolute; width: .72em; height: .72em; margin: .3em 0 0 .36em; opacity: 0; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.blk:hover .go, .blk:focus-visible .go { opacity: 1; transform: translateX(4px); }
@media (hover: none) { .go { opacity: .72; } }

.chip { flex: none; justify-self: end; padding: 9px 14px; border: var(--rule) solid currentColor; border-radius: 6px; font-size: 13px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.chip small { display: block; font-size: 11.5px; font-weight: 400; color: var(--c2); }

/* 入场：天 → 春夏秋冬 → 地，一共 700ms。样式表没加载、或者关了动效，色块本来就在。 */
@keyframes blk-rise { from { opacity: 0; transform: translateY(12px); } }
.blk { animation: blk-rise 400ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
.blk:nth-child(2) { --i: 1; } .blk:nth-child(3) { --i: 2; } .blk:nth-child(4) { --i: 3; }
.blk:nth-child(5) { --i: 4; } .blk:nth-child(6) { --i: 5; }
@media (prefers-reduced-motion: reduce) {
  .blk { animation: none; }
  .go { transition: none; }
  .blk:hover .go, .blk:focus-visible .go { transform: none; }
}

/* 721–1099：题首在上，色块在下；春夏秋冬两行两列，六块同屏落完 */
@media (max-width: 1099px) {
  .hero { display: block; height: auto; min-height: 0; }
  .hero-title { padding: 16px var(--pad) 16px; }
  .brand-ext { display: inline; }
  .hero-title h1 { margin-top: 14px; font-size: 68px; }
  .motto { margin-top: 8px; font-size: 20px; }
  .hero-quote { margin-top: 8px; line-height: 1.55; }
  .lede { margin-top: 8px; font-size: 15.5px; line-height: 1.5; }
  .lede span { display: inline; }
  .hero-foot { position: absolute; right: var(--pad); top: 12px; margin: 0; padding: 0; }
  .out { display: none; }
  .pano { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
  .blk { min-height: 204px; padding: 14px var(--pad) 16px; }
  .blk--band { grid-template-columns: minmax(196px, auto) minmax(0, 1fr) auto; gap: 20px; min-height: 118px; padding: 12px var(--pad); }
  .blk-office { margin-top: 6px; }
  .prod { padding-top: 10px; }
  .blk:not(.blk--band) .prod-blurb { min-height: 3.3em; }
  .glyph { font-size: 56px; } .word { font-size: 38px; } .prod-name { font-size: 21px; }
}

/* ≤720：六条色带，一样一条 */
@media (max-width: 720px) {
  .hero-title { padding: 18px var(--pad) 22px; }
  .hero-title h1 { margin-top: 22px; font-size: 68px; }
  .motto { margin-top: 10px; font-size: 20px; }
  .hero-quote { margin-top: 10px; font-size: 12.5px; line-height: 1.7; }
  .lede { margin-top: 10px; font-size: 15.5px; line-height: 1.6; }
  .hero-foot { top: 14px; }
  .pano { display: block; }
  .blk, .blk--band { display: flex; flex-direction: row; align-items: center; gap: 16px; min-height: 118px; padding: 14px var(--pad); }
  .blk-head, .blk--band .blk-head { flex-direction: column; align-items: flex-start; gap: 0; width: 104px; flex: none; }
  .glyph { font-size: 52px; } .word { font-size: 30px; }
  .blk-office, .blk--band .blk-office { margin-top: 6px; }
  .office { font-size: 12px; letter-spacing: .12em; } .blk .duty { display: none; }
  .prod, .blk--band .prod { flex: 1; margin: 0; padding-top: 0; }
  .prod-name { font-size: 19px; } .prod-blurb { margin: 3px 0 6px; font-size: 12.5px; line-height: 1.55; }
  .blk:not(.blk--band) .prod-blurb { min-height: 0; }
  .chip { display: none; }
}
