/* Steel City Solution Services — premium ambient theme
   Blood red + charcoal. Del Frisco's-grade. */

:root {
  --bg: #0c0a0a;
  --bg-2: #121010;
  --charcoal: #1b1717;
  --charcoal-2: #242020;
  --blood: #8b1216;
  --blood-bright: #c2242b;
  --blood-glow: rgba(178, 28, 34, 0.5);
  --blood-faint: rgba(139, 18, 22, 0.16);
  --gold: #c9a227;
  --gold-faint: rgba(201, 162, 39, 0.22);
  --ink: #f3ede4;
  --muted: #a89d90;
  --faint: #6f665e;
  --hairline: rgba(201, 162, 39, 0.14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blood); color: #fff; }

/* ---------- ambient layers ---------- */

#cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  left: 0; top: 0;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle,
    rgba(178, 30, 36, 0.20) 0%,
    rgba(139, 18, 22, 0.10) 35%,
    transparent 68%);
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}
body.glow-on #cursor-glow { opacity: 1; }
@media (hover: none) { #cursor-glow { display: none; } }

#scroll-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 700px at 12% -4%, rgba(139, 18, 22, 0.20), transparent 60%),
    radial-gradient(900px 600px at 88% 22%, rgba(60, 10, 12, 0.35), transparent 60%),
    radial-gradient(1000px 800px at 50% 110%, rgba(40, 8, 10, 0.30), transparent 60%);
  will-change: transform;
}

#grain {
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 60;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

main, .nav, .footer { position: relative; z-index: 2; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 1.1rem; }
h1 em, h2 em { font-style: italic; color: var(--blood-bright); }
p { margin-bottom: 1rem; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.section-label span {
  color: var(--blood-bright);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  width: 2.1rem; height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0;
}
.section-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--hairline), transparent);
}

.section-lede { color: var(--muted); font-size: 1.12rem; max-width: 36rem; }

/* ---------- layout ---------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 760px; }

.section { padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(27, 23, 23, 0.7) 18%, rgba(27, 23, 23, 0.7) 82%, transparent);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  background: rgba(12, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}
.nav-brand img { border-radius: 50%; box-shadow: 0 0 18px rgba(178, 28, 34, 0.35); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(160deg, var(--blood-bright), var(--blood));
  color: #fff;
  box-shadow: 0 8px 28px rgba(178, 28, 34, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(178, 28, 34, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-ghost {
  border-color: rgba(243, 237, 228, 0.28);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-small { padding: 0.6rem 1.3rem; font-size: 0.9rem; }
.btn-large { padding: 1.15rem 2.6rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

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

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  position: relative;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(139, 18, 22, 0.30), transparent 62%),
    radial-gradient(700px 500px at 8% 90%, rgba(60, 10, 12, 0.35), transparent 60%),
    radial-gradient(700px 500px at 92% 85%, rgba(60, 10, 12, 0.28), transparent 60%);
}
.hero-inner { max-width: 800px; }
.hero-badge {
  width: 190px; height: 190px;
  border-radius: 50%;
  margin-bottom: 2rem;
  box-shadow:
    0 0 0 1px var(--hairline),
    0 0 60px rgba(178, 28, 34, 0.40),
    0 24px 60px rgba(0, 0, 0, 0.55);
}
.hero h1 { margin-bottom: 1.4rem; text-wrap: balance; }
.hero .lede { color: var(--muted); font-size: 1.15rem; max-width: 620px; margin: 0 auto 0.5rem; }
.hero .cta-row { justify-content: center; }

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--faint);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue i {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--blood-bright), transparent);
  animation: cue-drop 1.8s ease-in-out infinite;
}
@keyframes cue-drop {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ---------- pour chapter ---------- */

.pour { position: relative; height: 460vh; }
.pour-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #000;
}
#pour-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pour-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 72% 58% at 50% 50%, transparent 42%, rgba(5, 3, 3, 0.72) 100%);
}
.pour-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 5;
}
.pour-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blood), var(--blood-bright), var(--gold));
}

