@font-face { font-family: "Unbounded"; src: url("/assets/unbounded-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/manrope-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --bg: #03050b;
  --bg-2: #060a17;
  --ink: #eaf1ff;
  --ink-2: #a9b6cf;
  --ink-3: #6f7d99;
  --line: rgba(120, 170, 255, 0.14);
  --cyan: #49dcff;
  --blue: #2b6bff;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background:
    radial-gradient(70% 55% at 75% 10%, rgba(43, 107, 255, 0.22), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(73, 220, 255, 0.10), transparent 70%),
    var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* A faint engineering grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(120, 170, 255, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}
a { color: inherit; }
.wrap { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.14em; text-transform: uppercase; }

header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; }
.logo { width: 150px; height: auto; display: block; }
.top { display: flex; align-items: center; gap: 22px; }
.navlink { text-decoration: none; color: var(--ink-2); font-weight: 600; }
.navlink:hover { color: var(--ink); }
.toll { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.toll small { color: var(--cyan); font-size: 0.7rem; }

.hero { padding: clamp(40px, 9vh, 110px) 0 30px; text-align: center; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--cyan); font-size: 0.72rem; background: rgba(6, 10, 23, 0.6); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(73, 220, 255, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(73, 220, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(73, 220, 255, 0); } }
h1 {
  margin: 26px auto 18px;
  max-width: 14ch;
  font: 700 clamp(2.4rem, 7vw, 5.4rem)/1.02 "Unbounded", sans-serif;
  letter-spacing: -0.03em;
}
h1 span { background: linear-gradient(180deg, #ffffff, #9fb0cc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 620px; margin: 0 auto; color: var(--ink-2); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.vern { margin-top: 10px; color: var(--ink-3); font-size: 0.95rem; }

/* The range on a lit stage */
.stage { position: relative; margin: clamp(30px, 6vh, 60px) auto 0; }
.stage::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 6%; height: 30%; background: radial-gradient(50% 50% at 50% 50%, rgba(73, 220, 255, 0.22), transparent 70%); filter: blur(20px); z-index: -1; }
/* Column widths follow each image's width ÷ height, so every model stands the same height. */
.range { display: grid; grid-template-columns: minmax(0, 1.083fr) minmax(0, 1.05fr) minmax(0, 1.476fr) minmax(0, 1.246fr) minmax(0, 1.246fr); gap: clamp(6px, 1.5vw, 18px); align-items: end; }
.range figure { margin: 0; text-align: center; }
.range img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.6)); animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
.range figure:nth-child(2) img { animation-delay: .08s } .range figure:nth-child(3) img { animation-delay: .16s }
.range figure:nth-child(4) img { animation-delay: .24s } .range figure:nth-child(5) img { animation-delay: .32s }
.range figcaption { margin-top: 8px; color: var(--ink-3); font-size: 0.66rem; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: clamp(40px, 7vh, 70px) 0 14px; }
.card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(6, 10, 23, 0.65); backdrop-filter: blur(10px); text-decoration: none; transition: border-color .25s, transform .25s; }
a.card:hover, a.card:focus-visible { border-color: var(--cyan); transform: translateY(-2px); }
.card .mono { display: block; color: var(--cyan); font-size: 0.66rem; margin-bottom: 8px; }
.card b { display: block; font-size: 1.15rem; font-weight: 700; }
.card small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 0.82rem; }

.row2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.office { font-style: normal; color: var(--ink-2); }
.office b { color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: border-color .25s, background .25s; }
.btn:hover, .btn:focus-visible { border-color: var(--cyan); }
.btn--primary { border: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); color: #03050b; }
.btn svg { width: 18px; height: 18px; }

footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 34px 0 30px; margin-top: 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.66rem; }
footer a { color: var(--ink-2); text-decoration: none; }
footer b { color: var(--ink); }

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .range { grid-template-columns: minmax(0, 1.083fr) minmax(0, 1.05fr) minmax(0, 1.476fr); }
  .range figure:nth-child(n+4) { display: none; }
  .toll small { display: none; }
  .top { gap: 14px; font-size: 0.92rem; }
  .logo { width: 120px; }
  .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse, .range img { animation: none; }
}

/* ───────── Blog ───────── */
.section-head { margin: clamp(56px, 9vh, 90px) 0 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-head h2 { margin: 6px 0 0; font: 700 clamp(1.7rem, 3.6vw, 2.6rem)/1.1 "Unbounded", sans-serif; letter-spacing: -0.02em; }
.eyebrow { color: var(--cyan); font-size: 0.72rem; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(6, 10, 23, 0.65); text-decoration: none; transition: border-color .25s, transform .25s; }
.post-card:hover, .post-card:focus-visible { border-color: var(--cyan); transform: translateY(-2px); }
.post-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--bg-2); }
.post-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card .meta { color: var(--ink-3); font-size: 0.64rem; }
.post-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.post-card p { margin: 0; color: var(--ink-2); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 0.85rem "Manrope", sans-serif; cursor: pointer; }
.chip[aria-pressed="true"], .chip:hover { border-color: var(--cyan); color: var(--ink); }
.chip small { color: var(--ink-3); margin-left: 4px; }
.page-hero { padding: clamp(36px, 7vh, 80px) 0 10px; }
.page-hero h1 { margin: 10px 0 12px; max-width: none; text-align: left; }
.page-hero .lede { margin: 0; }

.article { max-width: 760px; margin: 0 auto; padding: clamp(30px, 6vh, 60px) 0 0; }
.crumbs { color: var(--ink-3); font-size: 0.66rem; }
.crumbs a { text-decoration: none; color: var(--cyan); }
.article h1 { text-align: left; max-width: none; margin: 14px 0 12px; font-size: clamp(1.8rem, 4.6vw, 3rem); line-height: 1.12; }
.article .meta { color: var(--ink-3); font-size: 0.66rem; }
.cover { margin: 26px 0 8px; }
.cover img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); display: block; }
.prose { font-size: 1.05rem; line-height: 1.75; color: #d5deef; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); font-family: "Unbounded", sans-serif; line-height: 1.25; letter-spacing: -0.01em; margin: 2em 0 0.6em; }
.prose h2 { font-size: 1.45rem; } .prose h3 { font-size: 1.2rem; } .prose h4 { font-size: 1.05rem; }
.prose a { color: var(--cyan); }
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { color: var(--ink-3); font-size: 0.85rem; margin-top: 6px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--cyan); color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.3em 0; }
.cta { margin: 40px 0 0; }
.related { margin-top: 10px; }

@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .posts { grid-template-columns: 1fr; }
  .navlink { font-size: 0.92rem; }
  .top { gap: 14px; }
}
