:root{font-family:Arial,Helvetica,sans-serif;color:#fff9f5;background:var(--page-background,#cf001b);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #fff;outline-offset:6px}.hero{height:100svh;min-height:580px;position:relative;isolation:isolate;overflow:hidden}canvas,.grain,.shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.grain{opacity:.12;z-index:1;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}.shade{background:linear-gradient(90deg,#31000830,transparent 50%),linear-gradient(0deg,#16000780,transparent 25%);z-index:1}header{position:absolute;z-index:3;left:3.5%;right:3.5%;top:4.5%;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:14px;font-size:clamp(24px,2.3vw,38px);font-weight:700;letter-spacing:-1.3px}.brand img{filter:brightness(0) invert(1)}nav{display:flex;gap:36px}nav button{border:0;background:none;padding:8px 0;font-size:20px}nav button:hover{text-decoration:underline;text-underline-offset:8px}.copy{position:absolute;z-index:2;left:6.3%;top:50%;transform:translateY(-39%)}h1{font-size:clamp(58px,5.8vw,110px);letter-spacing:-.065em;line-height:.89;font-weight:700;margin:0 0 35px}.copy p{font-size:clamp(16px,1.35vw,23px);line-height:1.3;margin:0 0 40px}.cta{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-height:49px;min-width:190px;padding:12px 22px;border:1px solid #fff9f5b0;background:transparent;font-size:17px;font-weight:600}.cta:hover{background:#fff9f5;color:#9c0014}.cta:disabled{opacity:.5;cursor:not-allowed;background:none;color:inherit}.disciplines{position:absolute;z-index:2;right:6%;top:40%;list-style:none;padding:0;margin:0;color:#ffc1c8;font-size:20px;line-height:1.65}footer{position:absolute;z-index:3;bottom:5%;left:3.5%;right:3.5%;display:flex;align-items:center;justify-content:space-between;font:11px monospace;letter-spacing:1px}.credit{display:flex;align-items:center;gap:20px}.credit i{display:block;width:10px;height:10px;background:#fff}#switch{border:0;background:none;font:12px monospace;padding:12px;letter-spacing:.5px}#switch span{font-size:20px;margin-right:8px}dialog{position:fixed;background:#110e12;color:#fff9f5;border:1px solid #ffffff40;padding:52px;width:min(620px,calc(100% - 32px));max-height:85svh;box-shadow:0 30px 150px #0008}dialog::backdrop{background:#1b0009aa;backdrop-filter:blur(12px)}.close{position:absolute;right:18px;top:12px;background:none;border:0;font-size:32px;width:44px;height:44px}.eyebrow{font:11px monospace;letter-spacing:1px;color:#ff7889}h2{font-size:40px;line-height:1;letter-spacing:-2px;margin:22px 0 30px}dialog p{font-size:17px;line-height:1.6;color:#d3cbd0}.project{border-top:1px solid #ffffff30;padding:14px 0}.project h3{font-size:22px;margin:0}.project p{margin:8px 0 12px}dialog .cta{margin-top:20px}form label{display:block;font-size:14px;margin-top:18px}input,textarea{display:block;width:100%;margin-top:8px;background:#ffffff09;color:#fff;border:1px solid #ffffff55;padding:12px;border-radius:0}textarea{resize:vertical}@media(max-width:800px){header{top:28px;left:6%;right:6%}.brand{font-size:26px;gap:9px}.brand img{width:22px;height:22px}nav{gap:20px}nav button{font-size:16px}.copy{left:7%;top:48%;transform:translateY(-15%)}h1{font-size:clamp(52px,9vw,72px);margin-bottom:25px}.copy p{font-size:16px;max-width:320px;margin-bottom:25px}.disciplines{display:none}footer{left:6%;right:6%;bottom:24px}.credit{font-size:9px;gap:10px}#hint{display:none}#switch{font-size:10px;padding:10px 0}.hero{min-height:650px}dialog{padding:45px 25px}}@media(max-width:480px){header{align-items:flex-start;gap:18px;flex-direction:column}nav{gap:28px}.copy{top:43%;transform:none}h1{font-size:55px}.copy p{font-size:15px}.credit{font-size:8px}#switch{font-size:9px}h2{font-size:34px}}@media(max-height:650px) and (min-width:801px){h1{font-size:64px}.copy{transform:translateY(-42%)}.copy p{margin-bottom:22px}.hero{min-height:540px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
@media(max-width:800px){.hero{min-height:0}}@media(max-height:700px) and (max-width:800px){header{top:20px;gap:10px}.copy{top:35%;transform:none}h1{font-size:46px;margin-bottom:18px}.copy p{font-size:14px;margin-bottom:18px}.cta{min-height:43px;font-size:15px}footer{bottom:12px}.credit{max-width:125px;line-height:1.6}}

.about-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:30px}.about-actions .cta{margin-top:0}.social-links{display:flex;align-items:center;gap:4px;margin-left:auto;color:#fff}.social-links a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:4px}.social-links svg{width:23px;height:23px;fill:currentColor}.social-links a:hover{background:#ffffff18}.social-links a:focus-visible{outline-offset:2px}@media(max-width:480px){.about-actions{gap:12px}.about-actions .cta{min-width:0;padding:12px;font-size:14px}.social-links{gap:0}.social-links a{width:34px;height:44px}.social-links svg{width:21px;height:21px}}

.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#form-status{font-size:14px;line-height:1.5;margin-bottom:0}#form-status:empty{display:none}

.menu-toggle{display:none}
@media(max-width:800px){
 .hero{height:100svh;height:100dvh;min-height:0}
 header{top:max(14px,env(safe-area-inset-top));left:7%;right:7%;flex-direction:row;align-items:center;gap:12px;z-index:5}
 .brand{font-size:clamp(25px,7vw,34px);letter-spacing:-1.1px;gap:9px;white-space:nowrap}
 .brand img{width:22px;height:22px}
 .menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;width:44px;height:44px;padding:8px;background:none;border:0;flex-shrink:0}
 .menu-toggle span{display:block;height:2px;width:28px;background:currentColor;transition:transform .18s,opacity .18s}
 .menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(8px) rotate(45deg)}
 .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
 .menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-8px) rotate(-45deg)}
 header nav{display:none;position:absolute;top:58px;left:0;right:0;padding:18px 22px;background:#110e12;border:1px solid #ffffff40;box-shadow:0 15px 35px #0003}
 header nav.is-open{display:flex;flex-direction:column;gap:8px}
 header nav button{text-align:left;font-size:24px;min-height:44px;padding:8px 0}
 .copy{left:7%;right:7%;top:calc(env(safe-area-inset-top,0px) + clamp(78px,10.5svh,110px));transform:none}
 h1{font-size:clamp(36px,min(15.8vw,7svh),72px);line-height:.94;letter-spacing:-.065em;margin:0 0 clamp(12px,2svh,20px)}
 .copy p{font-size:clamp(14px,min(4.2vw,2.1svh),20px);line-height:1.4;max-width:370px;margin:0}
 .copy p br{display:none}
 .disciplines{display:none}
 footer{left:7%;right:7%;bottom:max(8px,env(safe-area-inset-bottom));flex-direction:column;align-items:center;gap:0}
 .credit{font-size:10px;letter-spacing:1px;max-width:none;gap:14px;line-height:1.5}
 #switch{align-self:center;font-size:11px;padding:12px;min-height:44px}
 #hint{display:none}
}
@media(prefers-reduced-motion:reduce){.menu-toggle span{transition:none}}