.captions { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.caption[data-align="left"] { justify-content: flex-start; padding-left: clamp(1.5rem, 8vw, 7rem); text-align: left; }
.caption[data-align="right"] { justify-content: flex-end; padding-right: clamp(1.5rem, 8vw, 7rem); text-align: right; }
.caption[data-align="center"] { text-align: center; }
.caption.active { opacity: 1; transform: none; }
.caption figcaption { max-width: 640px; }
.cap-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
}
.cap-line {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
  text-wrap: balance;
}
.cap-cta { display: block; margin-top: 1.8rem; pointer-events: auto; }

/* ---------- steps / cards ---------- */

.steps { display: grid; gap: 1.2rem; margin-top: 3rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: linear-gradient(165deg, var(--charcoal) 0%, rgba(27, 23, 23, 0.4) 100%);
  border: 1px solid var(--hairline);
  border-radius: 1.1rem;
  padding: 2rem 1.6rem;
  position: relative;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blood), transparent 70%);
  opacity: 0.7;
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--blood-bright);
  opacity: 0.85;
  line-height: 1;
}
.step h3 { font-size: 1.35rem; margin: 1rem 0 0.6rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.cards { display: grid; gap: 1.2rem; margin-top: 3rem; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: rgba(139, 18, 22, 0.07);
  border: 1px solid var(--hairline);
  border-radius: 1.1rem;
  padding: 2rem 1.6rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(178, 28, 34, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 30px rgba(139, 18, 22, 0.18);
}
.card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- bio ---------- */

.bio p { font-size: 1.12rem; color: #d8d0c6; }
.bio p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  padding-right: 0.12em;
  color: var(--blood-bright);
}

/* ---------- faq ---------- */

.faq { margin-top: 2.5rem; display: grid; gap: 0.8rem; }
.faq details {
  border: 1px solid var(--hairline);
  border-radius: 0.9rem;
  background: rgba(27, 23, 23, 0.55);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq details[open] { border-color: rgba(178, 28, 34, 0.5); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--blood-bright);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.4rem; color: var(--muted); margin: 0; }

/* ---------- draft form ---------- */

.draft-form { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
.draft-form label span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.draft-form input,
.draft-form textarea {
  width: 100%;
  background: rgba(27, 23, 23, 0.8);
  border: 1px solid var(--hairline);
  border-radius: 0.7rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.95rem 1.1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.draft-form input:focus,
.draft-form textarea:focus {
  border-color: var(--blood-bright);
  box-shadow: 0 0 0 3px rgba(178, 28, 34, 0.22);
}
.draft-form input::placeholder,
.draft-form textarea::placeholder { color: var(--faint); }

/* ---------- final cta ---------- */

.final-cta {
  text-align: center;
  padding: clamp(6rem, 12vw, 10rem) 1.5rem;
  background:
    radial-gradient(800px 480px at 50% 100%, rgba(139, 18, 22, 0.35), transparent 65%),
    linear-gradient(180deg, transparent, rgba(27, 23, 23, 0.6));
  border-top: 1px solid var(--hairline);
}
.final-cta h2 { text-wrap: balance; max-width: 800px; margin: 0 auto 1rem; }
.final-cta .cta-row { justify-content: center; }

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

.footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 0;
  color: var(--faint);
  font-size: 0.9rem;
}
.footer strong { color: var(--muted); }
.draft-note { font-size: 0.82rem; font-style: italic; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  #grain { animation: none; }
  .scroll-cue i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-brand span { font-size: 0.68rem; letter-spacing: 0.12em; }
  .hero { padding-bottom: 5.5rem; }
  .hero-badge { width: 150px; height: 150px; }
  .caption[data-align="left"],
  .caption[data-align="right"] { padding-left: 1.5rem; padding-right: 1.5rem; justify-content: center; text-align: center; }
  .btn-large { width: 100%; }
  .final-cta .cta-row .btn { width: 100%; }
}
