/* Smoke Forge Labs — single stylesheet */

:root {
  --bg: #08090b;
  --bg-soft: #0d0f12;
  --panel: #12151a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceff4;
  --muted: #9aa3af;
  --dim: #6b7280;
  --ember: #ff7a3d;
  --ember-deep: #d9531c;
  --max: 1120px;
  --pad: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --font: "Rajdhani", "Bahnschrift", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  background: var(--ember);
  color: #100b08;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  border-bottom-color: var(--ember);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 15px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  position: absolute;
  top: -5px;
}

.nav-toggle-lines::after {
  position: absolute;
  top: 5px;
}

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

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(64px, 12vw, 132px) clamp(48px, 8vw, 96px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  inset: -30% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(46% 42% at 22% 34%, rgba(255, 122, 61, 0.16), transparent 70%),
    radial-gradient(38% 38% at 78% 12%, rgba(217, 83, 28, 0.12), transparent 72%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  justify-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ember);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.num {
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.hero-title {
  font-size: clamp(2.7rem, 9.5vw, 6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 14ch;
}

.hero-title span {
  background: linear-gradient(100deg, var(--ember), var(--ember-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--ember);
  border-radius: 8px;
  background: var(--ember);
  color: #150c07;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: #ff8f5c;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--ember);
}

.hero-rule {
  margin-top: clamp(40px, 7vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

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

.section {
  padding-block: clamp(48px, 8vw, 88px);
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 60ch;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-lede {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: clamp(12px, 1.8vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: rgba(255, 122, 61, 0.45);
  transform: translateY(-2px);
}

.card-num {
  color: var(--ember);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.card h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.placeholder {
  color: var(--dim);
}

.empty-panel {
  display: grid;
  gap: 8px;
  place-items: center;
  text-align: center;
  padding: clamp(30px, 6vw, 56px) clamp(18px, 4vw, 40px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.empty-mark {
  color: var(--ember);
  font-size: 2rem;
  line-height: 1;
}

.empty-panel .placeholder {
  max-width: 46ch;
}

.contact-panel {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.contact-email {
  font-family: var(--mono);
  font-size: clamp(1.05rem, 3vw, 1.5rem);
  color: var(--text);
  overflow-wrap: anywhere;
  border-bottom: 1px dashed rgba(255, 122, 61, 0.5);
  padding-bottom: 2px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 26px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--dim);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.78rem;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--ember);
}

/* ---------- narrow screens ---------- */

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--pad) 14px;
    background: rgba(8, 9, 11, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .hero-title {
    max-width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