/* Blend the artwork into the colour Safari samples for its surrounding controls. */
@media(max-width:800px){
 html,body,.hero{background-color:var(--page-background,#cf001b)}
 .hero>canvas,.hero>.grain{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 16px,#000 calc(100% - 16px),transparent);mask-image:linear-gradient(to bottom,transparent,#000 16px,#000 calc(100% - 16px),transparent)}
 .hero>.shade{background:radial-gradient(ellipse at center,#31000818,transparent 72%)}
}

#work{width:min(660px,calc(100% - 32px))}
#work h2{margin-bottom:24px}
.work-list{list-style:none;margin:0;padding:0}
.work-list>li{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px;border-top:1px solid #ffffff26;font-size:22px;font-weight:600;letter-spacing:-.5px}
.work-logo{display:flex;align-items:center;justify-content:center;flex:0 0 112px;height:60px;overflow:hidden}
.work-logo img{display:block;width:100%;height:100%;object-fit:contain}
.logo-thoth img{width:48px;height:52px}
.logo-mavi img{filter:brightness(0) invert(1)}
.logo-riot{width:58px;flex-basis:58px;margin-right:27px;border-radius:4px}
.logo-riot img{object-fit:cover}
.logo-relic{width:76px;flex-basis:76px;margin-right:18px;height:52px;background:#fff;border-radius:3px}
.logo-relic img{width:180px;height:180px;max-width:none;flex-shrink:0}
.website-work{border-top:1px solid #ffffff26;border-bottom:1px solid #ffffff26}
.website-work summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px;cursor:pointer;font-size:22px;font-weight:600;letter-spacing:-.5px;list-style:none}
.website-work summary::-webkit-details-marker{display:none}
.website-work summary:focus-visible{outline:2px solid #fff;outline-offset:4px}
.work-chevron{font-size:28px;font-weight:400;color:#ff7889;transition:transform .18s}
.website-work[open] .work-chevron{transform:rotate(45deg)}
.website-work ul{list-style:none;margin:0;padding:0 0 20px 18px;border-left:1px solid #ff788970}
.website-work li{-webkit-text-size-adjust:100%;text-size-adjust:100%;padding:9px 0;font-family:"Courier New",Courier,monospace;font-size:16px;font-weight:700;letter-spacing:-.35px;line-height:1.4;color:#ff7889}
@media(max-width:480px){.work-list>li,.website-work summary{font-size:18px;gap:12px}.work-list>li{min-height:76px}.work-logo{flex-basis:88px;height:52px}.logo-riot{flex-basis:50px;margin-right:19px}.logo-relic{flex-basis:68px;margin-right:10px}.website-work li{font-size:15px}}
@media(prefers-reduced-motion:reduce){.work-chevron{transition:none}}

/* Common alignment box, with optical sizing for symbols and wordmarks. */
.work-logo{flex:0 0 112px;width:112px;height:56px;margin:0;background:transparent;border-radius:0;overflow:visible}
.work-logo img{width:100%;height:100%;max-width:100%;object-fit:contain;flex-shrink:1}
.logo-thoth img{width:60px;height:56px}
.logo-riot img{width:58px;height:54px}
.logo-relic img{width:76px;height:54px}
@media(max-width:480px){.work-logo{flex-basis:100px;width:100px;height:54px}.logo-thoth img{width:58px;height:54px}.logo-riot img{width:56px;height:52px}.logo-relic img{width:74px;height:52px}}
/* Preserve the supplied marks; suppress their flat backplates in the panel. */
.logo-riot img{filter:grayscale(1) contrast(4) invert(1);mix-blend-mode:screen;width:84px;height:80px;max-width:none}
.logo-relic{overflow:hidden}
.logo-relic img{filter:grayscale(1) invert(1);mix-blend-mode:screen;width:250px;height:250px;max-width:none;flex-shrink:0}
.logo-network img{filter:contrast(3);mix-blend-mode:screen}
.logo-mavi img{width:112px;max-width:100%}
.logo-network img{clip-path:inset(8% 0 34% 0);transform:scale(1.08)}

.thoth-accent{color:inherit}
