:root {
  --bg: #111112;
  --bg-black: #000000;
  --bg-mid: #1c1c1d;
  --card: #1a1a1b;
  --card-2: #29292a;
  --text: #ffffff;
  --muted: #c2c2c2;
  --dim: #888888;
  --off: #4a4a4c;
  --accent: #cb360f;
  --line: rgba(255,255,255,.12);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --wrap: 900px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
i.s { font-family: var(--serif); font-weight: 400; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { position: relative; }

/* ---------- Shared bits ---------- */
.sec-top { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 18px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.sec-top .lbl { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.sec-top .lbl::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent); }
.sec-top .num { color: var(--accent); }
.h-sec { font-size: clamp(30px, 4vw, 42px); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-weight: 500; font-size: 14px; transition: background .3s; }
.btn .sq { width: 32px; height: 32px; border-radius: 6px; background: var(--accent); display: grid; place-items: center; }
.btn .sq svg { width: 14px; height: 14px; transition: transform .3s; }
.btn:hover { background: var(--card-2); }
.btn:hover .sq svg { transform: translateX(3px); }

/* Scroll text fill: chars go from gray to their real color */
[data-fill] .ch { color: var(--off); transition: color .25s; }
[data-fill] .ch.on { color: inherit; }
[data-fill] .w { display: inline-block; white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); pointer-events: none; z-index: 999; transition: width .25s, height .25s, margin .25s, background .25s; }
.cursor.big { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(203,54,15,.25); }
@media (hover: none) { .cursor { display: none; } }

@keyframes slide { to { transform: translateX(-50%); } }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
