/* praxlogic.com — site.css v0.5.0 */

:root {
  --paper: #e8ebee;
  --card: #f7f8f9;
  --ink: #0f1418;
  --muted: #55616c;
  --line: #c6ced5;
  --petrol: #103c4c;
  --petrol-deep: #0a2733;
  --gold: #c08a1e;
  --measure: 68ch;
  --gap: 1.5rem;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

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

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

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.62); }

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

.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-head .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2.8rem 0 1.8rem;
  text-align: center;
}

.brand { display: block; line-height: 0; }

.brand img {
  display: block;
  width: auto;
  height: clamp(118px, 15vw, 205px);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .site-head .wrap { padding: 2rem 0 1.3rem; gap: 1.2rem; }
  .brand img { height: clamp(104px, 30vw, 140px); }
  .nav { font-size: 0.88rem; gap: 1rem; }
}

.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: 0 3px 0 var(--gold); }

/* ---------- gradient scale (signature element) ---------- */

.scale { display: flex; gap: 3px; margin: 2rem 0; max-width: 420px; }

.scale i {
  display: block;
  height: 10px;
  flex: 1;
  background: var(--line);
  transform-origin: bottom;
}

.scale i:nth-child(n + 4) { background: #b9bfc6; }
.scale i:nth-child(n + 7) { background: #9aa4ad; }
.scale i:nth-child(n + 9) { background: var(--gold); }

@media (prefers-reduced-motion: no-preference) {
  .scale i {
    animation: rise 0.5s cubic-bezier(0.2, 0.8, 0.3, 1) both;
    animation-delay: calc(var(--i) * 60ms);
  }
  @keyframes rise {
    from { transform: scaleY(0.15); opacity: 0; }
    to { transform: scaleY(1); opacity: 1; }
  }
}

.scale-caption {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  max-width: 420px;
  margin-top: -1.4rem;
  margin-bottom: 2.4rem;
}

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

.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 3rem; }

.hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--muted);
  max-width: 58ch;
}

/* ---------- bands ---------- */

.band { padding: 3.5rem 0; border-top: 1px solid var(--line); }

.band--dark {
  background: var(--petrol);
  color: #eef2f4;
  border-top: none;
}

.band--dark h2, .band--dark h3 { color: #fff; }
.band--dark p { color: rgba(255, 255, 255, 0.78); }
.band--dark a { color: var(--gold); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
  margin-top: 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.band--dark .card {
  background: var(--petrol-deep);
  border-color: rgba(255, 255, 255, 0.14);
}

.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.card .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.7rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- lists ---------- */

ul.plain {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
  max-width: var(--measure);
}

ul.plain li {
  padding: 0.55rem 0 0.55rem 1.6rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

ul.plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.card ul.plain li { font-size: 0.94rem; }
.band--dark ul.plain li { border-bottom-color: rgba(255, 255, 255, 0.16); }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.band--dark .stat b { color: var(--gold); }

.stat span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.band--dark .stat span { color: rgba(255, 255, 255, 0.6); }

/* ---------- track record ---------- */

.track { margin-top: 2rem; max-width: 860px; }

.track-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.track-row:last-child { border-bottom: 1px solid var(--line); }

.track-row .yr {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.track-row p { margin: 0.3rem 0 0; font-size: 0.95rem; color: var(--muted); }

@media (max-width: 620px) {
  .track-row { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  background: var(--petrol);
  color: #fff;
  border: 1px solid var(--petrol);
}

.btn:hover { background: var(--petrol-deep); color: #fff; }

.btn--ghost { background: transparent; color: var(--petrol); }
.btn--ghost:hover { background: var(--petrol); color: #fff; }

.band--dark .btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--petrol-deep);
}

.band--dark .btn:hover { background: #dda52f; color: var(--petrol-deep); }

.actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }

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

.site-foot {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--ink); }