/* Striker Consulting -- site stylesheet */

:root {
  --color-bg: #0b1220;
  --color-bg-alt: #10192c;
  --color-text: #e8edf5;
  --color-muted: #9aa7bd;
  --color-brand: #3f8fb0;
  --color-brand-bright: #5eb3d6;
  --color-accent: #c97a44;
  --color-border: #223252;
  --max-width: 1080px;
  --radius: 14px;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --color-bg: #fbfaf7;
    --color-bg-alt: #f0ede6;
    --color-text: #1b2230;
    --color-muted: #5b6472;
    --color-brand: #1f6b8c;
    --color-brand-bright: #0f4c81;
    --color-accent: #b5622f;
    --color-border: #e2e0d8;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-brand-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 0; }
p { color: var(--color-text); }
.lede { color: var(--color-muted); font-size: 1.15rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--color-border); position: sticky; top: 0; background: var(--color-bg); z-index: 10; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap;
}
.site-header .brand img { height: 60px; width: auto; }
.site-header .brand .logo-light { display: none; }

@media (prefers-color-scheme: light) {
  .site-header .brand .logo-dark { display: none; }
  .site-header .brand .logo-light { display: block; }
}
.site-header nav ul { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--color-text); font-size: 0.95rem; }
.site-header nav a[aria-current="page"] { color: var(--color-brand-bright); font-weight: 600; }

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse at 20% -10%, color-mix(in srgb, var(--color-brand) 22%, transparent), transparent 60%),
    radial-gradient(ellipse at 90% 10%, color-mix(in srgb, var(--color-accent) 16%, transparent), transparent 55%);
  border-bottom: 1px solid var(--color-border);
}
.hero .wrap { max-width: 760px; }
.hero .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; color: var(--color-accent); font-weight: 700; margin-bottom: 0.75rem;
}
.hero h1 { margin: 0 0 1rem; }
.hero p { max-width: 56ch; }

/* Sections */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--color-border); }
.section-alt { background: var(--color-bg-alt); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 1.75rem;
}
.card h3 { margin-top: 0; margin-bottom: 0.5rem; font-size: 1.15rem; }
.card p { color: var(--color-muted); margin-bottom: 1rem; }
.card .card-link { font-weight: 600; font-size: 0.9rem; }

/* News / timeline list */
.news-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.news-list li {
  display: flex; gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid var(--color-border);
  align-items: baseline; flex-wrap: wrap;
}
.news-list li:first-child { border-top: none; }
.news-list time { color: var(--color-muted); font-variant-numeric: tabular-nums; font-size: 0.9rem; min-width: 6.5rem; }
.news-list a { font-size: 1.05rem; font-weight: 600; }
.news-list .desc { flex-basis: 100%; color: var(--color-muted); margin: 0.15rem 0 0; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.7rem 1.4rem; border-radius: 999px;
  background: var(--color-brand-bright); color: #fff; font-weight: 600; font-size: 0.95rem;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-text); }

/* Contact */
.contact-methods { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.9rem; font-size: 1.05rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--color-border); padding: 2.5rem 0; margin-top: 2rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer p { color: var(--color-muted); margin: 0.3rem 0; font-size: 0.9rem; }
.footer-links { display: flex; gap: 1.25rem; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-links a { color: var(--color-muted); font-size: 0.9rem; }

@media (max-width: 640px) {
  .site-footer .wrap { flex-direction: column; }
}

/* Blog: post list */
.post-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.post-list .post-item {
  display: flex; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--color-border);
  align-items: flex-start;
}
.post-list .post-item:first-child { border-top: none; }
.post-thumb {
  width: 140px; height: 100px; object-fit: cover; border-radius: var(--radius);
  flex: none; background: var(--color-bg-alt); border: 1px solid var(--color-border);
}
.post-thumb-empty { width: 140px; height: 100px; flex: none; border-radius: var(--radius); background: var(--color-bg-alt); border: 1px solid var(--color-border); }
.post-list time { display: block; color: var(--color-muted); font-size: 0.85rem; margin-bottom: 0.2rem; }
.post-list a { font-size: 1.15rem; font-weight: 600; font-family: var(--font-display); }
.post-list .desc { color: var(--color-muted); margin: 0.4rem 0 0; }
@media (max-width: 560px) {
  .post-list .post-item { flex-direction: column; }
  .post-thumb, .post-thumb-empty { width: 100%; height: 160px; }
}

/* Blog: article body */
.hero-post .wrap { max-width: var(--max-width); }
.wrap-article { max-width: 720px; }
.article-featured { border-radius: var(--radius); margin-bottom: 2rem; width: 100%; }
.article .wp-block-paragraph { margin: 0 0 1.4rem; }
.article .has-medium-font-size { font-size: 1.15rem; margin-top: 2rem; }
.article figure.wp-block-image { margin: 2rem 0; }
.article figure.wp-block-image img { border-radius: var(--radius); border: 1px solid var(--color-border); }
.article figure.wp-block-image figcaption { color: var(--color-muted); font-size: 0.85rem; margin-top: 0.5rem; text-align: center; }
.article audio { width: 100%; margin: 1.5rem 0; }
.article blockquote { border-left: 3px solid var(--color-brand); margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.25rem; color: var(--color-muted); }
.article pre, .article code { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 8px; }
.article pre { padding: 1rem; overflow-x: auto; }
.article code { padding: 0.1rem 0.35rem; font-size: 0.9em; }
.article pre code { background: none; border: none; padding: 0; }

/* Blog: comments */
.comments h2 { margin-bottom: 1.5rem; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment-list { margin-top: 1.25rem; padding-left: 1.5rem; border-left: 2px solid var(--color-border); }
.comment { padding: 1.25rem 0; border-top: 1px solid var(--color-border); }
.comment:first-child { border-top: none; }
.comment-meta { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 0.4rem; }
.comment-author { font-weight: 600; color: var(--color-text); }
.comment-body p { margin: 0 0 0.75rem; color: var(--color-text); }
.comment-body p:last-child { margin-bottom: 0; }
