/* Original ruin-world art direction; also styles the no-WebGL fallback. */
:root{--ink:#eddfce;--muted:#baa99f;--paper:#151119;--rose:#d89c73;--line:#d9b99844;color-scheme:dark}
body{background:#151119}.environment{display:none}.header{background:linear-gradient(#121019ed,#12101970);border-bottom:1px solid #dbc1a224;backdrop-filter:blur(9px)}.brand img{filter:brightness(1.8) sepia(.25)}.language select{max-width:140px}.language option{background:#201a23;color:#efdfce}
#tunnel{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:#020103}#tunnel canvas{display:block;width:100%;height:100%;opacity:calc(1 - var(--void,0))}
.has-tunnel .chapter{min-height:185svh;pointer-events:none}.has-tunnel .chapter:last-child{min-height:345svh}
.has-tunnel .scene{position:fixed;top:94px;left:0;right:0;height:calc(100svh - 94px);min-height:0;padding:0;opacity:0;visibility:hidden;pointer-events:none;display:block;overflow:visible;transition:opacity .5s,visibility .5s}
.has-tunnel .is-current .scene{opacity:1;visibility:visible}.has-tunnel .scene a,.has-tunnel .scene button{pointer-events:auto}
.has-tunnel .scene:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#100c16bd 0%,#100c1670 28%,transparent 65%);pointer-events:none}
.entry-art,.studio-art,.portrait,.title-dot{display:none}.entry-copy,.studio-copy,.about-copy{max-width:500px}.has-tunnel .entry-copy,.has-tunnel .section-heading,.has-tunnel .studio-copy,.has-tunnel .about-copy{position:absolute;left:6%;top:15%;width:35%;max-width:500px;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none}
.has-tunnel h1{font-size:clamp(80px,8.7vw,140px);letter-spacing:-.075em}.intro{color:#d9b8a4;font-size:clamp(22px,2.3vw,34px);margin:28px 0;max-width:390px}.eyebrow{color:#d0b6a0;font-size:10px;letter-spacing:.18em}.primary{color:#efdbbe;background:#2d211b66;border-color:#cf9c6c80;min-height:52px;font:11px/1.5 ui-monospace,monospace;padding:16px 24px;gap:0}.primary>span:last-child{font-size:inherit}.primary:hover{background:#72523f80;transform:translateY(-2px)}
.has-tunnel h2,.has-tunnel .studio h2,.has-tunnel .section-heading h2{font-size:clamp(35px,3.8vw,60px);letter-spacing:-.04em;line-height:1.08}.has-tunnel .scene-footer{bottom:95px;left:6%;right:6%;font:9px/1.7 ui-monospace,monospace;color:#d3b69e}.scene-footer>span:last-child{display:none}
.has-tunnel .section-heading{top:11%}.has-tunnel .exhibits{position:absolute;left:6%;bottom:110px;width:35%;max-width:500px;display:flex;flex-direction:column;gap:0;margin:0;transform:none;background:#160f1a45;padding:0}
.exhibit,.exhibit:first-child,.exhibit:last-child{transform:none!important;border-top:1px solid var(--line);padding:18px 0}.exhibit:hover{color:#f7bd87}.exhibit-caption{padding:0;font:11px/1.8 ui-monospace,monospace}.exhibit-caption span:last-child{font-size:9px}.section-heading>p:last-child{max-width:380px}
.has-tunnel .studio-copy{top:11%}.studio-copy>p:not(.eyebrow){font-size:13px}.studio-links a{grid-template-columns:100px 1fr;font-size:14px;padding:17px 0}.studio-links small{font-size:11px}.has-tunnel .about-copy{top:20%}.motto{font-size:clamp(22px,2.1vw,31px)}
.has-tunnel .contact .scene{display:flex;align-items:flex-start;justify-content:center;text-align:left;padding:0 6% 110px}.has-tunnel .contact .scene>h2{font-size:clamp(44px,5.5vw,90px);max-width:650px}.contact-bottom{bottom:95px;left:6%;right:6%;color:#c0a99c}.has-tunnel .approaching-void .contact .scene{opacity:0}.approaching-void .contact .scene{opacity:0!important;visibility:hidden!important}.in-void .contact .scene{opacity:1;visibility:visible}.in-void .contact .scene:before{display:none}
.hud{background:#16111bd9;border:1px solid #bda38e40;border-radius:3px;box-shadow:none;backdrop-filter:blur(10px);color:#e8d4c1;padding:9px 18px}.hud-label{display:none}.hud nav a{border-radius:2px;color:#c0a99c}.hud nav a[aria-current]{background:#cf9b7130;color:#ffe0b7}.progress{background:#725a4b}.progress i{background:#eab280}
/* The actual brand silhouette is revealed by six brush passes, right to left. */
.arrival{position:fixed;inset:0;z-index:1000;background:radial-gradient(ellipse at center,#1e1722,#0c1015 65%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;animation:signature-fade .38s 2.7s ease forwards;pointer-events:none;direction:ltr}
.arrival[hidden]{display:none}
.signature{width:clamp(87.5px,12vw,147px);height:auto;overflow:visible;transform-origin:center;animation:signature-sync 2.7s steps(1,end) both}
.signature-main{filter:brightness(1.9) sepia(.3);animation:signature-tear 2.7s steps(1,end) both}
.signature-echo{opacity:0;animation-duration:2.7s;animation-timing-function:steps(1,end);animation-fill-mode:both}
.signature-cyan{filter:brightness(2.2) sepia(1) saturate(4) hue-rotate(130deg);animation-name:signature-cyan}
.signature-rose{filter:brightness(2) sepia(1) saturate(5) hue-rotate(295deg);animation-name:signature-rose}
.ink-stroke{stroke-dasharray:1;stroke-dashoffset:1;animation:ink-write .63s cubic-bezier(.42,.06,.48,.93) forwards}
.ink-stroke:nth-child(2){animation-delay:.19s}.ink-stroke:nth-child(3){animation-delay:.4s}.ink-stroke:nth-child(4){animation-delay:.59s}.ink-stroke:nth-child(5){animation-delay:.8s}.ink-stroke:nth-child(6){animation-delay:1s}
.arrival span{color:#d4bdac;font:12px monospace;letter-spacing:.3em;animation:entry-idle 2.7s steps(1,end) both}.arrival-active{overflow:hidden}
@keyframes ink-write{to{stroke-dashoffset:0}}
@keyframes signature-fade{to{opacity:0;visibility:hidden}}
@keyframes signature-sync{
 0%,24%,41%,57%,72%,94%,100%{transform:none}
 18%{transform:translate(6px,-2px) skewX(-9deg)}
 33%{transform:translate(-10px,3px) skewX(11deg)}
 37%{transform:translate(4px,-2px) scaleX(.89)}
 49%{transform:translate(9px,4px) scaleY(.83)}
 53%{transform:translate(-5px,-3px) scaleY(1.05)}
 64%{transform:translate(-9px,0) skewX(-13deg) scaleX(1.075)}
 69%{transform:translate(5px,2px) skewX(8deg)}
 80%{transform:translate(11px,-3px) scaleX(.87)}
 85%{transform:translate(-10px,4px) skewX(11deg) scaleY(.87)}
 90%{transform:translate(5px,-2px) scaleY(1.04)}
}
@keyframes signature-tear{
 0%,24%,41%,57%,72%,95%,100%{clip-path:none;transform:none}
 18%{clip-path:inset(12% 0 24%);transform:translateX(7%)}
 33%{clip-path:polygon(0 0,100% 0,100% 35%,28% 35%,28% 49%,100% 49%,100% 100%,0 100%);transform:translateX(8%)}
 37%{clip-path:inset(5% 0 19%);transform:translateY(-7%)}
 49%{clip-path:inset(16% 0 12%);transform:translateY(6%)}
 64%{clip-path:polygon(0 0,100% 0,100% 56%,46% 56%,46% 73%,100% 73%,100% 100%,0 100%);transform:translateX(-9%)}
 80%{clip-path:inset(0 12% 16% 0);transform:translateX(-8%)}
 85%{clip-path:polygon(0 0,100% 0,100% 64%,56% 64%,56% 79%,100% 79%,100% 100%,0 100%);transform:translateX(6%)}
}
@keyframes signature-cyan{
 0%,24%,42%,58%,73%,94%,100%{opacity:0;transform:none}
 18%{opacity:.77;clip-path:inset(44% 0 29%);transform:translateX(-17%)}
 33%{opacity:.94;clip-path:inset(33% 0 48%);transform:translateX(-19%)}
 37%{opacity:.78;clip-path:inset(54% 0 32%);transform:translate(14%,3%)}
 49%{opacity:.87;clip-path:inset(22% 0 57%);transform:translate(-16%,5%)}
 64%{opacity:.95;clip-path:inset(51% 0 31%);transform:translateX(21%)}
 69%{opacity:.73;clip-path:inset(27% 0 59%);transform:translateX(-12%)}
 80%{opacity:.82;clip-path:inset(37% 0 40%);transform:translate(-16%,-4%)}
 85%{opacity:.91;clip-path:inset(61% 0 21%);transform:translate(20%,3%)}
}
@keyframes signature-rose{
 0%,25%,43%,58%,74%,94%,100%{opacity:0;transform:none}
 20%{opacity:.66;clip-path:inset(21% 0 60%);transform:translateX(14%)}
 34%{opacity:.84;clip-path:inset(50% 0 32%);transform:translateX(19%)}
 49%{opacity:.91;clip-path:inset(60% 0 18%);transform:translateX(17%)}
 53%{opacity:.76;clip-path:inset(36% 0 46%);transform:translateX(-15%)}
 64%{opacity:.84;clip-path:inset(20% 0 60%);transform:translate(-18%,-4%)}
 80%{opacity:.91;clip-path:inset(58% 0 20%);transform:translateX(18%)}
 85%{opacity:.83;clip-path:inset(28% 0 47%);transform:translateX(-20%)}
}
html[dir=rtl] .entry-copy,html[dir=rtl] .section-heading,html[dir=rtl] .studio-copy,html[dir=rtl] .about-copy{text-align:right}.boot,.hud,.brand,.arrival{direction:ltr}html[dir=rtl] .exhibit-caption span:last-child{text-align:left}
@media(max-width:760px){
 .header{height:76px;padding:10px 5%}.header nav{gap:15px}.language select{max-width:93px;font-size:10px}.brand{font-size:17px}.brand img{width:30px}
 .has-tunnel .scene{top:76px;height:calc(100svh - 76px)}.has-tunnel .chapter{min-height:170svh}.has-tunnel .chapter:last-child{min-height:270svh}
 .has-tunnel .scene:before{background:linear-gradient(0deg,#100c16f0 0%,#100c16b3 28%,transparent 77%)}
 .has-tunnel .entry-copy,.has-tunnel .section-heading,.has-tunnel .studio-copy,.has-tunnel .about-copy{top:auto;bottom:105px;left:7%;width:86%;max-width:none;margin:0}.has-tunnel h1{font-size:clamp(68px,21vw,95px)}.intro{font-size:24px;margin:16px 0 22px}.eyebrow{font-size:8px;margin-bottom:18px}.entry-copy .primary{position:static;min-height:48px;font-size:11px}
 .has-tunnel .scene-footer{display:none}.has-tunnel h2,.has-tunnel .studio h2,.has-tunnel .section-heading h2{font-size:35px}.has-tunnel .section-heading{bottom:270px}.has-tunnel .exhibits{left:7%;width:86%;bottom:100px}.exhibit{padding:13px 0}.exhibit-caption{display:flex;font-size:10px}.exhibit-caption span:last-child{font-size:8px}.has-tunnel .studio-copy{bottom:92px}.studio-links{margin-top:18px}.studio-links a{font-size:13px;padding:13px 0}.studio-links small{font-size:10px}.studio-copy>p:not(.eyebrow){font-size:12px;line-height:1.6}.motto{font-size:23px;margin-top:22px}.text-link{font-size:12px}
 .has-tunnel .contact .scene{justify-content:flex-end;padding:0 7% 220px;align-items:flex-start}.has-tunnel .contact .scene>h2{font-size:44px;margin-bottom:25px}.contact-bottom{bottom:90px;font-size:9px;gap:13px}.hud{bottom:17px;padding:7px 12px}.hud nav a{width:27px;height:27px}.hud button{max-width:90px;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.arrival{display:none}.has-tunnel .scene{transition:none}}
@media(max-width:760px){.entry-copy .primary{background:#31231dd9;color:#ffe5c5;border-color:#d4a0789c}.entry-copy .primary:hover{background:#72523fba}}
/* Keep the last screen readable immediately after crossing the horizon. */
.in-void .contact .scene{transition:opacity .35s;}
html:not(.has-tunnel) body{background:radial-gradient(ellipse at 75% 20%,#46302b,transparent 60%),#151119}
html:not(.has-tunnel) .scene{height:auto;min-height:85svh;position:relative;top:auto;padding:150px 7% 120px}
html:not(.has-tunnel) .studio .scene,html:not(.has-tunnel) .about .scene{display:block}
html:not(.has-tunnel) .entry-copy{max-width:650px}.has-tunnel .scene a{overflow-wrap:anywhere}
/* A single analogue shutdown, not a repeating flash. Scroll back to restore. */
.crt-shutdown{position:fixed;inset:0;z-index:50;pointer-events:none;display:none;place-items:center}
.crt-shutdown i{display:block;width:88vw;height:3px;background:#ffe7d1;box-shadow:0 0 12px 4px #c9956d66,0 0 36px #dfae8c55;transform-origin:center;opacity:0}
.crt-closing .crt-shutdown{display:grid}.crt-closing .crt-shutdown i{animation:crt-line 1.1s linear both}
.crt-closing #tunnel canvas{transform-origin:50% 50%;animation:crt-collapse .7s cubic-bezier(.65,0,.85,.35) both}
.crt-closing .header,.crt-closing main,.crt-closing .hud,.screen-off .header,.screen-off main,.screen-off .hud{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.screen-off body,.screen-off #tunnel,.crt-closing #tunnel{background:#000}.screen-off #tunnel canvas{opacity:0}
.end-controls{position:fixed;z-index:60;left:0;right:0;bottom:38px;display:flex;justify-content:center;gap:30px;font:10px/1.5 ui-monospace,monospace;letter-spacing:.05em;color:#b9a79c;animation:end-controls-in .6s .65s both}.end-controls[hidden]{display:none}.end-controls button,.end-controls a{font:inherit;padding:12px;color:inherit}.end-controls button:hover,.end-controls a:hover{color:#f7dfc9}
@keyframes crt-collapse{0%{transform:scale(1,1);filter:brightness(1)}60%{transform:scale(1.05,.018);filter:brightness(1.7)}100%{transform:scale(.85,.002);filter:brightness(0)}}
@keyframes crt-line{0%,25%{opacity:0;transform:scaleX(1)}45%{opacity:.9;transform:scaleX(1)}68%{opacity:.8;transform:scaleX(.008)}83%{opacity:.55;transform:scaleX(.003)}100%{opacity:0;transform:scaleX(0)}}
@keyframes end-controls-in{from{opacity:0}to{opacity:.65}}
@media(prefers-reduced-motion:reduce){.crt-shutdown{display:none!important}.end-controls{animation:none}}
/* Leave the centre of the view open for the projects on the masonry. */
.has-tunnel .projects .section-heading{top:4%;width:auto;max-width:700px;pointer-events:none}
.has-tunnel .projects .section-heading h2{font-size:26px;line-height:1.2}
.has-tunnel .projects .section-heading h2 br{display:none}
.has-tunnel .projects .section-heading>p:last-child{display:none}
.has-tunnel .projects .eyebrow{margin-bottom:10px}
.has-tunnel .projects .scene:before{background:linear-gradient(0deg,#100c16d9,transparent 30%,transparent 80%,#100c1644)}
.has-tunnel .projects .exhibits{left:6%;right:6%;bottom:105px;width:auto;max-width:none;flex-direction:row;gap:32px;background:none}
.has-tunnel .projects .exhibit{flex:1;opacity:.45;transition:opacity .4s,border-color .4s}
.has-tunnel .projects .exhibit.is-wall-current,.has-tunnel .projects .exhibit:hover,.has-tunnel .projects .exhibit:focus-visible{opacity:1;border-color:#edbc88}
.wall-hit{cursor:pointer}
@media (hover:hover) and (pointer:fine){
 html.has-tunnel{
  --temple-cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='-6 -6 36 36'%3E%3Cdefs%3E%3Cfilter id='glow' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='2.05'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M12 3 21 12 12 21 3 12Z' fill='%2318111c' fill-opacity='.42' stroke='%2318111c' stroke-width='3'/%3E%3Cg filter='url(%23glow)' stroke='%23ffc267' stroke-width='3.5' fill='none'%3E%3Cpath d='M12 3 21 12 12 21 3 12Z'/%3E%3Ccircle cx='12' cy='12' r='1.1' fill='%23ffe6ac'/%3E%3C/g%3E%3Cpath d='M12 3 21 12 12 21 3 12Z' fill='none' stroke='%23fff1d0' stroke-width='1.45'/%3E%3Ccircle cx='12' cy='12' r='1.35' fill='%23fff6db'/%3E%3C/svg%3E") 18 18;
  --temple-cursor-active:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='-6 -6 36 36'%3E%3Cdefs%3E%3Cfilter id='glow' x='-50%25' y='-50%25' width='200%25' height='200%25'%3E%3CfeGaussianBlur stdDeviation='2.2'/%3E%3C/filter%3E%3C/defs%3E%3Cpath d='M12 2 22 12 12 22 2 12Z' fill='%23432519' stroke='%2318111c' stroke-width='3.5'/%3E%3Cg filter='url(%23glow)' stroke='%23ffab48' stroke-width='4.5' fill='none'%3E%3Cpath d='M12 2 22 12 12 22 2 12Z'/%3E%3Cpath d='M12 8 16 12 12 16 8 12Z' fill='%23ffda92'/%3E%3C/g%3E%3Cpath d='M12 2 22 12 12 22 2 12Z' fill='none' stroke='%23ffe3a2' stroke-width='1.65'/%3E%3Cpath d='M12 8 16 12 12 16 8 12Z' fill='%23fff1cc'/%3E%3C/svg%3E") 18 18;
 }
 html.has-tunnel:not(.shell-active):not(.arrival-active) body{cursor:var(--temple-cursor),auto}
 html.has-tunnel.wall-hit:not(.shell-active):not(.arrival-active) body,
 html.has-tunnel:not(.shell-active):not(.arrival-active) :is(main,.header,#temple-menu,.temple-sound) :is(a,button,summary){
  cursor:var(--temple-cursor-active),pointer;
 }
 html.has-tunnel:not(.shell-active):not(.arrival-active) :is(#temple-menu,.temple-sound){
  cursor:var(--temple-cursor-active),pointer;
 }
 html.has-tunnel dialog{cursor:auto}
}
@media(max-width:760px){
 .has-tunnel .projects .section-heading{top:22px;bottom:auto;left:7%;width:86%}
 .has-tunnel .projects .section-heading h2{font-size:20px}
 .has-tunnel .projects .exhibits{left:7%;right:7%;bottom:90px;flex-direction:column;gap:0}
 .has-tunnel .projects .exhibit{padding:9px 0}
}
/* Terminal entrance: a staged session takeover, with a translated waiting message. */
.boot-wait{flex:none;width:min(1012px,calc(100% - 88px));margin:0 auto 35px;color:#f3d078;font:clamp(18px,2.4vw,32px)/1.4 ui-monospace,monospace}
.boot-wait small{display:block;margin-top:12px;color:#697f8c;font:9px/1.5 ui-monospace,monospace;letter-spacing:.15em}.boot-progress{height:2px;margin-top:18px;background:#23313a}.boot-progress i{display:block;height:100%;background:#98d891;transform:scaleX(var(--boot-progress,0));transform-origin:left}.shell-row.red{color:#ef8c7f}.boot .shell-body{max-height:calc(100svh - 300px)}
.bio-excerpts{font-size:16px;line-height:1.7}.bio-excerpts p+p{margin-top:20px}
.has-tunnel .about .about-copy{top:4%;bottom:auto;width:88%;max-width:none;pointer-events:none}
.has-tunnel .about .about-copy h2{font-size:26px;line-height:1.2}.has-tunnel .about .bio-excerpts,.has-tunnel .about .motto,.has-tunnel .about .motto-credit{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.has-tunnel .about .scene:before,.has-tunnel .contact .scene:before{background:linear-gradient(0deg,#100c16a0,transparent 25%,transparent 80%,#100c1622)}
.has-tunnel .contact .scene{display:block;text-align:left;padding:0}
.has-tunnel .contact .scene>.eyebrow{position:absolute;top:4%;left:6%}.has-tunnel .contact .scene>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.has-tunnel .contact .primary{position:absolute;bottom:160px;left:6%}.temple-socials{display:flex;gap:28px;font:12px ui-monospace,monospace;margin:25px 0}.has-tunnel .temple-socials{position:absolute;bottom:110px;left:6%;margin:0}.has-tunnel .contact-bottom{bottom:100px;left:auto;right:6%;flex-direction:column;align-items:flex-end;gap:13px;font-size:9px}
@media(max-width:760px){
 .boot-wait{width:calc(100% - 40px);margin:0 20px 65px;font-size:20px}.boot .shell-body{max-height:calc(100svh - 280px)}
 .has-tunnel .about .about-copy{top:22px;left:7%;width:86%}.has-tunnel .about .about-copy h2{font-size:20px}
 .has-tunnel .contact .scene>.eyebrow{top:22px;left:7%}.has-tunnel .contact .primary{left:7%;bottom:145px;font-size:11px;max-width:86%;white-space:normal}.has-tunnel .temple-socials{left:7%;bottom:106px;gap:22px;font-size:11px}.has-tunnel .contact-bottom{display:none}
}
/* Boot terminal */
.boot {
 isolation:isolate;
 --shell-gutter:clamp(20px,5.5vw,110px);
 background:radial-gradient(ellipse at 80% 50%,#0e3043 0%,#0a1825 51%,#060c13 100%);
 color:#dae9ec;
}
.boot-kali {
 position:absolute;
 inset:0;
 z-index:-1;
 pointer-events:none;
 background:url("./kali-dragon.svg") no-repeat right 5vw center / min(62vw,890px) auto;
 opacity:.32;
 filter:drop-shadow(0 0 36px #399ad688);
}
.boot::before {
 content:"";
 position:absolute;
 inset:0;
 z-index:-1;
 background:linear-gradient(90deg,#060c1380 0%,transparent 73%),
  repeating-linear-gradient(0deg,transparent 0 3px,#06121b48 3px 4px);
 pointer-events:none;
}
.boot .shell-footer {
 padding:10px var(--shell-gutter);
 background:#0e1b28;
 border-color:#628ca451;
 color:#aac1ce;
}
.shell-active :is(.header,#temple-menu){visibility:hidden}
.boot .shell-body {
 width:100%;
 min-height:0;
 max-height:none;
 margin:0;
 padding:clamp(25px,7vh,66px) var(--shell-gutter) 10px;
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(216px,29%);
 grid-template-rows:auto minmax(0,1fr);
 gap:clamp(13px,3vh,27px) clamp(18px,5vw,84px);
 flex:1;
 overflow:hidden;
}
.tool-banner{grid-column:1/-1;border-bottom:1px solid #73b6d742;padding-bottom:clamp(9px,1.8vh,19px)}
.tool-wordmark-stack {display:grid;grid-template-columns:minmax(0,1fr)}
#tool-wordmark,.boot .tool-wordmark-depth {
 grid-area:1/1;
 position:relative;
 width:max-content;
 margin:0;
 min-height:7.36em;
 white-space:pre;
 font:bold clamp(8px,min(2.45vw,4.1vh),34px)/.92 ui-monospace,SFMono-Regular,Consolas,monospace;
 font-variant-ligatures:none;
 letter-spacing:0;
}
.tool-wordmark-depth{
 opacity:.53;
 color:#72a5c6;
}
#tool-wordmark{
 color:#a8f0ff;
 background:linear-gradient(160deg,#f4fcff 0%,#a1ecfa 29%,#62bddd 53%,#85a6df 75%,#b3aaff 100%);
 background-clip:text;
 -webkit-text-fill-color:transparent;
 filter:drop-shadow(0 0 10px #51c8ee55);
}
.tool-signature {
 margin-top:12px;
 font:12px/1.4 ui-monospace,monospace;
 letter-spacing:.22em;
 color:#bed7e0;
}
.tool-stream {display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
.tool-command{font:bold 12px/1.45 ui-monospace,monospace;margin-bottom:9px;color:#def1f4}
.tool-command span{color:#91dcb2}
.boot #boot-code{flex:1;min-height:0;overflow:auto;scrollbar-width:none;font:12px/1.57 ui-monospace,monospace;color:#dce7ed}
.boot .shell-row{min-height:1.57em}
.boot .shell-row.dim{color:#abbecb}
.boot .tool-monitor {
 min-width:0;
 padding:10px 14px;
 border:1px solid #73b6d740;
 background:#0b1728ab;
 align-self:start;
 font:12px/1.45 ui-monospace,monospace;
 color:#bed5df;
}
.tool-monitor::before{content:"DEPENDENCY TREE";display:block;margin-bottom:8px;color:#a7def5;font-size:10px;letter-spacing:.13em}
.tool-module{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-top:1px solid #73b6d722}
.tool-module code{font:inherit;color:#637e91;white-space:nowrap}
.tool-module [data-state=ready]{color:#94e3a9}
.tool-module [data-state=active]{color:#f2d596}
.boot .boot-wait {
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:8px 12px;
 width:auto;
 margin:9px var(--shell-gutter) 51px;
 color:#f3d79b;
 font:14px/1.4 ui-monospace,monospace;
}
.tool-spinner{width:1em}
.tool-meter{font:12px/1.4 ui-monospace,monospace;color:#a3e9d3;white-space:pre}
.boot button{right:var(--shell-gutter);bottom:45px;background:#122638;border-color:#698798;color:#e1eff0}
.boot button:hover,.boot button:focus-visible{background:#24455c}
@media(max-width:700px){
 .boot .shell-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:9px}
 .boot-kali{background-position:75% 49%;background-size:90vw auto;opacity:.30}
 #tool-wordmark,.boot .tool-wordmark-depth{font-size:min(2.70vw,20px)}
 .tool-signature{font-size:9px;margin-top:8px}
 .boot .tool-monitor{grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px;padding:6px 8px;font-size:8px}
 .tool-monitor::before{grid-column:1/-1;margin-bottom:3px;font-size:8px}
 .tool-module{gap:3px;flex-wrap:wrap;padding:3px 0}
 .tool-command,.boot #boot-code{font-size:10px}
 .boot .boot-wait{margin-bottom:49px;font-size:12px}
 .tool-meter{font-size:10px}
}
@media(max-height:420px){
 .boot .tool-monitor{display:none}
 .boot .shell-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:7px;padding-top:7px}
 #tool-wordmark,.boot .tool-wordmark-depth{font-size:min(2.70vw,3.7vh)}
 .tool-signature{margin-top:5px}
 .boot .boot-wait{margin-bottom:42px}
}

:is(.entry-copy,.entry-guide).entry-console{
 width:min(550px,100%);max-width:100%;margin:0;
 padding:clamp(21px,2.4vw,34px);text-align:start;
}
.entry-guide.entry-console{position:relative;margin-block-start:18px}
.has-tunnel .entry-copy.entry-console{
 position:absolute;inset:auto auto clamp(48px,15svh,150px);
 inset-inline-start:6%;max-width:88%;
}
.has-tunnel .entry-guide.entry-console{
 position:absolute;inset:auto auto clamp(52px,20svh,185px);
 inset-inline-end:6%;max-width:88%;margin:0;
}
.entry-copy.entry-console #entry-title{
 margin:0 0 .48em;
 color:inherit;
 font:500 clamp(25px,3.35vw,43px)/1.12 ui-monospace,monospace;
 letter-spacing:-.035em;
 text-wrap:balance;
}
.entry-description{
 margin:0 0 15px;max-width:48ch;
 font:clamp(14px,1.18vw,17px)/1.53 system-ui,sans-serif;
 color:#dfeef5;
}
.entry-scroll-hint{
 display:flex;align-items:center;gap:9px;margin:0;padding-block-start:12px;
 border-block-start:1px solid #7fddff40;color:#b7ebff;
 font:500 12px/1.4 ui-monospace,monospace;
}
.entry-scroll-hint span[aria-hidden]{font-size:1.3em}
.entry-console-line{
 display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65em;
 margin:0;
 font:500 clamp(17px,1.65vw,24px)/1.48 ui-monospace,monospace;
 text-shadow:0 0 12px #8edcff50;
}
.entry-console-line>span:first-child{color:#96efff}
.entry-console-copy{display:grid;overflow-wrap:anywhere}
.entry-console-copy :is(.entry-console-reserve,[data-entry-ink]){grid-area:1/1}
.entry-console-reserve{visibility:hidden}
.entry-console-copy.is-typing [data-entry-ink]::after{
 content:'▌';color:#96efff;animation:entry-console-caret .8s steps(1,end) infinite;
}
@keyframes entry-console-caret{50%{opacity:0}}
@media(max-width:760px){
 .has-tunnel :is(.entry-copy,.entry-guide).entry-console{
  inset:auto auto clamp(22px,8svh,74px);inset-inline-start:7%;
  width:86%;padding:17px 16px;
 }
 .has-tunnel .entry-guide.entry-console{bottom:clamp(54px,18svh,140px)}
}
@media(max-height:510px){
 .has-tunnel :is(.entry-copy,.entry-guide).entry-console{bottom:18px;padding:14px}
 .entry-description{margin-bottom:10px}
}

/* Project selectors alter the chamber; the links below still open the actual work. */
.projects .section-heading.entry-console{
 width:min(520px,86%);max-width:none;padding:clamp(17px,2vw,25px);
}
.projects .section-heading.entry-console .eyebrow{color:#b7ebff;margin-block-end:12px}
.projects .section-heading.entry-console h2{
 margin:0 0 7px;color:inherit;font-size:clamp(27px,3.15vw,46px);
}
.projects .section-heading.entry-console [data-text="projectIntro"]{
 margin:0;color:#dfeef5;line-height:1.45;
}
.gallery-choices{
 display:flex;align-items:center;flex-wrap:wrap;gap:3px 16px;
 margin-block-start:12px;padding-block-start:5px;border-block-start:1px solid #7fddff40;
 pointer-events:auto;
}
.gallery-choices button{
 padding:8px 0;min-height:36px;border:0;color:#bceaff;background:none;
 font:12px/1.35 ui-monospace,monospace;text-decoration:underline;text-underline-offset:.22em;
 cursor:pointer;
}
.gallery-choices button:hover{color:#fff}
.gallery-choices button:focus-visible{outline:1px solid #b9f5ff;outline-offset:3px}
.has-tunnel .entry-copy{opacity:var(--entry-presence,1);transform:translateY(calc((1 - var(--entry-presence,1))*-18px));transition:opacity .12s linear,transform .12s linear}
.has-tunnel .entry-guide{opacity:var(--entry-guide-presence,0);transition:opacity .12s linear}
.has-tunnel .entry :is(.entry-copy,.entry-guide)[inert]{visibility:hidden}
.has-tunnel[data-motion=off] .entry :is(.entry-copy,.entry-guide){transition:none;transform:none}
.has-tunnel.entry-gone .entry .scene:before{opacity:0}
.header{transition:transform .35s ease,opacity .25s ease}.exploring:not(.menu-open) .header{transform:translateY(-105%);opacity:0;pointer-events:none}
#temple-menu{display:none;position:fixed;top:18px;right:20px;z-index:80;width:44px;height:44px;border:1px solid #c9a78855;background:#17121dcc;color:#eed8bd;cursor:pointer;backdrop-filter:blur(8px)}#temple-menu span{display:block;width:17px;height:1px;background:currentColor;margin:5px auto}.exploring #temple-menu{display:block}.menu-open #temple-menu{top:104px}.shell-active #temple-menu,.arrival-active #temple-menu,.screen-off #temple-menu,.crt-closing #temple-menu{display:none}#temple-menu:focus-visible{outline:2px solid #edbe8f;outline-offset:4px}
@media(max-width:760px){.menu-open #temple-menu{top:85px}.menu-open .header{height:auto;min-height:76px;flex-wrap:wrap}.menu-open .header nav{display:flex;flex-wrap:wrap}.menu-open .header nav a{display:inline!important}}
.hud{display:none!important}

@keyframes entry-idle{
 0%,16%,38%,62%,89%,100%{transform:none;filter:none}
 9%{transform:translateX(5px) skewX(-4deg)}
 12%{transform:translateX(-3px)}
 31%{filter:drop-shadow(3px 0 #d596ae)}
 55%{transform:translateY(-3px) scaleY(.94)}
 59%{transform:translateY(2px) scaleY(1.02)}
 83%{transform:translateX(-4px) skewX(4deg)}
 86%{transform:translateX(2px)}
}

.brand{position:relative;--symbol-cycle:5.4s}
.brand::before,.brand::after{
 content:'';
 position:absolute;
 inset:0;
 pointer-events:none;
 opacity:0;
 mask:url('../assets/arabic-name-united-alpha.png') center / contain no-repeat;
}
.brand::before{background:#a5e3e3}
.brand::after{background:#ee91b1}
html:not(.shell-active,.arrival-active,.entry-scrolled) .brand img{animation:brand-glitch var(--symbol-cycle) steps(1,end) infinite}
html:not(.shell-active,.arrival-active,.entry-scrolled) .brand::before{animation:brand-cyan var(--symbol-cycle) steps(1,end) infinite}
html:not(.shell-active,.arrival-active,.entry-scrolled) .brand::after{animation:brand-rose var(--symbol-cycle) steps(1,end) infinite}
@keyframes brand-glitch{
 0%,19%,44%,69%,94%,100%{transform:none;clip-path:none}
 12%{clip-path:polygon(0 0,100% 0,100% 39%,29% 39%,29% 60%,100% 60%,100% 100%,0 100%);transform:translateX(-3px)}
 16%{transform:translateX(3px) skewX(7deg)}
 37%{transform:translate(1px,-1px) scaleX(1.08)}
 61%{transform:translateY(2px) scaleY(.78)}
 65%{transform:translateY(-2px) scaleY(1.05)}
 87%{clip-path:inset(12% 0 17%);transform:translateX(-2px) skewX(-6deg)}
 91%{transform:translateX(2px)}
}
@keyframes brand-cyan{
 0%,19%,44%,69%,94%,100%{opacity:0}
 12%{opacity:.92;clip-path:inset(26% 0 53%);transform:translateX(5px)}
 16%{opacity:.8;clip-path:inset(48% 0 34%);transform:translateX(-5px)}
 37%{opacity:.61;clip-path:none;transform:translate(-4px,1px)}
 61%{opacity:.86;clip-path:inset(17% 0 64%);transform:translate(3px,-3px)}
 87%{opacity:.85;clip-path:inset(48% 0 38%);transform:translateX(6px)}
 91%{opacity:.6;clip-path:inset(64% 0 14%);transform:translateX(-4px)}
}
@keyframes brand-rose{
 0%,19%,45%,70%,94%,100%{opacity:0}
 13%{opacity:.8;clip-path:inset(54% 0 25%);transform:translateX(-5px)}
 37%{opacity:.64;clip-path:none;transform:translate(4px,-1px)}
 62%{opacity:.8;clip-path:inset(62% 0 14%);transform:translate(-4px,3px)}
 87%{opacity:.85;clip-path:inset(22% 0 55%);transform:translateX(-5px)}
}

/* Let the room and its inscription take over once the camera crosses the portal. */
.has-tunnel.inside-project-room .projects .section-heading,
.has-tunnel.inside-project-room .projects .exhibits{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .35s,visibility .35s;}

/* The three doorways remain spaced out when moving along the main corridor. */
.has-tunnel .chapter.projects{min-height:465svh}
@media(max-width:760px){.has-tunnel .chapter.projects{min-height:520svh}}
.header .brand{gap:0}

.room-controls{display:none}
.has-tunnel .room-controls:not([hidden]){
 position:absolute;z-index:5;inset:auto 5% 35px;display:flex;justify-content:center;gap:9px;flex-wrap:wrap;
}
.room-controls :is(button,a){
 padding:12px 15px;border:1px solid #c9a78988;background:#1c1623ed;color:#f0dfcb;
 font:11px/1.3 ui-monospace,monospace;cursor:pointer
}
.room-controls :is(button,a):hover,.room-controls :is(button,a):focus-visible{background:#4b3545}
.room-controls a{text-decoration:none}
.room-controls [hidden]{display:none}
.project-peek{display:none}
.has-tunnel .project-peek:not([hidden]){
 display:block;position:absolute;inset:auto max(6vw,20px) 35px auto;
 width:min(340px,88%);z-index:6;padding:16px 18px;
 color:#fae6d0;background:linear-gradient(145deg,#211720ed,#211720a0);
 border:1px solid #bb916b8a;box-shadow:0 8px 25px #0e070955;
}
.project-peek h3{margin:0;font:400 clamp(19px,2.25vw,27px)/1.15 Georgia,serif}
.project-peek p{margin:7px 0 12px;font:13px/1.45 system-ui,sans-serif}
.project-peek>div{display:flex;align-items:center;gap:8px 13px;flex-wrap:wrap}
.project-peek :is(button,a){padding:7px 9px;color:inherit;font:11px/1.35 system-ui,sans-serif}
.project-peek button{background:#634838;border:1px solid #a67f60}
.project-peek a{text-decoration:underline;text-underline-offset:3px}
.has-tunnel:has(.project-peek:not([hidden])) .projects :is(.section-heading,.exhibits){display:none}
.has-tunnel.near-bio-gateway .about-copy :is(h2,.eyebrow){opacity:0}
.portal-question{display:none}
.has-tunnel .bio-gateway-panel:has(.portal-question[hidden]){display:none}
.has-tunnel .bio-gateway-panel:has(.portal-question:not([hidden])){
 position:fixed;
 inset:auto auto max(9svh,72px) 6%;
 width:min(360px,44vw);
 padding:21px 23px 18px;
}
:is(.entry-console,.studio-copy,.has-tunnel .bio-gateway-panel:has(.portal-question:not([hidden])),.has-tunnel .contact .contact-entry){
 color:#ebfaff;
 background:linear-gradient(145deg,#0b263ee8,#102e4db9 73%,#194d6bb3);
 border:1px solid #7fddff8c;
 border-inline-start:3px solid #83eaff;
 box-shadow:0 0 26px #50c7ff22,inset 0 0 21px #73dbff26;
 backdrop-filter:blur(7px);
}
:is(.entry-console,.studio-copy,.has-tunnel .bio-gateway-panel:has(.portal-question:not([hidden])),.has-tunnel .contact .contact-entry)::before{
 content:'';
 position:absolute;
 inset-block-start:-1px;
 inset-inline-start:12px;
 width:52px;
 height:2px;
 background:#b9f1ff;
 box-shadow:0 0 10px #64d7ff;
}
.has-tunnel .portal-question:not([hidden]){
 display:block;
 min-block-size:2.76em;
 margin:0 0 14px;
 font:500 clamp(15px,1.55vw,20px)/1.38 ui-monospace,monospace;
 text-shadow:0 0 12px #8edcff50;
}
.has-tunnel .bio-gateway-panel .portal-question.typing [aria-hidden]::after{color:#96efff}
.has-tunnel .about .bio-gateway-panel:has(.portal-question:not([hidden])) .text-link,
.has-tunnel .contact .contact-entry :is(.primary,.pack-gallery-link:not([hidden])){
 pointer-events:auto;
 min-height:44px;
 margin:0;
 padding:8px 13px;
 color:#e7faff;
 background:#164e6caa;
 border:1px solid #80d9f68c;
 font:500 13px/1.2 ui-monospace,monospace;
}
.has-tunnel .about .bio-gateway-panel:has(.portal-question:not([hidden])) .text-link:is(:hover,:focus-visible),
.has-tunnel .contact .contact-entry :is(.primary,.pack-gallery-link):is(:hover,:focus-visible){
 background:#28698c;
 outline:1px solid #b9f5ff;
 outline-offset:3px;
}
@media(max-width:760px){
 .has-tunnel .bio-gateway-panel:has(.portal-question:not([hidden])){
  inset:auto 7% max(7svh,44px);
  margin-inline:auto;
  width:min(340px,86vw);
  padding:14px 16px;
 }
 .has-tunnel .portal-question:not([hidden]){margin-bottom:10px}
}

html.has-tunnel{scroll-padding-top:0}
.has-tunnel .contact .contact-entry{
 position:absolute;left:6%;bottom:155px;
 display:flex;flex-wrap:wrap;align-items:center;gap:9px;
 width:fit-content;max-width:min(490px,88vw);
 padding:16px;
}
.has-tunnel .contact .contact-entry :is(.primary,.pack-gallery-link:not([hidden])){
 position:static;display:inline-flex;align-items:center;text-decoration:none;transform:none;
}
.has-tunnel .contact .contact-entry .primary{background:#286485cc;border-color:#9bdff7a8}
.has-tunnel .contact .contact-entry .primary:is(:hover,:focus-visible){background:#28698c}
.contact-entry-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.contact-entry-packs button{
 min-height:78px;padding:9px;color:#f1ded0;background:#34232e;border:3px solid #120e19;
 outline:1px solid #9d795c88;font:16px/1.12 Georgia,serif;cursor:pointer
}
.contact-entry-packs button:hover,.contact-entry-packs button:focus-visible{background:#6a3e52;outline-color:#e6bd94}
@media(max-width:760px){
 .has-tunnel .contact .contact-entry{left:7%;bottom:124px;max-width:86%;padding:12px}
 .contact-entry-packs button{min-height:62px;font-size:14px}
}

@media(max-width:760px){
 .has-tunnel.looking-at-studio .studio .scene:before{background:linear-gradient(0deg,#100c16ee,transparent 30%,transparent 87%,#100c1655)}
 .has-tunnel.looking-at-studio .studio-copy{top:auto;bottom:18px}
 .has-tunnel.looking-at-studio .studio-copy>p,.has-tunnel.looking-at-studio .studio-copy>h2,.has-tunnel.looking-at-studio .studio-links small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .has-tunnel.looking-at-studio .studio-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin:0}
 .has-tunnel.looking-at-studio .studio-links a{display:block;padding:11px 0}
}

.studio-wall-controls :is(button,a),#maze-controls button,#behance-index button{pointer-events:auto;border:1px solid #bf9a7580;background:#211b21ed;color:#f3debf;padding:12px 16px;font:11px/1.35 ui-monospace,monospace}
.studio-wall-controls :is(button,a):hover,#maze-controls button:hover,#behance-index button:hover{background:#553e35}
.studio-wall-controls a{text-decoration:none}
.studio-wall-controls [hidden]{display:none}
.studio .studio-copy{
 position:relative;width:min(465px,100%);padding:clamp(17px,2.2vw,30px);
}
.has-tunnel .studio .studio-copy{
 position:absolute;width:min(465px,86%);max-width:none;bottom:auto;
}
.studio-copy .eyebrow{color:#b7ebff;margin:0 0 12px}
.has-tunnel .studio .studio-copy h2{
 margin:0;color:inherit;font-size:clamp(28px,3.55vw,50px);line-height:1.05;
}
.studio-copy h2 em{color:#a9e2f7}
.studio-copy > p[data-text="studioIntro"]{
 color:#dfeef5;margin:13px 0 0;line-height:1.52;
}
.studio-copy .studio-links{margin-top:16px}
.studio-copy .studio-links a{
 display:flex;justify-content:space-between;align-items:center;gap:12px;
 color:#e7faff;border-color:#7fddff42;padding-block:10px;
}
.studio-copy .studio-links a:is(:hover,:focus-visible){color:#a9e2f7}
.studio-copy :is(.studio-links a,.studio-services):focus-visible{outline:1px solid #b9f5ff;outline-offset:3px}
.studio-link-copy{display:grid;gap:3px}
.studio-copy .studio-links small{color:#c3dce9}
.studio-calligraphy-art{
 display:block;width:clamp(44px,4.6vw,70px);height:auto;flex:none;
 border:1px solid #caddeb66;
}
.studio-services{
 display:inline-flex;align-items:center;gap:12px;min-height:42px;
 margin-top:11px;padding:7px 13px;
 color:#e7faff;background:#164e6caa;border:1px solid #80d9f68c;
 font:500 12px/1.2 ui-monospace,monospace;text-decoration:none;
}
.studio-services::after{content:'';width:6px;height:6px;border-block-start:1px solid;border-inline-end:1px solid;transform:rotate(45deg)}
[dir=rtl] .studio-services::after{transform:rotate(-45deg)}
.studio-services:is(:hover,:focus-visible){background:#28698c;color:#f4fcff}
@media(max-width:760px){
 .has-tunnel .studio .studio-copy{top:clamp(18px,6svh,56px)}
}
@media(max-height:570px){
 .has-tunnel .studio .studio-copy{top:12px;padding:12px 15px}
 .has-tunnel .studio .studio-copy h2{font-size:25px;line-height:1.02}
 .studio-copy .eyebrow{margin-bottom:7px}
 .studio-copy > p[data-text="studioIntro"]{margin-top:7px}
 .studio-copy .studio-links{margin-top:8px}
 .studio-copy .studio-links a{padding-block:6px}
 .studio-calligraphy-art{width:39px}
 .studio-services{min-height:36px;margin-top:6px}
}
.has-tunnel.looking-at-studio .studio-copy{display:none}
.has-tunnel .studio-wall-controls{position:absolute;right:6%;bottom:25px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.studio-mobile-icons{display:none}
@media(max-width:760px){
 .has-tunnel.looking-at-studio .studio-mobile-icons{display:flex;position:absolute;inset:13px 7% auto auto;gap:4px}
 .studio-mobile-icons a{width:44px;height:44px;display:grid;place-items:center;background:#21171dbb;border:1px solid #c7a47a55}
 .studio-mobile-icons canvas{width:29px;height:29px}
}
#maze-controls{position:fixed;z-index:24;bottom:20px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);background:#17131ce8;padding:10px 12px;border:1px solid #bf9a7544}
#maze-controls p{margin:0 0 8px;text-align:center;color:#eee0c8;font:12px/1.4 ui-monospace,monospace}
#maze-controls div{display:flex;justify-content:center;flex-wrap:wrap;gap:6px}
#maze-controls button{padding:9px 11px;min-height:40px}
.in-maze{overflow:hidden;overscroll-behavior:none}
.in-maze main,.in-maze #temple-menu,.in-maze #temple-header{visibility:hidden;pointer-events:none}
#behance-index{position:fixed;inset:0;margin:auto;width:min(540px,calc(100% - 32px));max-height:82vh;overflow:auto;padding:24px;background:#211921;color:#f1dfcd;border:1px solid #ae88696b}
#behance-index::backdrop{background:#100c17b5}
#behance-index header{display:flex;justify-content:space-between;align-items:center;gap:10px}
#behance-index h2{font:clamp(24px,5vw,38px)/1.05 Georgia,serif;margin:0}
#behance-index ul{list-style:none;margin:18px 0 0;padding:0}
#behance-index a{display:block;border-top:1px solid #bf9a7544;padding:11px 0;color:#f1dfcd;font-size:14px}
#behance-index a:hover{text-decoration:underline}
#behance-index h3{margin:22px 0 10px;font:500 13px/1.35 ui-monospace,monospace}
#behance-index h3 a{display:inline;border:0;padding:0;font:inherit}
#behance-index ul[data-instagram-list]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
#behance-index [data-instagram-list] a{padding:0;border:1px solid #bf9a7544;background:#161218}
#behance-index [data-instagram-list] img{width:100%;height:auto;aspect-ratio:1;display:block;object-fit:contain}
@media(max-width:760px){
 .has-tunnel .studio-wall-controls{bottom:9px;right:7%;left:7%}.studio-wall-controls :is(button,a){padding:8px 9px}
 .has-tunnel.looking-at-studio .studio-copy{bottom:47px}
}
.has-tunnel.in-maze .chapter .scene{visibility:hidden;opacity:0}
.has-tunnel.in-maze .chapter .scene button,.has-tunnel.in-maze .chapter .scene a{pointer-events:none}

.descent-question {
 position: fixed;
 z-index: 14;
 inset: auto 6% max(5svh, 28px);
 width: min(680px, 88%);
 margin-inline: auto;
 padding: 8px 10px;
 color: #f2e7d4;
 text-align:center;
 text-shadow:0 2px 6px #07060a,0 0 18px #100b10;
 pointer-events: none;
}
.descent-question[hidden] { display: none; }
.descent-question p[aria-hidden] {
 min-height: 1.5em;
 margin: 0;
 font: 500 clamp(17px, 2.5vw, 25px)/1.5 ui-monospace, monospace;
 opacity:calc(1 - var(--word-distortion,0)*.35);
 transform:translate(calc(var(--word-tear,0)*14px),calc(var(--word-distortion,0)*-9svh))
  scale(calc(1 + var(--word-distortion,0)*.24),calc(1 - var(--word-distortion,0)*.30))
  skewX(calc(var(--word-tear,0)*18deg));
 text-shadow:0 2px 8px #08060c,calc(var(--word-tear,0)*12px) 0 #78bdbf,
  calc(var(--word-tear,0)*-10px) 0 #b66b83;
}
.descent-question.typing p[aria-hidden]::after,.portal-question.typing [aria-hidden]::after{
 content:'▍';margin-inline-start:.16em;color:#c3dfcd;
}

.temple-sound {
 position: fixed;
 z-index: 81;
 top: 105px;
 right: 20px;
 display: grid;
 place-items: center;
 width: 44px;
 height: 44px;
 border: 1px solid #c9a78855;
 background: #17121dcc;
 color: #eed8bd;
 cursor: pointer;
}
.temple-sound svg { width: 22px; height: 22px; }
.temple-sound:hover { background: #483540; }
.temple-sound:focus-visible { outline: 2px solid #edbe8f; outline-offset: 3px; }
.temple-sound .sound-wave,
.temple-sound[data-sounding="true"] .sound-cross { display: none; }
.temple-sound[data-sounding="true"] .sound-wave { display: inline; }
.exploring:not(.menu-open) .temple-sound { top: 18px; right: 74px; }
.shell-active .temple-sound,.arrival-active .temple-sound { visibility: hidden; }
@media(max-width:760px) {
 .temple-sound { top: 84px; }
}

#contact { position: relative; }
.has-tunnel #contact { min-height: 520svh; }
.final-gallery-anchor { position: absolute; inset-inline-start: 0; }
.final-gallery-controls {
 padding: 20px max(6vw, 22px) 46px;
}
.has-tunnel .final-gallery-controls {
 position: fixed;
 z-index: 17;
 inset: auto 6% 25px;
 display: none;
 padding: 0;
 pointer-events: none;
}
.has-tunnel.viewing-final-gallery .final-gallery-controls { display: block; }
.has-tunnel.viewing-final-gallery .contact .scene { visibility: hidden; opacity: 0; }
.final-gallery-controls h2 {
 margin: 0 0 9px;
 font: 400 clamp(20px, 3.4vw, 34px)/1.1 Georgia, serif;
 color: #fff1dc;
 text-shadow: 0 2px 10px #281917;
}
.final-gallery-buttons:not([hidden]) { display: flex; gap: 6px; flex-wrap: wrap; }
.final-gallery-buttons button {
 pointer-events: auto;
 display: inline-block;
 padding: 8px 11px;
 border: 1px solid #d3af8680;
 background: #261c22de;
 color: #fff1df;
 font: 11px/1.4 ui-monospace,monospace;
}
.final-gallery-buttons button[aria-current],
.final-gallery-buttons button:hover,
.final-gallery-buttons button:focus-visible { background: #664838; }
.final-gallery-buttons button[hidden] { display:none; }
.pack-preview{
 position:absolute;inset:auto auto calc(100% + 12px) 0;
 width:min(410px,100%);padding:16px 19px;border:1px solid #d3af8680;
 background:#211822f5;color:#f3e0ce;box-shadow:0 14px 30px #100a14aa;
 font:13px/1.47 system-ui,sans-serif;
}
.pack-preview h3{font:400 23px/1.14 Georgia,serif;margin:0 0 8px;color:#fff0d9}
.pack-preview p{margin:0 0 8px}
.pack-preview ul{margin:0;padding-inline-start:1.25em}
.pack-preview li+li{margin-top:4px}
[dir=rtl] .pack-preview{left:auto;right:0}
.pack-preview{
 border-color:#d7bda0;background:#f6eee1;color:#352c32;
}
.pack-preview h3{color:#352430}
.has-tunnel.in-audit-passage .final-gallery-buttons,
.has-tunnel.in-audit-passage #final-gallery-title{display:none}
.audit-service{
 position:relative;inset:auto;width:min(395px,100%);pointer-events:auto;
 margin-bottom:10px;max-height:calc(100svh - 130px);overflow:auto;
}
.audit-service h3:focus{outline:none}
.audit-service-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 15px;margin-top:15px}
.audit-service-actions button,.audit-exit{min-height:40px;padding:8px 13px;border:1px solid #bdad94;font:12px/1.35 system-ui,sans-serif}
.audit-service-actions button{color:#f4e9d8;background:#334640;border-color:#334640;cursor:pointer}
.audit-service-actions a{text-decoration:underline;text-underline-offset:3px}
.audit-navigation:not([hidden]){display:flex;flex-wrap:wrap;gap:8px}
.audit-exit{pointer-events:auto;color:#f4e9d8;background:#242025;cursor:pointer}
@media(max-width:760px) {
 .has-tunnel #contact { min-height: 480svh; }
 .has-tunnel .final-gallery-controls { bottom: 17px; }
 .final-gallery-buttons button { padding: 7px 8px; }
}

.pack-gallery-link {
 display: inline-block;
 padding: 9px 11px;
 border: 1px solid #d3af8680;
 font: 12px/1.4 ui-monospace,monospace;
}
.pack-gallery-link:hover { background: #664838; }
.pack-gallery-link[hidden] { display: none; }
.has-tunnel .contact .contact-entry:has(.pack-gallery-link:not([hidden])) .contact-entry-packs { display: none; }
html:not(.has-tunnel) .final-gallery-controls { display: none; }
#pack-room {
 --wall: #faf5ee;
 --ink: #31242c;
 --accent: #63364e;
 position: fixed;
 inset: 0;
 margin: 0;
 padding: 0;
 width: 100%;
 height: 100%;
 max-width: none;
 max-height: none;
 overflow: hidden;
 border: 0;
 background: var(--wall);
 color: var(--ink);
 color-scheme: light;
}
#pack-room[data-pack="portfolio-shop"] { --wall: #fbeaf1; --ink: #3d2534; --accent: #823859; }
#pack-room[data-pack="website"] { --wall: #eeeafa; --ink: #292336; --accent: #574080; }
#pack-room::backdrop { background: #161018; }
.pack-room-interior {
 position: relative;
 height: 100%;
 overflow: auto;
 overscroll-behavior: contain;
 background: radial-gradient(ellipse at 55% 26%, #ffffffdb, transparent 76%), var(--wall);
}
.pack-room-interior::before {
 content: '';
 position: fixed;
 inset: 0;
 background: #2c1b3410;
 clip-path: polygon(0 0, 16% 17%, 16% 75%, 84% 75%, 84% 17%, 100% 0, 100% 100%, 0 100%);
 pointer-events: none;
}
.pack-room-bar {
 position: sticky;
 top: 0;
 z-index: 1;
 display: flex;
 justify-content: flex-end;
 padding: 16px 6%;
 background: var(--wall);
 border-bottom: 1px solid #57408020;
}
.pack-room-bar button,[data-request-pack] {
 min-height: 44px;
 padding: 10px 17px;
 border: 1px solid var(--accent);
 cursor: pointer;
 font: 13px/1.3 system-ui,sans-serif;
}
.pack-room-bar button { color: var(--accent); background: transparent; }
[data-request-pack] { background: var(--accent); color: #fff; }
.pack-room-layout {
 position: relative;
 display: grid;
 grid-template-columns: 1fr 1fr;
 align-items: center;
 gap: clamp(28px, 6vw, 92px);
 max-width: 1240px;
 margin-inline: auto;
 padding: clamp(36px, 10vh, 120px) 6% 60px;
}
.pack-room-content{
 padding:clamp(22px,4vw,46px);
 background:#fffaf2;
 border:1px solid #876c7833;
 box-shadow:0 14px 44px #2e191713;
}
.pack-room-content h2 {
 margin: 0 0 18px;
 font: 400 clamp(2.2rem, 4.5vw, 4.3rem)/1.02 Baskerville, Georgia, serif;
 letter-spacing: -.035em;
}
.pack-room-summary, .pack-room-features {
 font: 1.07rem/1.65 system-ui,sans-serif;
}
.pack-room-features { padding-inline-start: 1.2em; margin: 23px 0; padding-block-start:18px; border-top:1px solid #876c7833; }
.pack-room-features li+li{margin-top:.35em}
.pack-room-scope{color:var(--accent);font:italic 1.12rem/1.2 Georgia,serif;margin:0 0 14px}
.pack-room-example { margin: 0; }
.pack-room-example img {
 display: block;
 width: 100%;
 height: auto;
 max-height: 47vh;
 object-fit: contain;
 padding: 12px;
 background: #fffbf8;
 border: 1px solid #57408025;
 box-shadow: 0 14px 29px #3b2c3d25;
}
.pack-room-example figcaption { margin-top: 11px; font: 13px/1.4 system-ui,sans-serif; }
.pack-room-example a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pack-room-travel {
 position: absolute;
 z-index: 3;
 inset: 0;
 display: grid;
 place-items: center;
 background: radial-gradient(ellipse, #302031, #0e0c11 66%);
 pointer-events: none;
 animation: bio-crossing .85s both;
}
.pack-room-travel[hidden] { display: none; }
.pack-room-travel img {
 width: min(32vmin, 240px);
 height: auto;
 filter: brightness(0) invert(1);
 animation: bio-mark-arrive .85s both;
}
#pack-room.is-crossing .pack-room-interior { animation: bio-room-arrive .85s both; }
@media(max-width:760px) {
 .pack-room-layout { grid-template-columns: 1fr; padding-top: 35px; }
 .pack-room-summary,.pack-room-features { font-size: 1rem; }
}
