/* Thirty Second Timeout — blog styles. Matches the tokens used on the home page. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --navy:  #011136;
  --slate: #3D5A80;
  --sky:   #98B4CC;
  --cream: #F4F1EB;
  --stone: #E4E0D8;
  --orng:  #E8611A;
  --bdr:   rgba(1,17,54,0.10);
  --ink:   #011136;
  --muted: #52678A;
  --card:  #fff;
  --bg:    #F4F1EB;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EEF2F8; --muted: #A9BDD6; --card: #0A1B3D;
    --bg: #010D24; --stone: #0A1B3D; --bdr: rgba(152,180,204,0.18);
  }
}
:root[data-theme="dark"] {
  --ink: #EEF2F8; --muted: #A9BDD6; --card: #0A1B3D;
  --bg: #010D24; --stone: #0A1B3D; --bdr: rgba(152,180,204,0.18);
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100; height: 60px;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bdr);
}
.nav__inner {
  max-width: 1100px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__badge { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.nav__name {
  font-size: clamp(11px, 2.6vw, 14px); font-weight: 800;
  letter-spacing: 0.2px; white-space: nowrap; color: var(--ink);
}
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 6px 12px; border-radius: 7px; text-decoration: none;
}
.nav__links a:hover { background: rgba(61,90,128,0.12); color: var(--slate); }
@media (max-width: 620px) { .nav__links a.opt { display: none; } }

/* ── LAYOUT ── */
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.wrap--wide { max-width: 1000px; }

.phead { padding: 52px 0 30px; border-bottom: 1px solid var(--bdr); margin-bottom: 34px; }
.eyebrow {
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orng); margin-bottom: 12px;
}
h1 {
  font-size: clamp(28px, 5.2vw, 44px); font-weight: 900;
  line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 14px;
}
.sub { font-size: clamp(16px, 2.4vw, 19px); color: var(--muted); font-weight: 500; }
.meta { font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 16px; }

article h2 {
  font-size: clamp(21px, 3.2vw, 27px); font-weight: 800;
  letter-spacing: -0.01em; margin: 40px 0 12px; line-height: 1.25;
}
article h3 {
  font-size: clamp(16px, 2.4vw, 19px); font-weight: 800;
  margin: 28px 0 8px;
}
article p { margin-bottom: 17px; font-size: 17px; }
article ul, article ol { margin: 0 0 18px 22px; }
article li { margin-bottom: 9px; font-size: 17px; }
article strong { font-weight: 700; }
article a { color: var(--orng); text-decoration: underline; text-underline-offset: 2px; }

blockquote {
  border-left: 3px solid var(--orng);
  padding: 4px 0 4px 18px; margin: 24px 0;
  color: var(--muted); font-style: italic;
}

.prompt {
  background: var(--card); border: 1px solid var(--bdr);
  border-left: 3px solid var(--slate);
  border-radius: 10px; padding: 16px 18px; margin: 18px 0 24px;
  font-size: 15px; line-height: 1.55;
}
.prompt__lbl {
  display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--slate); margin-bottom: 8px;
}

.callout {
  background: var(--stone); border: 1px solid var(--bdr);
  border-radius: 12px; padding: 20px 22px; margin: 30px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ── CARDS ── */
.posts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.post-card {
  display: block; text-decoration: none;
  background: var(--card); border: 1px solid var(--bdr);
  border-radius: 14px; padding: 24px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.post-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(1,17,54,0.10); }
.post-card__tag {
  font-size: 10px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--orng);
}
.post-card__title { font-size: 19px; font-weight: 800; margin: 9px 0 8px; line-height: 1.3; }
.post-card__desc { font-size: 15px; color: var(--muted); }

/* ── CTA / FOOTER ── */
.cta {
  background: var(--navy); color: #fff; border-radius: 16px;
  padding: 32px 28px; margin: 44px 0; text-align: center;
}
.cta h2 { color: #fff; margin: 0 0 10px; font-size: 23px; }
.cta p { color: var(--sky); margin-bottom: 20px; font-size: 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; padding: 13px 22px;
  border-radius: 10px; text-decoration: none;
  background: var(--orng); color: #fff;
}
.btn:hover { filter: brightness(1.08); }

.foot {
  border-top: 1px solid var(--bdr); margin-top: 50px;
  padding: 28px 0 44px; font-size: 14px; color: var(--muted);
}
.foot a { color: var(--muted); }
