.home-custom{display:grid;grid-template-columns:minmax(0,var(--left)) minmax(0,var(--right));gap:var(--home-gap);align-items:start}.home-lane{display:flex;flex-direction:column;gap:var(--home-gap);min-width:0}.home-custom .home-slot{width:var(--d-width);max-width:100%;min-width:0;align-self:var(--d-align);overflow-wrap:anywhere}.home-custom .character-widget{width:100%;max-width:none}.home-custom .character-moment .moment-entries img{width:100%;height:auto;max-width:100%;object-fit:contain}.home-custom-link{font-family:var(--navigation-font);font-size:var(--navigation-size);text-decoration:none}.home-custom-link:hover{text-decoration:underline}.home-custom .counter{width:fit-content;max-width:100%;overflow-wrap:anywhere}@media(max-width:700px){.home-custom{display:flex;flex-direction:column;align-items:stretch}.home-lane{display:contents}.home-custom .home-slot{display:var(--m-display);flex-direction:column;width:var(--m-width);order:var(--m-order);align-self:var(--m-align);text-align:center}.home-custom-link{font-size:var(--navigation-mobile)}.home-custom .character-moment .moment-entries img{width:100%;max-width:100%;height:auto;max-height:none}.home-custom .counter{margin:auto}.home-custom .featured,.home-custom .home-featured{max-width:100%}.home-custom .character-moment{margin:auto}}.scene-home:has(.home-freeform){padding:0}.home-custom.home-freeform{--canvas-height:calc(max(420px,100svh - 52px)*var(--d-canvas,1));display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;min-height:var(--canvas-height);gap:0;isolation:isolate;align-items:start;overflow:clip}.home-freeform .home-lane{display:contents}.home-freeform .home-slot{grid-area:1/1;display:var(--d-display);justify-self:start;align-self:start;width:var(--d-width);min-height:calc(var(--canvas-height)*var(--d-height));margin-left:var(--d-left);margin-top:calc(var(--canvas-height)*var(--d-top));transform:rotate(var(--d-rotation));transform-origin:top left;z-index:var(--d-layer);text-align:var(--d-align);min-width:0;overflow-wrap:anywhere;pointer-events:none}.home-freeform .home-slot a,.home-freeform .home-slot button,.home-freeform .home-slot video{pointer-events:auto}.home-freeform .home-slot h1,.home-freeform .home-slot h2{margin:0 0 .4em}.home-freeform .home-slot p{margin:.35em 0}.home-freeform .counter{display:inline-block}.home-freeform .home-custom-link{font-weight:var(--navigation-weight);line-height:var(--navigation-line);letter-spacing:var(--navigation-spacing)}.home-freeform .character-moment{margin:0;width:100%;max-width:none}.home-freeform .character-moment .moment-entries img{width:var(--d-portrait);max-width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;margin:0 auto}.home-freeform .character-moment .moment-entries p{font-size:var(--d-bio)}.home-freeform .character-moment h2{font-size:var(--d-heading)}.home-freeform .character-moment .character-controls{font-size:var(--d-controls);flex-wrap:wrap}.scene-home:has(.home-freeform) .home-dev-note{margin:1rem;max-width:calc(100% - 2rem)}@media(max-width:700px){.home-custom.home-freeform{--canvas-height:calc(max(420px,100svh - 52px)*var(--m-canvas,2));display:grid}.home-freeform .home-slot{display:var(--m-display);order:0;width:var(--m-width);min-height:calc(var(--canvas-height)*var(--m-height));margin-left:var(--m-left);margin-top:calc(var(--canvas-height)*var(--m-top));transform:rotate(var(--m-rotation));z-index:var(--m-layer);text-align:var(--m-align)}.home-freeform .character-moment .moment-entries img{width:var(--m-portrait);max-width:100%;height:auto}.home-freeform .character-moment .moment-entries p{font-size:var(--m-bio)}.home-freeform .character-moment h2{font-size:var(--m-heading)}.home-freeform .character-moment .character-controls{font-size:var(--m-controls)}}.home-freeform .home-slot>*{pointer-events:auto}.home-freeform .home-slot{font-size:calc(1rem * var(--d-scale))}.home-freeform .home-slot h1{font-size:calc(var(--heading-size)*var(--d-scale))}.home-freeform .home-custom-link{font-size:calc(var(--navigation-size)*var(--d-scale))}.home-freeform .character-moment .moment-entries p{font-size:calc(var(--d-bio)*var(--d-scale))}.home-freeform .character-moment h2{font-size:calc(var(--d-heading)*var(--d-scale))}.home-freeform .character-moment .character-controls{font-size:calc(var(--d-controls)*var(--d-scale))}@media(max-width:700px){.home-freeform .home-slot{font-size:calc(1rem * var(--m-scale))}.home-freeform .home-slot h1{font-size:calc(var(--heading-mobile)*var(--m-scale))}.home-freeform .home-custom-link{font-size:calc(var(--navigation-mobile)*var(--m-scale))}.home-freeform .character-moment .moment-entries p{font-size:calc(var(--m-bio)*var(--m-scale))}.home-freeform .character-moment h2{font-size:calc(var(--m-heading)*var(--m-scale))}.home-freeform .character-moment .character-controls{font-size:calc(var(--m-controls)*var(--m-scale))}}.home-freeform .home-slot:focus-within{z-index:101}.home-freeform .home-slot:focus-within a:focus-visible,.home-freeform .home-slot:focus-within button:focus-visible{outline-offset:2px}#home-intro{width:min(100%,1000px);max-width:100%;max-height:100dvh;min-height:min(72dvh,640px);padding:0;border:2px solid var(--line);color:var(--ink);background:var(--paper);overflow:auto;isolation:isolate}#home-intro::backdrop{background:var(--paper)}#home-intro [hidden]{display:none!important}.intro-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none}.intro-backdrop img{width:100%;height:100%;object-fit:cover}.intro-shell{padding:clamp(1rem,4vw,2.5rem);min-height:inherit;display:flex;flex-direction:column;gap:1rem}.intro-shell header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.intro-shell h2{margin:0}.intro-shell button{font:inherit;cursor:pointer;color:var(--ink);background:var(--paper);border:2px solid var(--ink);padding:.6rem 1rem}.intro-shell button:focus-visible{outline:3px solid #a64c28;outline-offset:4px}.intro-stage{flex:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;min-height:320px;gap:1rem}.intro-stage img{width:100%;height:clamp(200px,45vh,460px);object-fit:contain;object-position:left bottom}.intro-action{align-self:center;display:grid;justify-items:center;gap:1rem}.intro-action [data-intro-press]{font-size:clamp(2rem,7vw,4rem);box-shadow:5px 5px 0 var(--ink);transform:rotate(-3deg);padding:.8rem 1.6rem}.intro-action [data-intro-press]:active{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--ink)}.intro-action p{background:var(--paper);border:2px solid var(--ink);border-radius:1rem;padding:1rem;overflow-wrap:anywhere;font-size:clamp(1rem,2.5vw,1.55rem);max-width:100%}.intro-terminal{background:#151a16;color:#c8f2ae;font:clamp(.85rem,2vw,1.15rem)/1.6 monospace;border:3px solid #60695d;min-height:300px;padding:1rem;overflow-wrap:anywhere}.terminal-title{border-bottom:1px solid #849781;padding-bottom:.6rem;margin-bottom:1rem;display:flex;justify-content:space-between}.intro-terminal p{margin:.4rem 0}.terminal-cursor{animation:intro-blink 1.1s steps(1,end) infinite}@keyframes intro-blink{50%{opacity:0}}.no-page-motion .terminal-cursor{animation:none}@media(prefers-reduced-motion:reduce){.terminal-cursor{animation:none}}@media(max-width:700px){#home-intro{width:100%;min-height:80dvh}.intro-stage{grid-template-columns:1fr;align-items:center;min-height:0}.intro-stage img{height:min(36vh,260px);object-position:center}.intro-action{order:-1}.intro-shell header{align-items:start}.intro-shell header button{font-size:.85rem}}.intro-composition{position:relative;display:block!important;aspect-ratio:16/9;width:100%;min-height:0;flex:none;container-type:inline-size;isolation:isolate}.intro-composition[data-device=mobile]{aspect-ratio:3/4;min-height:0}.intro-object{position:absolute;left:var(--intro-desktop-x);top:var(--intro-desktop-y);width:var(--intro-desktop-width);height:var(--intro-desktop-height);transform:translate(-50%,-50%) rotate(var(--intro-desktop-rotation));box-sizing:border-box;min-width:0;min-height:0}.intro-composition[data-device=mobile] .intro-object{left:var(--intro-mobile-x);top:var(--intro-mobile-y);width:var(--intro-mobile-width);height:var(--intro-mobile-height);transform:translate(-50%,-50%) rotate(var(--intro-mobile-rotation))}@media(max-width:700px){.intro-composition:not([data-device]){aspect-ratio:3/4;min-height:0}.intro-composition:not([data-device]) .intro-object{left:var(--intro-mobile-x);top:var(--intro-mobile-y);width:var(--intro-mobile-width);height:var(--intro-mobile-height);transform:translate(-50%,-50%) rotate(var(--intro-mobile-rotation))}}.intro-object[data-element=character]{z-index:1;pointer-events:none}.intro-object[data-element=button]{z-index:3}.intro-object[data-element=speech]{z-index:2}.intro-object[data-element=speech]:has([hidden]){pointer-events:none}.intro-composition .intro-object>img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center;pointer-events:none}.intro-composition .intro-graphic-button{position:relative;width:100%;height:100%;display:block;box-sizing:border-box;padding:0;cursor:pointer;color:inherit;background:var(--paper,#fff9eb);border:2px solid currentColor;box-shadow:5px 5px 0 currentColor;overflow:visible;font-family:var(--intro-button-font);font-size:clamp(12px,var(--intro-button-relative-size),var(--intro-button-size));font-weight:var(--intro-button-weight);font-style:var(--intro-button-style);letter-spacing:var(--intro-button-spacing);text-align:center;touch-action:manipulation}.intro-composition .intro-graphic-button[data-image=true]{background:transparent;border:none;box-shadow:none}.intro-composition .intro-graphic-button:focus-visible{outline:3px solid #2878dc;outline-offset:4px}.intro-composition .intro-graphic-button:active{filter:brightness(.9)}.intro-composition .intro-button-image{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center;pointer-events:none;display:block}.intro-composition .intro-button-image.hover,.intro-composition .intro-button-image.pressed{display:none}@media(hover:hover){.intro-graphic-button:hover .intro-button-image.hover{display:block}}.intro-graphic-button:focus-visible .intro-button-image.hover,.intro-graphic-button:active .intro-button-image.pressed{display:block}.intro-graphic-button:active .intro-button-image.pressed{z-index:2}.intro-button-label{position:absolute;left:var(--intro-button-text-x);top:var(--intro-button-text-y);transform:translate(-50%,-50%);width:94%;max-height:100%;overflow-wrap:anywhere;line-height:1.05;color:var(--intro-button-colour);z-index:3;pointer-events:none}.intro-composition .intro-speech{box-sizing:border-box;width:100%;height:100%;margin:0;background:var(--paper,#fff9eb);color:var(--ink,#292c27);border:2px solid currentColor;border-radius:12px;padding:clamp(5px,1.5cqw,16px);font-size:clamp(12px,2.5cqw,25px);overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}.intro-composition [hidden]{display:none!important}#home-intro .intro-stage.intro-composition{min-height:0;flex:none;gap:0}.intro-composition .intro-graphic-button{font-family:var(--intro-button-font,inherit)}.intro-object[data-element=button]:has([hidden]){pointer-events:none}@media(hover:hover){.intro-graphic-button:hover:has(.intro-button-image.hover) .intro-button-image:first-child{visibility:hidden}}.intro-graphic-button:focus-visible:has(.intro-button-image.hover) .intro-button-image:first-child,.intro-graphic-button:active:has(.intro-button-image.pressed) .intro-button-image:first-child,.intro-graphic-button:active:has(.intro-button-image.pressed) .intro-button-image.hover{visibility:hidden}
