@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; 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; }
@font-face { font-family: "JB"; src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }


:root { --bg: #ff4d1a; --fg: #0b0b0b; --acc: #e6ff1a; --sans: "Archivo", "Helvetica Neue", Arial, sans-serif; --mono: "JB", ui-monospace, Menlo, monospace; }
* { box-sizing: border-box; }
html { overflow-x: clip; background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 18px; line-height: 1.35; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; touch-action: pan-y; }
.nogl #gl, .nogl #hits { display: none; }

/* the page is drawn inside the canvas; the DOM holds the same words for screen readers and search engines, visually hidden */
.sr { position: absolute !important; left: 0; width: 100%; max-width: 100%; height: auto; margin: 0; padding: 0; overflow: visible; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: normal; overflow-wrap: anywhere; border: 0; pointer-events: none; }
.sr a { display: inline-block; min-width: 44px; min-height: 44px; }
.gl .sr a { visibility: hidden; } /* with the 3D scene running, the drawn buttons carry real links on top (#hits); these duplicates are inert and stay hidden so nothing overlaps them */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; }
.skip:focus { left: 8px; }

/* invisible hit areas laid exactly over the drawn buttons (the drawn pixels are the button, this is only the touch target) */
#hits { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
#hits a { position: absolute; left: 0; top: 0; display: block; pointer-events: auto; background: transparent; color: transparent; text-decoration: none; overflow: hidden; font-size: 1px; will-change: transform; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#hits a.real { display: flex; align-items: center; justify-content: center; min-height: 44px; background: linear-gradient(#e6ff1a, #e6ff1a); color: #0b0b0b; font-family: var(--sans); font-weight: 800; letter-spacing: -.01em; text-align: center; line-height: 1.1; padding: 0 12px; overflow: visible; }
#hits a.real:hover { background: linear-gradient(#0b0b0b, #0b0b0b); color: #e6ff1a; }
#hits a.real:focus-visible { outline: 3px solid #0b0b0b; outline-offset: 3px; mix-blend-mode: normal; box-shadow: 0 0 0 6px #e6ff1a; }
#hits a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; mix-blend-mode: difference; }

main { position: relative; z-index: 5; pointer-events: none; }
.sec { min-height: 100vh; min-height: 100svh; }

/* no WebGL: plain readable page, the same words */
.nogl body { color: #0b0b0b; }
.nogl .sr { position: static !important; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal; }
.nogl main { pointer-events: auto; }
.nogl .sec { padding: 72px 20px 24px; max-width: 760px; margin: 0 auto; }
.nogl h1, .nogl h2 { font-size: clamp(2rem, 8vw, 4rem); line-height: 1; text-transform: uppercase; margin: 0 0 12px; }
.nogl a { color: #0b0b0b; font-weight: 800; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 4px 6px; overflow-wrap: anywhere; }
.nogl #hdr { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 14px 20px; align-items: center; }
.ns { position: relative; z-index: 30; margin: 0; padding: 12px 20px; background: #fff; color: #000; }

/* contact dialog */
#cdlg { position: fixed; margin: auto; padding: 24px; width: calc(100vw - 32px); max-width: 420px; background: #fff; color: #000; border: 2px solid #000; border-radius: 0; font-family: var(--sans); box-shadow: none; }
#cdlg::backdrop { background: rgba(0, 0, 0, .6); }
#cdlg h2 { margin: 0 44px 18px 0; font-size: 24px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; color: #000; }
.cd-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; padding: 0; background: transparent; color: #000; border: 0; border-radius: 0; font: 700 28px/1 var(--sans); cursor: pointer; }
.cd-x:focus-visible, #cdlg input:focus-visible, .cd-send:focus-visible { outline: 2px solid #ff4d1a; outline-offset: 2px; }
.lead-form { position: relative; display: grid; gap: 14px; }
.lead-form label { display: block; }
.lead-form label > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: #000; }
.lead-form input { display: block; width: 100%; height: 48px; padding: 0 12px; font: 500 16px/1 var(--sans); color: #000; background: #fff; border: 2px solid #000; border-radius: 0; box-shadow: none; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cd-send { width: 100%; height: 48px; padding: 0 16px; background: #000; color: #ff4d1a; border: 0; border-radius: 0; font: 800 16px/1 var(--sans); cursor: pointer; box-shadow: none; }
.cd-send[disabled] { opacity: .6; cursor: wait; }
.form-msg { min-height: 1.3em; margin: 0; font-size: 15px; font-weight: 700; color: #000; }

/* Omarchy overlay */
#omx { position: fixed; inset: 0; z-index: 60; background: #000; }
#omx[hidden] { display: none; }
#omx iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
#omx .omx-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; padding: 0; background: #000; color: #fff; border: 2px solid #fff; border-radius: 0; font: 700 26px/1 var(--sans); cursor: pointer; }
#omx .omx-x:focus-visible { outline: 2px solid #ff4d1a; outline-offset: 2px; }
