/* self-hosted fonts — generated by tools/fonts.py */
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/InterTight-300-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/InterTight-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/InterTight-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/InterTight-400-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/InterTight-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/InterTight-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/InterTight-500-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/InterTight-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/InterTight-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/InstrumentSerif-400i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/InstrumentSerif-400i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/InstrumentSerif-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/InstrumentSerif-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/NotoSerifDisplay-400i-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/NotoSerifDisplay-400i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/NotoSerifDisplay-400i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/JetBrainsMono-400-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/JetBrainsMono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/JetBrainsMono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hextek 2027 — brand tokens from hextekdesign.gr, pushed further */
:root {
  --black: #050505;
  --ink: #0d0d0c;
  --white: #f5f5f2;
  --soft: #bdbdb8;
  --muted: #8a8a85;
  --line: rgba(245, 245, 242, .16);
  --acid: #d8ff3c;
  --sans: "Inter Tight", Arial, Helvetica, sans-serif;
  --serif: "Instrument Serif", "Noto Serif Display", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(16px, 2.2vw, 36px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); color: var(--white); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--sans); font-weight: 300; background: var(--black); overflow-x: clip; }
body.is-loading { overflow: hidden; height: 100vh; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--acid); color: var(--black); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.eyebrow { color: var(--soft); margin: 0 0 clamp(18px, 3vw, 40px); }
.display {
  font-weight: 300; letter-spacing: -.055em; line-height: .92; margin: 0;
  font-size: clamp(48px, 9.4vw, 172px);
}
.display em { letter-spacing: -.02em; }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* ───────── Loader ───────── */
.loader { position: fixed; inset: 0; z-index: 80; pointer-events: none; display: grid; grid-template-rows: auto 1fr auto; padding: var(--gut); }
.loader__top, .loader__bottom { display: flex; justify-content: space-between; gap: 16px; color: var(--soft); }
.loader__top span:nth-child(2) { color: var(--white); }
.loader__count { align-self: end; overflow: hidden; }
.loader__num { display: block; font-family: var(--sans); font-weight: 300; font-size: clamp(110px, 24vw, 420px); line-height: .8; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.loader__bottom { align-items: center; margin-top: 18px; }
.loader__bar { flex: 1; height: 1px; background: var(--line); margin: 0 24px; position: relative; }
.loader__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--white); }
body:not(.is-loading) .loader { visibility: hidden; }

/* ───────── Cursor / grain / progress ───────── */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 90; pointer-events: none; }
.cursor__dot { position: fixed; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--white); mix-blend-mode: difference; }
.cursor__ring {
  position: fixed; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1px solid rgba(245,245,242,.55); mix-blend-mode: difference; display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
}
.cursor__label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--black); opacity: 0; transition: opacity .2s; }
.cursor.has-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--acid); border-color: var(--acid); mix-blend-mode: normal; }
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.has-label .cursor__dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body, a, button { cursor: none; } }

.grain {
  position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-6%,-2%)} 80%{transform:translate(5%,4%)} 100%{transform:translate(0,0)} }

.progress { position: fixed; right: var(--gut); bottom: var(--gut); z-index: 60; mix-blend-mode: difference; color: var(--white); font-variant-numeric: tabular-nums; }

