:root {
  --bg: #0e090c;
  --bg-2: #1b1016;
  --ink: #fbe9f1;
  --ink-2: #c99aae;
  --ink-3: #7d5567;
  --line: rgba(255, 92, 154, .14);
  --line-2: rgba(255, 92, 154, .3);
  --acc: #ff5c9a;
  --acc-glow: rgba(255, 92, 154, .55);
  --hand-tint: sepia(1) saturate(3.2) hue-rotate(-62deg) brightness(1);
  --nav-bg: rgba(14, 9, 12, .78);
  --sans: "JetBrains Mono", ui-monospace, monospace;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --px: "Pixelify Sans", var(--mono);
  --display: "Tektur", var(--mono);
  --mark: var(--display);
  --gut: clamp(16px, 4vw, 48px);
  --max: 1180px;
  --hem: none;
  color-scheme: dark;
}

:root[data-season="winter"] {
  --bg: #070a0f;
  --bg-2: #0e1520;
  --ink: #eaf3fc;
  --ink-2: #9db3c9;
  --ink-3: #566a80;
  --line: rgba(150, 205, 255, .13);
  --line-2: rgba(150, 205, 255, .28);
  --acc: #8fd4ff;
  --acc-glow: rgba(143, 212, 255, .5);
  --hand-tint: grayscale(1) sepia(.5) hue-rotate(165deg) saturate(2.4) brightness(1.06);
  --nav-bg: rgba(7, 10, 15, .78);
}

:root[data-tone="acid"] {
  --bg: #0a0c07;
  --bg-2: #151a0d;
  --ink: #f0fbe2;
  --ink-2: #aabd90;
  --ink-3: #5f7049;
  --line: rgba(198, 255, 61, .13);
  --line-2: rgba(198, 255, 61, .28);
  --acc: #c6ff3d;
  --acc-glow: rgba(198, 255, 61, .5);
  --hand-tint: sepia(1) saturate(4) hue-rotate(38deg) brightness(1.08);
  --nav-bg: rgba(10, 12, 7, .78);
}

:root[data-tone="rust"] {
  --bg: #0f0a07;
  --bg-2: #1e140d;
  --ink: #fdeee2;
  --ink-2: #cfa68a;
  --ink-3: #805b44;
  --line: rgba(255, 122, 48, .14);
  --line-2: rgba(255, 122, 48, .3);
  --acc: #ff7a30;
  --acc-glow: rgba(255, 122, 48, .5);
  --hand-tint: sepia(1) saturate(3.6) hue-rotate(-18deg) brightness(1.02);
  --nav-bg: rgba(15, 10, 7, .78);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 14.5px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--acc); color: #000; }
:focus-visible { outline: 1px solid var(--acc); outline-offset: 3px; }

body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .6s steps(3) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-3%, 2%); }
  66% { transform: translate(2%, -3%); }
}

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: var(--acc); }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 64px;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 400 13px/1 var(--mono);
}
.brand { display: flex; align-items: center; }
.brand__logo { width: 92px; height: auto; fill: var(--ink); shape-rendering: crispEdges; }

.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--ink-2); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-on { color: var(--ink); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 18px; }
.snow { position: fixed; inset: 0; z-index: 45; width: 100%; height: 100%; pointer-events: none; display: none; }
[data-season="winter"] .snow { display: block; }
.nav__tg { color: var(--acc); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .2s; }
.nav__tg:hover { border-color: var(--ink); }

.hero { position: relative; }
.zip__stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
}
.zip-on .hero { height: calc(100vh + 190vh); height: calc(100svh + 190vh); }
.zip-on .zip__stage { position: sticky; top: 0; height: 100vh; height: 100svh; }

