:root {
  --ink: #16243a;
  --muted: #5e6876;
  --paper: #fbfaf6;
  --gold: #b68638;
  --gold-dark: #75511d;
  --line: #d8d1c2;
  --blue: #e9f0f6;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.72; }

.article-site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); background: #fff; }
.article-brand { color: var(--ink); font: 700 .9rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; text-decoration: none; }
.article-brand span { color: var(--gold); }
.article-site-header nav, .article-footer nav { display: flex; align-items: center; gap: 1.1rem; }
.article-site-header a, .article-footer a { color: var(--ink); }
.article-site-header button { border: 1px solid var(--gold); background: transparent; color: var(--ink); padding: .7rem 1rem; font: 700 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }

.article-shell { width: min(100% - 40px, 940px); margin: 0 auto; }
.article-hero { padding: clamp(38px, 6vw, 68px) 0 32px; }
.article-eyebrow { margin: 0 0 .7rem; color: var(--gold-dark); font: 700 .7rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.article-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.7rem, 5vw, 3.9rem); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.article-dek { max-width: 760px; margin: 1rem 0 .65rem; font-size: clamp(1.05rem, 1.7vw, 1.27rem); line-height: 1.45; color: #3d4856; }
.article-byline { margin: .5rem 0 0; color: var(--muted); font: 600 .75rem/1.5 var(--sans); letter-spacing: .045em; }
.article-hero img { display: block; width: 100%; height: auto; aspect-ratio: 2.15/1; object-fit: cover; object-position: center 48%; margin-top: 1.5rem; border-radius: 2px; box-shadow: 0 16px 44px #25354b1f; }

.article-copy { max-width: 690px; margin: 0 auto; }
.article-copy > p:first-child { margin: 1.85rem 0 1.55rem; color: var(--ink); font-size: 1.34rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; }
.article-copy p { margin: 0 0 1.45rem; }
.article-copy h2, .article-copy h3, .article-copy h4 { line-height: 1.12; margin: 2.65rem 0 1rem; letter-spacing: -.025em; }
.article-copy h2 { font-size: 2rem; }
.article-copy h3 { font-size: 1.5rem; }
.article-copy blockquote { margin: 2.2rem 0; padding: 1.25rem 1.5rem; border-left: 4px solid var(--gold); background: #f2eee4; font-size: 1.15em; }
.article-copy li { margin: .55rem 0; }
.article-copy a { color: #6e4b15; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-copy hr { margin: 3rem 0; border: 0; border-top: 1px solid var(--line); }

.article-gate { position: relative; max-width: 760px; margin: 3rem auto; padding: clamp(30px, 6vw, 54px); border: 1px solid #c6ae80; background: linear-gradient(145deg, #f3ead8, #fff 65%); text-align: center; box-shadow: 0 20px 70px #24304718; }
.article-gate > span { display: block; color: var(--gold); font-size: 1.5rem; }
.article-gate h2 { margin: .4rem 0 .75rem; font-size: 2rem; line-height: 1.05; }
.article-gate p { max-width: 560px; margin: .8rem auto; color: #4a5360; }
.article-gate button, .article-chat button { min-height: 48px; margin-top: 1rem; border: 1px solid var(--gold-dark); background: var(--ink); color: #fff; padding: .8rem 1.35rem; font: 700 .75rem var(--sans); letter-spacing: .09em; text-transform: uppercase; cursor: pointer; }
.article-gate-status { min-height: 1.5rem; font: 600 .82rem var(--sans); }
.article-balance { font: 700 .78rem var(--sans) !important; color: var(--gold-dark) !important; }

.article-chat { max-width: 720px; margin: 4rem auto; padding: 2rem; border-top: 1px solid var(--line); background: var(--blue); }
.article-chat h2 { margin: 0 0 .4rem; line-height: 1.1; }
.article-chat label { display: block; font: 700 .75rem var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.article-chat form > div { display: flex; gap: .5rem; }
.article-chat input { flex: 1; min-width: 0; padding: .85rem; border: 1px solid #9ba8b4; background: #fff; font: 1rem var(--serif); }
.article-chat button { margin: 0; }
.article-chat-result blockquote { margin: 1rem 0; padding: .8rem 1rem; border-left: 3px solid var(--gold); background: #fff; }

.article-footer { display: flex; justify-content: space-between; gap: 1rem; width: min(100% - 40px, 1180px); margin: 6rem auto 0; padding: 2rem 0; border-top: 1px solid var(--line); font: 600 .76rem var(--sans); color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1b6ea8; outline-offset: 3px; }

@media (max-width: 640px) {
  body { font-size: 18px; }
  .article-site-header { padding: 0 18px; }
  .article-shell { width: min(100% - 30px, 940px); }
  .article-hero { padding: 30px 0 24px; }
  .article-hero h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); line-height: .98; }
  .article-dek { margin-top: .85rem; }
  .article-hero img { margin-top: 1.2rem; aspect-ratio: 16/9; }
  .article-copy > p:first-child { margin-top: 1.4rem; font-size: 1.2rem; }
  .article-copy h2 { font-size: 1.75rem; }
  .article-gate { padding: 28px 20px; }
  .article-chat form > div, .article-footer { flex-direction: column; }
  .article-chat button { width: 100%; }
}
