:root {
  --ink: #0f0d0b;
  --paper: #f8f0e3;
  --cream: #d8cbb8;
  --gold: #c9a961;
  --gold-light: #f0d991;
  --line: rgba(201, 169, 97, .25);
  --panel: rgba(255, 255, 255, .045);
  --max: 1180px;
  --reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 1%, rgba(201, 169, 97, .16), transparent 28rem),
    linear-gradient(180deg, #15120f 0%, var(--ink) 54%, #17130f 100%);
  color: var(--paper);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--gold-light); color: var(--ink); }
.skip:focus { top: 16px; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 13, 11, .91);
  backdrop-filter: blur(16px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-width: 315px; }
.brand-logo { display: block; width: 300px; height: auto; }
.brand-name { color: var(--gold); font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.brand-divider { width: 1px; height: 34px; background: rgba(201,169,97,.42); }
.brand-tagline { color: rgba(240,217,145,.72); font-size: 8px; font-weight: 800; letter-spacing: .28em; line-height: 1.7; text-transform: uppercase; }
.links { display: flex; align-items: center; gap: 26px; }
.blog-language-switch { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid rgba(203,166,82,.28); border-radius: 999px; font-size: 11px; letter-spacing: .08em; }
.blog-language-switch a { color: var(--muted); }
.blog-language-switch a.active { color: var(--gold-light); }
.links > a:not(.button) { color: rgba(248,240,227,.72); font-size: 14px; font-weight: 700; }
.links a:hover, .links .active { color: var(--gold-light); }
.nav-toggle { display: none; min-height: 42px; padding: 0 14px; border: 1px solid rgba(201,169,97,.48); border-radius: 6px; background: rgba(255,255,255,.035); color: var(--gold-light); font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .015em;
  transition: transform .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.primary { color: #15120f; background: linear-gradient(135deg, var(--gold-light), #a9853b); box-shadow: 0 16px 44px rgba(201,169,97,.2); }
.secondary { border-color: rgba(201,169,97,.52); background: rgba(255,255,255,.025); color: var(--gold-light); }

.blog-hero { padding: clamp(72px, 9vw, 128px) 0 78px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; }
h1 { max-width: 900px; margin: 0; font-size: clamp(48px, 7vw, 84px); font-weight: 500; letter-spacing: -.05em; line-height: .98; text-wrap: balance; }
.hero-lead { max-width: 760px; margin: 28px 0 0; color: var(--cream); font-size: clamp(18px, 2vw, 22px); line-height: 1.65; }
.hero-note { display: flex; gap: 10px 24px; flex-wrap: wrap; margin-top: 30px; color: rgba(248,240,227,.55); font-size: 13px; }
.hero-note span::before { content: "✓"; margin-right: 8px; color: var(--gold-light); }

.featured { padding: 78px 0 30px; }
.featured-card { display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; border: 1px solid rgba(201,169,97,.42); border-radius: 16px; background: radial-gradient(circle at 8% 0, rgba(201,169,97,.18), transparent 22rem), #17130f; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.feature-art { position: relative; min-height: 420px; overflow: hidden; border-right: 1px solid var(--line); background: #17130f; }
.feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, rgba(23,19,15,.2)), linear-gradient(0deg, rgba(8,7,6,.18), transparent 55%); pointer-events: none; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.featured-card:hover .feature-art img { transform: scale(1.025); }
.feature-copy { align-self: center; padding: clamp(34px, 6vw, 72px); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: rgba(248,240,227,.52); font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.meta .category { color: var(--gold); }
.meta .reading-time { font-size: 11px; font-weight: 700; }
.featured h2 { margin: 22px 0 18px; font-size: clamp(36px, 4.7vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.featured p { margin: 0 0 28px; color: var(--cream); font-size: 17px; line-height: 1.7; }

.library { padding: 72px 0 110px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.section-head h2 { max-width: 700px; margin: 0; font-size: clamp(34px, 4.5vw, 54px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.section-head p { max-width: 430px; margin: 0; color: var(--cream); line-height: 1.6; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.article-card { display: flex; min-height: 430px; overflow: hidden; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.016)); transition: transform .22s ease, border-color .22s ease; }
.article-card:hover { transform: translateY(-5px); border-color: rgba(240,217,145,.62); }
.article-card-media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-bottom: 1px solid var(--line); background: #17130f; }
.article-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,13,11,.35)); pointer-events: none; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.article-card:hover .article-card-media img { transform: scale(1.035); }
.article-card-copy { display: flex; flex: 1; flex-direction: column; padding: 26px 28px 28px; }
.article-card h3 { margin: 22px 0 14px; color: var(--paper); font-size: 27px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.article-card p { margin: 0; color: var(--cream); font-size: 14px; line-height: 1.65; }
.article-card .read { margin-top: auto; padding-top: 30px; color: var(--gold-light); font-size: 13px; font-weight: 850; }
.article-card.soon { opacity: .72; }
.article-card.soon .read { color: rgba(248,240,227,.48); }

.article-hero { padding: clamp(68px, 8vw, 110px) 0 58px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; color: rgba(248,240,227,.48); font-size: 13px; }
.breadcrumb a { color: var(--gold-light); }
.article-hero h1 { max-width: 980px; font-size: clamp(46px, 6.5vw, 78px); }
.article-deck { max-width: 790px; margin: 26px 0; color: var(--cream); font-family: "Palatino Linotype", Palatino, Georgia, serif; font-size: clamp(21px,2.4vw,29px); line-height: 1.45; }
.article-cover { position: relative; overflow: hidden; margin-top: 48px; aspect-ratio: 16 / 7; border: 1px solid rgba(201,169,97,.36); border-radius: 16px; background: #17130f; box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.article-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,7,6,.18), transparent 48%); pointer-events: none; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-layout { display: grid; grid-template-columns: minmax(0, var(--reading)) 280px; justify-content: center; gap: 70px; padding: 74px 0 110px; }
.article-body { color: rgba(248,240,227,.86); font-size: 18px; line-height: 1.8; }
.article-body > p:first-child { color: var(--paper); font-size: 22px; line-height: 1.7; }
.article-body h2 { margin: 64px 0 18px; color: var(--paper); font-size: clamp(31px,4vw,44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.article-body h3 { margin: 36px 0 12px; color: var(--gold-light); font-size: 25px; }
.article-body strong { color: var(--paper); }
.article-body blockquote { margin: 44px 0; padding: 28px 32px; border-left: 3px solid var(--gold); background: rgba(201,169,97,.08); color: var(--paper); font-family: "Palatino Linotype", Palatino, Georgia, serif; font-size: 26px; font-style: italic; line-height: 1.4; }
.article-body ul { display: grid; gap: 10px; padding-left: 24px; }
.article-body li::marker { color: var(--gold); }
.takeaway { margin: 54px 0 0; padding: 30px; border: 1px solid rgba(201,169,97,.42); border-radius: 12px; background: radial-gradient(circle at 100% 0, rgba(201,169,97,.16), transparent 18rem), #17130f; }
.takeaway h2 { margin-top: 0; }
.article-aside { align-self: start; position: sticky; top: 110px; }
.aside-card { padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.028); }
.aside-card + .aside-card { margin-top: 14px; }
.aside-card small { color: var(--gold); font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.aside-card p { color: var(--cream); font-size: 14px; line-height: 1.55; }
.aside-card .button { width: 100%; }

.closing-cta { padding: 88px 0; border-top: 1px solid var(--line); background: rgba(201,169,97,.045); text-align: center; }
.closing-cta h2 { max-width: 850px; margin: 0 auto; font-size: clamp(36px,5vw,58px); font-weight: 500; letter-spacing: -.045em; line-height: 1.03; }
.cta-brand { display: block; width: min(300px, 72vw); height: auto; margin: 0 auto 26px; }
.closing-cta p { max-width: 650px; margin: 22px auto 30px; color: var(--cream); font-size: 18px; line-height: 1.65; }

footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; color: rgba(248,240,227,.5); font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 150px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.footer a { color: rgba(248,240,227,.68); }
.footer a:hover { color: var(--gold-light); }

@media (max-width: 920px) {
  .nav { gap: 16px; }
  .brand { min-width: 240px; }
  .brand-logo { width: 230px; }
  .links { gap: 14px; }
  .featured-card, .article-layout { grid-template-columns: 1fr; }
  .feature-art { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line); }
  .article-cover { aspect-ratio: 16 / 9; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .aside-card + .aside-card { margin-top: 0; }
}

@media (max-width: 1180px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 66px; }
  .brand { min-width: 0; gap: 9px; }
  .brand-logo { width: 205px; }
  .brand-name { font-size: 24px; }
  .brand-divider { height: 27px; }
  .brand-tagline { font-size: 6px; letter-spacing: .18em; }
  .nav { position: relative; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .links { position: absolute; left: 0; right: 0; top: calc(100% + 1px); display: none; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; background: rgba(15,13,11,.98); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
  .blog-language-switch { justify-content: center; margin-bottom: 4px; }
  header.nav-open .links { display: grid; }
  .links > a:not(.button) { display: flex; min-height: 44px; align-items: center; padding: 0 14px; border-radius: 6px; }
  .links > a:not(.button):hover { background: rgba(201,169,97,.09); }
  .links .button { width: 100%; min-height: 46px; margin-top: 4px; padding-inline: 14px; }
  .article-grid, .article-aside { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .article-body { font-size: 17px; }
  .article-body blockquote { padding: 24px; font-size: 23px; }
  .article-cover { margin-top: 34px; aspect-ratio: 4 / 3; }
  .footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