.lining {
  position: relative;
  flex: 1;
  display: flex;
  padding: calc(64px + clamp(22px, 6vh, 64px)) var(--gut) clamp(104px, 15vh, 150px);
  color: var(--bg);
  background-color: var(--acc);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M0 0h2v2H0zM4 4h2v2H4z' fill-opacity='.13'/%3E%3C/svg%3E");
}
.lining::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: var(--bg);
  -webkit-mask: var(--hem) repeat-x 0 100%;
  mask: var(--hem) repeat-x 0 100%;
}
.lining__in {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}
.lining ::selection { background: var(--bg); color: var(--acc); }

.neck {
  position: relative;
  align-self: center;
  padding: 18px 30px 13px;
  background: var(--ink);
  color: var(--bg);
  rotate: -1.6deg;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .28);
}
.neck::before, .neck::after {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  border-left: 2px dashed currentColor;
  opacity: .45;
}
.neck::before { left: 9px; }
.neck::after { right: 9px; }
.mark {
  margin: 0;
  font: 800 clamp(38px, 4vw + 22px, 76px)/.95 var(--mark);
  font-stretch: 75%;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.mark__svg {
  display: inline-block;
  height: .926em;
  width: auto;
  vertical-align: -.2em;
  fill: currentColor;
  overflow: visible;
}
.mark__px {
  position: relative;
  display: inline-block;
  margin-left: .02em;
  font: 600 .52em/1 var(--px);
  letter-spacing: -.02em;
}
.neck__meta {
  margin: 9px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 500 10px/1.3 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lining__big {
  margin: 0;
  font: 800 clamp(38px, min(7.2vw, 12.5vh), 112px)/.94 var(--display);
  font-stretch: 78%;
  letter-spacing: -.015em;
}
.hero__link {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font: 700 clamp(24px, 2.8vw, 34px)/1 var(--display);
  font-stretch: 80%;
  letter-spacing: -.01em;
  border-bottom: 3px solid currentColor;
  padding-bottom: 4px;
  transition: gap .25s;
}
.hero__link:hover { gap: 20px; }
.hero__link span { font: 500 13px/1 var(--mono); letter-spacing: 0; }

.zip__cv, .hands, .zip__grab, .zip__hint { display: none; }
.zip-on .zip__cv, .zip-on .hands, .zip-on .zip__grab, .zip-on .zip__hint { display: block; }
.zip__cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.zip__grab {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 124px;
  cursor: grab;
  touch-action: none;
}
.is-zipping, .is-zipping .zip__grab { cursor: grabbing; }
.is-zipping { user-select: none; -webkit-user-select: none; }
.zip__hint {
  position: absolute;
  left: 50%;
  top: 0;
  margin: 0 0 0 40px;
  font: 400 12px/1.4 var(--mono);
  color: var(--ink-2);
  white-space: nowrap;
  pointer-events: none;
}
.zip__hint b { display: block; margin-bottom: 4px; font: 700 22px/1 var(--display); font-stretch: 80%; color: var(--ink); }
.zip__hint i { display: inline-block; font-style: normal; color: var(--acc); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

.hands { position: absolute; inset: 0; pointer-events: none; --mx: 0; --my: 0; --pl: 0; --pr: 0; }
.hand {
  position: absolute;
  width: min(40vw, 760px);
  height: auto;
  max-width: none;
  mix-blend-mode: screen;
  filter: var(--hand-tint);
}
.hand--l {
  left: -11vw;
  top: 3vh;
  translate: calc(var(--mx) * 14px - var(--pl) * 1px) calc(var(--my) * 10px);
  animation: reach-l 7s ease-in-out infinite;
}
.hand--r {
  right: -11vw;
  bottom: 4vh;
  translate: calc(var(--mx) * -14px + var(--pr) * 1px) calc(var(--my) * -10px);
  animation: reach-r 7s ease-in-out infinite;
}
@keyframes reach-l {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(2.2vw, 1.2vh) rotate(1.5deg); }
}
@keyframes reach-r {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-2.2vw, -1.2vh) rotate(-1.5deg); }
}

