/* Anybody latin-ext */
@font-face {
  font-family: 'Anybody';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
  src: url(fonts/anybody-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Anybody latin */
@font-face {
  font-family: 'Anybody';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
  src: url(fonts/anybody-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;
}
/* Hanken Grotesk latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/hanken-grotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Hanken Grotesk latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/hanken-grotesk-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;
}
/* Hanken Grotesk latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/hanken-grotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Hanken Grotesk latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/hanken-grotesk-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;
}
/* Hanken Grotesk latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/hanken-grotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Hanken Grotesk latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/hanken-grotesk-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;
}
/* JetBrains Mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jetbrains-mono-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;
}
/* JetBrains Mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jetbrains-mono-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;
}

/* Layout: a builder's manifest. Wide wordmark hero with a status ledger, then a 2x2 grid of product spec sheets, then services and contact. */
:root {
  --paper: #eceef1;
  --panel: #f8f9fb;
  --ink: #12141a;
  --ink-2: #4b5060;
  --ink-3: #7b8090;
  --line: #d3d7df;
  --accent: #2b3ee0;
  --accent-ink: #ffffff;
  --live: #1f8a4c;
  --beta: #b7791f;
  --wip: #2b3ee0;
  --hive-a: #2b3ee0;
  --hive-b: #0f9d97;

  --evk: #c8202f;
  --hunt-bg: #0c1208;
  --hunt-fg: #c8a84b;
  --tolo: #8a5a35;

  --f-display: "Anybody", "Arial Black", "Helvetica Neue", sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r: 14px;
  --gutter: clamp(16px, 4vw, 48px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1015; --panel: #161921; --ink: #e9ebf1; --ink-2: #a2a8b6; --ink-3: #6f7584;
    --line: #2a2f3b; --accent: #8593ff; --accent-ink: #0e1015;
    --live: #4cc37f; --beta: #e3a94a; --wip: #8593ff;
    --hive-a: #7d8cff; --hive-b: #3fd0c4;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1015; --panel: #161921; --ink: #e9ebf1; --ink-2: #a2a8b6; --ink-3: #6f7584;
  --line: #2a2f3b; --accent: #8593ff; --accent-ink: #0e1015;
  --live: #4cc37f; --beta: #e3a94a; --wip: #8593ff;
  --hive-a: #7d8cff; --hive-b: #3fd0c4;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.02em; }
.eyebrow {
  font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--ink-3);
}

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px;
}
.mark {
  font-family: var(--f-display); font-weight: 850; font-stretch: 140%;
  font-size: 1.1rem; letter-spacing: 0.04em; text-decoration: none;
}
.nav { display: flex; gap: clamp(14px, 3vw, 32px); font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }

.top-right { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }

/* Hero */
.hero { padding-block: clamp(32px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.word {
  position: relative; display: inline-block;
  font-family: var(--f-display); font-weight: 900; font-stretch: 150%;
  font-size: clamp(3.4rem, 15.5vw, 13rem); line-height: 0.82; letter-spacing: -0.01em;
  margin: 0;
}
.word::after {
  content: "FEXLER"; position: absolute; inset: 0;
  color: transparent; -webkit-text-stroke: 1px var(--accent);
  transform: translate(0.045em, -0.04em);
  opacity: 0.55; pointer-events: none;
  animation: haunt 2.4s ease-out 0.3s both, ghost 8.5s steps(1, end) 3s infinite;
}
@keyframes ghost {
  0%, 61%, 100% { transform: translate(0.045em, -0.04em); opacity: 0.55; }
  62% { transform: translate(0.11em, -0.04em); opacity: 0.9; }
  63% { transform: translate(-0.02em, -0.05em); opacity: 0.15; }
  64% { transform: translate(0.07em, -0.03em); opacity: 0.75; }
  65% { opacity: 0; }
  67% { transform: translate(0.045em, -0.04em); opacity: 0.6; }
  88% { transform: translate(0.045em, -0.04em); opacity: 0.55; }
  89% { opacity: 0.1; }
  90% { opacity: 0.7; }
}
@keyframes haunt {
  0% { transform: translate(0, 0); opacity: 0; }
  30% { opacity: 0.9; }
  45% { transform: translate(0.09em, -0.06em); opacity: 0.25; }
  60% { transform: translate(0.03em, -0.02em); opacity: 0.8; }
  100% { transform: translate(0.045em, -0.04em); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) { .word::after { animation: none; } }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px); align-items: end; margin-top: clamp(28px, 4vw, 48px);
}
.lede {
  font-family: var(--f-display); font-stretch: 100%; font-weight: 500;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem); line-height: 1.18; letter-spacing: -0.01em;
  margin: 0 0 16px; text-wrap: balance; max-width: 22ch;
}
.sub { color: var(--ink-2); margin: 0; max-width: 52ch; }

.ledger {
  border-top: 1.5px solid var(--ink);
  font-family: var(--f-mono); font-size: 0.82rem;
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  margin: 0;
}
.ledger dt, .ledger dd {
  padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0;
}
.ledger dt { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; padding-right: 20px; padding-top: 13px; }
.ledger dd { color: var(--ink); }

/* Work */
.section { padding-block: clamp(40px, 6vw, 80px); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.section-head h2 {
  font-family: var(--f-display); font-weight: 800; font-stretch: 130%;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1; margin: 0; letter-spacing: -0.005em;
}
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.prod {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(20px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
  transition: border-color .2s, transform .2s;
}
.prod:hover { border-color: var(--ink-3); }
.prod-top { display: flex; align-items: center; gap: 14px; }
.icon {
  flex: none; width: 54px; height: 54px; border-radius: 13px;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 850; font-stretch: 120%; font-size: 1rem; letter-spacing: 0.02em;
}
img.icon { display: block; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.icon.drop { background: transparent; color: var(--accent); border: 1.5px dashed var(--accent); }
.prod-name { min-width: 0; flex: 1; }
.prod-name h3 {
  font-family: var(--f-display); font-weight: 750; font-stretch: 115%;
  font-size: 1.45rem; line-height: 1.1; margin: 0;
}
.prod-name .kind { color: var(--ink-3); font-size: 0.9rem; }

.pill {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.live { color: var(--live); }
.pill.beta { color: var(--beta); }
.pill.wip { color: var(--wip); }

.prod p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.prod p strong { color: var(--ink); font-weight: 600; }

.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.feats li {
  font-size: 0.85rem; padding: 4px 10px; border-radius: 6px;
  background: var(--paper); color: var(--ink-2);
}

.spec {
  margin: auto 0 0; padding-top: 16px; border-top: 1px dashed var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.spec div { min-width: 0; }
.spec dt { font-family: var(--f-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
.spec dd { margin: 2px 0 0; font-family: var(--f-mono); font-size: 0.8rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.prod-foot { display: flex; flex-direction: column; gap: 12px; }
.stack { color: var(--ink-3); }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  padding: 8px 13px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  transition: border-color .15s, color .15s;
}
.link svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a.link:hover { border-color: var(--accent); color: var(--accent); }
.link.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
a.link.primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.link.soon { color: var(--ink-3); border-style: dashed; background: transparent; font-weight: 500; }
.link .tag { font-family: var(--f-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; }

.prod.drop { background: transparent; border-style: dashed; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.svc { border-top: 1.5px solid var(--ink); padding-top: 16px; min-width: 0; }
.svc h3 {
  font-family: var(--f-display); font-weight: 700; font-stretch: 110%;
  font-size: 1.2rem; margin: 0 0 8px;
}
.svc p { margin: 0 0 10px; color: var(--ink-2); }

/* Contact: the same panel, border and swarm-tinted glow as the work cards */
.contact {
  background:
    radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--hive-a) 16%, transparent), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, color-mix(in srgb, var(--hive-b) 13%, transparent), transparent 60%),
    var(--panel);
  border: 1px solid var(--line); border-radius: calc(var(--r) + 4px);
  padding: clamp(24px, 4.5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: end;
}
.contact-copy { min-width: 0; }
.contact h2 {
  font-family: var(--f-display); font-weight: 850; font-stretch: 135%;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 0.98; margin: 12px 0 14px; text-wrap: balance;
}
.contact p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 12px; min-width: 0;
}
.contact-label {
  font-family: var(--f-mono); font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-3);
}
.contact-addr {
  font-family: var(--f-display); font-weight: 700; font-stretch: 112%;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.15;
  overflow-wrap: anywhere; user-select: all;
}
button.link { font: 600 0.88rem var(--f-body); cursor: pointer; }
button.link:hover { border-color: var(--accent); color: var(--accent); }

footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 32px 40px; color: var(--ink-3); font-size: 0.85rem;
}
footer em { font-style: italic; }

@media (max-width: 860px) {
  .hero-grid, .contact { grid-template-columns: minmax(0, 1fr); }
  .grid, .services { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .nav a:nth-child(2) { display: none; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-top { flex-wrap: wrap; }
}

/* Hivemind background */
#hive {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity .9s ease;
}
#hive.on { opacity: 1; }
.page { position: relative; z-index: 1; }

/* Skip link */
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; }

/* Footer */
.foot-left { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
footer a { color: var(--ink-3); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* Legal pages */
.legal {
  max-width: 70ch; padding-block: clamp(24px, 5vw, 56px) clamp(48px, 7vw, 96px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-radius: var(--r);
}
.legal h1 {
  font-family: var(--f-display); font-weight: 850; font-stretch: 130%;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; margin: 0 0 10px; text-wrap: balance;
}
.legal .updated { color: var(--ink-3); margin: 0 0 28px; }
.legal h2 {
  font-family: var(--f-display); font-weight: 700; font-stretch: 112%;
  font-size: 1.2rem; margin: 34px 0 10px;
}
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 1.2em; display: grid; gap: 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent); }
.facts {
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; margin: 18px 0 8px;
  border-top: 1.5px solid var(--ink);
}
.facts dt, .facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt {
  font-family: var(--f-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-3); padding-right: 22px; padding-top: 13px;
}
.facts dd { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
}
.todo {
  background: #ffe58a; color: #3a2c00; border-radius: 4px; padding: 1px 6px;
  font-family: var(--f-mono); font-size: 0.85em;
}

/* 404 */
.lost { padding-block: clamp(48px, 12vw, 140px); }
.lost h1 { font-family: var(--f-display); font-weight: 900; font-stretch: 150%; font-size: clamp(4rem, 20vw, 12rem); line-height: .85; margin: 0 0 18px; }
.lost p { color: var(--ink-2); margin: 0 0 8px; }
.lost a { color: var(--accent); font-weight: 600; }

/* Product pictures */
.shot {
  margin: calc(clamp(20px, 2.6vw, 30px) * -1 + 6px) calc(clamp(20px, 2.6vw, 30px) * -1 + 6px) 2px;
  padding: clamp(14px, 2.4vw, 26px) clamp(10px, 2vw, 22px) clamp(6px, 1vw, 10px);
  border-radius: calc(var(--r) - 4px);
  background:
    radial-gradient(120% 90% at 30% 0%, color-mix(in srgb, var(--hive-a) 14%, transparent), transparent 60%),
    radial-gradient(100% 80% at 100% 100%, color-mix(in srgb, var(--hive-b) 12%, transparent), transparent 60%),
    var(--paper);
}
.shot img { display: block; width: 100%; height: auto; max-width: 100%; }

/* Store logos inside the site's own buttons */
.link .logo { width: 15px; height: 17px; flex: none; }
.link svg.logo { fill: currentColor; stroke: none; }
.link img.logo { object-fit: contain; }
.link.soon img.logo { opacity: .55; filter: saturate(.6); }
