:root {
  --obsidian: #1a1e23;
  --obsidian-deep: #1d222a;
  --fawn: #ddb36e;
  --pastel-tan: #e0cdad;
  --paper: #fbf8f2;
  --paper-deep: #efe7da;
  --ink: #1a1e23;
  --copy: #4d4d4a;
  --muted: #77736d;
  --line: rgba(26, 30, 35, 0.14);
  --glass-bg: rgba(29, 34, 42, 0.76);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--obsidian);
  color: var(--pastel-tan);
  font-family: "Poppins", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--fawn); color: var(--obsidian); }
.shell { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.display { font-family: "Bebas Neue", "Arial Narrow", sans-serif; }
.utility { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.skip {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 18px;
  padding: 12px 16px;
  background: var(--fawn);
  color: var(--obsidian);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 16px; }

.glass {
  position: relative;
  overflow: hidden;
  contain: paint;
  border: 1px solid rgba(224, 205, 173, 0.2);
  background:
    linear-gradient(135deg, rgba(224, 205, 173, 0.13), rgba(255, 255, 255, 0.025) 54%),
    var(--glass-bg);
  -webkit-backdrop-filter: blur(15px) saturate(1.45) brightness(1.06);
  backdrop-filter: blur(15px) saturate(1.45) brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 24px 70px rgba(0, 0, 0, 0.3);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.1) 43%, transparent 66%);
  opacity: 0.65;
  mix-blend-mode: screen;
}

header { position: fixed; z-index: 40; inset: 18px 0 auto; }
.nav {
  min-height: 64px;
  padding: 9px 12px 9px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav > * { position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 48px; height: 32px; object-fit: cover; object-position: left center; }
.brand span { color: rgba(224, 205, 173, 0.74); font-size: 9px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(224, 205, 173, 0.8);
  font-size: 12px;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fawn); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid rgba(221, 179, 110, 0.34);
  border-radius: 999px;
  color: var(--pastel-tan);
  cursor: pointer;
  font-size: 11px;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu div {
  position: absolute;
  top: 49px;
  right: 0;
  min-width: 200px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 18px;
}
.mobile-menu a { min-height: 44px; padding: 12px; border-radius: 10px; text-decoration: none; font-size: 12px; }
.mobile-menu a:hover { background: rgba(221, 179, 110, 0.1); }

.hero {
  position: relative;
  min-height: 96svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--obsidian-deep);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 21, 25, 0.98) 0%, rgba(18, 21, 25, 0.84) 42%, rgba(18, 21, 25, 0.2) 74%, rgba(18, 21, 25, 0.06) 100%),
    linear-gradient(0deg, rgba(18, 21, 25, 0.98) 0%, rgba(18, 21, 25, 0.15) 52%, transparent 76%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: min(45vw, 620px);
  aspect-ratio: 1;
  left: 34vw;
  bottom: -25%;
  border: 1px solid rgba(221, 179, 110, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(221, 179, 110, 0.035), 0 0 0 106px rgba(224, 205, 173, 0.02);
  pointer-events: none;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-inner { position: relative; z-index: 2; padding: 152px 0 68px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 29px; color: rgba(224, 205, 173, 0.72); }
.breadcrumb a { text-decoration: none; }
.breadcrumb span { color: var(--fawn); }
.hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fffaf1;
  font: 400 clamp(65px, 8vw, 118px) / 0.86 "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.008em;
  text-wrap: balance;
}
.dek {
  max-width: 820px;
  margin: 27px 0;
  color: var(--pastel-tan);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.38;
}
.byline { display: flex; flex-wrap: wrap; gap: 10px 24px; color: rgba(224, 205, 173, 0.7); font-size: 11px; }
.byline strong { color: #fffaf1; font-weight: 600; }
.byline span:not(:first-child) { position: relative; }
.byline span:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fawn);
}

