/* Onylo Studio · onylo.xyz — no external requests, no JS. */
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #121419;
  --ink-2: #1c1f26;
  --line: #2b2f39;
  --paper: #f1ebdd;
  --paper-2: #e8e0cd;
  --orange: #ff5a1f;
  --orange-ink: #c63d0b; /* AA-contrast orange for small text on paper */
  --muted: #9a978f;
  --muted-ink: #5d5a53;
  --r: 18px;
  --shadow: 6px 6px 0 var(--ink);
  --wrap: 1120px;
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.defs { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  padding: .6rem 1rem; border-radius: 10px;
  background: var(--orange); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ---------- header ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 2; color: var(--paper); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; }
.mark { width: 1.9rem; height: 1.9rem; color: var(--paper); flex: none; }
.nav { display: flex; gap: .25rem; }
.nav a {
  display: block; padding: .45rem .7rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; text-decoration: none; color: #d9d3c5;
  transition: background-color .15s, color .15s;
}
.nav a:hover { background: var(--ink-2); color: var(--paper); }
@media (max-width: 479px) { .nav li:nth-child(-n+2) { display: none; } .brand span { font-size: 1.05rem; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 62% 70% at 22% 55%, var(--ink) 0 45%, rgb(18 20 25 / .9) 62%, rgb(18 20 25 / 0) 100%),
    url("/assets/pattern.svg");
  background-size: auto, 1500px 750px;
  background-position: center, 62% 0;
  background-repeat: no-repeat, repeat;
}
.hero__in { padding-block: 7rem 4.5rem; }
.hero__mark { width: 5rem; height: 5rem; color: var(--paper); margin-bottom: 1.75rem; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .9rem; }
.hero h1 { font-size: clamp(3.1rem, 13vw, 7.5rem); letter-spacing: -0.035em; line-height: .95; }
.tagline { margin-top: 1rem; font-size: clamp(1.25rem, 4.6vw, 1.9rem); font-weight: 500; color: var(--muted); letter-spacing: -0.01em; }
.lede { margin-top: 1.4rem; max-width: 34rem; color: #cfc9bb; font-size: 1.05rem; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }

@media (max-width: 719px) {
  .hero {
    background-image: linear-gradient(180deg, rgb(18 20 25 / 0) 0, rgb(18 20 25 / .2) 16%, rgb(18 20 25 / .9) 30%, var(--ink) 38%), url("/assets/pattern-m.svg");
    background-size: auto, 400px 250px; background-position: center, 50% 0; background-repeat: no-repeat, repeat-x;
  }
}
@media (min-width: 960px) {
  .hero__in { padding-block: 9.5rem 7rem; }
  .hero__mark { width: 6.5rem; height: 6.5rem; }
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.35rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.btn--orange { background: var(--orange); color: var(--ink); box-shadow: 4px 4px 0 var(--paper); }
.btn--orange:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--paper); }
.btn--ghost { border-color: #4a4f5c; color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--orange); }
.btn--ink:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--orange); }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: var(--orange); }
.link:hover { color: var(--orange-ink); }

/* ---------- sections ---------- */
.section { padding-block: 4.5rem; }
@media (min-width: 960px) { .section { padding-block: 6.5rem; } }
.label { display: flex; align-items: center; gap: .6rem; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-ink); }
.label span { display: inline-grid; place-items: center; min-width: 2.1rem; height: 1.5rem; padding-inline: .45rem; border-radius: 999px; background: var(--orange); color: var(--ink); letter-spacing: .04em; }
h2 { margin-top: .9rem; font-size: clamp(2.2rem, 7vw, 3.6rem); }

.grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 960px) { .grid { grid-template-columns: 1.85fr 1fr; gap: 2rem; } }

.card { border: 2px solid var(--ink); border-radius: var(--r); background: #fbf8f1; box-shadow: var(--shadow); overflow: hidden; }
.card__shot { display: block; border-bottom: 2px solid var(--ink); background: #3b2f5c; }
.card__shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 1.4rem 1.25rem 1.6rem; }
@media (min-width: 600px) { .card__body { padding: 1.75rem 2rem 2rem; } }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .2rem .65rem; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .78rem; font-weight: 600; }
.chip--live { display: inline-flex; align-items: center; gap: .4rem; background: var(--ink); color: var(--paper); }
.chip--live::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange); }
.card h3 { margin-top: 1.1rem; font-size: clamp(2.2rem, 7vw, 2.9rem); letter-spacing: -0.03em; }
.card__kicker { margin-top: .35rem; font-size: 1.15rem; font-weight: 600; }
.card__body > p:not(.card__kicker) { margin-top: .8rem; color: #3a3a3a; max-width: 38rem; }
.card__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; }

.card--soon {
  display: flex; flex-direction: column; justify-content: flex-end; gap: .7rem;
  min-height: 20rem; padding: 1.75rem 1.5rem;
  background: transparent; border-style: dashed; box-shadow: none;
}
.soon__art { flex: 1; min-height: 8rem; margin-bottom: .6rem; border-radius: 12px; background: url("/assets/pattern-soon.svg") 0 0 / 288px 288px; }
.chip--wip { align-self: flex-start; border-style: dashed; color: var(--muted-ink); }
.card--soon h3 { margin-top: 0; font-size: 2rem; }
.card--soon p { color: var(--muted-ink); }

/* ---------- about ---------- */
.section--about { background: var(--paper-2); border-top: 2px solid var(--ink); }
.about { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .about { grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: end; } }
.about__text { margin-top: 1.1rem; max-width: 36rem; font-size: 1.12rem; }
.facts { margin: 0; border: 2px solid var(--ink); border-radius: var(--r); background: var(--ink); color: var(--paper); overflow: hidden; box-shadow: 6px 6px 0 var(--orange); }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 1.3rem; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-weight: 500; }
.facts dd { margin: 0; font-weight: 700; text-align: right; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding-block: 2.5rem; }
.foot__in { display: grid; gap: 1.25rem; }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot__links a { font-weight: 600; text-decoration: none; color: #d9d3c5; }
.foot__links a:hover { color: var(--orange); }
.foot__fine { color: var(--muted); font-size: .88rem; }
@media (min-width: 720px) {
  .foot__in { grid-template-columns: auto 1fr; align-items: center; }
  .foot__links { justify-content: flex-end; }
  .foot__fine { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid var(--line); }
}

/* ---------- 404 ---------- */
.nf__in { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
