/* VibeSmith.net: dark, precise, one hot accent */
:root {
  --bg: #0b0d10;
  --bg-2: #11141a;
  --panel: #151922;
  --line: #232835;
  --line-2: #2f3646;
  --fg: #eef1f5;
  --fg-2: #b4bcc9;
  --muted: #7b8494;
  --accent: #ff6a2b;
  --accent-2: #ff8a55;
  --accent-glow: rgb(255 106 43 / 18%);
  --ok: #4ade80;
  --radius: 12px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); letter-spacing: -.035em; }
h1 span { color: var(--accent); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); max-width: 24ch; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--accent-2); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Labels: the organising system: numbered, monospace */
.label { font: 600 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.label i, .nav i { font-style: normal; color: var(--accent); margin-right: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(11 13 16 / 80%);
  backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font: 600 1.15rem/1 var(--mono); letter-spacing: -.02em; }
.brand b { color: var(--accent); }
.mark { width: 30px; height: 30px; }
.mark-bg { fill: var(--panel); stroke: var(--line-2); }
.mark-v { fill: none; stroke: var(--fg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mark-spark { fill: var(--accent); }
.nav { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav a { color: var(--fg-2); text-decoration: none; font: 500 .85rem/1 var(--mono); }
.nav a:hover { color: var(--fg); }
@media (max-width: 860px) { .nav { display: none; } .header-inner .btn-small { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 8px;
  background: var(--accent); color: #140700; text-decoration: none; font-weight: 650;
  border: 1px solid var(--accent); transition: background .15s, box-shadow .15s, transform .15s;
}
.btn:hover { background: var(--accent-2); box-shadow: 0 0 0 6px var(--accent-glow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--panel); box-shadow: none; }
.btn-small { padding: 8px 14px; font-size: .88rem; white-space: nowrap; }
@media (max-width: 400px) { .btn-small { padding: 7px 11px; font-size: .8rem; } .brand { font-size: 1rem; } }
.btn-large { font: 600 clamp(1rem, 3.8vw, 1.3rem)/1.2 var(--mono); padding: 18px 30px; overflow-wrap: anywhere; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 112px) 0 40px;
  background:
    radial-gradient(50% 60% at 80% 20%, var(--accent-glow), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  background-color: var(--bg);
}
.hero::after { /* fade the grid out */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 70% at 40% 30%, transparent 30%, var(--bg) 85%);
}
.hero > * { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--fg-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Thinking console */
.console {
  margin: 0; background: rgb(21 25 34 / 85%); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 60%), 0 0 0 1px rgb(255 255 255 / 2%) inset;
  overflow: hidden;
}
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.console-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.console-bar em { margin-left: auto; font: .75rem var(--mono); font-style: normal; color: var(--muted); }
.console-body { list-style: none; margin: 0; padding: 18px 18px 8px; font: .86rem/1.55 var(--mono); color: var(--fg-2); }
.console-body li { display: grid; grid-template-columns: 7.5ch 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); opacity: 0; animation: reveal .5s ease forwards; }
.console-body li:last-child { border-bottom: 0; color: var(--fg); }
.console-body li:nth-child(1) { animation-delay: .2s; }
.console-body li:nth-child(2) { animation-delay: .6s; }
.console-body li:nth-child(3) { animation-delay: 1s; }
.console-body li:nth-child(4) { animation-delay: 1.4s; }
.console-body li:nth-child(5) { animation-delay: 1.8s; }
.console-body li:nth-child(6) { animation-delay: 2.2s; }
.console-body b { font-weight: 600; }
.k-problem { color: #f87171; }
.k-ask { color: #fbbf24; }
.k-find { color: #60a5fa; }
.k-idea { color: var(--accent); }
.k-build { color: #c084fc; }
.k-done { color: var(--ok); }
.cursor { display: inline-block; width: .55em; height: 1.05em; background: var(--accent); vertical-align: text-bottom; margin-left: 6px; animation: blink 1s steps(1) infinite; }
.console figcaption { padding: 0 18px 14px; font: .72rem var(--mono); color: var(--muted); }
@keyframes reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .console-body li { opacity: 1; } }

.sectors { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 28px 0 0; margin: clamp(40px, 6vw, 72px) 0 0; border-top: 1px solid var(--line); }
.sectors li { font: .8rem/1 var(--mono); color: var(--fg-2); padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section-lede { color: var(--fg-2); max-width: 60ch; font-size: 1.08rem; margin: 0; }

.grid-3 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tile { background: var(--bg); padding: 32px 28px; transition: background .2s; }
.tile:hover { background: var(--panel); }
.tile p { color: var(--fg-2); margin: 0; }
.tile-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line-2); font: 600 .85rem var(--mono); color: var(--accent); margin-bottom: 22px; }

/* Cases */
.cases { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.case { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; transition: border-color .2s, transform .2s; }
.case:hover { border-color: var(--line-2); transform: translateY(-2px); }
.case-tag { font: 600 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--fg); margin: 0 0 4px; }
.case-row { display: grid; grid-template-columns: 6ch 1fr; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.case-row p { margin: 0; color: var(--fg-2); }
.case-k { font: 600 .75rem/1.9 var(--mono); text-transform: uppercase; color: var(--muted); }
.case-row.fix p { color: var(--fg); }
.case-row.fix .case-k { color: var(--accent); }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: none; position: relative; }
.steps li { padding: 0 24px 0 0; position: relative; }
.steps li span { display: block; font: 600 .8rem var(--mono); color: var(--accent); padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line-2); position: relative; }
.steps li span::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.steps p { color: var(--fg-2); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0; }
}
.assurances { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 28px 0 0; margin: 48px 0 0; border-top: 1px solid var(--line); font: .85rem var(--mono); color: var(--fg-2); }
.assurances li::before { content: "✓"; color: var(--ok); margin-right: 8px; }

/* Contact */
.contact {
  padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); text-align: center;
  background: radial-gradient(50% 70% at 50% 100%, var(--accent-glow), transparent 70%), var(--bg);
}
.contact-inner { display: grid; justify-items: center; }
.contact h2 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); max-width: none; }
.contact .section-lede { margin-bottom: 32px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.footer-inner .brand { font-size: 1rem; }
.small { margin-left: auto; font: .8rem var(--mono); }
@media (max-width: 600px) { .small { margin-left: 0; } }
