/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
  --gray:      #363636;
  --orange:    #D9593C;
  --wine:      #803723;
  --terracota: #B75C3C;
  --cream:     #FAF7F4;
  --light:     #F3EDE7;
  --white:     #FFFFFF;
  --canela:    'Georgia', 'Times New Roman', serif;
  --poppins:   'Poppins', sans-serif;
  --col:       700px;
  --max:       1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--poppins);
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; width: 100%; }
a   { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ═══════════════════════════════════════════
   FADE ANIMATIONS
═══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   HEADER / NAV — styles provided by header.css
═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   ARTICLE HERO
═══════════════════════════════════════════ */
.article-hero {
  background: var(--cream);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  padding: 1.75rem 0 0;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(54,54,54,.4);
  margin-bottom: 2.5rem;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--orange); opacity: .55; }
.breadcrumb .current { color: var(--orange); opacity: .85; }

/* Category + meta row */
.article-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.article-cat {
  display: inline-block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: .3rem .85rem;
  border-radius: 2px;
}
.article-date,
.article-readtime {
  font-size: .73rem;
  font-weight: 500;
  color: var(--gray);
  opacity: .42;
  letter-spacing: .04em;
}
.meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gray);
  opacity: .22;
  flex-shrink: 0;
}

/* Headline */
.article-headline {
  font-family: var(--canela);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: normal;
  line-height: 1.1;
  color: var(--gray);
  max-width: 860px;
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}
.article-headline em {
  font-style: italic;
  color: var(--terracota);
}

/* Dek / subtitle */
.article-dek {
  font-size: clamp(.95rem, 1.8vw, 1.12rem);
  line-height: 1.72;
  color: var(--gray);
  opacity: .68;
  max-width: 680px;
  margin-bottom: 2.25rem;
}

/* Author row */
.article-author-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(54,54,54,.1);
  margin-bottom: 0;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracota), var(--wine));
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; }
.author-name { font-size: .82rem; font-weight: 700; color: var(--gray); margin-bottom: .1rem; }
.author-role { font-size: .7rem; color: var(--gray); opacity: .45; }

/* Share row */
.article-share {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}
.share-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: .3;
}
.share-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(54,54,54,.15);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  font-family: var(--poppins);
  font-weight: 600;
  color: var(--gray);
  opacity: .5;
  cursor: pointer;
  transition: opacity .2s, border-color .2s, background .2s;
}
.share-btn:hover { opacity: 1; border-color: var(--orange); background: var(--orange); color: #fff; }

/* ── Hero image ── */
.article-hero-image {
  width: 100%;
  margin-top: 0;
  overflow: hidden;
}
.hero-image-wrapper {
  width: 100%;
  aspect-ratio: 21/8;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #5c2818 0%, #2a1008 50%, #1a0804 100%);
}
.hero-image-wrapper::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 60% at 65% 30%, rgba(217,89,60,.28), transparent),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(183,92,60,.18), transparent);
}
.hero-image-wrapper::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 48px,
    rgba(255,255,255,.014) 48px, rgba(255,255,255,.014) 49px
  );
}
/* Replace .hero-image-placeholder with <img> in production */
.hero-image-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-image-placeholder svg {
  width: 200px;
  opacity: .08;
}
.hero-image-caption {
  position: absolute;
  bottom: 1.25rem; right: 1.5rem;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

/* ═══════════════════════════════════════════
   ARTICLE BODY
═══════════════════════════════════════════ */
.article-body-wrap {
  background: var(--white);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr clamp(560px, 60%, var(--col)) 1fr;
  gap: 0;
}

/* Main content column */
.article-content {
  grid-column: 2;
}

/* Drop cap on first paragraph */
.article-content > p:first-of-type::first-letter {
  font-family: var(--canela);
  font-size: 4.2rem;
  font-weight: normal;
  line-height: .8;
  float: left;
  margin-right: .12em;
  margin-top: .08em;
  color: var(--orange);
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray);
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.article-content h2 {
  font-family: var(--canela);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: normal;
  color: var(--gray);
  line-height: 1.2;
  margin: 3rem 0 1.1rem;
}

.article-content h3 {
  font-family: var(--poppins);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: .03em;
  margin: 2.25rem 0 .85rem;
}

/* Pull quote */
.pull-quote {
  border-left: 3px solid var(--orange);
  padding: 1rem 0 1rem 2rem;
  margin: 2.5rem 0;
}
.pull-quote blockquote {
  font-family: var(--canela);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-style: italic;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: .6rem;
}
.pull-quote cite {
  font-size: .75rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pull-quote cite::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--orange);
}

/* Inline highlight box */
.article-highlight {
  background: var(--light);
  border-radius: 4px;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  border-top: 3px solid var(--terracota);
}
.article-highlight p {
  font-size: .93rem;
  line-height: 1.8;
  margin-bottom: 0;
  font-weight: 400;
}
.article-highlight strong {
  color: var(--terracota);
  font-weight: 700;
}

/* Inline image */
.article-content figure {
  margin: 2.75rem 0;
}
.article-content figure .fig-img {
  width: 100%;
  aspect-ratio: 16/7;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--terracota), #3a1a0c);
  position: relative;
}
.article-content figure .fig-img::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 60% 40%, rgba(217,89,60,.22), transparent);
}
.article-content figcaption {
  font-size: .72rem;
  font-weight: 500;
  color: var(--gray);
  opacity: .42;
  letter-spacing: .05em;
  margin-top: .65rem;
  padding-left: .25rem;
}