.paper { padding: clamp(78px, 9vw, 126px) 0; background: var(--paper); color: var(--ink); }
.article-layout { display: grid; grid-template-columns: 190px minmax(0, 800px) minmax(190px, 1fr); gap: clamp(38px, 5vw, 74px); align-items: start; }
.article-side, .reading-map { position: sticky; top: 112px; }
.side-label, .reading-map h2 { margin: 0 0 16px; color: #8b642e; font-size: 9px; }
.side-rule { height: 1px; margin-bottom: 20px; background: var(--line); }
.side-copy { margin: 0; color: #3d3d3a; font-size: 14px; line-height: 1.7; }
.side-link { display: inline-block; margin-top: 20px; color: #765324; font-size: 11px; text-underline-offset: 4px; }
.reading-map { padding-left: 22px; border-left: 1px solid rgba(139, 100, 46, 0.34); }
.reading-map ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.reading-map li { padding-bottom: 15px; border-bottom: 1px solid var(--line); color: #55514c; font-size: 11px; line-height: 1.5; }
.reading-map li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--fawn); box-shadow: 0 0 0 4px rgba(221, 179, 110, 0.13); }
.prose { min-width: 0; }
.lead { margin: 0 0 39px; color: #30312f; font-size: clamp(24px, 2.7vw, 32px); font-weight: 500; line-height: 1.42; }
.prose p { margin: 0 0 25px; color: var(--copy); font-size: 17px; line-height: 1.84; }
.prose h2 {
  margin: 76px 0 25px;
  color: var(--ink);
  font: 400 clamp(40px, 4.5vw, 56px) / 0.98 "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.012em;
  text-wrap: balance;
}
.prose h3 { margin: 43px 0 16px; color: var(--ink); font-size: 24px; line-height: 1.25; }
.prose a { color: #735022; text-decoration-color: rgba(115, 80, 34, 0.38); text-underline-offset: 4px; }
.pullquote {
  margin: 54px 0;
  padding: 34px 0;
  border-block: 1px solid rgba(139, 100, 46, 0.42);
  color: #2b2c2a;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  line-height: 1.2;
}
.critical-note, .verdict {
  margin: 43px 0;
  padding: 28px 30px;
  border-left: 3px solid var(--fawn);
  background: var(--paper-deep);
}
.critical-note span, .verdict span { display: block; margin-bottom: 10px; color: #805b28; font-size: 9px; }
.critical-note p, .verdict p { margin: 0; color: #3f3e39; font-size: 15px; line-height: 1.72; }

.framework {
  position: relative;
  margin: 54px 0 61px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(224, 205, 173, 0.2);
  background:
    radial-gradient(circle at 78% 12%, rgba(221, 179, 110, 0.15), transparent 28%),
    linear-gradient(145deg, var(--obsidian-deep), var(--obsidian));
  color: var(--pastel-tan);
  box-shadow: 0 26px 56px rgba(26, 30, 35, 0.18);
}
.framework::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -225px;
  right: -65px;
  border: 1px solid rgba(221, 179, 110, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(221, 179, 110, 0.04), 0 0 0 76px rgba(224, 205, 173, 0.02);
}
.framework-head { position: relative; z-index: 1; margin-bottom: 24px; }
.framework-kicker { display: block; margin-bottom: 10px; color: var(--fawn); font-size: 9px; }
.framework h3 { margin: 0; color: #fffaf1; font: 400 36px/1 "Bebas Neue", "Arial Narrow", sans-serif; }
.framework-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid rgba(224, 205, 173, 0.13); }
.framework-step { min-height: 155px; padding: 22px; border: 1px solid rgba(224, 205, 173, 0.1); }
.framework-step::before { content: attr(data-step); display: block; margin-bottom: 24px; color: var(--fawn); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; }
.framework-step strong { display: block; margin-bottom: 8px; color: #fffaf1; font-size: 15px; }
.framework-step p { margin: 0; color: rgba(224, 205, 173, 0.76); font-size: 12px; line-height: 1.65; }
.framework figcaption { position: relative; z-index: 1; margin-top: 16px; color: rgba(224, 205, 173, 0.68); font-size: 10px; line-height: 1.6; }
.framework figcaption span { color: var(--fawn); }

.criteria { margin: 31px 0 51px; padding: 0; border-top: 1px solid var(--line); counter-reset: criterion; }
.criteria li { counter-increment: criterion; display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--line); color: var(--copy); font-size: 15px; line-height: 1.66; list-style: none; }
.criteria li::before { content: counter(criterion, decimal-leading-zero); padding-top: 4px; color: #805b28; font-size: 10px; font-weight: 600; letter-spacing: 0.09em; }
.criteria strong { display: block; margin-bottom: 4px; color: var(--ink); }
.related { margin-top: 60px; padding: 28px; border: 1px solid var(--line); background: rgba(224, 205, 173, 0.24); }
.related span { display: block; margin-bottom: 15px; color: #805b28; font-size: 9px; }
.related nav { display: grid; gap: 10px; }
.related a { color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.45; }

.references { margin-top: 88px; }
.references-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding-bottom: 23px; border-bottom: 1px solid rgba(26, 30, 35, 0.23); }
.references-kicker { display: block; margin-bottom: 9px; color: #805b28; font-size: 9px; }
.references h2 { margin: 0; }
.references-count { padding: 8px 10px; border: 1px solid rgba(139, 100, 46, 0.34); color: #805b28; font-size: 9px; white-space: nowrap; }
.references ol { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; counter-reset: reference; list-style: none; }
.references li { counter-increment: reference; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 16px; padding: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.34); }
.references li::before { content: counter(reference, decimal-leading-zero); display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(139, 100, 46, 0.35); border-radius: 50%; color: #805b28; font-size: 9px; }
.reference-body { display: grid; gap: 7px; min-width: 0; }
.reference-authors { color: #756f67; font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.prose .reference-title { color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.reference-meta { color: #6d6861; font-size: 12px; line-height: 1.55; }

.article-end { padding: clamp(76px, 9vw, 118px) 0; background: radial-gradient(circle at 78% 20%, rgba(221, 179, 110, 0.1), transparent 28%), linear-gradient(145deg, var(--obsidian-deep), var(--obsidian)); }
.end-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.end-grid p { margin: 0 0 13px; color: var(--fawn); }
.end-grid h2 { max-width: 850px; margin: 0; color: #fffaf1; font: 400 clamp(49px, 6.5vw, 82px)/0.92 "Bebas Neue", "Arial Narrow", sans-serif; }
.end-grid a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 999px; background: linear-gradient(135deg, var(--pastel-tan), var(--fawn)); color: var(--obsidian); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
footer { padding: 30px 0 42px; border-top: 1px solid rgba(224, 205, 173, 0.09); color: rgba(224, 205, 173, 0.53); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 11px; }
.foot img { width: 48px; height: 32px; object-fit: cover; object-position: left center; }

:is(a, button, summary):focus-visible { outline: 2px solid var(--fawn); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (prefers-contrast: more) {
  .glass { border-color: rgba(255, 255, 255, 0.58); background: rgba(26, 30, 35, 0.96); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .framework { border-color: var(--pastel-tan); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(26, 30, 35, 0.96); }
}
@media (max-width: 1120px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) minmax(190px, 0.35fr); }
  .article-side { display: none; }
}
@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 1320px); }
  header { inset: 10px 0 auto; }
  .nav { border-radius: 20px; }
  .brand span, .nav-links { display: none; }
  .mobile-menu { display: block; }
  .hero { min-height: 900px; }
  .hero::before { background: linear-gradient(0deg, rgba(18, 21, 25, 0.99) 0%, rgba(18, 21, 25, 0.89) 50%, rgba(18, 21, 25, 0.36) 78%, rgba(18, 21, 25, 0.08) 100%); }
  .hero::after { left: -20%; bottom: -10%; width: 96vw; }
  .hero-media { object-position: center top; }
  .hero-inner { padding: 130px 0 51px; }
  .hero h1 { max-width: 95%; font-size: clamp(58px, 17vw, 82px); }
  .article-layout { grid-template-columns: 1fr; }
  .reading-map { position: static; margin-top: 54px; padding: 24px; border: 1px solid rgba(139, 100, 46, 0.31); }
  .prose p { font-size: 16px; line-height: 1.8; }
  .end-grid { grid-template-columns: 1fr; align-items: start; }
  .foot { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .dek { font-size: 17px; }
  .byline { gap: 8px 20px; }
  .lead { font-size: 25px; }
  .prose h2 { margin-top: 65px; font-size: 42px; }
  .pullquote { font-size: 28px; }
  .critical-note, .verdict { padding: 24px 21px; }
  .framework { margin-inline: -8px; padding: 18px; }
  .framework-grid { grid-template-columns: 1fr; }
  .framework-step { min-height: 0; }
  .criteria li { grid-template-columns: 40px minmax(0, 1fr); gap: 11px; }
  .references-head { align-items: start; }
  .references li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 17px 14px; }
  .end-grid a { width: 100%; }
}