.sec {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 11vw, 140px) var(--gut) 0;
}
.sec__head {
  display: flex;
  align-items: baseline;
  padding-bottom: 18px;
  margin-bottom: 36px;
  border-bottom: 1px dashed var(--line-2);
}
.sec h2 { margin: 0; font: 700 clamp(30px, 4.4vw, 52px)/1 var(--display); font-stretch: 80%; letter-spacing: -.01em; }

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about__big { margin: 0; font: 600 clamp(24px, 2.8vw, 34px)/1.2 var(--display); font-stretch: 85%; }

.specs { margin: 0; font: 400 13px/1.4 var(--mono); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; text-align: right; }
.specs .ok { color: var(--acc); }
.specs .ok::before { content: "● "; }

.svc { position: relative; list-style: none; margin: 0; padding: 0; min-height: 420px; }
.svc__item { width: 56%; border-bottom: 1px solid var(--line); }
.svc__name {
  display: flex;
  align-items: baseline;
  gap: 18px;
  width: 100%;
  padding: 14px 0 12px;
  background: none;
  border: 0;
  color: var(--ink-3);
  font: 700 clamp(40px, 6vw, 84px)/1 var(--display); font-stretch: 80%;
  letter-spacing: -.01em;
  text-align: left;
  cursor: pointer;
  transition: color .25s, padding .3s;
}
.svc__name:hover { color: var(--ink-2); }
.svc__item.is-on .svc__name { color: var(--acc); padding-left: 12px; }
.svc__desc {
  position: absolute;
  top: 0;
  left: 62%;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s, visibility 0s .3s;
}
.svc__item.is-on .svc__desc { opacity: 1; visibility: visible; transform: none; transition: opacity .35s .05s, transform .35s .05s; }
.svc__desc p { margin: 10px 0 26px; font-size: 18px; line-height: 1.45; letter-spacing: -.015em; color: var(--ink); }
.incl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.incl li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; letter-spacing: -.01em; }

