/* Onyx House: bold modern. Onyx black, one electric cobalt accent, wide geometric type.
   Deliberately different from the experiments, which each keep their own identity. */
:root {
  --black: #0a0a0b;
  --black-2: #141416;
  --white: #f2f2f0;
  --muted: #8b8b90;
  --faint: #56565c;
  --line: rgba(242, 242, 240, .12);
  --cobalt: #3d5afe;
  --cobalt-hi: #6b82ff;
  --display: "Syne", "Arial Black", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--black); color: var(--white); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { margin: 0; font-weight: 700; }
a { color: inherit; }
::selection { background: var(--cobalt); color: #fff; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--cobalt); margin-left: 3px; }
.dot.big { width: .22em; height: .22em; margin-left: .06em; vertical-align: baseline; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.72); opacity: .7; } }

/* ---------- top ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 clamp(18px, 4vw, 48px); background: linear-gradient(var(--black) 30%, rgba(10, 10, 11, 0));
}
.brand { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.top nav { display: flex; gap: 28px; font-family: var(--display); font-weight: 500; font-size: 16px; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--cobalt); }

main { padding: 0 clamp(18px, 4vw, 48px); }
section { padding: clamp(72px, 10vw, 140px) 0; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: 48px; }
.glow {
  position: absolute; z-index: -1; width: min(70vw, 900px); aspect-ratio: 1; right: -18vw; top: 4vh; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(61, 90, 254, .55), rgba(61, 90, 254, .12) 45%, transparent 70%);
  filter: blur(20px); animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-8vw, 10vh) scale(1.12); } }
.headline {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -.035em;
  font-size: clamp(44px, 10.6vw, 176px); line-height: .9; margin: 0;
}
.headline .line { display: block; overflow: hidden; padding-bottom: .04em; }
.headline .line > span { display: inline-block; animation: rise .9s cubic-bezier(.2, .7, .1, 1) both; }
.headline .line:nth-child(2) > span { animation-delay: .08s; }
.headline .line:nth-child(3) > span { animation-delay: .16s; }
.headline .line:nth-child(4) > span { animation-delay: .24s; color: var(--cobalt-hi); }
@keyframes rise { from { transform: translateY(105%); } }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.lede { max-width: 520px; margin: 0; color: #c9c9cc; font-size: clamp(17px, 1.6vw, 19px); }
.scroll { font-family: var(--display); font-weight: 500; text-decoration: none; white-space: nowrap; }
.scroll span { display: inline-block; transition: transform .2s; }
.scroll:hover span { transform: translateY(4px); }

/* ---------- marquee ---------- */
.marquee { margin: 0 calc(-1 * clamp(18px, 4vw, 48px)); overflow: hidden; background: var(--cobalt); color: #fff; }
.track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 18px 0; animation: scroll 28s linear infinite; }
.track span { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 36px); text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
.track i { width: 12px; height: 12px; border-radius: 50%; background: #fff; flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 40px; }
.section-head h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 7vw, 96px); line-height: .9; letter-spacing: -.035em; }
.count { font-family: var(--display); font-weight: 500; color: var(--cobalt-hi); font-size: 18px; }

/* ---------- work ---------- */
.cards { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: clamp(24px, 3vw, 40px); border-radius: 28px; text-decoration: none; overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .1, 1); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font-family: var(--display); font-weight: 500; font-size: 15px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #7dffb3; box-shadow: 0 0 0 4px rgba(125, 255, 179, .2); }
.status.muted { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.2vw, 84px); line-height: .9; letter-spacing: -.04em; margin: auto 0 18px; }
.card p { margin: 0; max-width: 480px; }
.card.live { background: var(--cobalt); color: #fff; }
.card.live p { color: rgba(255, 255, 255, .85); }
.card.live .arrow {
  position: absolute; right: clamp(24px, 3vw, 40px); bottom: clamp(24px, 3vw, 40px); display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--cobalt); font-size: 26px; transition: transform .35s;
}
.card.live:hover { transform: translateY(-6px); }
.card.live:hover .arrow { transform: rotate(-45deg); }
.card.live h3, .card.live p { padding-right: 76px; }
.card.soon { border: 1.5px dashed var(--line); color: var(--muted); }
.card.soon h3 { color: var(--faint); }

/* ---------- principles ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.grid3 > div { padding: 28px; border-radius: 24px; background: var(--black-2); border: 1px solid var(--line); }
.grid3 .n { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--cobalt-hi); letter-spacing: -.03em; }
.grid3 h3 { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -.02em; margin: 28px 0 10px; }
.grid3 p { margin: 0; color: #b4b4b8; }

/* ---------- contact ---------- */
.contact { border-top: 1px solid var(--line); }
.big-type { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 10.6vw, 176px); line-height: .88; letter-spacing: -.04em; }
.contact p { color: #b4b4b8; max-width: 480px; margin: 28px 0 32px; }
.mail {
  display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.6vw, 30px);
  text-decoration: none; padding: 18px 30px; border-radius: 999px; background: var(--white); color: var(--black); transition: background .2s, color .2s;
}
.mail:hover { background: var(--cobalt); color: #fff; }
.mail span { transition: transform .2s; }
.mail:hover span { transform: translateX(4px); }

.foot { display: flex; justify-content: space-between; padding: 28px clamp(18px, 4vw, 48px) 40px; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 500; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--white); }

/* ---------- plain pages (privacy) ---------- */
.doc { max-width: 760px; padding: 140px 0 100px; }
.doc .eyebrow { font-family: var(--display); font-weight: 500; color: var(--cobalt-hi); }
.doc h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(48px, 8vw, 104px); line-height: .9; letter-spacing: -.035em; margin: 14px 0 16px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 48px; }
.doc h2 { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; margin: 44px 0 10px; }
.doc p, .doc li { color: #c9c9cc; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--white); font-weight: 600; }
.doc a { color: var(--cobalt-hi); }
.doc code { font-size: .88em; background: var(--black-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }

@media (max-width: 640px) {
  .hero { min-height: auto; padding-top: 128px; }
  .glow { top: -6vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
