/* ═══════════════════════════════════════════════════════════
   Sixteen36 Co. — Shared blog post stylesheet
   Used by all individual blog article pages.
   Tokens, nav, and footer mirror blog.html for visual parity.
   ═══════════════════════════════════════════════════════════ */

:root {
  --crimson:    #8B1A1A;
  --gold:       #C9A84C;
  --cream:      #FDFAF4;
  --copper:     #B87333;
  --forest:     #1E2A14;
  --parchment:  #F2E8D0;
  --parchment2: #E8D5B5;
  --ink:        #231508;
  --ink-light:  #5C3E24;
  --ink-mid:    #3D2810;
}

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

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
}

/* ─── NAV ────────────────────────────────────────────── */
nav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--parchment2);
  padding: 0 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: height 0.35s ease, box-shadow 0.35s ease;
}
nav.nav-scrolled { height: 60px; box-shadow: 0 2px 20px rgba(35,21,8,0.08); }
.nav-logo-area { position: relative; width: 220px; height: 100%; display: flex; align-items: center; flex-shrink: 0; }
.nav-brand-full, .nav-brand-compact {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; text-decoration: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.nav-brand-full  { opacity: 1; visibility: visible; }
nav.nav-scrolled .nav-brand-full  { opacity: 0; visibility: hidden; }
.nav-brand-compact { opacity: 0; visibility: hidden; }
nav.nav-scrolled .nav-brand-compact { opacity: 1; visibility: visible; }
.nav-logo-img    { height: 70px; width: auto; }
.nav-logo-compact { height: 44px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 400;
  letter-spacing: 0.05em; color: var(--ink-light); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--crimson); }
.nav-links .nav-cta {
  background: var(--copper); color: var(--cream) !important; padding: 10px 24px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 100px;
}
.nav-links .nav-cta:hover { background: var(--crimson); color: var(--cream) !important; }
.nav-links .nav-active { color: var(--crimson) !important; font-weight: 700; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--crimson); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── ARTICLE ────────────────────────────────────────── */
.article-hero-img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  background: var(--parchment);
}

.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 32px 88px;
}

.breadcrumb {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(35,21,8,0.45); margin-bottom: 28px;
}
.breadcrumb a { color: var(--copper); text-decoration: none; }
.breadcrumb a:hover { color: var(--crimson); }

.article-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--crimson); margin-bottom: 18px;
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 22px;
}

.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 14px; color: var(--ink-light);
  padding-bottom: 30px; margin-bottom: 6px;
  border-bottom: 1px solid var(--parchment2);
}
.article-meta .dot { color: rgba(35,21,8,0.3); }
.article-meta .author { font-weight: 700; color: var(--ink); }

.article-figure { margin: 36px 0 8px; }
.article-figure img { display: block; width: 100%; border-radius: 6px; border: 1px solid var(--parchment2); }
.article-figure figcaption { font-size: 13px; color: rgba(35,21,8,0.5); margin-top: 10px; text-align: center; }
/* Hero graphic sits at text-column width, right under the title block */
.article-figure.article-hero { margin: 28px 0 4px; }

.article-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-mid);
  font-weight: 400;
  padding: 0;
  margin: 34px 0 22px;
}

.article-body { margin-top: 6px; }
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin: 46px 0 18px;
}
.article-body h3 {
  font-family: 'Lato', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: 0.01em;
  color: var(--crimson);
  margin: 30px 0 10px;
}
.article-body p { margin-bottom: 20px; color: var(--ink); }
.article-body a { color: var(--crimson); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--copper); }
.article-body ul, .article-body ol { margin: 0 0 22px 24px; }
.article-body li { margin-bottom: 12px; padding-left: 4px; }
.article-body strong { color: var(--ink-mid); }

.article-body ol.steps { list-style: none; margin-left: 0; counter-reset: step; }
.article-body ol.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 4px 52px;
  margin-bottom: 26px;
}
.article-body ol.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--copper); color: var(--cream);
  font-weight: 700; font-size: 15px; border-radius: 50%;
}
.article-body ol.steps > li .step-title { font-weight: 700; color: var(--ink-mid); display: block; margin-bottom: 4px; }

/* ─── FAQ (click-to-open accordion; answers stay in the DOM for AI/search crawlers) ─── */
.faq-section { margin-top: 52px; }
.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(23px, 2.6vw, 30px); font-weight: 600; color: var(--ink); margin-bottom: 10px;
}
.faq-item { border-bottom: 1px solid var(--parchment2); }
.faq-item:first-of-type { border-top: 1px solid var(--parchment2); }
.faq-item summary { list-style: none; cursor: pointer; display: block; position: relative; padding: 22px 44px 22px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { display: inline; font-family: 'Lato', sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.4; margin: 0; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-family: 'Playfair Display', serif; font-size: 26px; line-height: 1; color: var(--copper); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover h3 { color: var(--crimson); }
.faq-answer { padding: 0 44px 24px 0; }
.faq-answer p { font-size: 16px; color: var(--ink-light); line-height: 1.8; margin: 0; }

/* ─── AUTHOR / BYLINE ────────────────────────────────── */
.author-card {
  display: flex; gap: 22px; align-items: flex-start;
  background: #FFFFFF; border: 1px solid var(--parchment2); border-radius: 6px;
  padding: 28px 30px; margin-top: 52px;
}
.author-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center 15%; flex-shrink: 0; }
.author-card .author-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.author-card .author-role { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--copper); margin-bottom: 12px; }
.author-card .author-bio { font-size: 15px; color: var(--ink-light); line-height: 1.7; }

