/* Full-bleed 3D Hero demonstration. All rendering and pointer behavior lives in js/hero. */
.hero-three{--hero-gold:#e9b76b;isolation:isolate;position:relative;overflow:hidden;min-height:820px;color:#fff5e6;background:#24150e}
.hero-stage{position:absolute;inset:0;z-index:0;overflow:hidden;background:radial-gradient(ellipse at 70% 35%,#80533d 0,#3a281d 38%,#160f0b 93%)}
.hero-poster{position:absolute;inset:0;background:url('../assets/reference/tea-person.webp') center center/cover no-repeat;opacity:.72;transition:opacity .8s ease}
.hero-three.is-ready .hero-poster{opacity:0;pointer-events:none}
.hero-canvas-wrap{position:absolute;inset:0;touch-action:pan-y;outline:none}
.hero-three.is-ready .hero-canvas-wrap{touch-action:none}
.hero-canvas-wrap canvas{display:block;width:100%;height:100%;touch-action:none}
.hero-stage-overlay{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(20,12,9,.92) 0%,rgba(27,15,10,.78) 26%,rgba(31,16,9,.26) 52%,rgba(16,10,7,.02) 85%),linear-gradient(0deg,#1d110ce6 0%,transparent 24%,transparent 70%,#1d0e0977 100%)}
.hero-viewport-status{position:absolute;z-index:2;right:22px;top:22px;max-width:275px;color:#fff4e6;background:#2e1b11bb;border:1px solid #e3b47b55;padding:10px 14px;border-radius:999px;font-size:12px;backdrop-filter:blur(10px);pointer-events:none}
.hero-viewport-status[data-state="ready"]{opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s}
.hero-viewport-status[data-state="error"]{border-color:#ffc799ad;background:#3a2116f0;border-radius:16px}
.hero-glow-a,.hero-glow-b{position:absolute;z-index:0;border-radius:50%;pointer-events:none;filter:blur(6px);opacity:.45}
.hero-glow-a{height:200px;width:400px;right:-180px;top:15%;border:18px solid #f8b16b35;transform:rotate(-20deg)}
.hero-glow-b{height:280px;width:660px;left:-250px;bottom:-160px;border:25px solid #eead6e42;transform:rotate(12deg)}
.hero-shell{z-index:2;min-height:820px;position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:90px;padding-bottom:160px;pointer-events:none}
.hero-copy{max-width:545px;position:relative;z-index:2;pointer-events:auto}
.hero-copy h1{font-size:clamp(48px,5.7vw,88px);line-height:1.02;letter-spacing:-.065em;max-width:570px;margin:20px 0 22px;font-weight:850;text-shadow:0 6px 25px #160c09a9}
.hero-copy h1 span{color:#ffc576}
.hero-copy>p:not(.concept-indicator){color:#f1dcc7;line-height:1.67;font-size:17px;max-width:440px;text-shadow:0 2px 10px #231409}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:29px}
.hero-copy .concept-indicator{display:flex;gap:9px;align-items:center;font-size:12px;color:#efd2af;margin-top:26px}
.hero-copy .concept-indicator span{height:7px;width:7px;border-radius:50%;background:#f3b466;box-shadow:0 0 12px #ffc788}
.hero-space-label{display:flex;flex-direction:column;gap:5px;align-self:flex-end;margin:0 12px 95px 0;padding:14px 19px;border:1px solid #fff3d34f;border-radius:18px;background:#301b12ad;backdrop-filter:blur(12px);text-align:left;min-width:193px;pointer-events:none;z-index:2}
.hero-space-label strong{font-size:12px;color:#ffd49b;letter-spacing:.17em}
.hero-space-label span{font-size:11px;color:#f6e0c9;line-height:1.6}
.hero-controls{position:absolute;right:max(22px,calc((100vw - 1280px)/2));bottom:73px;z-index:7;display:flex;gap:8px;background:#21140dd1;border:1px solid #dca6635c;border-radius:999px;padding:7px;backdrop-filter:blur(12px);box-shadow:0 10px 30px #1f0f0ba8}
.hero-controls button{display:grid;place-items:center;min-width:42px;height:42px;border-radius:100%;background:#a06a385c;border:1px solid #ffdb9840;color:#fff1dd;font-size:20px;font-weight:750;cursor:pointer}
.hero-controls button:hover{background:#c78d52;color:#21140e}
.hero-controls button:focus-visible,.hero-canvas-wrap:focus-visible{outline:3px solid #ffd787;outline-offset:3px}
.hero-controls button:disabled{cursor:not-allowed;opacity:.45}
.hero-gesture-hint{position:absolute;bottom:89px;left:max(22px,calc((100vw - 1280px)/2));color:#ffdfbdab;font-size:10px;letter-spacing:.12em;z-index:2}
.hero-three .hero-bottom-curve{position:absolute;z-index:4;left:-2%;bottom:-39px;width:104%;height:98px;background:var(--canvas);border-radius:53% 47% 0 0/66% 70% 0 0;pointer-events:none}
@media(max-width:980px){.hero-three{min-height:720px}.hero-shell{min-height:720px;padding-top:50px;padding-bottom:148px}.hero-space-label{display:none}.hero-copy h1{font-size:clamp(46px,6.2vw,68px);max-width:480px}.hero-gesture-hint{display:none}.hero-stage-overlay{background:linear-gradient(90deg,#1f100dec 0%,#1d0e0acc 37%,#1b100a42 78%),linear-gradient(0deg,#24130ee9 0,transparent 38%)} }
@media(max-width:640px){.hero-three{min-height:795px}.hero-shell{min-height:795px;align-items:flex-start;padding-top:55px;padding-bottom:180px}.hero-copy{max-width:100%}.hero-copy h1{font-size:clamp(43px,10.9vw,59px);max-width:360px;letter-spacing:-.06em}.hero-copy>p:not(.concept-indicator){font-size:14px;max-width:335px}.hero-actions{margin-top:18px}.hero-copy .concept-indicator{font-size:10px;max-width:280px;line-height:1.5}.hero-stage-overlay{background:linear-gradient(180deg,#21110fed 0%,#26130ecb 32%,#2a160931 53%,#1b100b40 78%,#1b0c09cc 100%)}.hero-viewport-status{top:auto;bottom:292px;right:12px;font-size:10px;max-width:190px}.hero-viewport-status[data-state="ready"]{display:none}.hero-controls{bottom:222px;left:50%;right:auto;transform:translateX(-50%);width:max-content;padding:5px;gap:5px}.hero-controls button{height:39px;min-width:39px;font-size:19px}.hero-three .hero-bottom-curve{height:65px;bottom:-35px}.hero-poster{background-position:47% 70%}.hero-glow-a{top:52%}.hero-glow-b{bottom:-80px}}
@media(prefers-reduced-motion:reduce){.hero-poster,.hero-viewport-status{transition:none!important}}
