@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0d;
  --bg-2: #101116;
  --panel: #14151a;
  --line: #26282f;
  --line-soft: #1c1e24;
  --text: #e9e7e2;
  --muted: #9a9ca4;
  --accent: #d9333d;
  --accent-hot: #f04b55;
  --accent-dim: rgba(217, 51, 61, 0.14);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --radius: 4px;
  --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 520px at 78% -8%, rgba(217, 51, 61, 0.09), transparent 70%),
    linear-gradient(to bottom, #0b0b0d, #0b0b0d 620px, #0e0f13 100%);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
}
.skip:focus { left: 12px; top: 12px; }

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

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--accent-hot);
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}
.brand-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-text em {
  font-style: normal;
  color: var(--muted);
  margin-left: 6px;
}
.site-head nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-head nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}
.site-head nav a:hover { color: var(--text); }
.site-head .nav-cta {
  color: var(--text);
  border: 1px solid var(--line);
  padding: 9px 18px;
  background: var(--panel);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.site-head .nav-cta:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px);
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-glow {
  position: absolute;
  inset: auto -10% -55% 40%;
  height: 460px;
  background: radial-gradient(closest-side, rgba(217, 51, 61, 0.16), transparent);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.dot {
  width: 7px;
  height: 7px;
  background: var(--accent-hot);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.hero h1 {
  font-size: clamp(44px, 8.4vw, 96px);
  letter-spacing: 0.005em;
  margin-bottom: 26px;
}
.hero h1 .accent { color: var(--accent-hot); }
.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hot); }
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--muted);
  background: var(--panel);
}
.btn-wide { width: 100%; }
.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.link-quiet:hover { color: var(--text); border-color: var(--accent); }

/* Sections */
.section {
  padding: clamp(48px, 7vw, 84px) 0;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 90px;
}
.section-head { margin-bottom: 34px; }
.kicker {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 48px);
}
.section-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 560px;
}

/* Feature */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 44px);
  align-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), #101116);
  padding: clamp(16px, 2.2vw, 26px);
}
.feature-media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #000;
}
.feature-media img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, opacity 0.3s ease;
  opacity: 0.94;
}
.feature-media:hover img { transform: scale(1.02); opacity: 1; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.tags li {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 10px;
}
.feature-body h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 16px;
}
.feature-body p { color: var(--muted); font-size: 14.5px; }
.feature-meta {
  font-size: 12.5px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text) !important;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin: 22px 0 26px;
}
.feature-meta strong { color: var(--accent-hot); }
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px 24px 30px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.card:hover { border-color: #3a3d46; transform: translateY(-2px); background: #16181e; }
.card-state {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 16px;
}
.card h3 { font-size: 23px; margin-bottom: 12px; }
.card p:not(.card-state) { color: var(--muted); font-size: 14px; }
.card-empty {
  border-style: dashed;
  background: transparent;
}
.card-empty .card-state { color: var(--muted); }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}
.about p { color: var(--muted); font-size: 15px; }
.about strong { color: var(--text); }
.about-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px 24px;
}
.about-card dl { margin: 0 0 24px; }
.about-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.about-card dl > div:first-child { padding-top: 0; }
.about-card dt {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 3px;
}
.about-card dd {
  margin: 0;
  text-align: right;
  font-size: 13.5px;
}

/* Footer */
.site-foot {
  border-top: 1px solid var(--line-soft);
  padding: 30px 0;
  margin-top: 20px;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot-inner p { margin: 0; }
.foot-links { display: flex; gap: 22px; }
.foot-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}
.foot-links a:hover { color: var(--accent-hot); }

/* Responsive */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand-text em { display: none; }
  .site-head nav { gap: 16px; font-size: 11px; }
  .site-head nav a:not(.nav-cta) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .feature-actions { gap: 14px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