/* ─── CTA STRIP ──────────────────────────────────────── */
.article-cta {
  background: var(--ink-mid); border-radius: 8px; padding: 40px 44px; margin-top: 40px; text-align: center;
}
.article-cta h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; color: var(--cream); margin-bottom: 12px; }
.article-cta p { color: rgba(253,250,244,0.7); font-size: 16px; margin-bottom: 22px; }
.article-cta .cta-btn {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 100px; text-decoration: none; transition: background 0.2s, color 0.2s;
}
.article-cta .cta-btn:hover { background: var(--copper); color: var(--cream); }

/* ─── RELATED ────────────────────────────────────────── */
.related { max-width: 1100px; margin: 0 auto; padding: 8px 32px 88px; }
.related .section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 24px;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.related-card {
  background: #FFFFFF; border: 1px solid var(--parchment2); border-radius: 4px; overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column; transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.related-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(35,21,8,0.09); }
.related-card img { width: 100%; height: 150px; object-fit: cover; }
.related-card .rc-body { padding: 20px 22px 24px; }
.related-card .rc-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--crimson); margin-bottom: 8px; }
.related-card h4 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ─── FOOTER ─────────────────────────────────────────── */
footer { font-size: 14px; line-height: 1.7; }
.footer-main { background: var(--ink-mid); display: flex; gap: 80px; align-items: flex-start; padding: 64px 72px; border-bottom: 1px solid rgba(253,250,244,0.1); }
.footer-links { display: flex; gap: 56px; flex-shrink: 0; }
.footer-col-stack { display: flex; flex-direction: column; gap: 32px; }
.footer-col h4 { font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(253,250,244,0.6); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--cream); }
.footer-form-area { flex: 1; display: flex; flex-direction: column; align-items: flex-end; }
.footer-form-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: var(--cream); margin-bottom: 10px; text-align: right; }
.footer-form-sub { font-size: 14px; color: rgba(253,250,244,0.5); line-height: 1.75; margin-bottom: 24px; text-align: right; }
.subscribe-form { display: flex; flex-direction: column; gap: 10px; width: 420px; }
.subscribe-name-row { display: flex; gap: 10px; }
.subscribe-form input { background: rgba(253,250,244,0.08); border: 1px solid rgba(253,250,244,0.2); color: var(--cream); font-family: 'Lato', sans-serif; font-size: 14px; padding: 12px 18px; border-radius: 8px; outline: none; transition: border-color 0.2s; flex: 1; }
.subscribe-form input::placeholder { color: rgba(253,250,244,0.35); }
.subscribe-form input:focus { border-color: var(--gold); }
.subscribe-email { width: 100%; }
.subscribe-form button { background: var(--gold); color: var(--ink); font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border: none; border-radius: 8px; padding: 13px 28px; cursor: pointer; transition: background 0.2s; align-self: flex-start; }
.subscribe-form button:hover { background: var(--copper); color: var(--cream); }
.footer-logo-row { background: #FFFFFF; display: flex; justify-content: center; align-items: center; padding: 16px 72px; border-bottom: 1px solid var(--parchment2); }
.footer-logo-img { height: 84px; width: auto; }
.footer-legal-row { background: #FFFFFF; display: flex; justify-content: space-between; align-items: center; padding: 18px 72px; font-size: 12px; color: rgba(35,21,8,0.45); letter-spacing: 0.04em; }
.footer-legal-links { display: flex; gap: 28px; }
.footer-legal-links a { color: rgba(35,21,8,0.45); text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--ink); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 0 32px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { flex-direction: column; gap: 44px; padding: 56px 32px; }
  .footer-form-area { align-items: flex-start; width: 100%; }
  .footer-form-title, .footer-form-sub { text-align: left; }
  .subscribe-form { width: 100%; max-width: 460px; }
  .footer-logo-row, .footer-legal-row { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-logo-area { width: auto; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: #FFFFFF; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 32px 20px; border-bottom: 1px solid var(--parchment2); box-shadow: 0 12px 24px rgba(35,21,8,0.08); display: none; }
  nav.nav-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; font-size: 15px; }
  .nav-links .nav-cta { text-align: center; margin-top: 10px; padding: 12px 24px; }
  .article-lead { font-size: 18px; }
  .author-card { flex-direction: column; }
}
@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 28px; }
  .footer-legal-row { flex-direction: column; gap: 12px; text-align: center; }
}

/* ─── Table of contents (long how-to posts) ─── */
.toc { background:#FFFFFF; border:1px solid var(--parchment2); border-radius:6px; padding:20px 24px; margin:28px 0 8px; }
.toc .toc-title { font-size:12px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--copper); margin-bottom:12px; }
.toc ul { list-style:none; margin:0; display:flex; flex-direction:column; gap:8px; }
.toc li { margin:0; padding:0; }
.toc a { color:var(--ink-mid); text-decoration:none; font-size:15px; border-bottom:1px solid transparent; }
.toc a:hover { color:var(--crimson); border-bottom-color:var(--crimson); }
.article-body h2, .faq-section h2 { scroll-margin-top:100px; }
.article-body h3[id] { scroll-margin-top:100px; }
