/* ============================================================
   Blind Motivation
   Forest green + amber gold — bold, grounded, human
   Barlow Condensed headlines, system body
   ============================================================ */

/* --- Tokens ---------------------------------------------------------------- */
:root {
  /* OKLCH color palette */
  --c-bg:           oklch(97.5% 0.007 85);
  --c-bg-soft:      oklch(93.5% 0.012 82);
  --c-surface:      oklch(99%   0.003 85);
  --c-text:         oklch(18%   0.015 55);
  --c-muted:        oklch(50%   0.012 60);
  --c-subtle:       oklch(64%   0.008 60);
  --c-border:       oklch(87%   0.013 80);

  /* Amber / gold — energy, light */
  --c-gold:         oklch(73%   0.155 82);
  --c-gold-dark:    oklch(60%   0.155 75);
  --c-gold-pale:    oklch(93%   0.065 85);

  /* Forest green — strength, nature, adventure */
  --c-forest:       oklch(21%   0.060 148);
  --c-forest-mid:   oklch(34%   0.075 148);
  --c-forest-light: oklch(55%   0.065 148);
  --c-forest-muted: oklch(72%   0.040 148);
  --c-forest-text:  oklch(97%   0.006 85);

  /* Typography */
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Scale */
  --f-xs:   0.75rem;
  --f-sm:   0.875rem;
  --f-base: 1rem;
  --f-md:   1.125rem;
  --f-lg:   1.375rem;
  --f-xl:   1.875rem;
  --f-2xl:  2.5rem;
  --f-3xl:  3.75rem;
  --f-4xl:  5.5rem;

  /* Layout */
  --radius:     5px;
  --max-width:  800px;
  --pad-x:      clamp(1rem, 5vw, 2rem);
}

/* --- Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--f-md);
  line-height: 1.72;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--c-gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { color: var(--c-forest-mid); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

/* --- Skip link ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--c-forest);
  color: var(--c-forest-text);
  text-decoration: none;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

/* --- Container ------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--f-md);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
}
.btn-primary {
  background: var(--c-gold);
  color: var(--c-text);
  border: 2px solid var(--c-gold);
}
.btn-primary:hover {
  background: var(--c-gold-dark);
  border-color: var(--c-gold-dark);
  color: var(--c-forest-text);
}
.btn-ghost {
  background: transparent;
  color: var(--c-forest-text);
  border: 2px solid oklch(55% 0.050 148);
}
.btn-ghost:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-text);
}

/* --- Site header ----------------------------------------------------------- */
.site-header {
  background: var(--c-forest);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-title {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  font-weight: 800;
  color: var(--c-forest-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-title:hover { color: var(--c-gold); }

.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.site-nav a {
  color: var(--c-forest-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.15s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--c-gold);
}

/* --- Homepage hero --------------------------------------------------------- */
.homepage-hero {
  background: var(--c-forest);
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-gold);
  margin: 0 0 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(var(--f-3xl), 10vw, var(--f-4xl));
  font-weight: 800;
  color: var(--c-forest-text);
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  line-height: 0.93;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: normal;
  color: var(--c-gold);
}
.hero-sub {
  font-size: var(--f-md);
  color: var(--c-forest-muted);
  max-width: 50ch;
  margin: 0 0 2.25rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* --- Post feed section ----------------------------------------------------- */
.post-feed {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}
.section-label {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-gold-dark);
  margin: 0 0 0.5rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: var(--f-2xl);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.section-rule {
  border: none;
  border-top: 3px solid var(--c-gold);
  width: 3rem;
  margin: 0 0 2.5rem;
}

/* --- Post list ------------------------------------------------------------- */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- Post card ------------------------------------------------------------- */
.post-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--c-border);
  align-items: start;
}
.post-card--has-image {
  grid-template-columns: 1fr 220px;
}
.post-card:last-child { border-bottom: none; }

.post-card-body { min-width: 0; }

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--f-xs);
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.post-card-meta time {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--c-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--f-xs);
}
.post-card-meta-sep { color: var(--c-border); }
.post-card-cats { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.post-card-cats a {
  color: var(--c-muted);
  text-decoration: none;
  font-weight: 500;
}
.post-card-cats a:hover { color: var(--c-gold-dark); text-decoration: underline; }

.post-card-title {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  font-weight: 700;
  margin: 0 0 0.6rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.post-card-title a {
  color: var(--c-text);
  text-decoration: none;
}
.post-card-title a:hover { color: var(--c-forest-mid); }

.post-card-excerpt {
  color: var(--c-muted);
  margin: 0 0 0.75rem;
  font-size: var(--f-base);
  line-height: 1.65;
}
.post-card-more {
  font-family: var(--font-display);
  font-size: var(--f-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  color: var(--c-forest);
}
.post-card-more:hover { color: var(--c-gold-dark); text-decoration: underline; }

.post-card-image-wrap {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.post-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.35s ease-out;
}
.post-card-image-wrap:hover img { transform: scale(1.04); }

/* --- Pagination ------------------------------------------------------------ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.pagination a {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.pagination a:hover { text-decoration: underline; }
.pagination-info { color: var(--c-muted); font-size: var(--f-sm); }

/* --- Page banner ----------------------------------------------------------- */
.page-banner {
  background: var(--c-forest);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
}
.page-banner-eyebrow {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-gold);
  margin: 0 0 0.75rem;
}
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--f-2xl), 6vw, var(--f-3xl));
  font-weight: 800;
  color: var(--c-forest-text);
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.page-banner-sub {
  font-size: var(--f-md);
  color: var(--c-forest-muted);
  margin: 0.75rem 0 0;
  max-width: 52ch;
  line-height: 1.6;
}

