:root {
  --bg: #0a0a0e;
  --bg-elev: #14141c;
  --surface: #1a1a24;
  --border: #262633;
  --border-soft: #1f1f2a;
  --text: #f5f5f7;
  --text-muted: #9a9aae;
  --text-dim: #6a6a80;
  --accent: #ff5f1f;
  --accent-soft: rgba(255, 95, 31, 0.12);
  --accent-glow: rgba(255, 95, 31, 0.45);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1100px;
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

::selection {
  background: var(--accent);
  color: #0a0a0e;
}

/* Background grid */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 50% -10%, rgba(255, 95, 31, 0.08), transparent 55%),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  mask-image: radial-gradient(ellipse at center top, black 30%, transparent 80%);
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 10, 14, 0.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 15px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 95, 31, 0.25) inset;
}

.brand-text {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: inline-flex;
  gap: 6px;
  font-size: 14px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a.active {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border) inset;
}

/* Main / shared layout */
main {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 28px 96px;
}

.view {
  animation: fadeUp 0.35s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.hero {
  padding: 60px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border) inset;
  font-size: 13px;
  color: var(--text-muted);
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--accent-glow);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 95, 31, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 95, 31, 0);
  }
}

.display {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 24px 0 18px;
  max-width: 18ch;
}

.accent {
  color: var(--accent);
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 0;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0e;
  box-shadow: 0 8px 20px -8px var(--accent-glow);
}

.btn-primary:hover {
  background: #ff7a3f;
  box-shadow: 0 14px 28px -10px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: 0 0 0 1px var(--border) inset;
}

.btn-ghost:hover {
  background: var(--surface);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 56px;
  max-width: 560px;
}

.stats > div {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: 0 0 0 1px var(--border-soft) inset;
}

.stats strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stats span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* Section heads */
.section-head {
  margin-bottom: 32px;
}

.kicker {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.section-head h2,
.page-head h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0;
  max-width: 24ch;
}

/* Services */
.services {
  padding: 40px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: 0 0 0 1px var(--border-soft) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--border) inset, var(--shadow-lg);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  margin: 0 0 18px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tags li {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 0 0 1px var(--border-soft) inset;
}

/* How */
.how {
  padding: 60px 0 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps li {
  padding: 24px;
  border-radius: var(--radius);
  border-top: 1px solid var(--border);
  position: relative;
}

.step-num {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.steps h4 {
  margin: 12px 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Page layout */
.page {
  padding: 32px 0 40px;
}

.page-head {
  margin-bottom: 40px;
  max-width: 60ch;
}

.page-head h1 {
  max-width: 28ch;
}

.page-head .lede {
  margin-top: 14px;
}

.prose p {
  max-width: 64ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

/* Owner card */
.owner-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 22px;
  margin: 36px 0;
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: 0 0 0 1px var(--border-soft) inset;
}

.owner-avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0e;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.owner-body h3 {
  margin: 4px 0 6px;
  font-size: 1.2rem;
}

.owner-body p {
  margin: 0;
  color: var(--text-muted);
}

/* Facts */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--border-soft);
  margin-top: 16px;
}

.fact {
  padding: 22px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fact-label {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.fact-value {
  font-size: 0.98rem;
  color: var(--text);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: 0 0 0 1px var(--border-soft) inset;
}

.contact-card address {
  font-style: normal;
  color: var(--text);
  margin: 4px 0 8px;
  line-height: 1.65;
}

.contact-link {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 4px 0 8px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.muted {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
}

/* Form */
.contact-form {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: 0 0 0 1px var(--border-soft) inset;
  display: grid;
  gap: 14px;
}

.form-head {
  margin-bottom: 8px;
}

.form-head h2 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12px;
  color: var(--text-muted);
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.04em;
}

.field input,
.field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--text);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px var(--border) inset;
  transition: box-shadow 0.15s ease, background 0.15s ease;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  box-shadow: 0 0 0 1px var(--accent) inset, 0 0 0 4px var(--accent-soft);
  background: #0c0c12;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 6px;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.form-note.ok {
  color: #6ee7a7;
}

.form-note.err {
  color: #ff8a8a;
}

/* Footer */
.site-footer {
  padding: 28px;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 13px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.dot {
  color: var(--border);
}

/* Responsive */
@media (max-width: 760px) {
  main {
    padding: 32px 20px 72px;
  }

  .site-header {
    padding: 14px 20px;
  }

  .hero {
    padding: 32px 0 56px;
  }

  .cards,
  .stats,
  .steps,
  .facts,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    max-width: none;
  }

  .owner-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
