/* kuro — the website. the same rules as the desktop: black, white, the grey between, one typeface, thin lines. */
/* the fonts come with zirkelbachluca.com (/fonts), so it looks the same for everyone */
@font-face { font-family: Mono; src: url("/fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Mono; src: url("/fonts/JetBrainsMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Mono; src: url("/fonts/JetBrainsMono-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Mono; src: url("/fonts/JetBrainsMono-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
:root {
  --bg: #0c0c0c; --line: #1f1f1f; --fg: #d4d4d4; --mute: #7a7a7a; --dim: #4a4a4a; --white: #f2f2f2;
  --mono: Mono, "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--mono); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: #2a2a2a; color: var(--white); }
a { color: inherit; text-decoration: none; }
b { color: var(--white); font-weight: 800; }
code { font-family: var(--mono); color: var(--white); font-size: .92em; }

/* ---- top line */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; gap: 34px; align-items: baseline;
      padding: 18px 56px; background: rgba(12,12,12,.9); backdrop-filter: blur(8px); border-bottom: 1px solid transparent;
      transition: border-color .3s; }
nav.scrolled { border-bottom-color: var(--line); }
nav a { color: var(--dim); font-size: 13px; font-weight: 700; transition: color .15s; }
nav a:hover { color: var(--white); }
nav .brand { color: var(--white); font-size: 20px; font-weight: 800; letter-spacing: -1px; margin-right: auto; }
nav .dl { color: var(--white); }

/* ---- the top */
header { padding: 150px 56px 40px; max-width: 1240px; margin: 0 auto; }
.hero { max-width: 760px; margin-bottom: 70px; }
.kicker, .label { font-size: 12px; color: var(--dim); letter-spacing: 2px; text-transform: uppercase; }
h1 { font-size: clamp(80px, 14vw, 168px); font-weight: 800; color: var(--white); letter-spacing: -.06em; line-height: .95; margin: 10px 0 24px; }
.lead { font-size: 18px; color: var(--mute); }
.eq { display: flex; gap: 6px; align-items: center; height: 70px; margin: 42px 0 6px; }
.eq i { display: block; width: 5px; height: 2px; background: var(--white); opacity: .3; border-radius: 1px; }
.hint { font-size: 12px; color: var(--dim); }
.cta { display: flex; gap: 34px; margin-top: 36px; }
.word { font-family: var(--mono); font-size: 16px; font-weight: 800; color: var(--white); background: none; border: 0; cursor: pointer; transition: color .15s; }
.word.dim { color: var(--dim); }
.word:hover { color: #fff; }
.word.dim:hover { color: var(--mute); }

/* ---- sections */
main { max-width: 1240px; margin: 0 auto; padding: 0 56px; }
section { padding: 110px 0 20px; border-top: 1px solid var(--line); scroll-margin-top: 40px; }
h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; color: var(--white); letter-spacing: -.04em; line-height: 1.05; margin: 10px 0 22px; }
.text { max-width: 720px; font-size: 16px; color: var(--mute); margin-bottom: 46px; }

.grid.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); gap: 46px 34px; margin-bottom: 40px; }
.shot { margin: 0 0 30px; cursor: zoom-in; }
.shot img { width: 100%; display: block; border: 1px solid var(--line); border-radius: 12px; background: #000; transition: border-color .2s; }
.shot:hover img { border-color: #3a3a3a; }
.shot.wide { margin-top: 10px; }
figcaption { margin-top: 14px; font-size: 14px; color: var(--mute); }
figcaption b { display: block; font-size: 16px; margin-bottom: 2px; }

/* reveal on scroll: fade up once */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }

.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 20px 64px; margin: 20px 0 50px; }
.facts li b { display: block; font-size: 30px; letter-spacing: -1px; }
.facts li span { font-size: 12px; color: var(--dim); }
.facts.small li b { font-size: 20px; }

.list { margin: 10px 0 50px; max-width: 820px; }
.list div { display: flex; gap: 30px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list dt { width: 220px; flex: none; font-weight: 800; color: var(--white); font-size: 15px; }
.list dd { color: var(--mute); font-size: 15px; }
.list.keys { columns: 2; column-gap: 60px; max-width: none; }
.list.keys div { break-inside: avoid; }
.list.keys dt { width: 180px; }

/* ---- download */
.download { margin: 26px 0 40px; }
.download + .download { margin-top: -10px; padding-top: 28px; border-top: 1px solid var(--line); }
.download .ed { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.download .ed span { text-transform: none; letter-spacing: 0; font-size: 12.5px; margin-left: 12px; color: var(--dim); opacity: .8; }
.download.soon .file { cursor: default; }
.download.soon .file .ic, .download.soon .file b { color: var(--dim); }
.download.soon .file:hover .ic { transform: none; }
.intro { color: var(--mute); font-size: 14px; max-width: 760px; margin: -8px 0 6px; }
.intro.small { font-size: 13px; color: var(--dim); margin: -20px 0 40px; }
.intro code { color: var(--mute); }
.file { display: inline-flex; gap: 22px; align-items: center; padding: 6px 0; }
.file .ic { font-size: 40px; color: var(--white); line-height: 1; transition: transform .2s; }
.file:hover .ic { transform: translateY(4px); }
.file b { display: block; font-size: 22px; letter-spacing: -.5px; }
.file small { font-size: 13px; color: var(--dim); }
.sum { margin-top: 14px; font-size: 12px; color: var(--dim); word-break: break-all; }
.sum code { color: var(--mute); font-size: 12px; }
.sum .word { font-size: 12px; margin-left: 10px; }
.steps { list-style: none; counter-reset: s; max-width: 820px; margin-bottom: 40px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 50px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-size: 26px; font-weight: 800; color: var(--dim); grid-row: span 2; line-height: 1.1; }
.steps b { font-size: 16px; }
.steps span { color: var(--mute); font-size: 14px; }

footer { max-width: 1240px; margin: 80px auto 0; padding: 30px 56px 50px; border-top: 1px solid var(--line);
         display: flex; gap: 30px; align-items: baseline; font-size: 13px; color: var(--dim); }
footer .brand { color: var(--white); font-weight: 800; font-size: 18px; letter-spacing: -1px; }
footer .word { margin-left: auto; font-size: 13px; }

/* ---- a picture, big */
.big { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.94); display: flex; flex-direction: column;
       align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; cursor: zoom-out; }
.big.open { opacity: 1; pointer-events: auto; }
.big img { max-width: 94vw; max-height: 86vh; border-radius: 10px; border: 1px solid #262626; }
.big p { margin-top: 14px; font-size: 14px; color: var(--mute); }

@media (max-width: 760px) {
  nav { padding: 16px 22px; gap: 18px; } nav a:not(.brand):not(.dl) { display: none; }
  header, main { padding-left: 22px; padding-right: 22px; } header { padding-top: 110px; }
  .grid.two { grid-template-columns: 1fr; } .list div { flex-direction: column; gap: 2px; } .list.keys { columns: 1; }
  footer { padding: 30px 22px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