/* --- Page content ---------------------------------------------------------- */
.page-wrap {
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.page-body {
  font-size: var(--f-md);
  line-height: 1.78;
  max-width: 68ch;
}
.page-body h2 {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 3rem 0 0.75rem;
  color: var(--c-forest);
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  font-family: var(--font-display);
  font-size: var(--f-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 2rem 0 0.5rem;
}
.page-body p { margin: 0 0 1.25rem; }
.page-body ul, .page-body ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}
.page-body li { margin-bottom: 0.5rem; }
.page-body img {
  margin: 2rem auto;
  border-radius: var(--radius);
  max-height: 400px;
  object-fit: cover;
}
.page-body strong { color: var(--c-text); }
.page-body a { word-break: break-word; }
.page-body blockquote {
  border-left: 4px solid var(--c-gold);
  margin: 2.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--c-bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.page-body blockquote p {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  font-weight: 700;
  color: var(--c-forest);
  line-height: 1.3;
  margin: 0 0 0.35rem;
  font-style: italic;
}
.page-body blockquote cite {
  font-size: var(--f-sm);
  color: var(--c-muted);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Speaking CTA box ------------------------------------------------------ */
.speaking-cta {
  margin-top: 3.5rem;
  padding: 2.5rem;
  background: var(--c-forest);
  border-radius: var(--radius);
}
.speaking-cta h3 {
  font-family: var(--font-display);
  font-size: var(--f-xl);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--c-forest-text);
  letter-spacing: -0.01em;
}
.speaking-cta p {
  margin: 0 0 1.5rem;
  color: var(--c-forest-muted);
  line-height: 1.6;
  font-size: var(--f-base);
}

/* --- Post layout ----------------------------------------------------------- */
.post-wrap {
  padding-top: 0;
  padding-bottom: 5rem;
}
.post-header {
  background: var(--c-forest);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2.5rem;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.post-meta time {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  color: var(--c-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.post-meta-sep { color: oklch(45% 0.04 148); font-size: var(--f-xs); }
.post-categories a {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-forest-muted);
  text-decoration: none;
}
.post-categories a:hover { color: var(--c-gold); text-decoration: underline; }

.post-title {
  font-family: var(--font-display);
  font-size: clamp(var(--f-2xl), 6vw, var(--f-3xl));
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--c-forest-text);
  text-transform: uppercase;
}
.post-hero {
  margin: 0 0 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.post-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 0;
}
.post-body {
  font-size: var(--f-md);
  line-height: 1.78;
  max-width: 68ch;
}
.post-body h2, .post-body h3, .post-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 2.25rem 0 0.75rem;
}
.post-body h2 { font-size: var(--f-xl); }
.post-body h3 { font-size: var(--f-lg); }
.post-body p { margin: 0 0 1.25rem; }
.post-body ul, .post-body ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}
.post-body li { margin-bottom: 0.4rem; }
.post-body blockquote {
  border-left: 4px solid var(--c-gold);
  margin: 2rem 0;
  padding: 0.75rem 1.5rem;
  background: var(--c-bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--f-lg);
  font-style: italic;
  color: var(--c-muted);
}
.post-body pre {
  background: oklch(15% 0.01 60);
  color: oklch(91% 0.005 60);
  padding: 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: var(--f-sm);
}
.post-body code {
  font-size: 0.9em;
  background: var(--c-bg-soft);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body img { margin: 2rem auto; border-radius: var(--radius); }
.post-body a { word-break: break-word; }
.post-body iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  margin: 2rem 0;
  border-radius: var(--radius);
}

.post-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}
.post-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.post-tags span {
  font-family: var(--font-display);
  font-size: var(--f-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-subtle);
}
.post-tags a {
  background: var(--c-bg-soft);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--c-muted);
  font-size: var(--f-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--c-border);
}
.post-tags a:hover { background: var(--c-gold-pale); color: var(--c-text); border-color: var(--c-gold); }

.post-nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}
.post-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: var(--f-sm);
}
.post-nav a:hover { text-decoration: underline; }

/* --- Tag archive ----------------------------------------------------------- */
.tag-archive {
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.tag-title {
  font-family: var(--font-display);
  font-size: var(--f-2xl);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}
.tag-rule {
  border: none;
  border-top: 3px solid var(--c-gold);
  width: 3rem;
  margin: 0 0 2.5rem;
}

/* --- 404 ------------------------------------------------------------------- */
.not-found {
  text-align: center;
  padding: 6rem var(--pad-x);
}
.not-found h1 {
  font-family: var(--font-display);
  font-size: var(--f-4xl);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-forest);
  margin: 0 0 0.5rem;
  line-height: 1;
}
.not-found p { color: var(--c-muted); margin-bottom: 2rem; }

/* --- Site footer ----------------------------------------------------------- */
.site-footer {
  background: var(--c-forest);
  padding: 2.5rem 0;
  font-size: var(--f-sm);
  color: var(--c-forest-light);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--c-forest-light); }
.site-footer a:hover { color: var(--c-gold); }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 640px) {
  .post-card--has-image {
    grid-template-columns: 1fr;
  }
  .post-card--has-image .post-card-image-wrap {
    order: -1;
    aspect-ratio: 16/9;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: 1rem; }
}
