/* 1012v10: towering tree shadow, local motes and particle-name entrance. */
.opening-scrolling .site-header {height:74px;transition:none}
.growth-opening {position:relative;isolation:isolate;overflow:hidden;height:calc(100svh - 92px);min-height:560px;max-height:1040px;display:grid;place-items:center start;background:radial-gradient(ellipse at 70% 18%,#bc6260 0,#9e3a45 27%,#7b1c2e 62%,#511222 100%);border-bottom:1px solid var(--line)}
.growth-opening:after {content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(90deg,rgba(66,8,25,.24),transparent 60%),linear-gradient(0deg,rgba(49,5,20,.62),transparent 45%)}
.growth-opening .opening-satin {inset:0;mask-image:radial-gradient(ellipse,#000,transparent 80%);-webkit-mask-image:radial-gradient(ellipse,#000,transparent 80%)}
.growth-opening .opening-satin.ready {opacity:.17}
.growth-canvas {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;z-index:-1;transition:opacity .4s var(--ease)}
.growth-enhanced .growth-canvas {opacity:1}
.opening-topline {position:absolute;inset:32px var(--page) auto;display:flex;justify-content:space-between;gap:20px;color:#e4b6a4;font-size:10px;letter-spacing:.16em}
.opening-topline>span:first-child {font-size:12px;letter-spacing:.22em}
.opening-identity {text-align:center;padding:32px 34px;position:relative;margin-left:6.5vw;width:min(620px,51vw);background:radial-gradient(ellipse,rgba(76,9,25,.32),rgba(76,9,25,.08) 55%,transparent 72%)}
.opening-kicker {font-size:10px;letter-spacing:.28em;color:#edc6ad}
.opening-identity h1 {font-family:"Helvetica Neue",-apple-system,BlinkMacSystemFont,"Hiragino Sans GB","Microsoft YaHei",sans-serif;font-weight:400;font-size:clamp(80px,9vw,138px);line-height:1.3;letter-spacing:-.045em;display:flex;justify-content:center;color:#fff0dd;margin:24px 0 0;text-shadow:0 3px 32px rgba(43,2,12,.25);-webkit-font-smoothing:antialiased}
.opening-name-button {display:flex;justify-content:center;gap:.14em;font:inherit;letter-spacing:inherit;line-height:inherit;border:0;background:none;padding:0;color:inherit;touch-action:manipulation;user-select:none;-webkit-user-select:none;text-decoration:none;cursor:pointer}
.opening-name-button span {display:block}
.name-particle-canvas {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;opacity:0}
.name-particles-active .name-particle-canvas {opacity:1}
.name-particles-active .opening-name-button span {opacity:0}
.opening-name-button:focus-visible {outline:1px solid #f6d7b9;outline-offset:14px;border-radius:6px}
.hero[tabindex="-1"]:focus {outline:none}
.opening-english {font-size:14px;letter-spacing:.4em;color:#e8bd9e;margin-top:6px;padding-left:.4em}
.opening-hint {display:flex;align-items:center;justify-content:center;gap:14px;font-size:12px;letter-spacing:.12em;color:#f4d7bf;min-height:24px;margin-top:22px}
.opening-hint .hint-hover,.opening-hint .hint-touch {display:none}
.entry-enabled .opening-hint .hint-direct {display:none}
.entry-enabled .opening-hint .hint-touch {display:inline}
.entry-enabled.hover-entry .opening-hint .hint-touch {display:none}
.entry-enabled.hover-entry .opening-hint .hint-hover {display:inline}
.name-entering .opening-hint {animation:none!important;opacity:0;transition:opacity .2s}
.opening-role {font-size:11px;letter-spacing:.1em;color:#f1d7c2;line-height:1.9;margin:28px auto 0;width:fit-content;padding:13px 23px;border-block:1px solid rgba(255,227,204,.17);background:rgba(57,6,20,.15);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.opening-bottom {position:absolute;bottom:32px;inset-inline:var(--page);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;font-size:11px;color:#e4b6a4}
.opening-bottom button {justify-self:start;display:inline-flex;gap:15px;align-items:center;min-height:48px;background:transparent;border:0;padding:0 14px 0 0;font-size:11px;letter-spacing:.08em}
.opening-bottom button[hidden] {display:none!important}
.opening-enter {grid-column:2;min-height:48px;display:flex;align-items:center;gap:38px;font-size:12px;color:var(--paper);border-bottom:1px solid rgba(255,227,204,.4);padding:9px 0}
.opening-enter span {font-size:21px;transition:transform .25s var(--ease)}
@media(hover:hover) and (pointer:fine) {.opening-enter:hover span {transform:translateY(4px)}}
.opening-folio {grid-column:3;justify-self:end;font-size:10px;letter-spacing:.12em}
.growth-playing .opening-identity>p {animation:growth-name-in .85s var(--ease) both}
.growth-playing .opening-kicker {animation-delay:.55s}
.growth-playing .opening-english {animation-delay:1.7s}
.growth-playing .opening-hint {animation-delay:1.95s}
.growth-playing .opening-role {animation-delay:2s}
@keyframes growth-name-in {from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}
.hero .hero-title {font-size:clamp(52px,6.05vw,92px);line-height:1.3;letter-spacing:-.05em;margin-top:28px}
.hero .hero-title span {color:var(--wood)}
.rm .growth-opening *, .rm .growth-opening *:before,.rm .growth-opening *:after {animation:none!important;transition:none!important}
.rm .growth-canvas {display:none}
.rm .name-particle-canvas {display:none}
.rm .name-particles-active .opening-name-button span {opacity:1}
@media(max-width:1100px) {.hero .hero-title {font-size:6.05vw}}
@media(max-width:700px) {
 .opening-scrolling .site-header {height:68px}
 .growth-opening {height:calc(100svh - 76px);min-height:560px;max-height:850px}
 .opening-topline {top:24px;font-size:9px}
 .opening-identity {padding:24px 16px 28px;width:100%;margin-left:0;margin-top:60px}
 .opening-kicker {font-size:8px;letter-spacing:.2em}
 .opening-identity h1 {font-size:clamp(66px,18.7vw,105px);margin-top:24px}
 .opening-english {font-size:12px;letter-spacing:.32em;margin-top:10px}
 .opening-hint {font-size:11px;letter-spacing:.08em;margin-top:18px}
 .opening-role {font-size:10px;letter-spacing:.02em;margin:28px auto 0;width:fit-content;max-width:100%;padding:12px 15px}
 .opening-bottom {bottom:22px;grid-template-columns:1fr auto;gap:8px;font-size:10px}
 .opening-bottom button {font-size:10px;gap:8px}
 .opening-enter {grid-column:2;gap:16px;font-size:11px}
 .opening-folio {display:none}
 .hero .hero-title {font-size:clamp(33px,9.7vw,58px);line-height:1.4;margin-top:19px}
}
@media(max-height:540px) and (min-width:701px) {
 .growth-opening {height:600px;min-height:600px}
 .opening-identity h1 {font-size:94px}
}
@media(prefers-reduced-motion:reduce) {
 .growth-opening * {animation:none!important;transition:none!important}
 .growth-canvas {display:none}
 .name-particle-canvas {display:none}
 .name-particles-active .opening-name-button span {opacity:1}
}

/* One large silhouette, with light through the crown; no circular wood motifs. */
.tree-shadow {position:absolute;inset:0;z-index:-4;pointer-events:none;opacity:.7;transform-origin:72% 100%;transition:transform .25s var(--ease)}
.tree-shadow picture {display:block;width:100%;height:100%}
.tree-shadow img {width:100%;height:100%;max-width:none;object-fit:cover;object-position:70% center}
.tree-light {position:absolute;inset:0;z-index:-3;pointer-events:none;background:linear-gradient(123deg,transparent 37%,rgba(255,199,156,.09) 47%,transparent 58%);opacity:.8}
@media(max-width:700px) {
 .growth-opening {background:radial-gradient(ellipse at 65% 10%,#b7595c,#8c2d40 43%,#541528 100%)}
 .tree-shadow {inset:0;opacity:.64}
 .tree-shadow img {object-position:63% center}
 .opening-identity {background:radial-gradient(ellipse,rgba(63,8,25,.53),rgba(63,8,25,.15) 59%,transparent 75%)}
}

@media(prefers-reduced-motion:reduce) {.tree-shadow,.tree-light {animation:none!important}}

.tree-dusk {position:absolute;inset:0;z-index:-2;background:#160912;opacity:0;pointer-events:none}
.tree-pointer-light {position:absolute;left:0;top:0;width:360px;height:360px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,rgba(255,197,133,.2),transparent 68%);opacity:0;transition:opacity .25s var(--ease)}
.tree-growth-control {position:absolute;right:var(--page);bottom:108px;width:230px;padding:14px 18px;border-radius:12px;background:rgba(47,7,23,.26);border:1px solid rgba(255,227,204,.14);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.tree-growth-label {display:flex;justify-content:space-between;font-size:10px;letter-spacing:.1em;color:#f4d7bf;margin-bottom:3px}
.tree-growth-control input {display:block;width:100%;height:30px;margin:0;accent-color:#e1b78e;cursor:ew-resize;touch-action:pan-y}
.tree-growth-endpoints {display:flex;justify-content:space-between;color:#dfb9a5;font-size:9px}
@media(max-width:700px) {
 .opening-identity {margin-top:-45px}
 .tree-growth-control {bottom:92px;right:50%;transform:translateX(50%);width:190px;padding:10px 14px}
 .opening-role {margin-top:20px}
 .tree-pointer-light {display:none}
}
@media(max-height:700px) and (max-width:700px) {.growth-opening {min-height:640px}}
.rm .tree-dusk,.rm .tree-pointer-light {display:none}
@media(prefers-reduced-motion:reduce) {.tree-dusk,.tree-pointer-light {display:none}}