/* Article tags footer */
.article-tags {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(54,54,54,.1);
}
.tag-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: .3;
  margin-right: .25rem;
}
.article-tag {
  font-size: .69rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: 100px;
  background: var(--light);
  color: var(--gray);
  border: 1px solid rgba(54,54,54,.1);
  transition: background .2s, border-color .2s;
  cursor: pointer;
}
.article-tag:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ═══════════════════════════════════════════
   OTHER ARTICLES
═══════════════════════════════════════════ */
.other-articles {
  background: var(--cream);
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.other-articles-header {
  text-align: center;
  margin-bottom: 3rem;
}
.other-articles-header h2 {
  font-family: var(--canela);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: normal;
  color: var(--gray);
  line-height: 1.1;
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Related card */
.related-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(54,54,54,.07);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(54,54,54,.1);
  border-color: rgba(54,54,54,.12);
}

.rc-image {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.rc-image-bg {
  width: 100%; height: 100%;
  transition: transform .45s ease;
}
.related-card:hover .rc-image-bg { transform: scale(1.05); }

.rc-image-bg.ri1 { background: linear-gradient(135deg, var(--orange), #8a3822); }
.rc-image-bg.ri2 { background: linear-gradient(135deg, var(--wine), #3a1a0c); }
.rc-image-bg.ri3 { background: linear-gradient(135deg, var(--gray), #5a2416); }

.rc-badge {
  position: absolute;
  top: .85rem; left: .85rem;
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(3px);
  padding: .24rem .62rem;
  border-radius: 2px;
}

.rc-body {
  padding: 1.4rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rc-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .7rem;
}
.rc-date { font-size: .68rem; font-weight: 500; color: var(--gray); opacity: .4; }
.rc-sep  { width: 2px; height: 2px; border-radius: 50%; background: var(--gray); opacity: .22; }
.rc-read { font-size: .68rem; font-weight: 500; color: var(--gray); opacity: .4; }

.rc-title {
  font-family: var(--canela);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: normal;
  color: var(--gray);
  line-height: 1.3;
  margin-bottom: .65rem;
  transition: color .2s;
}
.related-card:hover .rc-title { color: var(--orange); }

.rc-excerpt {
  font-size: .82rem;
  line-height: 1.7;
  color: var(--gray);
  opacity: .58;
  flex: 1;
  margin-bottom: 1rem;
}

.rc-link {
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .2s;
  margin-top: auto;
}
.related-card:hover .rc-link { gap: .65rem; }

/* ═══════════════════════════════════════════
   PARTNER CTA
═══════════════════════════════════════════ */
.partner-cta {
  background: #1f0e08;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.partner-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(217,89,60,.18), transparent);
}
.partner-cta::after {
  content: 'PARTNER';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--canela);
  font-size: clamp(7rem, 18vw, 16rem);
  font-style: italic;
  color: rgba(255,255,255,.022);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.partner-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-eyebrow {
  display: inline-block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 1.25rem;
}

.partner-cta-inner h2 {
  font-family: var(--canela);
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: normal;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.partner-cta-inner h2 em {
  font-style: italic;
  color: var(--terracota);
}

.partner-cta-inner p {
  font-size: .95rem;
  line-height: 1.78;
  color: rgba(255,255,255,.55);
  margin-bottom: 2.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-partner {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--poppins);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border-radius: 2px;
  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .22s, transform .15s;
}
.btn-cta-partner:hover { background: var(--wine); transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
  background: #1a0a04;
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .footer-logo {
  font-family: var(--canela);
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: .8rem;
}
.footer-brand .footer-logo em {
  display: block;
  font-family: var(--poppins);
  font-style: normal;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-top: 4px;
}
.footer-tagline {
  font-size: .82rem;
  line-height: 1.72;
  color: rgba(255,255,255,.42);
  max-width: 220px;
  margin-bottom: 1.75rem;
}
.footer-social {
  display: flex;
  gap: .55rem;
}
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--orange); color: #fff; }

.footer-col h4 {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a {
  font-size: .82rem;
  color: rgba(255,255,255,.52);
  transition: color .2s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: .72rem;
  color: rgba(255,255,255,.26);
  line-height: 1.6;
}
.footer-mission {
  font-family: var(--canela);
  font-size: .72rem;
  font-style: italic;
  color: rgba(255,255,255,.2);
}

/* ═══════════════════════════════════════════
   PROGRESS BAR
═══════════════════════════════════════════ */
.reading-progress {
  position: fixed;
  top: 68px; left: 0;
  height: 2px;
  width: 0%;
  background: var(--orange);
  z-index: 99;
  transition: width .1s linear;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1rem 1fr 1rem;
  }
  .other-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* .header-nav handled by header.css */
  .hero-image-wrapper { aspect-ratio: 4/3; }
  .article-layout {
    grid-template-columns: 0 1fr 0;
  }
  .article-content p { font-size: .97rem; }
  .other-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .article-author-row { flex-wrap: wrap; }
  .article-share { margin-left: 0; }
}

@media (max-width: 480px) {
  /* .btn-flag handled by header.css */
  .article-headline { font-size: 2rem; }
  .article-layout { grid-template-columns: 0 1fr 0; }
  .pull-quote { padding-left: 1.25rem; }
}