:root {
  --ink: #0A0A0A;
  --bg: #FAF8F3;
  --bg-warm: #F2EDE3;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-soft: #4A4A4A;
  --text-mute: #7A7A7A;
  --line: #E5E0D5;
  --hot: #E63E11;
  --hot-deep: #B82D08;
  --gold: #C9A227;
  --green: #1F6F47;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 10, 10, 0.06);
  --shadow-lg: 0 24px 48px -16px rgba(10, 10, 10, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

table {
  border-collapse: collapse;
  width: 100%;
  overflow: auto;
  display: block;
  margin-bottom: 20px;
}

td,
th {
  border: 1px solid #ddd;
  padding: 8px;
  white-space: nowrap;
  width: 100%;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #ddd;
}

th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #ac5a44;
  color: #fff;
}


body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.wrap-narrow {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

h1,
h2,
h3,
h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}

h1 {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  font-size: clamp(26px, 3.4vw, 30px);
  margin-top: 56px;
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  margin-top: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

em.script {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--hot);
  font-weight: 400;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hot);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--hot);
}

/* (Header / NAV / disclosure styles live in common.css) */

/* ===== READING PROGRESS ===== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 60;
}

.progress-fill {
  height: 100%;
  background: var(--hot);
  width: 0;
  transition: width 0.1s linear;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--text-mute);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-mute);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb .sep {
  color: var(--line);
}

.breadcrumb .current {
  color: var(--ink);
  font-weight: 500;
}

/* ===== ARTICLE HEAD ===== */
.article-head {
  padding: 32px 0 32px;
}

.article-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: var(--bg);
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag.hot {
  background: var(--hot);
}

.tag.gold {
  background: var(--gold);
  color: var(--ink);
}

.article-title {
  margin-bottom: 24px;
}

.article-title em {
  font-style: italic;
  color: var(--hot);
}

.article-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-soft);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.byline-info {
  flex-grow: 1;
}

.byline-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.byline-credentials {
  font-size: 12.5px;
  color: var(--text-mute);
  margin-top: 2px;
}

.byline-meta {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-mute);
  flex-wrap: wrap;
}

.byline-meta .sep {
  color: var(--line);
}

.byline-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green);
  color: white;
  padding: 3px 8px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 11px;
}

/* ===== HERO MEDIA ===== */
.hero-media-wrap {
  padding: 0 0 8px;
}

.hero-media {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 25px;
}

.hero-media img {
  width: 100%;
  height: clamp(250px, 28.646vw, 550px);
  object-fit: cover;
}

.image-caption {
  font-size: 12.5px;
  color: var(--text-mute);
  font-style: italic;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== ARTICLE LAYOUT ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  padding: 48px 0 80px;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px 24px;
  margin-bottom: 20px;
}

.sidebar-card h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  margin-bottom: 14px;
}

.toc-list {
  list-style: none;
  padding: 0;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-list a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.5;
  display: block;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: all 0.2s;
}

.toc-list a:hover,
.toc-list a.active {
  color: #000;
  border-left-color: var(--hot);
}

.share-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.share-btn:hover {
  background: var(--ink);
  color: white;
}

.cta-mini {
  background: var(--ink);
  color: white;
  border-radius: var(--r-xl);
  padding: 24px 22px;
  margin-bottom: 20px;
}

.cta-mini-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-warm);
}

