/* extracted from blog-post.html */
:root {
      --green-deep:  #1a2e1a;
      --green-mid:   #2d4a2d;
      --green-light: #4a7c4a;
      --gold:        #c9a84c;
      --gold-light:  #e8c97a;
      --cream:       #faf7f0;
      --cream-dark:  #f0ead8;
      --text-dark:   #1a1a14;
      --text-mid:    #4a4a3a;
      --text-light:  #7a7a6a;
      --white:       #ffffff;
    }

    body {
      font-family: 'Jost', sans-serif;
      background: var(--cream);
      color: var(--text-dark);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ─── NAV ──────────────────────────────────────────────── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 18px 60px;
      background: rgba(26,46,26,0.97);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(201,168,76,0.2);
    }
    .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .nav-logo img { height: 36px; }
    .nav-logo span {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem; font-weight: 500; letter-spacing: 0.04em; color: var(--cream);
    }
    .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
    .nav-links a {
      text-decoration: none; color: rgba(250,247,240,0.75);
      font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em;
      text-transform: uppercase; transition: color 0.2s;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--gold); }
    .nav-cta {
      background: var(--gold); color: var(--green-deep) !important;
      padding: 9px 22px; border-radius: 2px; font-weight: 600 !important;
      transition: background 0.2s !important;
    }
    .nav-cta:hover { background: var(--gold-light) !important; }

    /* ─── HERO ─────────────────────────────────────────────── */
    .post-hero {
      position: relative;
      min-height: 88vh;
      display: flex; align-items: flex-end;
      overflow: hidden;
    }
    .post-hero-img {
      position: absolute; inset: 0;
    }
    .post-hero-img img {
      width: 100%; height: 100%; object-fit: cover;
      display: block;
    }
    .post-hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(
        to top,
        rgba(10,22,10,0.96) 0%,
        rgba(10,22,10,0.65) 40%,
        rgba(10,22,10,0.15) 100%
      );
    }
    .post-hero-content {
      position: relative; z-index: 2;
      padding: 0 120px 80px;
      max-width: 900px;
    }
    .breadcrumb {
      display: flex; align-items: center; gap: 8px;
      margin-bottom: 28px;
    }
    .breadcrumb a {
      font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em;
      text-transform: uppercase; color: rgba(250,247,240,0.5);
      text-decoration: none; transition: color 0.2s;
    }
    .breadcrumb a:hover { color: var(--gold); }
    .breadcrumb span { color: rgba(250,247,240,0.25); font-size: 0.7rem; }
    .breadcrumb .current { color: var(--gold); }
    .post-cats {
      display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px;
    }
    .post-cat-tag {
      background: var(--gold); color: var(--green-deep);
      font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em;
      text-transform: uppercase; padding: 5px 12px; border-radius: 2px;
    }
    .post-cat-tag.outline {
      background: transparent;
      border: 1px solid rgba(201,168,76,0.5);
      color: var(--gold-light);
    }
    .post-hero h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 300; line-height: 1.12; color: var(--cream);
      margin-bottom: 24px;
    }
    .post-hero h1 em { font-style: italic; color: var(--gold-light); }
    .post-hero-meta {
      display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    }
    .author-chip {
      display: flex; align-items: center; gap: 10px;
    }
    .author-avatar {
      width: 42px; height: 42px; border-radius: 50%;
      background: var(--green-light);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.2rem; color: var(--cream);
      border: 2px solid rgba(201,168,76,0.4);
    }
    .author-name { font-size: 0.82rem; font-weight: 500; color: var(--cream); }
    .author-role { font-size: 0.72rem; color: rgba(250,247,240,0.5); }
    .meta-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.15); }
    .meta-item {
      font-size: 0.75rem; font-weight: 400;
      color: rgba(250,247,240,0.55); letter-spacing: 0.04em;
    }
    .meta-item strong { color: rgba(250,247,240,0.85); font-weight: 500; }

    /* ─── ARTICLE LAYOUT ───────────────────────────────────── */
    .article-layout {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 60px;
      max-width: 1200px;
      margin: 0 auto;
      padding: 72px 60px 80px;
      align-items: start;
    }

    /* ─── ARTICLE BODY ─────────────────────────────────────── */
    .article-body {}

    /* progress bar */
    .reading-progress {
      position: fixed; top: 73px; left: 0; right: 0; z-index: 90;
      height: 3px; background: rgba(255,255,255,0.08);
    }
    .reading-progress-bar {
      height: 100%; width: 0;
      background: linear-gradient(to right, var(--gold), var(--gold-light));
      transition: width 0.1s linear;
    }

    .article-intro {
      font-size: 1.15rem; font-weight: 300; line-height: 1.9;
      color: var(--text-mid); margin-bottom: 40px;
      padding-bottom: 40px; border-bottom: 1px solid var(--cream-dark);
    }

    .article-body h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.9rem; font-weight: 500; line-height: 1.25;
      color: var(--text-dark); margin: 48px 0 18px;
    }
    .article-body h2 em { font-style: italic; color: var(--green-light); }

    .article-body h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem; font-weight: 500; color: var(--text-dark);
      margin: 34px 0 12px;
    }

    .article-body p {
      font-size: 0.95rem; font-weight: 300; line-height: 1.9;
      color: var(--text-mid); margin-bottom: 22px;
    }

    .article-body ul, .article-body ol {
      margin: 0 0 24px 0; padding-left: 20px;
    }
    .article-body li {
      font-size: 0.93rem; font-weight: 300; line-height: 1.85;
      color: var(--text-mid); margin-bottom: 6px;
    }
    .article-body li::marker { color: var(--gold); }

    /* pull quote */
    .pull-quote {
      margin: 44px 0;
      padding: 36px 42px;
      background: var(--green-deep);
      border-left: 4px solid var(--gold);
      border-radius: 0 3px 3px 0;
      position: relative;
      overflow: hidden;
    }
    .pull-quote::before {
      content: '"';
      position: absolute; top: -10px; left: 18px;
      font-family: 'Cormorant Garamond', serif;
      font-size: 9rem; line-height: 1; color: rgba(201,168,76,0.12);
      pointer-events: none;
    }
    .pull-quote p {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.45rem; font-weight: 400; font-style: italic;
      line-height: 1.5; color: var(--cream);
      margin: 0 0 12px;
    }
    .pull-quote cite {
      font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
      text-transform: uppercase; color: var(--gold);
      font-style: normal;
    }

    /* inline image */
    .article-img {
      margin: 40px 0;
      border-radius: 3px; overflow: hidden;
      box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    }
    .article-img img {
      width: 100%; display: block;
    }
    .article-img figcaption {
      padding: 12px 16px;
      background: var(--white);
      font-size: 0.78rem; font-weight: 300;
      color: var(--text-light); font-style: italic;
      border-top: 1px solid var(--cream-dark);
    }

    /* stat callout */
    .stat-row {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 1px; margin: 44px 0;
      background: var(--cream-dark);
      border-radius: 3px; overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }
    .stat-cell {
      background: var(--white);
      padding: 30px 24px; text-align: center;
    }
    .stat-cell .num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.6rem; font-weight: 400;
      color: var(--green-deep); line-height: 1;
    }
    .stat-cell .num em { font-style: italic; color: var(--gold); }
    .stat-cell .label {
      font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--text-light);
      margin-top: 6px;
    }

    /* key takeaway box */
    .takeaway-box {
      background: linear-gradient(135deg, #f6f0e0 0%, #ede6d0 100%);
      border: 1px solid rgba(201,168,76,0.3);
      border-radius: 3px; padding: 32px 36px;
      margin: 40px 0;
    }
    .takeaway-box .tb-label {
      font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
    }
    .takeaway-box .tb-label::after {
      content: ''; flex: 1; height: 1px;
      background: rgba(201,168,76,0.3);
    }
    .takeaway-box ul { padding-left: 18px; }
    .takeaway-box li {
      font-size: 0.9rem; font-weight: 400; line-height: 1.8;
      color: var(--text-dark); margin-bottom: 6px;
    }
    .takeaway-box li::marker { color: var(--gold); }

    /* tags */
    .article-tags {
      display: flex; flex-wrap: wrap; gap: 8px;
      margin: 40px 0 0; padding-top: 32px;
      border-top: 1px solid var(--cream-dark);
    }
    .tag {
      display: inline-block;
      font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--text-mid);
      border: 1px solid var(--cream-dark);
      padding: 5px 14px; border-radius: 2px;
      text-decoration: none; transition: all 0.2s;
    }
    .tag:hover { border-color: var(--gold); color: var(--green-deep); }

    /* share bar */
    .share-bar {
      display: flex; align-items: center; gap: 12px;
      margin: 32px 0 0; padding-top: 24px;
      border-top: 1px solid var(--cream-dark);
    }
    .share-label {
      font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--text-light);
    }
    .share-btn {
      display: inline-flex; align-items: center; gap: 6px;
      background: none; border: 1px solid var(--cream-dark);
      border-radius: 2px; padding: 7px 16px; cursor: pointer;
      font-family: 'Jost', sans-serif;
      font-size: 0.72rem; font-weight: 500; color: var(--text-mid);
      transition: all 0.2s; text-decoration: none;
    }
    .share-btn:hover {
      background: var(--green-deep); border-color: var(--green-deep);
      color: var(--cream);
    }

    /* author card */
    .author-card {
      background: var(--white);
      border-radius: 3px; padding: 32px;
      display: flex; gap: 24px;
      margin-top: 56px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }
    .author-card-avatar {
      width: 72px; height: 72px; flex-shrink: 0;
      border-radius: 50%; background: var(--green-mid);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem; color: var(--cream);
      border: 3px solid rgba(201,168,76,0.3);
    }
    .author-card h4 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.2rem; font-weight: 500; color: var(--text-dark);
      margin-bottom: 2px;
    }
    .author-card .role {
      font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
    }
    .author-card p {
      font-size: 0.85rem; font-weight: 300; line-height: 1.75;
      color: var(--text-mid);
    }

    /* ─── SIDEBAR ───────────────────────────────────────────── */
    .sidebar { position: sticky; top: 100px; }

    .toc-box {
      background: var(--white);
      border-radius: 3px; padding: 28px 26px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.05);
      margin-bottom: 28px;
    }
    .toc-box h4 {
      font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 18px; padding-bottom: 14px;
      border-bottom: 1px solid var(--cream-dark);
    }
    .toc-list { list-style: none; }
    .toc-list li { margin-bottom: 2px; }
    .toc-list a {
      display: block; padding: 7px 10px;
      font-size: 0.82rem; font-weight: 400; color: var(--text-mid);
      text-decoration: none; border-radius: 2px;
      transition: all 0.2s; border-left: 2px solid transparent;
    }
    .toc-list a:hover, .toc-list a.active {
      background: var(--cream); color: var(--green-deep);
      border-left-color: var(--gold);
    }
    .toc-list .toc-sub a {
      padding-left: 22px; font-size: 0.78rem; color: var(--text-light);
    }

    .sidebar-cta {
      background: var(--green-deep);
      border-radius: 3px; padding: 28px 26px;
      margin-bottom: 28px;
    }
    .sidebar-cta .sc-tag {
      font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
    }
    .sidebar-cta h4 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.2rem; font-weight: 400; line-height: 1.35;
      color: var(--cream); margin-bottom: 12px;
    }
    .sidebar-cta h4 em { font-style: italic; color: var(--gold-light); }
    .sidebar-cta p {
      font-size: 0.8rem; font-weight: 300; line-height: 1.7;
      color: rgba(250,247,240,0.55); margin-bottom: 20px;
    }
    .btn-gold {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--gold); color: var(--green-deep);
      font-family: 'Jost', sans-serif;
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
      text-transform: uppercase; text-decoration: none;
      padding: 11px 22px; border-radius: 2px;
      transition: background 0.2s; width: 100%; justify-content: center;
    }
    .btn-gold:hover { background: var(--gold-light); }

    .sidebar-related {
      background: var(--white);
      border-radius: 3px; padding: 28px 26px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    }
    .sidebar-related h4 {
      font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 18px; padding-bottom: 14px;
      border-bottom: 1px solid var(--cream-dark);
    }
    .related-item {
      display: flex; gap: 12px; padding: 12px 0;
      border-bottom: 1px solid var(--cream-dark);
      text-decoration: none; color: inherit;
      transition: opacity 0.2s;
    }
    .related-item:last-child { border-bottom: none; padding-bottom: 0; }
    .related-item:hover { opacity: 0.7; }
    .ri-img {
      width: 60px; height: 60px; flex-shrink: 0;
      border-radius: 2px; overflow: hidden; background: var(--green-light);
    }
    .ri-img img { width: 100%; height: 100%; object-fit: cover; }
    .ri-cat {
      font-size: 0.6rem; font-weight: 600; letter-spacing: 0.15em;
      text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
    }
    .ri-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 0.9rem; font-weight: 500; line-height: 1.3;
      color: var(--text-dark);
    }

    /* ─── RELATED POSTS SECTION ─────────────────────────────── */
    .related-section {
      background: var(--cream-dark);
      padding: 80px 60px;
      border-top: 1px solid rgba(0,0,0,0.06);
    }
    .section-label {
      font-size: 0.7rem; font-weight: 600; letter-spacing: 0.25em;
      text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
    }
    .related-section h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.2rem; font-weight: 300; color: var(--text-dark);
      margin-bottom: 40px;
    }
    .related-section h2 em { font-style: italic; color: var(--green-light); }
    .related-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    }
    .post-card {
      background: var(--white); border-radius: 3px;
      overflow: hidden; text-decoration: none; color: inherit;
      display: flex; flex-direction: column;
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .post-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 16px 48px rgba(26,46,26,0.13);
    }
    .post-card-img {
      height: 200px; overflow: hidden; position: relative;
      background: var(--green-light);
    }
    .post-card-img img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.5s;
    }
    .post-card:hover .post-card-img img { transform: scale(1.06); }
    .pc-cat {
      position: absolute; bottom: 12px; left: 12px;
      background: var(--gold); color: var(--green-deep);
      font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em;
      text-transform: uppercase; padding: 4px 10px; border-radius: 2px;
    }
    .post-card-body { padding: 24px 22px 26px; flex: 1; display: flex; flex-direction: column; }
    .pc-date {
      font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--text-light); margin-bottom: 8px;
    }
    .post-card h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.2rem; font-weight: 500; line-height: 1.3;
      color: var(--text-dark); margin-bottom: 10px;
    }
    .post-card p {
      font-size: 0.83rem; font-weight: 300; line-height: 1.7;
      color: var(--text-mid); flex: 1;
    }
    .pc-footer {
      display: flex; align-items: center; justify-content: space-between;
      padding-top: 14px; margin-top: 14px;
      border-top: 1px solid var(--cream-dark);
    }
    .pc-author { font-size: 0.73rem; color: var(--text-light); }
    .pc-read {
      font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--green-mid);
    }

    /* ─── FOOTER ────────────────────────────────────────────── */
    footer {
      background: var(--green-deep);
      padding: 60px; color: rgba(250,247,240,0.6);
    }
    .footer-top {
      display: grid; grid-template-columns: 260px 1fr 1fr 1fr;
      gap: 50px; margin-bottom: 48px;
    }
    .footer-brand img { height: 40px; margin-bottom: 16px; }
    .footer-brand p { font-size: 0.82rem; line-height: 1.75; font-weight: 300; }
    .footer-col h4 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1rem; font-weight: 500; color: var(--cream); margin-bottom: 16px;
    }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 8px; }
    .footer-col a {
      font-size: 0.82rem; color: rgba(250,247,240,0.55);
      text-decoration: none; transition: color 0.2s;
    }
    .footer-col a:hover { color: var(--gold); }
    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      padding-top: 24px; border-top: 1px solid rgba(201,168,76,0.15);
      font-size: 0.75rem;
    }
    .footer-bottom a { color: rgba(250,247,240,0.45); text-decoration: none; }
    .footer-bottom a:hover { color: var(--gold); }

    /* ─── SCROLL REVEAL ─────────────────────────────────────── */
    .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
    .reveal.visible { opacity: 1; transform: none; }

    /* ─── RESPONSIVE ────────────────────────────────────────── */
    @media (max-width: 1100px) {
      nav { padding: 16px 30px; }
      .post-hero-content { padding: 0 60px 60px; }
      .article-layout { grid-template-columns: 1fr; padding: 50px 30px 60px; }
      .sidebar { position: static; }
      .related-section, footer { padding-left: 30px; padding-right: 30px; }
      .related-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
      .stat-row { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .post-hero-content { padding: 0 24px 48px; }
      .post-hero h1 { font-size: 2rem; }
      .related-grid { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
      .author-card { flex-direction: column; }
    }
