:root {
  --ink: #0a0a0a;
  --ink-2: #111111;
  --ink-3: #1a1a1a;
  --bone: #f5f1ea;
  --bone-2: #e9e3d8;
  --gold: #c9a96e;
  --line: rgba(245, 241, 234, 0.12);
  --line-2: rgba(245, 241, 234, 0.25);
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--bone);
  overflow-x: hidden;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='1'/></svg>");
}
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--bone);
}
.brand img { height: 88px; width: auto; transition: transform 0.4s ease; }
.brand:hover img { transform: rotate(-4deg) scale(1.05); }
.brand-text {
  font-family: var(--serif); font-size: 12px;
  letter-spacing: 0.25em; text-transform: uppercase;
  border-left: 1px solid var(--line-2); padding-left: 14px;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--bone); text-decoration: none;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  padding: 10px 22px; border: 1px solid var(--gold);
  color: var(--gold); text-decoration: none;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; transition: all 0.35s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  color: var(--bone);
  cursor: pointer;
  width: 52px;
  height: 52px;
  padding: 0;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 95;
  transition: border-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mobile-toggle:hover, .mobile-toggle:active { border-color: var(--gold); }
.mobile-toggle span {
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--bone);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.25s ease, top 0.35s ease;
}
.mobile-toggle span:nth-child(1) { top: 17px; }
.mobile-toggle span:nth-child(2) { top: 25px; }
.mobile-toggle span:nth-child(3) { top: 33px; }
nav.top.mobile-open .mobile-toggle { border-color: var(--gold); }
nav.top.mobile-open .mobile-toggle span { background: var(--gold); }
nav.top.mobile-open .mobile-toggle span:nth-child(1) { top: 25px; transform: rotate(45deg); }
nav.top.mobile-open .mobile-toggle span:nth-child(2) { opacity: 0; }
nav.top.mobile-open .mobile-toggle span:nth-child(3) { top: 25px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  nav.top { padding: 14px 20px; }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .brand-text { display: none; }
  .brand img { height: 72px; }

  nav.top.mobile-open {
    background: var(--ink);
    z-index: 100;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  nav.top.mobile-open .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--ink);
    padding: 110px 28px 120px;
    gap: 0;
    z-index: 90;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    margin: 0;
  }
  nav.top.mobile-open .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  nav.top.mobile-open .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 64px;
    padding: 22px 4px;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--bone);
    transition: color 0.25s ease, padding-left 0.3s ease;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(201, 169, 110, 0.2);
    touch-action: manipulation;
  }
  nav.top.mobile-open .nav-links a:active { color: var(--gold); padding-left: 10px; }
  nav.top.mobile-open .nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 24px; right: 24px; bottom: 32px;
    z-index: 91;
    padding: 20px 28px;
    font-size: 12px;
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
    min-height: 56px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  body.nav-open { overflow: hidden; touch-action: none; }
}

/* Article */
.article-hero {
  padding: 180px 48px 80px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.crumb {
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 30px;
}
.crumb a { color: var(--gold); text-decoration: none; opacity: 0.7; }
.crumb a:hover { opacity: 1; }

h1.title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 30px;
}
h1.title em { font-style: italic; color: var(--gold); font-weight: 400; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-style: italic;
  color: rgba(245, 241, 234, 0.75);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.meta-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.55);
  flex-wrap: wrap;
}
.meta-row span { display: flex; align-items: center; gap: 10px; }
.meta-row strong { color: var(--gold); font-weight: 400; }

.feature-image {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 48px;
}
.feature-image .inner {
  position: relative;
  aspect-ratio: 21/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
}
.feature-image .inner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(201,169,110,0.18), transparent 55%);
}
.feature-image .tag {
  position: absolute;
  left: 30px; bottom: 30px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--gold);
}

