/* Sofstairs — neo-brutalist light theme (mirrors RankScout's public theme) */
:root {
  --ink: #0a0a0a;
  --muted: #4b4b4b;
  --paper: #f4f4f2;
  --gold: #ffc400;
  --orange: #ff6a1f;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(0, 0, 0, 0.13) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  line-height: 1.55;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: #000; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border: 3px solid #000; border-radius: 999px;
  font-weight: 800; font-size: 16px; text-decoration: none; color: #000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--gold); box-shadow: 5px 5px 0 #000; }
.btn-primary:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 #000; }
.btn-outline { background: #fff; box-shadow: 5px 5px 0 var(--orange); }
.btn-outline:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--orange); }
.btn-sm { padding: 9px 18px; font-size: 14px; box-shadow: 4px 4px 0 #000; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 244, 242, 0.92); backdrop-filter: blur(8px);
  border-bottom: 3px solid #000;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.logo-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--gold); border: 3px solid #000; border-radius: 10px; box-shadow: 3px 3px 0 #000;
}
.logo-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 700; }
.nav-links a:not(.btn):hover { color: var(--orange); }

/* ---------- hero ---------- */
.hero { position: relative; text-align: center; padding: 96px 0 72px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; z-index: -1; }
.blob-1 { width: 380px; height: 380px; background: var(--gold); top: -80px; left: -120px; }
.blob-2 { width: 340px; height: 340px; background: #ffb08a; bottom: -100px; right: -100px; }
.eyebrow {
  display: inline-block; padding: 8px 16px; background: #fff;
  border: 3px solid #000; border-radius: 999px; box-shadow: 4px 4px 0 var(--orange);
  font: 700 12px var(--mono); text-transform: uppercase; letter-spacing: 0.12em;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 76px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  margin: 28px auto 22px; max-width: 900px;
}
.hl {
  display: inline-block; background: var(--gold); padding: 0 12px; margin: 6px 0;
  border: 3px solid #000; border-radius: 14px; box-shadow: 6px 6px 0 #000; transform: rotate(-2deg);
}
.hero p { font-size: clamp(17px, 2.2vw, 20px); color: #2b2b2b; max-width: 640px; margin: 0 auto; }
.ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; background: #000; color: #fff; padding: 14px 0;
  border-top: 3px solid #000; border-bottom: 3px solid #000;
  transform: rotate(-1deg); margin: 10px -10px;
}
.marquee-track {
  display: flex; width: max-content; gap: 36px; white-space: nowrap;
  font-weight: 800; font-size: 20px; animation: marq 30s linear infinite;
}
.marquee-track b { color: var(--gold); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.tag { font: 700 12px var(--mono); letter-spacing: 0.15em; text-transform: uppercase; }
.head h2 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 12px 0 14px; }
.head p { color: var(--muted); font-size: 18px; }

.card {
  background: #fff; border: 3px solid #000; border-radius: 20px;
  box-shadow: 7px 7px 0 var(--gold); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card.alt { box-shadow: 7px 7px 0 var(--orange); }

/* ---------- portfolio ---------- */
.portfolio { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product { padding: 30px; display: flex; flex-direction: column; text-decoration: none; }
.product:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 #000; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.product-logo {
  width: 64px; height: 64px; object-fit: contain; background: var(--paper);
  border: 3px solid #000; border-radius: 16px; padding: 6px;
}
.badge {
  font: 700 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--gold); border: 2px solid #000; border-radius: 999px; padding: 4px 12px;
}
.card.alt .badge { background: var(--orange); }
.product h3 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.product .url { font: 700 13px var(--mono); color: var(--muted); margin: 2px 0 14px; }
.product p { color: #2b2b2b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; list-style: none; }
.chips li { font-size: 13px; font-weight: 700; border: 2px solid #000; border-radius: 999px; padding: 4px 12px; background: var(--paper); }
.visit { margin-top: auto; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.product:hover .visit { color: var(--orange); }

/* ---------- industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry { padding: 28px 24px; }
.industry-icon {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 26px;
  background: var(--gold); border: 3px solid #000; border-radius: 14px; box-shadow: 3px 3px 0 #000; margin-bottom: 18px;
}
.industry.alt .industry-icon { background: var(--orange); }
.industry h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.industry p { color: var(--muted); font-size: 15px; }

/* ---------- what we do ---------- */
.about-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; overflow: hidden; }
.about-band > div { padding: 30px 26px; border-right: 3px solid #000; }
.about-band > div:last-child { border-right: 0; }
.about-band > div:nth-child(2) { background: var(--gold); }
.about-band h3 { font-size: 22px; font-weight: 800; margin: 10px 0 6px; }
.about-band p { font-size: 15px; color: #2b2b2b; }

/* ---------- CTA ---------- */
.cta { background: var(--gold); border-top: 3px solid #000; border-bottom: 3px solid #000; text-align: center; }
.cta h2 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.cta p { color: #1a1a1a; font-size: 18px; margin: 14px auto 32px; max-width: 560px; }
.cta .btn { background: #fff; }

/* ---------- footer ---------- */
footer { background: #fff; border-top: 3px solid #000; padding: 44px 0 28px; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-head { font: 700 12px var(--mono); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px; }
.foot p, .foot a { font-size: 14px; color: var(--muted); line-height: 1.9; }
.foot a { display: block; text-decoration: none; font-weight: 600; color: var(--ink); }
.foot a:hover { color: var(--orange); }
.foot-rule { border-top: 3px solid #000; margin-top: 32px; padding-top: 18px; font-size: 12px; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .portfolio, .industries, .about-band { grid-template-columns: 1fr; }
  .about-band > div { border-right: 0; border-bottom: 3px solid #000; }
  .about-band > div:last-child { border-bottom: 0; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
}

/* ---------- legal / info pages ---------- */
.nav-back { text-decoration: none; font-weight: 700; font-size: 14px; }
.nav-back:hover { color: var(--orange); }
.doc {
  max-width: 800px; margin: 48px auto 72px; padding: 44px 40px;
  background: #fff; border: 3px solid #000; border-radius: 22px; box-shadow: 8px 8px 0 var(--gold);
}
.doc h1 { font-size: clamp(30px, 5vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; }
.doc .meta { font: 700 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.doc .lead { font-size: 18px; color: #2b2b2b; margin-bottom: 32px; }
.doc h2 { font-size: 19px; font-weight: 800; margin: 32px 0 10px; }
.doc p, .doc li { font-size: 15px; color: #2b2b2b; }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; margin: 8px 0; }
.doc a { font-weight: 700; color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.doc table { width: 100%; border-collapse: collapse; border: 2px solid #000; margin-top: 8px; font-size: 14px; }
.doc th { background: var(--gold); text-align: left; padding: 8px 12px; font: 700 12px var(--mono); border-bottom: 2px solid #000; }
.doc td { padding: 8px 12px; border-bottom: 1px solid #ccc; vertical-align: top; }
.callout { background: var(--gold); border: 3px solid #000; border-radius: 14px; padding: 18px 20px; box-shadow: 4px 4px 0 #000; margin-bottom: 28px; }
.callout strong { font-size: 17px; }
.callout p { margin-top: 6px; color: #1a1a1a; }
.faq-item { border-bottom: 2px dashed #000; padding: 20px 0; }
.faq-item:last-of-type { border-bottom: 0; }
.faq-item h2 { margin: 0 0 6px; font-size: 17px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 8px 0 32px; }
.contact-card {
  display: block; text-decoration: none !important; padding: 18px; background: var(--paper);
  border: 3px solid #000; border-radius: 14px; box-shadow: 4px 4px 0 var(--orange); transition: transform .15s, box-shadow .15s;
}
a.contact-card:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--orange); }
.contact-card .ic { font-size: 22px; }
.contact-card .lbl { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 6px 0 2px; }
.contact-card .val { font-weight: 700; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.foot-links a { display: inline; font-size: 13px; }
@media (max-width: 600px) { .doc { padding: 28px 20px; margin: 28px 16px 48px; } }
