/* SME Cybersecurity - board-grade static site
   Shared stylesheet. Dark, editorial, serif display headings. */

:root {
  --bg:        #0a0f1c;
  --bg-alt:    #0d1424;
  --surface:   #111a2e;
  --surface-2: #15203a;
  --line:      rgba(255,255,255,0.09);
  --line-2:    rgba(255,255,255,0.14);
  --text:      #e8ecf4;
  --muted:     #9aa6be;
  --muted-2:   #6f7c96;
  --accent:    #43c6c0;   /* quantum teal */
  --accent-2:  #5b8def;   /* signal blue */
  --accent-soft: rgba(67,198,192,0.12);
  --maxw: 1120px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #6fe0db; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; color: #fff; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; margin: 0 0 .6em; }
h3 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 .4em; }
h4 { font-size: 1.05rem; line-height: 1.3; margin: 0 0 .35em; color: var(--text); }
p { margin: 0 0 1.1em; color: var(--muted); }
p strong { color: var(--text); font-weight: 600; }
.lead { font-size: 1.2rem; color: #c7d0e2; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,15,28,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 30px; height: 30px; flex: none;
}
.brand .name {
  font-family: var(--serif); font-size: 1.18rem; color: #fff; letter-spacing: .01em;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--muted); font-size: .92rem; font-weight: 500; letter-spacing: .02em;
  text-transform: uppercase; font-size: .78rem;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 9px 18px !important; color: #fff !important;
}
.nav-cta:hover { border-color: var(--accent); background: var(--accent-soft); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .92rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; transition: .18s ease;
  letter-spacing: .02em;
}
.btn-primary { background: var(--accent); color: #03201f; }
.btn-primary:hover { background: #5fd9d3; color: #03201f; }
.btn-ghost { border: 1px solid var(--line-2); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); color:#fff; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero ---------- */
.hero {
  padding: 116px 0 96px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(67,198,192,0.14), transparent 60%),
    radial-gradient(760px 480px at 10% 12%, rgba(91,141,239,0.12), transparent 60%);
}
.hero .container { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { color: #fff; }
.hero .lead { max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* grid background lines for hero */
.grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 70% 0%, #000, transparent 72%);
          mask-image: radial-gradient(circle at 70% 0%, #000, transparent 72%);
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  transition: .2s ease;
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { color: #fff; }
.card h4 { color: var(--accent); font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .8rem; }
.card p:last-child { margin-bottom: 0; }

/* feature list */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  position: relative; padding: 0 0 0 26px; margin-bottom: 12px; color: var(--muted);
}
.feature-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--accent);
}
.feature-list li strong { color: var(--text); }

/* numbered steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  position: relative; padding: 0 0 0 52px; margin-bottom: 20px; color: var(--muted);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1rem; color: var(--accent);
  border: 1px solid var(--line-2); background: var(--surface);
}

/* ---------- Stat block ---------- */
.stat {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  background: linear-gradient(120deg, var(--surface-2), var(--bg-alt));
  border: 1px solid var(--line); border-radius: 18px; padding: 40px;
}
.stat .num { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5rem); color: var(--accent); line-height: 1; }
.stat p { margin: 0; }
.stat .src { font-size: .82rem; color: var(--muted-2); margin-top: 10px; }

/* ---------- Split / prose ---------- */
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.measure { max-width: 760px; }

/* ---------- Team ---------- */
.team-member {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px;
  padding: 44px 0; border-top: 1px solid var(--line);
}
.team-member:first-of-type { border-top: 0; }
.team-photo {
  width: 200px; height: 200px; border-radius: 16px;
  background: linear-gradient(140deg, var(--surface-2), var(--bg-alt));
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 3.2rem; color: var(--accent);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
.team-member .role {
  color: var(--accent); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; margin: 2px 0 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(67,198,192,0.16), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band .container { max-width: 720px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--muted); font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid a { color: var(--muted); display: block; margin-bottom: 10px; font-size: .95rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand .name { font-family: var(--serif); font-size: 1.25rem; color: #fff; }
.footer-brand p { font-size: .95rem; margin-top: 12px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted-2); font-size: .85rem;
}

.section-head { max-width: 760px; margin-bottom: 48px; }

/* ---------- Proof / track-record strip ---------- */
.proofbar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: linear-gradient(120deg, var(--surface-2), var(--bg-alt));
}
.proofbar .item { padding: 30px 26px; border-left: 1px solid var(--line); }
.proofbar .item:first-child { border-left: 0; }
.proofbar .pnum { font-family: var(--serif); font-size: 2.1rem; color: var(--accent); line-height: 1.05; }
.proofbar .plabel { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* logo / affiliation row */
.logo-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.logo-row .chip {
  border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 18px;
  color: var(--muted); font-size: .88rem; letter-spacing: .02em;
}
.logo-row .chip strong { color: var(--text); font-weight: 600; }

/* ---------- Offering cards ---------- */
.offering { display: flex; flex-direction: column; height: 100%; }
.offering .tag {
  color: var(--accent); font-family: var(--sans); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px;
}
.offering h3 { color: #fff; }
.offering .when {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--muted-2); font-size: .85rem;
}
.offering .when strong { color: var(--accent); font-weight: 600; }

/* ---------- Case study ---------- */
.casestudy {
  border: 1px solid var(--line); border-radius: 18px; padding: 44px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(91,141,239,0.12), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-alt));
}
.casestudy .kicker { color: var(--accent); font-size:.74rem; letter-spacing:.18em; text-transform:uppercase; font-weight:600; }
.casestudy .metrics { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 22px; }
.casestudy .metrics .m .v { font-family: var(--serif); font-size: 1.9rem; color: #fff; line-height: 1; }
.casestudy .metrics .m .k { color: var(--muted); font-size: .85rem; margin-top: 6px; }

/* ---------- Quote attribution ---------- */
.quote-cite {
  display: block; margin-top: 14px;
  font-family: var(--sans); font-size: .85rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.quote-cite span { color: var(--muted-2); font-weight: 500; }

/* ---------- Co-brand lockup ---------- */
.cobrand { display:inline-flex; align-items:center; gap:14px; margin-top:22px; flex-wrap:wrap; }
.cobrand .nm { font-family: var(--serif); font-size:1.1rem; color:#fff; }
.cobrand .x { color: var(--muted-2); font-size:1rem; }

/* ---------- Featured partner offering ---------- */
.partner-section { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-statement {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 24px; margin: 0 0 8px;
}
.partner-statement .big { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; line-height: 1.2; }
.principal {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
}
.principal .ini {
  width: 56px; height: 56px; border-radius: 12px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.3rem; color: var(--accent);
  background: var(--surface-2); border: 1px solid var(--line-2);
}
.principal .ini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.principal .firm { color: var(--accent); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin: 2px 0 8px; }

/* ---------- Note / placeholder callout ---------- */
.note {
  border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px 18px;
  color: var(--muted-2); font-size: .85rem; background: rgba(255,255,255,0.02);
}
.note strong { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cols-3, .cols-2, .grid-split { grid-template-columns: 1fr; }
  .proofbar { grid-template-columns: 1fr 1fr; }
  .proofbar .item:nth-child(3) { border-left: 0; }
  .proofbar .item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .casestudy { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-member { grid-template-columns: 1fr; gap: 20px; }
  .team-photo { width: 96px; height: 96px; font-size: 2rem; }
  .stat { grid-template-columns: 1fr; gap: 16px; padding: 30px; text-align: left; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-toggle { display: block; }
  section { padding: 64px 0; }
  .hero { padding: 80px 0 64px; }
}