.works { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 220px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s;
}
.work__n { align-self: start; padding-top: 6px; font: 400 12px/1 var(--mono); color: var(--ink-3); transition: color .2s; }
.work__main { display: grid; gap: 6px; }
.work__main b { font: 700 clamp(24px, 3.2vw, 38px)/1 var(--display); font-stretch: 80%; letter-spacing: -.01em; transition: color .2s; }
.work__main > span { color: var(--ink-2); font-size: 14.5px; max-width: 440px; }
.work__meta { font: 400 12px/1.6 var(--mono); color: var(--ink-3); text-align: right; transition: color .2s; }
.work__img { display: none; }
.work:hover { padding-left: 14px; }
.work:hover .work__meta, .work:hover .work__n, .work:hover b { color: var(--acc); }
.work--you b { color: var(--ink-2); }
.caret { color: var(--acc); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: 320px;
  margin: -110px 0 0 30px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
  will-change: transform;
}
.peek.is-on { opacity: 1; }
.peek img {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  box-shadow: 8px 8px 0 var(--acc);
  background: var(--bg-2);
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 24px 0 0; counter-increment: s; }
.steps li::before {
  content: "0" counter(s);
  display: block;
  padding-top: 12px;
  margin-bottom: 14px;
  border-top: 2px dashed var(--line-2);
  font: 400 12px/1 var(--mono);
  color: var(--acc);
}
.steps h3 { margin: 0 0 8px; font: 700 28px/1.1 var(--display); font-stretch: 80%; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

.contact { padding-bottom: clamp(48px, 7vw, 90px); }
.contact__big { margin: 0 0 44px; font: 700 clamp(34px, 6vw, 76px)/1.02 var(--display); font-stretch: 80%; letter-spacing: -.01em; }
.contact__big a { color: var(--acc); }
.contact__big a span { display: inline-block; transition: transform .25s; }
.contact__big a:hover span { transform: translate(6px, -6px); }
.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); font: 400 14px/1 var(--mono); }
.links li { display: grid; grid-template-columns: 140px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.links span { color: var(--ink-3); }
.links a:hover { color: var(--acc); }
.links button {
  font: inherit;
  font-size: 12px;
  color: var(--ink-2);
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 7px 10px;
  cursor: pointer;
}
.links button:hover { color: var(--ink); border-color: var(--ink-2); }
.links button.is-done { color: var(--acc); border-color: var(--acc); }

.end { position: relative; overflow: hidden; border-top: 1px dashed var(--line-2); }
.end__in {
  position: relative;
  max-width: var(--max);
  min-height: 330px;
  margin: 0 auto;
  padding: 40px var(--gut) 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.end__logo { display: block; width: min(64vw, 700px); height: auto; fill: var(--ink); shape-rendering: crispEdges; }
.end__tone {
  flex: none;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink-2);
  font: 400 12px/1.3 var(--mono);
  text-align: left;
  cursor: pointer;
}
.end__tone i { font-style: normal; color: var(--ink-3); }
.end__tone b { font: 700 28px/1 var(--display); font-stretch: 80%; color: var(--acc); }
.end__tone span { transition: color .2s; }
.end__tone:hover span, .end__tone.is-armed span { color: var(--ink); }
.end__cord { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.end__grab {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 80px;
  height: 124px;
  cursor: grab;
  touch-action: none;
}
.end__row {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gut) 28px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font: 400 12px/1 var(--mono);
  color: var(--ink-3);
}
.end__row a:hover { color: var(--acc); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .svc { min-height: 0; }
  .svc__item { width: 100%; }
  .svc__desc { position: static; display: none; padding: 0 0 22px 12px; opacity: 1; visibility: visible; transform: none; }
  .svc__item.is-on .svc__desc { display: block; }
  .svc__desc p { font-size: 16px; margin-bottom: 18px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .work { grid-template-columns: 1fr; gap: 12px; }
  .work__n { display: none; }
  .work__meta { text-align: left; }
  .work__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--line-2);
    border-radius: 4px;
  }
  .work:hover { padding-left: 0; }
}
@media (max-width: 600px) {
  .hand { width: 92vw; }
  .hand--l { left: -40vw; top: 58px; }
  .hand--r { right: -36vw; bottom: auto; top: 62vh; }
  .neck { padding: 16px 24px 12px; }
  .neck__meta { flex-direction: column; gap: 2px; }
  .lining__big { font-size: clamp(36px, 11.5vw, 60px); }
  .zip__hint { margin-left: 30px; max-width: calc(50vw - 40px); font-size: 11px; white-space: normal; }
  .steps { grid-template-columns: 1fr; }
  .links li { grid-template-columns: 1fr auto; }
  .links li span { grid-column: 1 / -1; }
  .end__in { min-height: 0; padding-top: 250px; flex-direction: column; align-items: stretch; gap: 40px; }
  .end__tone { order: -1; align-self: flex-end; }
  .end__logo { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after, .caret, .hand, .zip__hint i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.garland { display: none; }
[data-season="winter"] .garland { display: block; }

.garland {
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 46px;
  pointer-events: none;
}
.garland svg { display: block; width: 100%; height: 100%; overflow: visible; }
.garland .wire { fill: none; stroke: #1d2a24; stroke-width: 2.2; stroke-linecap: round; }
.garland .twist { fill: none; stroke: #3b5446; stroke-width: 1.1; stroke-dasharray: 3 5; stroke-linecap: round; }
.garland .lamp { transform-box: view-box; transform-origin: 0 0; animation: sway 4.6s ease-in-out infinite alternate; }
.garland .halo { animation: glow 3s ease-in-out infinite alternate; }
.garland .glass { animation: dim 3s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes glow { from { opacity: .95; } to { opacity: .25; } }
@keyframes dim { from { filter: brightness(1.15); } to { filter: brightness(.7); } }

@media (prefers-reduced-motion: reduce) {
  .garland .lamp, .garland .halo, .garland .glass { animation: none; }
}
