/* Fusion Reporting — fusionreporting.com
   Single dark theme, deliberate. Blue→teal flow gradient over deep navy ground. */

:root {
  --bg: #0A0F1B;
  --bg-raised: #0A1322;
  --bg-card: #0C1628;
  --line: rgba(47, 180, 228, 0.16);
  --line-strong: rgba(47, 180, 228, 0.32);
  --text: #E8EDF2;
  --text-dim: #9BA9BC;
  --blue: #2E90FF;
  --cyan: #2FB4E4;
  --teal: #19C6D0;
  --flow: linear-gradient(90deg, #2E90FF 0%, #2FB4E4 50%, #19C6D0 100%);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: Menlo, Consolas, monospace;
}

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

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
}

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

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--teal); }

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap-narrow {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.site-header {
  background: rgba(10, 15, 27, 0.92);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand img { height: 44px; width: auto; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-nav a { color: var(--text-dim); padding: 0.25rem 0; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom: 2px solid var(--teal);
}

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

.hero {
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(60rem 30rem at 75% -20%, rgba(46, 144, 255, 0.14), transparent 65%),
    radial-gradient(50rem 26rem at 15% 115%, rgba(25, 198, 208, 0.10), transparent 65%),
    var(--bg-raised);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 46rem;
}

.hero h1 .grad {
  background: var(--flow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  margin-top: 1.5rem;
  max-width: 42rem;
  font-size: 1.2rem;
  color: var(--text-dim);
}

.hero .lede strong { color: var(--text); font-weight: 500; }

.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.4rem;
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  background: var(--flow);
  color: #071018;
}

.btn:hover { color: #071018; filter: brightness(1.1); }

.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.1rem; }

.btn-ghost {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--teal); color: var(--text); filter: none; }

.hero .actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- sections ---------- */

.section { padding: 4.5rem 0; }

.section-title {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.section-sub {
  color: var(--text-dim);
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

/* ---------- services grid ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.75rem 1.5rem 1.6rem;
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--flow);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.card:hover { border-color: var(--line-strong); color: var(--text); }
.card:hover::before { opacity: 1; }

.card h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; }

.card p { margin-top: 0.7rem; font-size: 0.95rem; color: var(--text-dim); flex: 1; }

.card .more {
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

/* ---------- about strip ---------- */

.about-strip {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-strip .section-title { max-width: 34rem; }

.about-strip p { color: var(--text-dim); max-width: 44rem; margin-top: 1rem; }

.about-strip p strong { color: var(--text); font-weight: 500; }

/* ---------- contact band ---------- */

.contact-band {
  text-align: center;
  padding: 5rem 0;
  background:
    radial-gradient(48rem 24rem at 50% 120%, rgba(46, 144, 255, 0.16), transparent 70%),
    var(--bg-raised);
  border-top: 1px solid var(--line);
}

.contact-band h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-band p {
  color: var(--text-dim);
  max-width: 36rem;
  margin: 1rem auto 2.2rem;
}

.contact-band .email-note {
  margin: 1.4rem auto 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  font-size: 0.85rem;
}

.site-footer nav a { color: var(--text-dim); }
.site-footer nav a:hover { color: var(--text); }

/* ---------- article (blog post) ---------- */

.post-hero { padding: 3.5rem 0 0; }

.post-hero img {
  border-radius: 12px;
  border: 1px solid var(--line);
  width: 100%;
}

.article { padding: 2.75rem 0 4.5rem; }

.article h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin-bottom: 1.8rem;
}

.article h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.2rem 0 0.8rem;
}

.article p { margin: 1.1rem 0; }

.article p strong { color: #FFFFFF; }

.article ul { margin: 1.1rem 0 1.1rem 1.4rem; }

.article li { margin: 0.5rem 0; }

.article li::marker { color: var(--teal); }

.article em { color: var(--text-dim); }

.article .byline {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.article .cta-inline {
  margin-top: 2rem;
  font-weight: 600;
  font-size: 1.05rem;
}

/* ---------- blog listing ---------- */

.post-list { display: grid; gap: 1.5rem; }

.post-item {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem;
  color: var(--text);
}

.post-item:hover { border-color: var(--line-strong); color: var(--text); }

.post-item img { border-radius: 6px; border: 1px solid var(--line); }

.post-item h2 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }

.post-item p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--text-dim); }

.post-item .more {
  margin-top: 0.9rem;
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

@media (max-width: 40rem) {
  .post-item { grid-template-columns: 1fr; }
}

/* ---------- 404 ---------- */

.notfound {
  text-align: center;
  padding: 7rem 0;
}

.notfound .code {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.notfound h1 { font-size: 2rem; font-weight: 600; }

.notfound p { color: var(--text-dim); margin: 1rem auto 2.2rem; max-width: 30rem; }


/* ---------- founder photo ---------- */

.photo-full {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2.25rem 0 0.5rem;
}

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

@media (max-width: 26rem) {
  .hero { padding: 3.5rem 0 3.25rem; }
  .section { padding: 3rem 0; }
  .brand img { height: 36px; }
}
