@font-face { font-family: "Trilli0N Display"; src: url("assets/fonts/cormorant-garamond-600.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

.hero-heading { font-family: "Trilli0N Display", Georgia, serif; font-weight: 600; line-height: .92; letter-spacing: -.018em; }
.tem-product-mark { display: block; width: clamp(180px, 17vw, 245px); height: clamp(112px, 10.6vw, 152px); object-fit: cover; margin: 1rem 0; }
.hero-story { text-align: center; }
.hero-tem-logo { display: block; width: clamp(260px, 22vw, 390px); height: clamp(162px, 13.7vw, 243px); object-fit: cover; margin: -.3rem auto .5rem; }
.hero-name { display: flex; align-items: baseline; justify-content: center; gap: .65rem; white-space: nowrap; }
.hero-brand, .hero-title { display: block; width: fit-content; font: 600 clamp(2.5rem, 3vw, 3.5rem)/.92 "Trilli0N Display", Georgia, serif; white-space: nowrap; color: #f8d5a2; background: linear-gradient(170deg, #fff1d3 8%, #e9c697 33%, #a7794e 53%, #f3d4a8 68%, #c48d59 92%); background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 9px #bc5b1820); letter-spacing: -.018em; text-transform: none; margin-top: 0; }
.hero-heading .hero-edition { display: flex; align-items: center; gap: .8rem; width: fit-content; margin-top: .9rem; color: #d9ba92; font: 500 clamp(.87rem, 1.35vw, 1.2rem)/1.2 "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: .25em; }
.hero-edition::before, .hero-edition::after { content: ""; width: clamp(1.7rem, 3.2vw, 3.6rem); height: 1px; background: linear-gradient(90deg, transparent, #ba804b); }
.hero-edition::after { transform: rotate(180deg); }
.hero-claim { margin: 0 0 .85rem; color: #e1c9ad; font: 600 clamp(1.3rem, 1.9vw, 1.9rem)/1.2 "Trilli0N Display", Georgia, serif; letter-spacing: -.005em; max-width: none; white-space: nowrap; }
.hero-message { margin-top: 1.25rem; max-width: none; white-space: nowrap; font-size: clamp(.875rem, 1.08vw, 1.12rem); }
.hero-benefit { margin-top: 1rem; color: #ddb18b; font-weight: 500; }
.hero-product { margin-top: 2rem; justify-content: center; }
.hero-demo-link { gap: .75rem; padding: .8rem 1.05rem; color: #f5d6aa; background: linear-gradient(125deg,#39251f,#171015); border-color: #bc804e; box-shadow: inset 0 0 18px #c77e3012, 0 0 22px #e78d2a08; border-radius: 1px 14px 1px 1px; }
.hero-demo-link:hover { color: #fff4d7; background: #4b2b1c; border-color: #ffd59a; }
.hero-demo-link > span { color: #ffbd68; text-shadow: 0 0 10px #ff7a1e; font-size: 1.4rem; }
.origin-nerve { position: fixed; z-index: 0; inset: 0; width: 100vw; height: 100vh; pointer-events: none; overflow: visible; opacity: 0; }
.origin-nerve path { fill: none; stroke-linecap: round; }
.origin-nerve .nerve-core { stroke: #ffce87; stroke-width: 1.2; }
.origin-nerve .nerve-heat { stroke: #eb6a24; stroke-width: 4; filter: blur(4px); }
.origin-nerve .nerve-pulse { stroke: #fff0be; stroke-width: 2.1; filter: drop-shadow(0 0 5px #ff8a28); }
.site-sound { position: fixed; z-index: 60; right: 22px; bottom: 18px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: #ecd1b5; opacity: .72; }
.site-sound:hover { opacity: 1; color: #fff1d4; }
.site-sound[aria-pressed="true"] { color: #f4c084; }
.portrait-actions .portrait-sound { display: none; }
@media (prefers-reduced-motion: reduce) { .origin-nerve { display: none; } }
.interior.interior:not(.film-view) .page-intro h1,
.film-view .mumble-intro h1,
.demo-head h2, .client-head h2, .home-view .author-story h2,
.license-invite-head h2 { font-family: "Trilli0N Display", Georgia, serif; font-weight: 600; letter-spacing: -.025em; }
.journey-card-copy h3 { font-family: "Trilli0N Display", Georgia, serif; font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.8rem); }

/* One continuous opening: the portrait remains pinned while the 3D scene emerges. */
.origin-continuity .home-view { --origin-height: max(620px, calc(100svh - var(--head))); --origin-travel: 1.5; }
.origin-continuity .home-view .hero { position: relative; height: calc(var(--origin-height) * (1 + var(--origin-travel))); margin-bottom: calc(var(--origin-height) * -1); border: 0; }
.origin-continuity .hero-stage { --stage-height: var(--origin-height); position: sticky; top: var(--head); height: var(--origin-height); min-height: var(--origin-height); padding-block: 2rem; border: 0; background: transparent; }
.origin-continuity .hero-stage::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse 58% 87% at 73% 46%, #432823, #20191c 57%, transparent 90%), var(--forge-black); opacity: var(--origin-backdrop, 1); }
.origin-continuity .hero-stage > .arcane-field { opacity: calc(var(--origin-portrait, 1) * .86); }
.origin-continuity .hero-caption { opacity: var(--origin-copy, 1); }
.origin-continuity .hero-avatar { opacity: var(--origin-portrait, 1); }
.origin-continuity .hero-stage > .arcane-filament { opacity: var(--origin-copy, 1); }
.origin-continuity .hero-stage::after { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: var(--origin-flare, 0); background: radial-gradient(ellipse 32% 65% at 63% 67%, #ff8a272c, #a737171a 46%, transparent 78%); mix-blend-mode: screen; }
.origin-continuity .raid-journey { position: relative; z-index: 2; background: transparent; }
.origin-continuity .journey-stage { border: 0; background: radial-gradient(ellipse 44% 75% at 49% 60%, rgb(63 23 12 / calc(var(--scene-entry, 0) * .25)), transparent), rgb(9 9 12 / var(--scene-entry, 0)); }
.origin-continuity .journey-stage > .journey-spine { opacity: var(--scene-entry, 0); }
.origin-continuity .journey-world { opacity: var(--scene-copy, 0); }
.origin-continuity .hero { pointer-events: var(--origin-hit, auto); }
.origin-continuity .raid-journey { pointer-events: var(--scene-hit, none); }
.origin-continuity .hero-stage, .origin-continuity .hero-caption, .origin-continuity .hero-avatar { will-change: opacity; }
.origin-continuity #main { position: relative; z-index: 1; background: transparent !important; }
.origin-continuity .site-footer { position: relative; z-index: 1; background: #09090cd9; }
.origin-continuity .home-view .demo-section,
.origin-continuity .home-view .client-section,
.origin-continuity .home-view .author-section { background: transparent; }
.origin-continuity .journey-stage { background: transparent; }
.origin-continuity .hero-stage > .arcane-filament { display: none; }
.origin-continuity .persistent-spine { transition: none; }

/* The same dark field joins the product, client and author scenes. */
.home-view .demo-section, .home-view .client-section, .home-view .author-section { border-block: 0; }
.home-view .demo-section { background: radial-gradient(ellipse 60% 30% at 65% 35%, #38201840, transparent), #09090c; }
.home-view .client-section { background: radial-gradient(ellipse 65% 35% at 30% 55%, #251e2048, transparent), #09090c; }
.home-view .author-section { background: radial-gradient(ellipse 55% 70% at 16% 50%, #422b224f, transparent), #09090c; }
.interior:not([hidden]) { animation: forge-view-enter .48s cubic-bezier(.2,.72,.22,1) both; }
@keyframes forge-view-enter { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .interior:not([hidden]) { animation: none; } }