/* ───────── Nav ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: 28px;
  padding: var(--gut); mix-blend-mode: difference; color: var(--white);
}
.nav { transition: opacity .8s; }
body.is-loading .nav, body:not(.is-dived) .progress, body.at-foot .progress { opacity: 0; }
.progress { transition: opacity .6s; }
.nav__logo { width: 104px; opacity: 0; transform: translateY(-8px); transition: opacity .6s, transform .6s var(--ease); }
body.is-dived .nav__logo { opacity: 1; transform: none; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a, .nav__cta { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { border: 1px solid currentColor; border-radius: 999px; padding: 10px 16px; transition: background .3s, color .3s; }
.nav__cta:hover { background: var(--white); color: var(--black); }
.nav__menu { display: none; margin-left: auto; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); display: inline-block; box-shadow: 0 0 0 0 rgba(216,255,60,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(216,255,60,0); } 100% { box-shadow: 0 0 0 0 rgba(216,255,60,0); } }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--black); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 90px var(--gut) var(--gut); }
.menu[hidden] { display: none; }
.menu a { font-size: clamp(44px, 13vw, 90px); letter-spacing: -.05em; line-height: 1; }
.menu p { color: var(--soft); margin-top: 32px; line-height: 1.8; }

/* ───────── Hero ───────── */
.hero { position: relative; height: 100svh; overflow: hidden; background: var(--black); }
.hero__media { position: absolute; inset: 0; clip-path: inset(0); }
body.is-loading .hero__media { clip-path: inset(32% 38% 32% 38%); }
.hero__video, .hero__gl, .hero__flash { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.has-gl .hero__video { opacity: 0; }
.hero__flash { opacity: 0; }
body.is-loading .hero__flash { opacity: 1; }
.hero__mask { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
body.is-loading .hero__mask { opacity: 0; }
.hero__ui {
  position: absolute; inset: auto var(--gut) var(--gut) var(--gut); display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: end; color: var(--white); line-height: 1.6;
}
.hero__ui-c { text-align: center; }
.hero__ui-r { text-align: right; color: var(--soft); }
.arrow { display: inline-block; font-style: normal; animation: bob 1.6s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
.hero__headline { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(var(--gut) + 64px); pointer-events: none; visibility: hidden; }
.hero__headline .display { font-size: clamp(40px, 11vw, 210px); text-shadow: 0 10px 60px rgba(0,0,0,.35); }
body.is-loading .hero__ui { opacity: 0; }

/* ───────── Manifesto ───────── */
.manifesto { padding: clamp(110px, 18vw, 260px) var(--gut) clamp(90px, 12vw, 180px); }
.manifesto__text { margin: 0; font-size: clamp(32px, 5.4vw, 98px); line-height: 1.04; letter-spacing: -.045em; max-width: 17em; }
.manifesto__text .mw { opacity: .14; }
.pill {
  display: inline-block; width: 1.9em; height: .82em; border-radius: 999px; overflow: hidden; vertical-align: -.06em;
  margin: 0 .04em; background: #222; transform-origin: center;
}
.pill video { width: 100%; height: 100%; object-fit: cover; }
.manifesto__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(50px, 7vw, 110px); padding-top: 18px; border-top: 1px solid var(--line); color: var(--soft); }

/* ───────── Work ───────── */
.work { position: relative; overflow: hidden; padding: 12vh 0; }
.work__ghost {
  position: absolute; top: 50%; left: 0; white-space: nowrap; transform: translateY(-50%);
  font-size: 30vw; line-height: 1; letter-spacing: -.07em; font-weight: 300; color: transparent;
  -webkit-text-stroke: 1px rgba(245,245,242,.12); pointer-events: none;
}
.work__track { position: relative; display: flex; align-items: center; gap: 6vw; padding: 0 var(--gut); width: max-content; }
.work__intro { width: 34vw; flex: none; }
.work__hint { color: var(--soft); margin-top: 30px; }
.card { width: 30vw; flex: none; will-change: transform; }
.card--low { margin-top: 18vh; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; border-radius: 4px; }
.card__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.85) contrast(1.05); }
.card:hover .card__media video { transform: scale(1); filter: none; }
.card__meta { display: flex; justify-content: space-between; color: var(--soft); margin-top: 16px; }
.card__title { font-weight: 300; font-size: clamp(26px, 2.6vw, 46px); letter-spacing: -.04em; margin: 8px 0 0; line-height: 1; }
.work__next { flex: none; width: 30vw; aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; transition: background .5s, color .5s; }
.work__next:hover { background: var(--acid); color: var(--black); border-color: var(--acid); }
.work__next-big { font-size: clamp(56px, 7vw, 130px); letter-spacing: -.06em; line-height: .9; }
.work__next-arrow { font-size: 60px; align-self: flex-end; transition: transform .6s var(--ease); }
.work__next:hover .work__next-arrow { transform: translateX(12px) rotate(-45deg); }

