/* BitForge Studio — one stylesheet, no build step.
   Deep steel and brass: the forge, stated once. */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --ground:    #0B0E13;
  --surface:   #131922;
  --surface-2: #1A222E;
  --rule:      #26303E;
  --rule-soft: #1C2531;
  --ink:       #E8EDF4;
  --ink-2:     #94A3B6;
  --ink-3:     #64748B;
  --brass:     #C9973F;
  --brass-lit: #E0B25C;
  --brass-dim: #4A3A1C;
  --good:      #3FBF87;

  --sans:  "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 66rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

a { color: var(--brass-lit); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

code, .mono { font-family: var(--mono); font-size: .86em; }

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

/* ---------------------------------------------------------------- header */

.masthead {
  border-bottom: 1px solid var(--rule-soft);
  background: rgba(11, 14, 19, .86);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 4.25rem;
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: 0 0 26px; }
.brand b {
  font-weight: 700; font-size: 1.05rem; letter-spacing: -.015em;
}
.brand span { color: var(--ink-3); font-weight: 500; }

.nav { display: flex; gap: 1.6rem; font-size: .93rem; font-weight: 500; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brass-lit); }

/* ---------------------------------------------------------------- hero */

.hero { padding: 6rem 0 4.5rem; border-bottom: 1px solid var(--rule-soft); }
.hero .eyebrow {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 1.4rem;
}
.hero h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.02; letter-spacing: -.03em; font-weight: 700;
  text-wrap: balance; max-width: 20ch;
}
.hero p {
  margin: 0; font-size: 1.2rem; line-height: 1.55;
  color: var(--ink-2); max-width: 52ch;
}
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  padding: .7rem 1.15rem; border-radius: 3px;
  border: 1px solid var(--rule);
  color: var(--ink); background: var(--surface);
}
.btn:hover { text-decoration: none; border-color: var(--ink-3); }
.btn--brass {
  background: var(--brass); border-color: var(--brass); color: #17120A;
}
.btn--brass:hover { background: var(--brass-lit); border-color: var(--brass-lit); }
.btn--quiet { background: transparent; }

/* ---------------------------------------------------------------- sections */

section { padding: 4.5rem 0; }
section + section { border-top: 1px solid var(--rule-soft); }

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.12;
  letter-spacing: -.02em; font-weight: 600; margin: 0 0 1rem;
  text-wrap: balance;
}
h3 {
  font-size: 1.05rem; font-weight: 600; letter-spacing: -.005em;
  margin: 2.2rem 0 .6rem;
}
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 58ch; margin: 0 0 2.5rem; }

.section-label {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem;
}

/* ---------------------------------------------------------------- cards */

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--rule-soft);
  border-radius: 4px; padding: 1.5rem 1.5rem 1.6rem;
  display: flex; flex-direction: column; gap: .6rem;
}
.card h3 { margin: 0; font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .96rem; }

.card--plugin { position: relative; padding-top: 1.6rem; }
.card--plugin .status {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brass);
  border: 1px solid var(--brass-dim); background: rgba(201,151,63,.08);
  padding: .18rem .45rem; border-radius: 2px; align-self: flex-start;
}
.card--plugin .status--soon { color: var(--ink-3); border-color: var(--rule); background: none; }
.card--soon { opacity: .62; }

/* ---------------------------------------------------------------- prose */

.prose { max-width: 40rem; font-family: var(--serif); font-size: 1.09rem; line-height: 1.68; }
.prose p { margin: 0 0 1.15rem; color: var(--ink); }
.prose p strong { font-weight: 600; }
.prose h2 { font-family: var(--sans); margin-top: 2.8rem; }
.prose h3 { font-family: var(--sans); }
.prose ul { margin: 0 0 1.15rem; padding-left: 1.15rem; }
.prose li { margin-bottom: .5rem; }
.prose code { background: var(--surface-2); padding: .1em .35em; border-radius: 2px; }

/* ---------------------------------------------------------------- feature rows */

.rows { display: flex; flex-direction: column; gap: 1px; background: var(--rule-soft);
        border: 1px solid var(--rule-soft); border-radius: 4px; overflow: hidden; }
.row { background: var(--surface); padding: 1.4rem 1.5rem; display: grid; gap: .4rem; }
.row h3 { margin: 0; font-size: 1.02rem; }
.row p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ---------------------------------------------------------------- shots */

.shots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.shot { border: 1px solid var(--rule-soft); border-radius: 4px; overflow: hidden; background: var(--surface); }
.shot img {
  width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: top center;
  background: var(--surface-2);
}
.shot figcaption {
  padding: .7rem .9rem; font-size: .84rem; color: var(--ink-3);
  border-top: 1px solid var(--rule-soft);
}

.banner-figure { border: 1px solid var(--rule-soft); border-radius: 4px; overflow: hidden; margin: 0 0 2.5rem; }

/* ---------------------------------------------------------------- footer */

footer {
  border-top: 1px solid var(--rule-soft); padding: 3rem 0 4rem;
  color: var(--ink-3); font-size: .9rem;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
footer a { color: var(--ink-2); }

/* ---------------------------------------------------------------- utility */

.stack-lg { display: flex; flex-direction: column; gap: 3rem; }
.muted { color: var(--ink-2); }
.scroller { overflow-x: auto; }

@media (max-width: 40rem) {
  .nav { gap: 1rem; font-size: .88rem; }
  .brand span { display: none; }
  .hero { padding: 4rem 0 3rem; }
  section { padding: 3.25rem 0; }
}
