@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #121211;
  --ink: #f3efe8;
  --muted: #bdb7ab;
  --accent: #e0914a;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(circle at 30% 50%, #1d1b18 0, var(--bg) 60%);
}
.stage {
  min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(1.5rem, 4vw, 5rem);
  max-width: 1300px; margin: 0 auto; padding: clamp(1.5rem, 5vw, 4rem);
}

/* Construction drawing */
.plate { width: 100%; max-height: 90vh; color: var(--ink); overflow: visible; }
.ink * { stroke-width: 1.2; }
.ink .thin { stroke-width: .6; opacity: .55; }
.ink .accent, .ink .gear { stroke: var(--accent); }
.ink .accent { stroke-width: 1.6; }
.ink .ticks { stroke-width: 5; stroke-linecap: butt; }
.ink .ticks.major { stroke-width: 10; }
.gear { transform-origin: 300px 300px; stroke-width: 1.4; }

.d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s cubic-bezier(.65,0,.25,1) forwards; animation-delay: calc(var(--i) * .35s); }
.ticks, .gear { opacity: 0; animation: fade 1.2s ease forwards; animation-delay: calc(var(--i) * .35s); }
.ticks { --o: .55; } .ticks.major { --o: .9; }
.gear { animation: fade 1.2s ease forwards, spin 40s linear infinite; animation-delay: calc(var(--i) * .35s), calc(var(--i) * .35s); --o: 1; }
.labels { font: 400 9px var(--mono); letter-spacing: .08em; opacity: 0; animation: fade 1.5s ease 3.2s forwards; --o: .7; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: var(--o, 1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Copy */
.copy { display: grid; gap: 1.4rem; justify-items: start; }
.mono { font: 400 .78rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.eyebrow { color: var(--accent); }
.blink { animation: blink 1.4s steps(2, jump-none) infinite; }
.wordmark { font-weight: 300; font-size: clamp(2.6rem, 7.2vw, 6.2rem); letter-spacing: -.045em; line-height: .95; margin: 0; }
.wordmark span { font-weight: 700; }
.soon { font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.25; margin: .6rem 0 0; }
.soon span[lang="en"] { color: var(--muted); }
.line { text-transform: none; letter-spacing: .02em; font-size: .85rem; }
.mirror { transform: scaleX(-1); transform-origin: center; opacity: .25; font-size: .7rem; width: max-content; }
.contact a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; text-transform: none; letter-spacing: .04em; }
.contact a:hover { color: var(--accent); }

.copy > * { opacity: 0; transform: translateY(10px); animation: rise 1s ease forwards; }
.eyebrow { animation-delay: 1.2s; } .wordmark { animation-delay: 1.5s; } .soon { animation-delay: 2s; }
.line { animation-delay: 2.4s; } .mirror { animation-delay: 2.8s; --o: .25; } .contact { animation-delay: 3s; }
.copy > .mirror { animation-name: rise-mirror; transform: scaleX(-1); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-mirror { from { opacity: 0; } to { opacity: .25; transform: scaleX(-1); } }
@keyframes blink { 50% { opacity: .15; } }

@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; padding-top: 2rem; }
  .plate { max-width: 460px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .d, .ticks, .gear, .labels, .copy > * { animation: none !important; stroke-dashoffset: 0; opacity: var(--o, 1); transform: none; }
  .mirror { transform: scaleX(-1); opacity: .25; }
  .blink { animation: none; }
}
