:root{color-scheme:dark;--base:#0b1018;--deep:#111927;--panel:#151e2e;--ink:#f0f1ec;--muted:#acb9cb;--line:#2c3a50;--blue:#a9d5f3;--warm:#efae8b;--edge:max(5vw,calc((100vw - 1248px)/2))}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:16px}body{margin:0;background:var(--base);color:var(--ink);font:400 16px/1.55 "Sukhumvit Set",Thonburi,system-ui,sans-serif}p,h1,h2,h3{margin:0}a{color:inherit;text-underline-offset:.24em}button,input,select{font:inherit;color:inherit}button{cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,video:focus-visible{outline:3px solid #f4bc88;outline-offset:3px}
.skip{position:fixed;top:-100px;left:10px;background:var(--base);z-index:5}.skip:focus{top:8px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:17px;padding:18px var(--edge);border-bottom:1px solid #253448;background:#0c121d}
.wordmark{display:flex;align-items:center;gap:7px;text-decoration:none;font:800 14px/1.3 Arial;letter-spacing:.1em;white-space:nowrap}.wordmark span{color:var(--muted);font-weight:600}.wordmark i{height:17px;width:6px;border-radius:4px;background:#e4a185;transform:rotate(-14deg);box-shadow:-6px 3px #7e9ab4,6px 3px #b9dbee;margin:0 12px 0 6px}
nav{display:flex;gap:16px;align-items:center}nav a,nav button{font-size:14px;font-weight:700;text-decoration:none}nav button{border:0;background:none;padding:4px 0;color:var(--blue)}
.hero{position:relative;isolation:isolate;display:grid;place-items:center;min-height:clamp(600px,78svh,775px);padding:95px 15px;text-align:center;overflow:hidden;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 50% 40%,#263e59 0,#111e31 44%,#0b1222 79%),#101929}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#bcd8f315 1px,transparent 1px),linear-gradient(90deg,#bcd8f315 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(28deg,#000a,transparent 62%);}
.hero::after{content:"";position:absolute;inset:auto 0 0;height:50%;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 0% 100%,#aa62452c,transparent 56%),radial-gradient(ellipse at 100% 100%,#5d98c43b,transparent 56%)}
.hero-content{z-index:1;position:relative}.eyebrow{font:700 12px/1.3 Arial,sans-serif;letter-spacing:.18em;color:var(--warm)}.eyebrow i{display:inline-block;height:7px;width:7px;margin-right:5px;background:var(--warm);border-radius:50%;box-shadow:0 0 16px #efae8b9e}
h1{font:800 clamp(86.4px,13.2vw,204px)/.95 Arial,Helvetica,sans-serif;letter-spacing:-.092em;margin:16px 0 17px}h1 em,.draft-title-stage .draft-typed em{position:relative;display:inline-block;line-height:inherit;font-style:normal;color:#afd3ef}h1 em::after,.draft-title-stage .draft-typed em::after{content:"";position:absolute;bottom:.04em;left:7%;width:88%;height:.024em;background:#e9a787;border-radius:85% 15%;transform:rotate(-1.4deg);z-index:-1}
.name{font-weight:750;color:#e4e8ed;font-size:clamp(20px,2.55vw,34px);letter-spacing:-.032em}.intro{margin-top:16px;color:#b9c8d9;font-size:clamp(15px,1.55vw,20px)}.hero-actions{display:flex;gap:13px;justify-content:center;margin-top:25px}
.primary,.ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 17px;border-radius:99px;font-weight:700;text-decoration:none;border:1px solid transparent}.primary{background:#b9daec;color:#112135}.primary:hover{background:#f3c3a2}.ghost{background:#142035aa;color:#e2edf7;border-color:#54708c}.ghost:hover{background:#2e4765}
.hero-edge{position:absolute;bottom:15px;inset-inline:var(--edge);display:flex;justify-content:space-between;color:#afc3db;opacity:.74;font:600 11px ui-monospace,monospace;letter-spacing:.16em}
.prop{position:absolute;pointer-events:none;width:var(--w);translate:var(--pointer-x,0px) var(--pointer-y,0px);rotate:var(--pointer-r,0deg)}
.prop img{display:block;width:100%;height:auto;filter:saturate(.75) brightness(.91) drop-shadow(0 16px 21px #0008);animation:bob var(--cycle,6s) ease-in-out var(--phase,-.7s) infinite}
.cam{--w:clamp(150px,23vw,330px);--turn:-10deg;--cycle:7s;left:-.9%;top:7%}.slate{--w:clamp(120px,17vw,235px);--turn:6deg;--phase:-2s;right:4%;top:5%}.phones{--w:clamp(75px,11vw,155px);--turn:-7deg;--phase:-2.5s;left:17%;bottom:4%}.pad{--w:clamp(90px,14vw,203px);--turn:9deg;--cycle:7.2s;right:11%;bottom:3%}.iphone{--w:clamp(67px,10vw,155px);--turn:-4deg;--phase:-3s;left:3.8%;bottom:10%}.mic{--w:clamp(63px,9vw,134px);--turn:5deg;--phase:-4s;right:2%;bottom:32%}.idea{--w:clamp(44px,5.6vw,78px);--turn:-5deg;--cycle:5.5s;left:29%;top:10%}
@keyframes bob{0%,100%{transform:translateY(0) rotate(var(--turn))}35%{transform:translate(3px,-12px) rotate(calc(var(--turn) + 5deg))}70%{transform:translate(-3px,-5px) rotate(calc(var(--turn) - 4deg))}}
.work{padding:clamp(46px,6vw,94px) var(--edge);background:radial-gradient(ellipse at 10% 0%,#162337,transparent 42%),#0b1018}
.work-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:18px}.work h2{font-size:clamp(34px,5vw,65px);line-height:1.1;letter-spacing:-.055em;margin:8px 0}.work-head p:not(.eyebrow){color:var(--muted)}.totals{padding:7px 11px;border:1px solid var(--line);border-radius:99px;white-space:nowrap;font-size:13px}
.quick{display:flex;flex-wrap:wrap;gap:8px;margin:23px 0 15px}.quick button{background:#141f2e;border:1px solid #364a62;border-radius:50px;font-size:13px;padding:7px 12px;font-weight:700}.quick button[aria-pressed=true]{color:#142237;background:#b9daec;border-color:#b9daec}
.tools{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:330px;margin-bottom:14px}.tools label{display:grid;gap:5px;color:var(--muted);font-size:13px}.tools input,.tools select{min-width:0;width:100%;height:43px;padding:6px 11px;border:1px solid #394c64;border-radius:10px;background:#111b29;color:var(--ink);font-size:15px}
.results{color:var(--muted);font-size:13px;margin-block:13px}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.card{padding:0;display:flex;flex-direction:column;text-align:left;overflow:hidden;border:1px solid #2f4057;border-radius:16px;background:var(--panel);color:var(--ink);min-width:0}
.card:hover{border-color:#8ab8dd;background:#1b2a40}.art{position:relative;aspect-ratio:16/10;width:100%;overflow:hidden;background:radial-gradient(ellipse at 40% 10%,#365369,#13233b 67%)}.art img{display:block;width:100%;height:100%;object-fit:contain}.art.wide img{object-fit:cover}.art .overlay{position:absolute;bottom:7px;right:8px;border-radius:8px;padding:3px 6px;color:#fff;background:#070c16d5;font:600 12px ui-monospace,monospace}
.card-copy{padding:12px 14px 14px}.label{display:block;color:var(--blue);font-size:12px;font-weight:700}.card h3{font-size:19px;line-height:1.25;overflow-wrap:anywhere;margin:3px 0}.card small{color:var(--muted)}
.blank{grid-column:1/-1;padding:32px;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}
.more{margin:23px 0 0}.more[hidden]{display:none}
footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:20px var(--edge);color:var(--muted);font-size:13px}
#player{width:min(92vw,1060px);max-width:92vw;max-height:94dvh;overflow:auto;background:#101a2a;color:var(--ink);border:1px solid #59718f;border-radius:20px;padding:15px}#player[open]{display:grid;gap:13px}#player::backdrop{background:#05080ddc}body:has(#player[open]){overflow:hidden}
.player-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.player-head h2{line-height:1.2;font-size:clamp(19px,3vw,33px);margin-top:5px}.close{white-space:nowrap;padding:6px 12px}.player-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:14px;color:var(--muted)}#file-link{color:var(--blue)}
#clip{display:block;margin:auto;width:min(100%,970px);max-height:70dvh;background:#080d16;border-radius:12px}#player.vertical{width:min(520px,92vw)}#player.vertical #clip{width:auto;max-width:100%;height:min(66dvh,690px);aspect-ratio:9/16}
@media(max-width:960px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.cam{left:-4%}}
@media(max-width:640px){.topbar{padding:14px 15px}.wordmark{font-size:11px}nav{gap:12px}nav a,nav button{font-size:12px}.hero{min-height:565px;padding:100px 12px}.hero h1{font-size:clamp(38px,14vw,90px);letter-spacing:-.08em}.cam{--w:110px;top:3%;left:0}.slate{--w:93px;top:3%;right:4%}.phones{--w:76px;left:8%;bottom:5%}.pad{--w:92px;right:6%;bottom:5%}.iphone{--w:58px;left:1%;bottom:20%}.mic{--w:58px;right:1%;bottom:21%}.idea{--w:41px;left:44%;top:8%}.hero-edge{bottom:10px}.work-head{align-items:flex-start;flex-direction:column;gap:10px}.tools{grid-template-columns:1fr}.gallery{gap:9px}.card-copy{padding:8px}.card h3{font-size:15px}.label{font-size:11px}footer{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.prop{translate:none;rotate:none}.prop img{animation:none}}

.clients {
  padding: 26px var(--edge) 32px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, #1a3046, #101a2a 75%);
}
.clients h2 {
  margin-bottom: 14px;
  font-size: clamp(19px, 2.7vw, 29px);
}
.client-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 10px;
}
.client-highlight,
.client-all {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 105px;
  padding: 10px 7px;
  border: 1px solid #47637e;
  border-radius: 12px;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
}
.client-highlight {
  --client-accent: #a9d5f3;
  color: #e7eef7;
  background: #162437;
  font-size: .8rem;
  font-weight: 700;
  transition: box-shadow .23s ease, border-color .23s ease, background .23s ease, transform .23s ease;
}
.client-highlight[data-client="brands"] { --client-accent: #79daaa; }
.client-highlight[data-client="flip"] { --client-accent: #7cb9ff; }
.client-highlight[data-client="nijuni"] { --client-accent: #ff9d9d; }
.client-highlight[data-client="luzia"] { --client-accent: #70e4ed; }
.client-highlight[data-client="sahara-dry"] { --client-accent: #ffd37b; }
.client-highlight img {
  display: block;
  width: min(96px,100%);
  height: 51px;
  padding: 5px 6px;
  border-radius: 7px;
  object-fit: contain;
  background: #fdfdfd;
}
.client-highlight:is(:focus-visible,:active) {
  border-color: var(--client-accent);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--client-accent) 22%, transparent);
}
@media (hover: hover) {
  .client-highlight:hover {
    transform: translateY(-3px);
    border-color: var(--client-accent);
    box-shadow: inset 0 0 18px color-mix(in srgb, var(--client-accent) 22%, transparent);
  }
}
.client-all {
  color: var(--blue);
  background: #162b3f;
  font-size: .92rem;
  font-weight: 700;
}
.client-all span { display: block; color: var(--muted); font-size: .79rem; }
.client-all:hover { background: #223c54; }
.client-grid[hidden], .client-work[hidden] { display: none; }
.client-work {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
@media (max-width: 760px) {
  .client-strip { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
}
@media (max-width: 420px) {
  .client-work { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .client-highlight { transition: none; }
  .client-highlight:hover { transform: none; }
}
html:has(:is(#client-dialog,#contact-dialog)[open]) { overflow: hidden; scrollbar-gutter: stable; }
:is(#client-dialog,#contact-dialog) {
  width: min(780px, calc(100% - 24px));
  max-width: none;
  max-height: min(84dvh, 720px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: #101a2a;
  border: 1px solid #55718c;
  border-radius: 20px;
  box-shadow: 0 24px 85px #040912a8;
}
:is(#client-dialog,#contact-dialog)[open] {
  display: flex;
  flex-direction: column;
  animation: category-pop .24s ease-out both;
}
:is(#client-dialog,#contact-dialog)::backdrop {
  background: #050b13a3;
  backdrop-filter: blur(4px);
  animation: category-shade .24s ease-out both;
}
.client-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(12px, 3vw, 24px);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.client-dialog-head h2 {
  font-size: clamp(19px, 3vw, 27px);
  line-height: 1.25;
}
.client-dialog-body {
  overflow: auto;
  min-height: 0;
  overscroll-behavior: contain;
  padding: clamp(12px, 3vw, 24px);
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 142px), 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.client-card {
  display: grid;
  grid-template-rows: 66px auto;
  place-items: center;
  align-content: start;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  color: #182239;
  background: #fdfdfd;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}
.client-card img {
  display: block;
  width: 100%;
  max-width: 135px;
  height: 66px;
  object-fit: contain;
}
@media (max-width: 420px) {
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  :is(#client-dialog,#contact-dialog)[open], :is(#client-dialog,#contact-dialog)::backdrop { animation: none; }
}

.hero-playhead {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 -1px;
  width: 1px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(transparent, #9dd9ff, transparent);
  box-shadow: 0 0 54px 14px #67bcff3d;
  animation: hero-scan 1.25s cubic-bezier(.36,.04,.25,1) both;
}
.hero-playhead::before {
  content: "";
  position: absolute;
  top: 0;
  left: -5px;
  width: 11px;
  height: 12px;
  background: var(--blue);
  clip-path: polygon(0 0,100% 0,100% 57%,50% 100%,0 57%);
}
.hero h1 { white-space: nowrap; animation: hero-title-in .72s cubic-bezier(.2,.65,.3,1) both; }
@keyframes hero-scan {
  0% { transform: translateX(5vw); opacity: 0; }
  16%, 65% { opacity: .8; }
  100% { transform: translateX(96vw); opacity: 0; }
}
@keyframes hero-title-in {
  from { clip-path: inset(0 100% 0 0); transform: translateY(6px); }
  to { clip-path: inset(0 -10px -14px -10px); transform: none; }
}
.featured {
  padding: clamp(34px, 5vw, 68px) var(--edge);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at top left, #20364e, #101a29 62%);
}
.featured-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 15px;
}
.featured-head h2 { font-size: clamp(24px, 4vw, 38px); line-height: 1.25; }
.featured-head a { color: var(--blue); font-size: .9rem; }
.featured-deck {
  overflow: hidden;
  border: 1px solid #48627c;
  border-radius: 15px;
  background: #0b1421;
  box-shadow: 0 14px 34px #050a1466;
}
.featured-ruler {
  position: relative;
  height: 16px;
  border-bottom: 1px solid #34485e;
  background: repeating-linear-gradient(90deg,#7997b66b 0 1px,transparent 1px 12px) left bottom/100% 6px no-repeat, #152438;
}
.featured-ruler::before {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -10px;
  left: 12px;
  width: 11px;
  height: 16px;
  background: #a7dbff;
  clip-path: polygon(0 0,100% 0,100% 55%,50% 100%,0 55%);
}
.featured-track {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: 8px;
  padding: 12px 8px 8px;
}
.featured-track .card { border: 1px solid #425e7b; border-radius: 9px; }
.featured-track .card:is(:hover,:focus-visible) { border-color: #a7dbff; }
.featured-track .art { aspect-ratio: 2.28; }
.featured-track .card:first-child {
  position: relative;
  isolation: isolate;
  grid-row: span 2;
  display: flex;
  justify-content: flex-end;
  min-height: clamp(280px, 32vw, 490px);
}
.featured-track .card:first-child .art {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
}
.featured-track .card:first-child .art .overlay {
  z-index: 1;
  right: 14px;
  top: 14px;
  bottom: auto;
}
.featured-track .card:first-child .card-copy {
  z-index: 1;
  width: 100%;
  padding: 45px clamp(14px, 3vw, 32px) 22px;
  background: linear-gradient(transparent, #14152ae8 62%, #131528);
}
.featured-track .card:first-child .card-copy h3 {
  font-size: clamp(25px, 4vw, 50px);
  line-height: 1.04;
}
.featured-track .card:first-child .art::before {
  content: "▶";
  position: absolute;
  z-index: 1;
  top: 46%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  border: 1px solid #d1e7ffb3;
  border-radius: 50%;
  color: #eef7ff;
  background: #112136cd;
  pointer-events: none;
}
.featured-track .card:first-child .art:has(.featured-preview.is-playing)::before { opacity: 0; }
.featured-track .card:first-child .featured-preview-badge { top: 14px; left: 14px; z-index: 1; }
@media (max-width: 700px) {
  .featured-track { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .featured-track .card:first-child { grid-row: auto; min-height: clamp(210px, 62vw, 380px); }
  .featured-track .card:not(:first-child) { display: grid; grid-template-columns: 42% 1fr; align-items: center; }
  .featured-track .card:not(:first-child) .art { aspect-ratio: 16/9; border-radius: 6px 0 0 6px; }
  .featured-track .card:not(:first-child) h3 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-playhead, .hero h1 { animation: none; }
}

.featured-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.featured-preview.is-playing { opacity: 1; }
.featured-preview-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: none;
  padding: 3px 8px;
  border-radius: 5px;
  background: #0b1525df;
  color: #c2e7ff;
  font-size: 11px;
  font-weight: 700;
}
.featured-track .art:has(.featured-preview.is-playing) .featured-preview-badge {
  display: block;
}
.featured-track .art:has(.featured-preview.is-playing)::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 2px;
  background: #b1ddff;
  transform-origin: left;
  animation: featured-preview-progress 3.5s linear infinite;
  pointer-events: none;
}
@keyframes featured-preview-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-actions { flex-wrap: wrap; }
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 44px;
  padding: clamp(34px, 6vw, 68px) var(--edge);
  background: radial-gradient(ellipse at 22% 0%, #20364e, #101a29 72%);
}
.contact h2 {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.25;
}
.contact p {
  margin: 8px 0 18px;
  color: var(--muted);
}

#contact-dialog { width: min(470px, calc(100% - 24px)); }
.contact-method {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.contact-method a { font-weight: 700; overflow-wrap: anywhere; }
.contact-method button { min-height: 44px; padding: 6px 12px; font-size: .86rem; }
#contact-status { min-height: 1.5em; margin-top: 10px; color: var(--muted); font-size: .86rem; }

.hero-wave {
  position: absolute;
  inset: auto 2% 7%;
  width: 96%;
  height: 28%;
  z-index: -1;
  opacity: .69;
  pointer-events: none;
}
@media (max-width: 640px) {
  .hero-wave { inset: auto 0 9%; width: 100%; height: 22%; opacity: .62; }
}

.client-dialog-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  overflow-wrap: anywhere;
}
.client-dialog-identity img {
  width: 61px;
  height: 40px;
  flex: none;
  padding: 4px;
  border-radius: 6px;
  background: #fdfdfd;
  object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-fade.scroll-fade-pending:not(:focus-within) {
    opacity: .08;
    translate: 0 28px;
  }
  .scroll-fade:not(.scroll-fade-pending) {
    animation: scroll-fade-in .72s cubic-bezier(.16,1,.3,1) var(--scroll-delay,0s) both;
  }
  .scroll-fade:focus-within { animation: none; }
}
@keyframes scroll-fade-in {
  from { opacity: .08; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}

.hero-draft { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .is-booting .hero-draft {
    display: grid;
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: clamp(14px, 3.5vw, 54px);
    pointer-events: none;
    background: radial-gradient(ellipse at center, #18344b, #0d1e30 76%);
    animation: draft-handoff 4s linear both;
  }
  .hero:focus-within .hero-draft { display: none; }
  .hero.is-booting .prop img { animation-play-state: paused; }
  .hero.has-draft .hero-content h1 { animation: none; }
  .hero.has-draft .hero-playhead { animation: none; }
}
.draft-sheet {
  position: relative;
  border: 1px solid #8cc7ed5e;
  overflow: visible;
  background:
    repeating-linear-gradient(0deg, #89c4ec26 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, #89c4ec26 0 1px, transparent 1px 32px);
}
.draft-sheet::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed #a2cbe84f;
}
.draft-axis {
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1px dashed #9acbea68;
  animation: draft-ruler-sweep .56s cubic-bezier(.21,.62,.34,1) .42s both;
}
.draft-axis::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 1px solid #b8e4fa9c;
  translate: -50% -50%;
  rotate: 45deg;
}
.draft-box {
  position: absolute;
  --draw-time: 1.8s;
  --draw-delay: .2s;
  --draft-ink: #9dd6f0;
  animation: draft-fill .5s ease-out calc(var(--draw-delay) + var(--draw-time) * .65) both;
}
.draft-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--draft-ink),var(--draft-ink)) top left no-repeat,
    linear-gradient(var(--draft-ink),var(--draft-ink)) top right no-repeat,
    linear-gradient(var(--draft-ink),var(--draft-ink)) bottom right no-repeat,
    linear-gradient(var(--draft-ink),var(--draft-ink)) bottom left no-repeat;
  animation: draft-edges var(--draw-time) linear var(--draw-delay) both;
}
.draft-typed {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: #d2eafa;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
}
.draft-typed em { font-style: normal; color: #b7ddf7; }
.draft-typed i { color: inherit; }
.draft-cursor {
  position: absolute;
  z-index: 1;
  width: 20px;
  height: 25px;
  background: var(--draft-ink);
  clip-path: polygon(0 0,100% 66%,57% 68%,71% 91%,56% 100%,42% 75%,14% 95%);
  animation: draft-cursor-path var(--draw-time) linear var(--draw-delay) both;
}
@keyframes draft-fill {
  from { background: transparent; }
  to { background: #82bfff12; }
}
@keyframes draft-edges {
  0% { background-size: 0 1px,1px 0,0 1px,1px 0; }
  34% { background-size: 100% 1px,1px 0,0 1px,1px 0; }
  50% { background-size: 100% 1px,1px 100%,0 1px,1px 0; }
  84% { background-size: 100% 1px,1px 100%,100% 1px,1px 0; }
  100% { background-size: 100% 1px,1px 100%,100% 1px,1px 100%; }
}
@keyframes draft-cursor-path {
  0% { left: 0; top: 0; opacity: 0; }
  6% { opacity: 1; }
  34% { left: 100%; top: 0; }
  50% { left: 100%; top: 100%; }
  84% { left: 0; top: 100%; }
  95% { opacity: 1; }
  100% { left: 0; top: 0; opacity: 0; }
}
@keyframes draft-handoff {
  0%, 79% { opacity: 1; }
  99% { opacity: 0; }
  100% { opacity: 0; visibility: hidden; }
}
@media (max-width: 640px) {
  .draft-cursor { width: 15px; height: 19px; }
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-fade { position: relative; }
  .scroll-fade:not(.scroll-fade-pending):not(:focus-within)::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
      linear-gradient(#a1d9ff,#a1d9ff) top left no-repeat,
      linear-gradient(#a1d9ff,#a1d9ff) top right no-repeat,
      linear-gradient(#a1d9ff,#a1d9ff) bottom right no-repeat,
      linear-gradient(#a1d9ff,#a1d9ff) bottom left no-repeat;
    animation: draft-edges .48s linear var(--scroll-delay,0s) both, draft-outline-fade .68s ease-out var(--scroll-delay,0s) both;
  }
  :is(#category-dialog,#client-dialog,#contact-dialog,#player)[open] {
    animation: blueprint-panel .38s ease-out both;
  }
}
@keyframes draft-outline-fade {
  0% { opacity: .62; }
  65% { opacity: .4; }
  100% { opacity: 0; }
}
@keyframes blueprint-panel {
  from { opacity: 0; clip-path: inset(0 0 13% 0 round 14px); }
  to { opacity: 1; clip-path: inset(0); }
}

.draft-prop {
  position: absolute;
  color: var(--draft-ink);
}
.draft-prop svg,
.draft-paint {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.draft-prop svg { overflow: visible; }
.draft-prop path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.draft-paint {
  object-fit: fill;
  clip-path: inset(0 100% 0 0);
}
.draft-pen {
  animation: none;
  opacity: 0;
  transform: rotate(-7deg);
}
.draft-hatch {
  position: absolute;
  inset: 0;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  clip-path: inset(0 100% 0 0);
  background:
    repeating-linear-gradient(128deg,#e6cfae40 0 1px,transparent 1px 4px),
    repeating-linear-gradient(32deg,transparent 0 8px,#d8c6ad29 8px 9px),
    #9c958c26;
}
.draft-prop path {
  stroke: #f4dfbb;
  stroke-width: 1.2;
  filter: drop-shadow(0 0 .8px #f0d7ae99);
}
.draft-prop .draft-pen {
  width: 9px;
  height: 34px;
  background: linear-gradient(#d18d8d 0 13%,#f2ddae 13% 19%,#dcaa6b 19% 75%,#f5ddac 75% 93%,#60514a 93%);
  transform-origin: bottom center;
  transform: translate(-50%,-100%) rotate(34deg);
  clip-path: polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);
}

.hero.is-booting { z-index: 2; }
.is-booting .hero-draft {
  position: fixed;
  height: 100dvh;
  padding: clamp(12px, 3vw, 40px);
}
.draft-caret {
  position: absolute;
  z-index: 3;
  width: 1px;
  background: #f0dfc0;
  animation: draft-caret-blink .58s step-end infinite;
}
@keyframes draft-caret-blink {
  50% { opacity: .22; }
}
.draft-client-tile {
  position: absolute;
  z-index: 1;
  margin: 0;
  pointer-events: none;
  animation: draft-client-build .62s cubic-bezier(.22,.61,.36,1) calc(var(--draw-delay) + .76s) both;
}
@keyframes draft-client-build {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}

.draft-prop .draft-pen.is-travelling {
  width: 18px;
  height: 22px;
  background: var(--draft-ink);
  transform: none;
  clip-path: polygon(0 0,100% 66%,57% 68%,71% 91%,56% 100%,42% 75%,14% 95%);
}
@keyframes draft-ruler-sweep {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}

.draft-box.draft-rounded::after { display: none; }
.draft-rounded svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.draft-rounded rect {
  fill: none;
  stroke: var(--draft-ink);
  stroke-width: 1;
}
.draft-rounded .draft-cursor {
  opacity: 0;
  animation: none;
}

.draft-rounded.draft-button-finished {
  animation: none;
  background: var(--draft-button-fill);
}
.draft-rounded.draft-button-finished rect { stroke: var(--draft-button-edge); }
.draft-typed.draft-button-label-finished { color: var(--draft-button-label); }

img[src$="/brands-gold.png"] {
  background: #145a37;
  border-radius: 7px;
  padding: 3px;
}

.draft-title-stage {
  position: absolute;
  pointer-events: none;
}
.draft-title-stage {
  z-index: 3;
  transform-origin: center;
  animation: draft-title-land 2.78s linear both;
}
.draft-title-stage .draft-typed { inset: 0; }
.draft-title-stage .draft-typed em::after {
  animation: draft-title-underline .48s cubic-bezier(.35,.03,.25,1) 2.66s both;
}
@keyframes draft-title-underline {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}
@keyframes draft-title-land {
  0%, 58% {
    transform: translate(var(--title-start-x),var(--title-start-y)) scale(var(--title-start-scale));
    animation-timing-function: cubic-bezier(.32,.07,.24,1);
  }
  94% { transform: translateY(0) scale(1); }
  100% { transform: none; }
}

@media (min-width: 641px) and (max-width: 1040px) {
  .hero h1 { font-size: clamp(85.2px,12.24vw,132px); }
}
