/* ============================================================
   Steel City CFO — shared stylesheet
   Brand: navy #0A1F3E + gold #C69A57. Modern-engineering layout.
   ============================================================ */

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

:root {
  --bg: #081627;          /* deep navy canvas */
  --bg-2: #0a1f3e;        /* brand navy */
  --surface: #0e2748;     /* raised navy surface */
  --surface-2: #143157;   /* hover surface */
  --line: #1b3358;        /* hairline on navy */
  --line-2: #274771;      /* stronger border */
  --fg: #f3f6fb;
  --fg-dim: #aebbce;      /* muted on navy */
  --fg-mute: #7589a4;     /* faint labels */
  --accent: #c69a57;      /* brand gold */
  --accent-2: #d8b67d;    /* lighter gold (hover/headline emphasis) */
  --accent-deep: #a87f3f; /* darker gold for active/borders */
  --warn: #e0894b;        /* warm amber (kept in-family) */
  --ok: #5fb98f;          /* muted green, fits navy */
  --max: 1200px;
  --gut: 28px;
}

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

body {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.mono { font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace; }

.wrap {
  width: min(var(--max), calc(100% - calc(var(--gut) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--accent); color: #15233b; padding: 10px 14px;
  font-weight: 600; border-radius: 2px;
}
.skip-link:focus { top: 12px; }

/* ---------- label / kicker ---------- */
.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg-mute);
}
.label .dot { color: var(--accent); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(11, 14, 18, .82);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
/* real Steel City CFO wordmark+hexagons (gold-on-transparent PNG) */
.brand-logo { height: 26px; width: auto; display: block; }
.foot-brand .brand-logo { height: 30px; }
/* fallback text lockup if image is ever missing */
.brand-mark {
  width: 30px; height: 30px; border-radius: 5px; flex: none;
  background: var(--accent); display: grid; place-items: center;
  color: var(--bg-2); font-weight: 800; font-size: 15px;
  font-family: "Archivo", sans-serif; letter-spacing: -.04em;
}
.brand-name { font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; }
.brand-name span { color: var(--accent); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14px; color: var(--fg-dim); font-weight: 500;
  padding: 7px 12px; border-radius: 4px;
}
.nav a:hover { color: var(--fg); background: var(--surface); }
.nav a.active { color: var(--fg); }
.nav .btn-nav {
  margin-left: 8px; color: var(--fg);
  border: 1px solid var(--line-2); background: var(--surface);
}
.nav .btn-nav:hover { border-color: var(--accent); background: var(--surface-2); }

.menu-btn {
  display: none; background: var(--surface); color: var(--fg);
  border: 1px solid var(--line-2); border-radius: 4px;
  width: 40px; height: 38px; align-items: center; justify-content: center;
}
.menu-btn svg { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 14.5px;
  padding: 12px 18px; border-radius: 4px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #15233b; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { color: var(--fg); border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: var(--fg-mute); background: var(--surface); }
.btn-arrow svg { width: 15px; height: 15px; }

/* ---------- generic page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(110% 80% at 85% 0%, rgba(198,154,87,.14), transparent 60%), var(--bg);
}
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 80% -10%, #000 30%, transparent 78%);
  opacity: .5;
}
.page-hero-inner { position: relative; z-index: 1; padding: 76px 0 64px; max-width: 820px; }
.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 800;
}
.page-hero h1 em { font-style: normal; color: var(--accent-2); }
.page-hero p { margin-top: 20px; max-width: 600px; color: var(--fg-dim); font-size: 1.12rem; line-height: 1.6; }
.page-hero .hero-actions { margin-top: 30px; }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.sec { padding: 80px 0; border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head h2 {
  margin-top: 16px;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 700;
}
.sec-head p { margin-top: 16px; color: var(--fg-dim); font-size: 1.08rem; line-height: 1.6; max-width: 660px; }

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

/* ---------- panel ---------- */
.panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.panel-bar .dotrow { display: flex; gap: 6px; }
.panel-bar .dotrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel-bar .title { font-size: 12px; color: var(--fg-mute); margin-left: 4px; }
.panel-body { padding: 22px; }

/* ---------- footer ---------- */
footer { background: var(--bg-2); padding: 40px 0 32px; }
.foot-grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { max-width: 300px; }
.foot-brand p { margin-top: 14px; color: var(--fg-mute); font-size: 13.5px; line-height: 1.55; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--fg-dim); font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--fg); }
.foot-base { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--fg-mute); }

/* ---------- responsive base ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; inset: 64px 0 auto 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 14px var(--gut) 20px; gap: 2px;
  }
  .nav.open a { padding: 12px 14px; }
  .nav.open .btn-nav { margin-left: 0; margin-top: 8px; text-align: center; justify-content: center; }
  .menu-btn { display: flex; }
}
@media (max-width: 620px) {
  :root { --gut: 18px; }
  .sec { padding: 60px 0; }
  .page-hero-inner { padding: 56px 0 52px; }
}