/* ───────── Lab ───────── */
.lab { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 4vw; padding: 0 var(--gut); overflow: hidden; }
.lab__bg {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 40vw; letter-spacing: -.08em;
  font-weight: 500; color: transparent; -webkit-text-stroke: 1px rgba(245,245,242,.1); line-height: 1; pointer-events: none; white-space: nowrap;
}
.lab__copy { position: relative; z-index: 2; }
.lab__steps { display: grid; }
.lab__step { grid-area: 1 / 1; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.lab__step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.lab__step > span { color: var(--acid); }
.lab__step h3 { font-weight: 300; font-size: clamp(36px, 4.4vw, 80px); letter-spacing: -.05em; line-height: .95; margin: 16px 0 22px; }
.lab__step p { color: var(--soft); font-size: clamp(15px, 1.15vw, 19px); line-height: 1.55; max-width: 30em; margin: 0; font-weight: 300; }
.tags { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 13px; color: var(--soft); }
.lab__dots { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 8px; }
.lab__dots li { width: 28px; height: 2px; background: var(--line); transition: background .4s, width .6s var(--ease); }
.lab__dots li.is-on { background: var(--acid); width: 56px; }

.lab__stage { position: relative; height: 100svh; display: grid; place-items: center; perspective: 1400px; }
.phone, .laptop { grid-area: 1 / 1; transition: opacity .7s var(--ease), transform 1s var(--ease); }
.lab__stage.is-desk .phone, .lab__stage:not(.is-desk) .laptop { opacity: 0; pointer-events: none; }
.lab__stage.is-desk .phone { transform: translateY(40px) scale(.9); }
.lab__stage:not(.is-desk) .laptop { transform: translateY(40px) scale(.94); }
.phone { width: min(320px, 24vw); aspect-ratio: 9 / 19.5; transform-style: preserve-3d; will-change: transform; }
.phone__body {
  position: relative; width: 100%; height: 100%; border-radius: 13% / 6%; padding: 3.2%;
  background: linear-gradient(145deg, #3a3a3a, #0b0b0b 40%, #1d1d1d);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 60px 120px -20px rgba(0,0,0,.9), 0 0 140px rgba(216,255,60,.08);
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 11% / 5.2%; overflow: hidden; background: #000; }
.phone__island { position: absolute; top: 4.6%; left: 50%; width: 30%; height: 3.6%; transform: translateX(-50%); background: #000; border-radius: 999px; }
.laptop { width: min(820px, 100%); border-radius: 14px; overflow: hidden; background: #161616; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 70px 140px -30px rgba(0,0,0,.9), 0 0 160px rgba(216,255,60,.06); }
.laptop__bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #1d1d1d; border-bottom: 1px solid #262626; }
.laptop__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.laptop__url { margin-left: 14px; color: var(--muted); }
.laptop__screen { position: relative; aspect-ratio: 16 / 10; background: #000; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease), opacity 0s 1s; }
.shot.is-on { opacity: 1; clip-path: inset(0); transition: clip-path 1s var(--ease), opacity 0s; z-index: 1; }
.shot.is-was { opacity: 1; clip-path: inset(0); transition: none; }

/* ───────── Under wraps ───────── */
.wraps { padding: clamp(110px, 14vw, 200px) var(--gut) clamp(60px, 8vw, 120px); }
.wraps__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; margin-bottom: clamp(40px, 6vw, 90px); }
.wraps__head .eyebrow { grid-column: 1 / -1; }
.wraps__lede { margin: 0; max-width: 21em; color: var(--soft); font-size: clamp(17px, 1.5vw, 24px); line-height: 1.45; }
.wraps__lede em { color: var(--white); }
.wraps__body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 70px); align-items: start; }
.wraps__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.wraps__list li { display: grid; grid-template-columns: 54px 1fr; align-items: baseline; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: pointer; color: var(--muted); transition: color .4s; }
.wraps__list li b { font-weight: 300; font-size: clamp(30px, 3.4vw, 60px); letter-spacing: -.05em; line-height: 1; transition: transform .6s var(--ease); }
.wraps__list li > span:last-child { grid-column: 2; margin-top: 8px; }
.wraps__list li:hover, .wraps__list li.is-on { color: var(--white); }
.wraps__list li.is-on b { transform: translateX(10px); }
.wraps__list li.is-on > span:first-child { color: var(--acid); }
.vault { position: sticky; top: 90px; border-radius: 12px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px var(--line), 0 60px 120px -40px rgba(0,0,0,.9); }
.vault__bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #181818; border-bottom: 1px solid #262626; }
.vault__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.vault__url { margin-left: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.vault__url s { text-decoration: none; background: #000; color: #000; border-radius: 3px; letter-spacing: -.1em; }
.vault__status { margin-left: auto; color: var(--soft); display: flex; align-items: center; gap: 8px; }
.vault__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; touch-action: pan-y; }
.vault__layer { position: absolute; inset: 0; }
.vault__layer img { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; }
.vault__layer--blur img { filter: blur(16px) saturate(.5) brightness(.55); transform-origin: top; }
.vault__layer--blur::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 2px, transparent 2px 4px); }
.vault__layer--sharp { clip-path: circle(var(--r, 120px) at var(--x, 50%) var(--y, 50%)); }
.vault__lens { position: absolute; left: 0; top: 0; width: calc(var(--r, 120px) * 2); height: calc(var(--r, 120px) * 2); margin: calc(var(--r, 120px) * -1) 0 0 calc(var(--r, 120px) * -1); border-radius: 50%; box-shadow: 0 0 0 1px var(--acid), 0 0 0 9999px rgba(0,0,0,0), 0 20px 60px rgba(0,0,0,.5); transform: translate(var(--x, 50%), var(--y, 50%)); pointer-events: none; }
.vault__lens span { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); color: var(--acid); }
.vault__stamp { position: absolute; right: 22px; top: 22px; z-index: 3; padding: 10px 14px; border: 1.5px solid var(--acid); color: var(--acid); transform: rotate(6deg); text-align: center; line-height: 1.5; background: rgba(5,5,5,.55); backdrop-filter: blur(6px); }
.vault__stamp small { font-size: 9px; color: var(--soft); }
.vault.is-swap .vault__view { animation: vaultSwap .7s var(--ease); }
@keyframes vaultSwap { 0% { filter: brightness(1); } 30% { filter: brightness(2.2) contrast(1.4); } 100% { filter: none; } }
.wraps__cta { margin: clamp(30px, 4vw, 56px) 0 0; text-align: right; }
.wraps__cta a { color: var(--acid); border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ───────── Services ───────── */
.services { padding: clamp(110px, 14vw, 200px) var(--gut); }
.services__head { margin-bottom: clamp(50px, 7vw, 110px); }
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__row {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 20px;
  padding: clamp(22px, 2.6vw, 40px) 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.svc__row::before { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.svc__row:hover::before { transform: scaleY(1); }
.svc__row:hover { color: var(--black); }
.svc__row h3 { margin: 0; font-weight: 300; font-size: clamp(32px, 5.4vw, 100px); letter-spacing: -.055em; line-height: .95; transition: transform .6s var(--ease); }
.svc__row:hover h3 { transform: translateX(24px); }
.svc__n { color: var(--muted); padding-left: 4px; }
.svc__tags { color: var(--muted); text-align: right; padding-right: 4px; }
.svc__row:hover .svc__tags, .svc__row:hover .svc__n { color: #3a3a38; }
.svc__preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .35s, scale .5s;
}
.svc__preview video { width: 100%; height: 100%; object-fit: cover; }

/* ───────── Archive ───────── */
.archive { position: relative; height: 100svh; overflow: hidden; border-block: 1px solid var(--line); }
.archive__viewport { position: absolute; inset: 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.archive__plane { position: absolute; inset: 0; }
.tile { position: absolute; left: 0; top: 0; overflow: hidden; border-radius: 3px; background: #111; will-change: transform; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.82); transition: filter .6s, transform .9s var(--ease); pointer-events: none; -webkit-user-drag: none; }
.tile:hover img { filter: none; transform: scale(1.06); }
.archive.is-dragging .tile img { transform: scale(.94); }
.archive__label { position: absolute; left: var(--gut); bottom: var(--gut); pointer-events: none; mix-blend-mode: difference; }
.archive__label .display { font-size: clamp(48px, 8vw, 150px); }
.archive__count { margin-top: 14px; color: var(--soft); }

/* ───────── Clients ───────── */
.clients { padding: clamp(90px, 12vw, 180px) 0; overflow: hidden; }
.clients .eyebrow { padding: 0 var(--gut); }
.marquee { white-space: nowrap; overflow: hidden; }
.marquee__inner { display: inline-flex; align-items: center; gap: .35em; font-size: clamp(56px, 10vw, 190px); letter-spacing: -.055em; line-height: 1.02; will-change: transform; }
.marquee__inner b { font-weight: 300; font-size: .4em; color: var(--acid); }
.marquee--alt .marquee__inner { color: transparent; -webkit-text-stroke: 1px rgba(245,245,242,.45); }
.marquee--alt em { color: var(--white); -webkit-text-stroke: 0; }

/* ───────── Contact ───────── */
.contact { padding: clamp(90px, 12vw, 180px) var(--gut); }
.contact__big { margin: 0; font-weight: 300; font-size: clamp(50px, 9vw, 168px); letter-spacing: -.06em; line-height: .92; }
.contact__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: clamp(50px, 7vw, 100px); flex-wrap: wrap; }
.blob {
  width: clamp(170px, 18vw, 280px); aspect-ratio: 1; border-radius: 50%; background: var(--acid); color: var(--black);
  display: grid; place-items: center; text-align: center; font-size: clamp(22px, 2.2vw, 36px); letter-spacing: -.04em; line-height: 1; font-weight: 400;
  transition: transform .4s var(--ease);
}
.contact__info { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; text-align: right; }
.contact__info a:hover { color: var(--acid); }

/* ───────── Footer ───────── */
.foot { padding: 0 var(--gut) var(--gut); }
.foot__word {
  width: 100%; aspect-ratio: 2500 / 507; overflow: hidden;
  -webkit-mask: url(/media/hextek-logo.svg) center / contain no-repeat; mask: url(/media/hextek-logo.svg) center / contain no-repeat;
}
.foot__word video { width: 100%; height: 100%; object-fit: cover; }
.foot__row { display: flex; justify-content: space-between; gap: 16px; color: var(--soft); margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ───────── Lightbox ───────── */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--black); color: var(--white); }
.lightbox::backdrop { background: var(--black); }
.lightbox__media { position: absolute; inset: 0; view-transition-name: lb-media; }
.lightbox__media video, .lightbox__media img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.lightbox__meta { position: absolute; left: var(--gut); bottom: var(--gut); mix-blend-mode: difference; }
.lightbox__kicker { color: var(--soft); margin: 0 0 10px; }
.lightbox__title { margin: 0; font-weight: 300; font-size: clamp(36px, 6vw, 110px); letter-spacing: -.055em; line-height: .95; }
.lightbox__close { position: absolute; top: var(--gut); right: var(--gut); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; background: rgba(5,5,5,.5); }
::view-transition-group(lb-media) { animation-duration: .7s; animation-timing-function: cubic-bezier(.7, 0, .2, 1); }

/* ───────── Accessibility ───────── */
.skip { position: fixed; left: var(--gut); top: -80px; z-index: 100; background: var(--acid); color: var(--black); padding: 12px 16px; border-radius: 6px; transition: top .3s; }
.skip:focus { top: var(--gut); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; border-radius: 4px; }
.card:focus-visible, .wraps__list li:focus-visible { outline-offset: 8px; }
.nav__lang { border: 1px solid currentColor; border-radius: 999px; padding: 9px 12px; }
.menu__lang { font-size: clamp(22px, 6vw, 34px) !important; margin-top: 18px; color: var(--acid); }

/* services rows link to their landing pages (whole row is the hit area) */
.svc__row h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc__row h3 a:focus-visible { outline: none; }
.svc__row:has(a:focus-visible) { outline: 2px solid var(--acid); outline-offset: 4px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; color: var(--soft); }
.foot__links a:hover { color: var(--acid); }

/* ───────── Studio ───────── */
.studio { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 110px); align-items: end; padding: clamp(100px, 13vw, 190px) var(--gut); }
.studio__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: linear-gradient(160deg, #1a1a1a, #0b0b0b); box-shadow: 0 0 0 1px var(--line); }
.studio__photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .8s; }
.studio__photo:hover img { filter: none; }
.studio__mono { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(60px, 9vw, 150px); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(245,245,242,.25); }
.studio__lede { margin: 34px 0 0; max-width: 30em; color: var(--soft); font-size: clamp(17px, 1.4vw, 22px); line-height: 1.55; }
.studio__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.studio__facts dt { color: var(--muted); margin-bottom: 8px; }
.studio__facts dd { margin: 0; color: var(--white); line-height: 1.5; }
.studio__sign { margin: 44px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3vw, 46px); display: flex; flex-direction: column; gap: 6px; }
.studio__sign .mono { font-style: normal; color: var(--acid); }

/* ───────── Brief form ───────── */
.brief { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); margin-top: clamp(50px, 7vw, 100px); align-items: start; }
.brief__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > span, .field legend { color: var(--soft); padding: 0; }
.field input, .field textarea {
  font: 300 clamp(18px, 1.5vw, 24px) var(--sans); color: var(--white); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; border-radius: 0; resize: vertical; transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--acid); }