article.content {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 48px 140px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(245, 241, 234, 0.85);
}
article.content p { margin-bottom: 26px; }
article.content p.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 5em;
  float: left;
  line-height: 0.9;
  margin: 6px 14px 0 0;
  color: var(--gold);
  font-weight: 400;
}
article.content h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 60px 0 24px;
  color: var(--bone);
  line-height: 1.2;
}
article.content h2 em { font-style: italic; color: var(--gold); }
article.content h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 40px 0 16px;
  color: var(--bone);
}
article.content ul, article.content ol {
  margin: 0 0 26px 24px;
}
article.content li { margin-bottom: 12px; }
article.content li strong { color: var(--bone); font-weight: 500; }
article.content strong { color: var(--bone); font-weight: 500; }
article.content em { color: var(--gold); font-style: italic; }
article.content a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: opacity 0.3s ease;
}
article.content a:hover { opacity: 0.7; }
article.content blockquote {
  margin: 40px 0;
  padding: 30px 40px;
  border-left: 2px solid var(--gold);
  background: rgba(201, 169, 110, 0.04);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--bone);
}

.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.35;
  color: var(--bone);
  text-align: center;
  padding: 50px 0;
  margin: 50px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.pull-quote::before {
  content: '"';
  display: block;
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 10px;
}

.callout {
  margin: 40px 0;
  padding: 30px 32px;
  background: linear-gradient(135deg, rgba(201,169,110,0.08), rgba(201,169,110,0.02));
  border: 1px solid rgba(201, 169, 110, 0.2);
}
.callout .label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.callout p:last-child { margin-bottom: 0; }

.end-cta {
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 80px 48px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.end-cta h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.2;
}
.end-cta h3 em { font-style: italic; color: var(--gold); }
.end-cta p {
  color: rgba(245, 241, 234, 0.7);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}
.end-cta a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  background: var(--bone);
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.35s ease;
}
.end-cta a:hover { background: var(--gold); gap: 20px; }

.more-posts {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px 100px;
}
.more-posts h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}
.mp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.mp-card {
  padding: 30px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
}
.mp-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.mp-card .cat {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.mp-card h5 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.25;
}

footer {
  padding: 60px 48px 30px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  text-align: center;
}
footer .foot-brand img {
  height: 110px;
  margin-bottom: 22px;
}
footer p {
  font-size: 13px;
  color: rgba(245, 241, 234, 0.5);
  margin-bottom: 20px;
}
footer .foot-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
footer .foot-links a {
  color: var(--bone);
  text-decoration: none;
  transition: color 0.3s ease;
}
footer .foot-links a:hover { color: var(--gold); }
footer .copy {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(245, 241, 234, 0.35);
}

@media (max-width: 900px) {
  .article-hero { padding: 140px 20px 60px; }
  .feature-image { padding: 0 20px; margin-bottom: 60px; }
  article.content { padding: 0 20px 100px; }
  .end-cta { padding: 60px 20px; margin-bottom: 60px; }
  .more-posts { padding: 0 20px 60px; }
  .mp-grid { grid-template-columns: 1fr; }
  footer { padding: 40px 20px 20px; }
}

/* Reading progress */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 100;
  width: 0%;
  transition: width 0.1s ease;
}


/* Affiliation footer additions */
.foot-affiliation {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 241, 234, 0.6);
}
.foot-affiliation a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.foot-affiliation a:hover {
  border-bottom-color: var(--gold);
  color: #d9bd87;
}
.foot-address {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245, 241, 234, 0.55);
  margin-top: 14px;
}
.foot-address a {
  color: rgba(245, 241, 234, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 241, 234, 0.2);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.foot-address a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.foot-credit {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.4);
}
.foot-credit a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.foot-credit a:hover { border-bottom-color: var(--gold); }


/* =============== Social share bar =============== */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 48px 0 56px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.share-bar .share-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: rgba(245, 241, 234, 0.75);
  text-decoration: none;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.share-btn svg { flex-shrink: 0; }
.share-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.share-btn.copied {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}
@media (max-width: 700px) {
  .share-bar { gap: 8px; padding: 20px 0; margin: 36px 0 44px; }
  .share-btn { padding: 8px 12px; font-size: 10px; gap: 6px; }
  .share-btn svg { width: 14px; height: 14px; }
}