.cta-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-mini-tag {
  display: inline-block;
  background: var(--hot);
  color: white;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cta-mini h4 {
  color: white;
  font-size: 17px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.cta-mini .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.cta-mini .price-now {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.cta-mini .price-was {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

.cta-mini-btn {
  display: block;
  background: var(--hot);
  color: white;
  text-align: center;
  padding: 13px 18px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

.cta-mini-btn:hover {
  background: var(--hot-deep);
  transform: translateY(-1px);
}

/* ===== ARTICLE BODY ===== */
.article-body {
  min-width: 0;
}

.article-body p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.article-body p.lead {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 32px;
}

.article-body p strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body p a {
  color: var(--hot);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

.article-body p a:hover {
  color: var(--hot-deep);
}

.article-body ul,
.article-body ol {
  margin: 20px 0 28px 28px;
  font-size: 17px;
  color: var(--text-soft);
}

.article-body li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.article-body li strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body h2 .num {
  display: inline-block;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1em;
  color: var(--hot);
  font-weight: 400;
  margin-right: 14px;
}

.pullquote {
  margin: 40px 0;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  text-align: center;
}

.pullquote-text {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-style: italic;
}

.pullquote-attr {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 16px;
  font-weight: 600;
}

.callout {
  background: var(--bg-warm);
  border-left: 3px solid var(--hot);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin: 28px 0;
}

.callout p {
  margin-bottom: 0;
  font-size: 16px;
}

.callout strong {
  color: var(--ink);
}

.inline-img {
  margin: 32px 0;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.inline-img img {
  width: 100%;
}

.inline-img-caption {
  font-size: 13px;
  color: var(--text-mute);
  font-style: italic;
  text-align: center;
  margin-top: 10px;
}

.tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tags-row-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
  margin-right: 6px;
  align-self: center;
}

.article-tag {
  background: var(--bg-warm);
  color: var(--text-soft);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.article-tag:hover {
  background: var(--ink);
  color: white;
}

/* AUTHOR BOX */
.author-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  margin-top: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.author-box .author-avatar {
  width: 64px;
  height: 64px;
  font-size: 22px;
}

.author-box-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.author-box-role {
  font-size: 12px;
  color: var(--hot);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.author-box-bio {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ===== RELATED POSTS ===== */
.related-section {
  padding: 80px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.related-head {
  text-align: center;
  margin-bottom: 48px;
}

.related-head .eyebrow {
  margin-bottom: 16px;
  justify-content: center;
}

.related-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 0;
}

.related-head h2 em {
  color: var(--hot);
  font-style: italic;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.related-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}

.related-img {
  aspect-ratio: 16/10;
  background: var(--bg);
  overflow: hidden;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.related-card:hover .related-img img {
  transform: scale(1.05);
}

.related-body {
  padding: 22px 24px 26px;
}

.related-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hot);
  margin-bottom: 8px;
}

.related-card h3 {
  font-size: 17px;
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.25;
}

.related-meta {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 10px;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  padding: 100px 0;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(230, 62, 17, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 50%);
}

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

.newsletter-inner .eyebrow {
  color: var(--gold);
  margin-bottom: 20px;
  justify-content: center;
}

.newsletter-inner .eyebrow::before {
  background: var(--gold);
}

.newsletter-inner h2 {
  color: white;
  margin-bottom: 18px;
  margin-top: 0;
}

.newsletter-inner h2 em {
  color: var(--gold);
  font-style: italic;
}

.newsletter-inner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-full);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
  border-color: var(--gold);
}

.newsletter-btn {
  background: var(--hot);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: var(--r-full);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.newsletter-btn:hover {
  background: var(--hot-deep);
  transform: translateY(-2px);
}

.newsletter-note {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}


/* EMAIL CAPTURE */
.email-section {
  background: #0f0f0f;
  border-top: 1px solid var(--border);
  padding: 80px 40px;
  text-align: center;
}

.email-inner {
  max-width: 520px;
  margin: 0 auto;
}

.email-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 12px;
}

.email-section p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(245, 242, 236, 0.5);
  margin-bottom: 32px;
}

.email-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(245, 242, 236, 0.15);
  border-radius: 2px;
  overflow: hidden;
  align-items: stretch;
}

.email-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: rgba(245, 242, 236, 0.04);
  border: none;
  outline: none;
  padding: 16px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--off-white);
}

.email-form input::placeholder {
  color: var(--gray);
}

.email-form button {
  background: #ff3d00;
  border: none;
  padding: 16px 28px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}

.email-form button:hover {
  opacity: 0.85;
}

.email-fine {
  font-size: 12px;
  color: rgba(245, 242, 236, 0.3);
  margin-top: 16px;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.03em;
}

.email-form-wrap {
  max-width: 100%;
}

.email-form-wrap .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.email-form input.error {
  box-shadow: inset 0 0 0 1px rgba(255, 61, 0, 0.6);
  background: rgba(255, 61, 0, 0.06);
}

#newsletter-messages {
  margin-top: 14px;
  font-size: 14px;
  min-height: 1.25em;
  text-align: center;
}

#newsletter-messages.success {
  color: var(--accent3);
}

#newsletter-messages.error {
  color: #ff8a65;
}

#newsletter-field-error {
  margin-top: 10px;
  min-height: 0;
}

#newsletter-field-error label.error {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  color: #ff8a65;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.6s;
}

/* (Footer styles live in common.css) */

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sidebar {
    position: static;
  }

  .sidebar-card {
    display: none;
  }

  .sidebar .cta-mini {
    display: block;
  }
}

@media (max-width:900px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:640px) {

  .wrap,
  .wrap-narrow {
    padding: 0 20px;
  }

  .article-layout {
    padding: 32px 20px 64px;
    gap: 32px;
  }

  .article-body p {
    font-size: 16px;
  }

  .article-body p.lead {
    font-size: 19px;
  }

  .article-body ul,
  .article-body ol {
    font-size: 16px;
  }

  .author-box {
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
  }
}