.field .is-bad, .field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff6b5a; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.chips span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font-size: 15px; color: var(--soft); transition: background .25s, color .25s, border-color .25s; }
.chips input:checked + span { background: var(--acid); color: var(--black); border-color: var(--acid); }
.chips input:focus-visible + span { outline: 2px solid var(--acid); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; color: var(--soft); font-size: 15px; line-height: 1.5; }
.consent input { width: 20px; height: 20px; accent-color: var(--acid); margin-top: 2px; flex: none; }
.consent a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.brief__side { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
button.blob { border: 0; cursor: pointer; font-family: var(--sans); }
button.blob[disabled] { opacity: .5; }
.brief__status { min-height: 1.6em; color: var(--acid); margin: 0; }
.brief__status.is-error { color: #ff8a7a; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; }
.quick__btn { border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; transition: background .3s, color .3s, border-color .3s; }
.quick__btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.brief .contact__info { align-items: flex-start; text-align: left; }

/* ───────── Responsive ───────── */
@media (max-width: 1200px) {
  .nav { gap: 20px; }
  .nav__links { gap: 18px; }
  .card, .work__next { width: 38vw; }
  .work__intro { width: 40vw; }
  .wraps__body { grid-template-columns: 1fr; }
  .wraps__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 16px; border-top: 0; }
  .wraps__list li { grid-template-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 0; }
  .wraps__list li > span:last-child { grid-column: 1; }
  .wraps__list li.is-on b { transform: none; }
  .vault { position: relative; top: 0; }
}
@media (max-width: 1024px) and (min-width: 900px) {
  .lab { grid-template-columns: 1fr 1fr; }
  .lab__step h3 { font-size: clamp(32px, 4.6vw, 52px); }
}
@media (max-width: 899px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: block; }
  .nav__logo { width: 88px; }
  .hero__ui { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .hero__ui-c { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .manifesto__foot { flex-direction: column; }
  .work { padding: 70px 0; }
  .work__ghost { display: none; }
  .work__track { flex-direction: column; align-items: stretch; width: auto; gap: 56px; }
  .work__intro, .card, .work__next { width: 100%; }
  .card--low { margin-top: 0; }
  .work__next { aspect-ratio: auto; min-height: 320px; }
  .lab { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; padding-top: 84px; padding-bottom: 30px; gap: 8px; min-height: 100svh; }
  .lab__stage { height: 48svh; order: -1; }
  .phone { width: auto; height: 46svh; max-width: 62vw; }
  .laptop { width: 100%; }
  .lab__step h3 { font-size: clamp(30px, 8.4vw, 46px); margin: 10px 0 12px; }
  .lab__step p { font-size: 15px; }
  .tags { margin-top: 14px; }
  .lab__dots { margin-top: 18px; }
  .lab__bg { font-size: 56vw; top: 26%; }
  .wraps__head { grid-template-columns: 1fr; }
  .wraps__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scrollbar-width: none; }
  .wraps__list::-webkit-scrollbar { display: none; }
  .wraps__list li { scroll-snap-align: start; }
  .wraps__list li b { font-size: 30px; }
  .vault__view { aspect-ratio: 16 / 12; }
  .vault__stamp { right: 12px; top: 12px; }
  .vault__status { display: none; }
  .wraps__cta { text-align: left; }
  .svc__row { grid-template-columns: 36px minmax(0, 1fr); }
  .svc__tags { grid-column: 2; text-align: left; }
  .svc__preview { display: none; }
  .contact__info { align-items: flex-start; text-align: left; }
  .contact__info a { word-break: break-word; }
  .progress, .work__hint { display: none; }
  .foot__row { flex-direction: column; gap: 8px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .work__track { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 20px; }
  .work__intro { grid-column: 1 / -1; }
  .card--low { margin-top: 70px; }
  .work__next { min-height: 0; aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) {
  .vault__view { aspect-ratio: 4 / 5; }
  .hero__headline .display { line-height: .98; }
  .loader__top span:nth-child(3) { display: none; }
  .mono { font-size: 10px; }
  .hero__ui-r { display: none; }
  .hero__ui { grid-template-columns: 1fr; }
  .wraps__list { grid-auto-columns: 62%; }
  .marquee__inner { font-size: 15vw; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .arrow, .dot-live { animation: none; }
  .lab__step, .shot { transition: none; }
}
@media (hover: none) { .card__media video { filter: none; transform: none; } }
@media (max-width: 899px) {
  .studio { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .studio__photo { max-width: 440px; width: 100%; }
  .studio__facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .brief { grid-template-columns: minmax(0, 1fr); }
  .brief__fields { grid-template-columns: minmax(0, 1fr); }
  .nav__lang { margin-left: auto; padding: 7px 10px; }
  .nav__lang + .nav__cta + .nav__menu, .nav__lang ~ .nav__menu { margin-left: 14px; }
}
@media (prefers-reduced-motion: reduce) { .marquee__inner { transform: none !important; } }
