@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/inter-300.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.ttf") format("truetype");
}

@font-face {
  font-family: "Philosopher";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/philosopher-400.ttf") format("truetype");
}

@font-face {
  font-family: "Philosopher";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/philosopher-700.ttf") format("truetype");
}

:root {
  --wine-950: #210806;
  --wine-900: #32100c;
  --wine-800: #49110b;
  --wine-700: #641b13;
  --wine-600: #822b1f;
  --wine-500: #a54231;
  --copper: #d98b67;
  --sand: #d8c5ac;
  --cream: #f5f1ea;
  --paper: #fbfaf7;
  --ink: #191715;
  --muted: #6c645d;
  --line: #ddd5cb;
  --line-dark: rgba(255, 255, 255, 0.18);
  --positive: #2f7a58;
  --shadow: 0 26px 70px rgba(38, 18, 12, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --shell: min(1240px, calc(100vw - 56px));
  --serif: "Philosopher", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--wine-800);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 300;
  top: 0;
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(73, 17, 11, 0.13);
  backdrop-filter: blur(18px);
}

.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 75px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-logo-window {
  width: 234px;
  height: 62px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.brand-logo {
  width: auto;
  max-width: 100%;
  height: 52px;
  object-fit: contain;
}

.brand-logo-en {
  display: none;
}

html[lang="en"] .brand-logo-ru {
  display: none;
}

html[lang="en"] .brand-logo-en {
  display: block;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.language-switch button {
  min-width: 39px;
  padding: 7px 9px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
}

.language-switch button.is-active {
  color: #fff;
  background: var(--wine-800);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}

.menu-toggle-icon {
  position: relative;
  width: 18px;
  height: 12px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.menu-toggle-icon::after {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  border-top: 1.5px solid currentColor;
  content: "";
}

.primary-nav {
  position: relative;
  border-top: 1px solid rgba(73, 17, 11, 0.08);
}

.primary-nav-inner {
  min-height: 62px;
}

.primary-links {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(22px, 3.25vw, 58px);
  min-height: 62px;
  width: 100%;
}

.nav-item,
.nav-item-control {
  display: flex;
  align-items: stretch;
}

.nav-main-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px 0;
  color: #403a35;
  border-bottom: 3px solid transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.mega-toggle {
  position: relative;
  width: 24px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mega-toggle span::before,
.mega-toggle span::after {
  position: absolute;
  top: calc(50% + 2px);
  width: 7px;
  border-top: 1px solid currentColor;
  content: "";
  transition: transform 180ms ease;
}

.mega-toggle span::before {
  left: 5px;
  transform: rotate(40deg);
}

.mega-toggle span::after {
  right: 5px;
  transform: rotate(-40deg);
}

.nav-item:hover .nav-main-link,
.nav-item.is-current .nav-main-link,
.nav-item.is-open .nav-main-link,
.nav-main-link:focus-visible {
  color: var(--wine-800);
  border-bottom-color: var(--wine-800);
}

.nav-item.is-open .mega-toggle span::before {
  transform: rotate(-40deg);
}

.nav-item.is-open .mega-toggle span::after {
  transform: rotate(40deg);
}

.mega-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100vh - 137px);
  overflow-y: auto;
  color: var(--ink);
  background: #f6f7f8;
  border-top: 5px solid var(--wine-800);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 28px 55px rgba(29, 15, 12, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
}

.nav-item.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-panel-inner {
  padding-block: 27px 43px;
}

.mega-explore {
  display: inline-block;
  margin-bottom: 28px;
  color: #55545c;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.mega-explore:hover {
  color: var(--wine-800);
}

.mega-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 35px 52px;
}

.mega-column {
  display: grid;
  align-content: start;
  gap: 13px;
}

.mega-column-title {
  margin: 0 0 10px;
  color: #4d4d56;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.mega-column a {
  color: #56565e;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.38;
  text-decoration: none;
}

.mega-column a:hover {
  color: var(--wine-800);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 861px) {
  .nav-item:hover .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at calc(72% + var(--pointer-x, 0px)) calc(18% + var(--pointer-y, 0px)), rgba(217, 139, 103, 0.32), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(130, 43, 31, 0.64), transparent 42%),
    linear-gradient(128deg, var(--wine-950) 0%, var(--wine-800) 46%, #7a2b20 78%, #a9553d 122%);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
  content: "";
  pointer-events: none;
}

.hero::before {
  width: 48vw;
  height: 48vw;
  top: -31vw;
  right: -7vw;
  background: rgba(235, 167, 123, 0.22);
  box-shadow: 0 0 120px rgba(235, 167, 123, 0.15);
  animation: hero-orbit 18s ease-in-out infinite alternate;
}

.hero::after {
  width: 34vw;
  height: 34vw;
  bottom: -26vw;
  left: 22vw;
  background: rgba(217, 139, 103, 0.14);
  animation: hero-orbit 23s ease-in-out -7s infinite alternate-reverse;
}

.hero-canvas {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.74;
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 100%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 650px;
  padding-block: 76px 84px;
}

.hero-copy {
  width: 70vw;
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 19px;
  color: var(--wine-700);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: #f3c6b1;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(43px, 4.65vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 780px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.52;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 34px;
}

.hero-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--wine-900);
  background: #fff;
}

.button-light:hover {
  background: #f6e7df;
}

.button-wine {
  color: #fff;
  background: var(--wine-800);
}

.button-wine:hover {
  background: var(--wine-700);
}

.button-outline-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.36);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.7);
}

.button-outline {
  color: var(--wine-800);
  background: transparent;
  border-color: rgba(73, 17, 11, 0.38);
}

.button-outline:hover {
  border-color: var(--wine-800);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--wine-800);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.arrow-link::after {
  font-size: 15px;
  content: "↗";
  transition: transform 160ms ease;
}

.arrow-link:hover::after {
  transform: translate(2px, -2px);
}

.arrow-link-light {
  color: #fff;
}

.hero-brief {
  position: relative;
  padding: 27px;
  overflow: hidden;
  background: rgba(21, 5, 4, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 100px rgba(18, 4, 2, 0.34);
  backdrop-filter: blur(18px);
}

.hero-brief::after {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(217, 139, 103, 0.34), transparent 70%);
  content: "";
}

.brief-kicker,
.meta,
.overline {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.095em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-brief .brief-kicker {
  color: #efbca4;
}

.hero-brief h2 {
  max-width: 460px;
  margin: 14px 0 15px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.7vw, 39px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero-brief p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.brief-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 27px 0 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
}

.brief-stat {
  padding: 17px;
  background: rgba(30, 8, 5, 0.82);
}

.brief-stat strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.brief-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.35;
}

.insight-strip {
  color: #fff;
  background: var(--wine-950);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.insight-strip-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
}

.insight-strip article {
  min-height: 118px;
  padding: 24px 27px;
  border-right: 1px solid var(--line-dark);
}

.insight-strip article:first-child {
  padding-left: 0;
}

.insight-strip article:last-child {
  padding-right: 0;
  border-right: 0;
}

.insight-label {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.insight-strip strong {
  display: block;
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.12;
}

.insight-note {
  display: block;
  margin-top: 5px;
  color: #dfa890;
  font-size: 11px;
}

.section {
  padding-block: clamp(76px, 8vw, 118px);
}

.section-cream {
  background: var(--cream);
}

.section-dark {
  color: #fff;
  background: #17110f;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 45px;
}

.section-heading h2,
.page-intro h1,
.feature-title,
.cta-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(37px, 4.3vw, 62px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.section-dark .section-heading > p {
  color: rgba(255, 255, 255, 0.63);
}

.section-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.section-rule h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(33px, 3.5vw, 50px);
  font-weight: 500;
  line-height: 1.08;
}

.research-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.86fr) minmax(0, 1.14fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.research-heading {
  grid-template-columns: minmax(0, 1fr);
}

.research-heading h2 {
  max-width: 980px;
}

.research-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--wine-950);
}

.research-visual::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 62%, rgba(35, 8, 5, 0.18));
  content: "";
  pointer-events: none;
}

.research-visual-link {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  will-change: opacity, transform;
  transition:
    opacity 680ms cubic-bezier(0.22, 0.72, 0.22, 1),
    transform 1100ms cubic-bezier(0.2, 0.72, 0.2, 1),
    visibility 680ms ease;
}

.research-visual-link.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.research-visual-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.03);
}

.research-list {
  background: var(--paper);
}

.research-item {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  min-height: 155px;
  padding: 30px 34px;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.research-item:last-child {
  border-bottom: 0;
}

.research-item:hover,
.research-item:focus-within,
.research-item.is-active {
  background: #f4eee8;
}

.research-date {
  color: var(--muted);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.2;
}

.research-body .overline {
  color: var(--wine-600);
}

.research-item h3 {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.15;
}

.research-item h3 a {
  text-decoration: none;
}

.research-item h3 a:hover {
  color: var(--wine-700);
}

.research-all-link {
  font-size: 19px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.program-card {
  position: relative;
  min-height: 290px;
  padding: 27px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.program-card:hover {
  z-index: 1;
  border-color: rgba(73, 17, 11, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.program-number {
  display: block;
  margin-bottom: 52px;
  color: #b4a9a0;
  font-family: var(--serif);
  font-size: 17px;
}

.program-card h3 {
  max-width: 310px;
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.08;
}

.program-card p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.program-card .arrow-link {
  position: absolute;
  right: 27px;
  bottom: 25px;
  left: 27px;
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 38px;
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 670;
}

.news-item h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 31px);
  font-weight: 500;
  line-height: 1.16;
}

.news-item h3 a {
  text-decoration: none;
}

.news-item h3 a:hover {
  color: var(--wine-700);
}

.news-item p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.news-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--wine-800);
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.news-item:hover .news-arrow {
  color: #fff;
  background: var(--wine-800);
  border-color: var(--wine-800);
}

.news-aside {
  align-self: start;
  padding: 29px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(217, 139, 103, 0.3), transparent 36%),
    var(--wine-900);
  border-radius: var(--radius-md);
}

.news-aside h3 {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.12;
}

.news-aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.news-aside .button {
  width: 100%;
  margin-top: 23px;
}

.cta-band {
  padding-block: 46px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(73, 17, 11, 0.96), rgba(130, 43, 31, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(255, 255, 255, 0.12) 60px);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 42px;
}

.cta-band h2 {
  max-width: 570px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.subscribe-form {
  display: grid;
  gap: 11px;
}

.subscribe-form label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.subscribe-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.subscribe-form input,
.contact-form input,
.contact-form textarea,
.search-field {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
}

.subscribe-form input::placeholder {
  color: #8b8179;
}

.form-note,
.form-message {
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.form-message {
  color: #ffd6c4;
  font-weight: 650;
}

.page-intro {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(217, 139, 103, 0.3), transparent 29%),
    linear-gradient(125deg, var(--wine-950), var(--wine-800) 66%, #76281e);
}

.page-intro::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
  content: "";
  pointer-events: none;
}

.page-intro-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 0.52fr);
  align-items: end;
  gap: 60px;
  padding-block: 76px 82px;
}

.page-intro h1 {
  max-width: 780px;
}

.page-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 680;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a::after {
  margin-left: 8px;
  content: "/";
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.6fr);
  gap: 56px;
}

.content-aside {
  align-self: start;
  padding: 25px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.content-aside h2,
.content-aside h3 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.12;
}

.content-aside p {
  color: var(--muted);
  font-size: 13px;
}

.aside-links {
  display: grid;
  gap: 3px;
  margin-top: 20px;
}

.aside-links a {
  padding: 11px 0;
  color: var(--wine-800);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 710;
  text-decoration: none;
}

.aside-links a:last-child {
  border-bottom: 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.catalog-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.catalog-card h2,
.catalog-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.1;
}

.catalog-card p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-card .arrow-link {
  margin-top: auto;
}

.document-list {
  border-top: 1px solid var(--line);
}

.document-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) minmax(130px, 0.32fr) auto;
  align-items: start;
  gap: 25px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.document-row time {
  color: var(--muted);
  font-size: 12px;
}

.document-row h2,
.document-row h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 500;
  line-height: 1.15;
}

.document-row h2 a,
.document-row h3 a {
  text-decoration: none;
}

.document-row h2 a:hover,
.document-row h3 a:hover {
  color: var(--wine-700);
}

.document-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.document-type {
  color: var(--wine-600);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--wine-800);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
}

.document-action:hover {
  color: #fff;
  background: var(--wine-800);
  border-color: var(--wine-800);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 29px 0 38px;
}

.filter-button {
  padding: 9px 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: var(--wine-800);
  border-color: var(--wine-800);
}

.filterable[hidden] {
  display: none;
}

.search-box {
  position: relative;
  max-width: 560px;
  margin-top: 28px;
}

.search-field {
  padding-right: 50px;
  border-color: var(--line);
}

.search-box::after {
  position: absolute;
  top: 13px;
  right: 17px;
  color: var(--muted);
  font-size: 17px;
  content: "⌕";
}

.empty-state {
  padding: 35px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.metric-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric-card {
  min-height: 330px;
  padding: 28px;
  color: #fff;
  background: #17110f;
  border-radius: var(--radius-md);
}

.metric-card:nth-child(2) {
  background: var(--wine-800);
}

.metric-card:nth-child(3) {
  color: var(--ink);
  background: #e5d7c6;
}

.metric-card .overline {
  color: rgba(255, 255, 255, 0.55);
}

.metric-card:nth-child(3) .overline {
  color: var(--wine-700);
}

.metric-card strong {
  display: block;
  margin: 50px 0 13px;
  font-family: var(--serif);
  font-size: 55px;
  font-weight: 500;
  line-height: 1;
}

.metric-card h2,
.metric-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.1;
}

.metric-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.metric-card:nth-child(3) p {
  color: #5b5048;
}

.indicator-jump-nav {
  position: sticky;
  z-index: 80;
  top: 137px;
  color: #fff;
  background: var(--wine-800);
  box-shadow: 0 12px 30px rgba(30, 11, 8, 0.14);
}

#macro-dashboard,
#risk-dashboard,
#bank-monitoring,
#indicator-methodology {
  scroll-margin-top: 209px;
}

.indicator-jump-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 52px;
}

.indicator-jump-inner a {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  padding: 0 20px;
  border-bottom: 2px solid transparent;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.indicator-jump-inner a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--copper);
}

.indicator-section-heading h2 {
  max-width: 770px;
}

.indicator-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.indicator-directory {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.indicator-series-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-height: 58px;
  padding: 13px 17px;
  color: #4b4540;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
}

.indicator-series-button span:last-child {
  color: var(--wine-600);
  font-size: 15px;
}

.indicator-series-button:hover,
.indicator-series-button.is-active {
  color: var(--wine-800);
  background: #f5ece7;
}

.indicator-series-button.is-active {
  box-shadow: inset 4px 0 0 var(--wine-800);
}

.indicator-subitems {
  padding: 10px 17px 10px 29px;
  color: var(--muted);
  background: #f8f5f0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-panel {
  min-width: 0;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 8%, rgba(217, 139, 103, 0.2), transparent 32%),
    linear-gradient(135deg, #1c1110, var(--wine-900));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dashboard-header .meta {
  color: rgba(255, 255, 255, 0.5);
}

.dashboard-title {
  max-width: 660px;
  margin: 8px 0 0;
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.08;
}

.dashboard-current {
  min-width: 130px;
  text-align: right;
}

.dashboard-current strong {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.dashboard-unit {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px 8px;
}

.dashboard-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dashboard-legend i {
  width: 18px;
  border-top: 2px solid #eaa181;
}

.dashboard-legend span:nth-child(2) i {
  border-top-color: rgba(255, 255, 255, 0.35);
  border-top-style: dashed;
}

.dashboard-periods {
  display: inline-flex;
  padding: 3px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.dashboard-periods button {
  min-width: 43px;
  padding: 5px 9px;
  color: rgba(255, 255, 255, 0.54);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
}

.dashboard-periods button.is-active {
  color: var(--wine-900);
  background: #fff;
}

.dashboard-canvas-wrap {
  position: relative;
  height: 340px;
}

.dashboard-canvas-wrap canvas {
  width: 100%;
  height: 100%;
}

.dashboard-tooltip {
  position: absolute;
  z-index: 2;
  min-width: 105px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 7px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  font-size: 10px;
  line-height: 1.35;
  pointer-events: none;
}

.dashboard-note {
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 300;
}

.risk-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 45px;
  margin: 35px 0 18px;
  padding: 31px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.risk-overview-copy h3 {
  margin: 0 0 16px;
  font-size: 31px;
}

.risk-overview-copy p {
  color: var(--muted);
  font-size: 13px;
}

.risk-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.risk-status-card {
  min-height: 137px;
  padding: 16px;
  background: #f7f4ef;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.risk-status-card h3 {
  min-height: 37px;
  margin: 0 0 17px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.risk-status-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--positive);
  font-size: 12px;
  font-weight: 600;
}

.risk-status-card.risk-status-high strong {
  color: var(--wine-600);
}

.risk-status-card .meta {
  color: var(--muted);
  font-size: 8px;
}

.risk-dashboard {
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 139, 103, 0.25), transparent 34%),
    linear-gradient(135deg, var(--wine-950), var(--wine-800));
}

.risk-series-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-block: 22px 7px;
}

.risk-series-tabs button {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 400;
  cursor: pointer;
}

.risk-series-tabs button:hover,
.risk-series-tabs button.is-active {
  color: var(--wine-900);
  background: #fff;
}

.indicator-publication {
  margin-top: 30px;
}

.bank-monitoring-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 80px;
  align-items: center;
}

.bank-monitoring-grid h2,
.indicator-methodology-grid h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.1vw, 55px);
  line-height: 1.04;
}

.bank-monitoring-grid > div:first-child p,
.indicator-methodology-grid p {
  color: var(--muted);
  font-size: 14px;
}

.bank-scorecard {
  overflow: hidden;
  color: #fff;
  background: #181210;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.bank-scorecard-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0 25px;
  padding: 25px;
  background: var(--wine-800);
}

.bank-scorecard-head .meta {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.56);
}

.bank-scorecard-head strong {
  font-family: var(--serif);
  font-size: 53px;
  font-weight: 700;
  line-height: 1;
}

.bank-scorecard-head > span:last-child {
  padding-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.bank-score-list {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.bank-score-row {
  display: grid;
  grid-template-columns: minmax(175px, 0.75fr) minmax(110px, 1fr) 27px;
  align-items: center;
  gap: 14px;
  font-size: 11px;
}

.bank-score-row > span {
  color: rgba(255, 255, 255, 0.7);
}

.bank-score-row > strong {
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  text-align: right;
}

.bank-score-track {
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 99px;
}

.bank-score-track i {
  display: block;
  width: var(--score);
  height: 100%;
  background: linear-gradient(90deg, var(--wine-500), var(--copper));
  border-radius: inherit;
}

.bank-scorecard > .dashboard-note {
  margin: 0;
  padding: 0 26px 22px;
}

.indicator-methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
}

.indicator-methodology-grid > div {
  padding-right: 50px;
  border-right: 1px solid var(--line);
}

.indicator-methodology-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

body h1,
body h2,
body h3 {
  font-family: var(--serif);
  font-weight: 700;
}

.meta,
.document-type,
.research-date,
.insight-note,
.footer-column strong,
.dashboard-unit,
.indicator-subitems,
body time {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-marker {
  color: var(--wine-700);
  font-family: var(--serif);
  font-size: 28px;
}

.timeline-item h2,
.timeline-item h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.12;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.quote-panel {
  padding: clamp(36px, 5vw, 66px);
  color: #fff;
  background:
    radial-gradient(circle at 95% 10%, rgba(217, 139, 103, 0.35), transparent 27%),
    var(--wine-900);
  border-radius: var(--radius-lg);
}

.quote-panel blockquote {
  max-width: 930px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.quote-panel p {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle {
  padding: 25px;
  border-top: 2px solid var(--wine-800);
  background: var(--cream);
}

.principle h3 {
  margin: 11px 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.12;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.research-article-page {
  background: var(--paper);
}

.research-article-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(190, 91, 66, 0.36), transparent 31%),
    radial-gradient(circle at 12% 88%, rgba(134, 45, 33, 0.45), transparent 34%),
    linear-gradient(135deg, #260704, var(--wine-950) 48%, #6c1e16);
}

.research-article-hero::after {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  pointer-events: none;
}

.research-article-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(76px, 9vw, 128px) clamp(72px, 8vw, 110px);
}

.research-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.research-article-meta time {
  color: #fff;
}

.research-article-hero h1 {
  max-width: 1080px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.research-article-deck {
  max-width: 820px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.52;
}

.research-article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 40px;
}

.article-back-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.article-back-link::before {
  margin-right: 8px;
  content: "←";
}

.article-back-link:hover {
  color: #fff;
}

.research-article-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 820px);
  justify-content: center;
  gap: clamp(46px, 6vw, 86px);
  padding-block: clamp(72px, 8vw, 116px);
}

.research-article-toc {
  position: sticky;
  top: 162px;
  align-self: start;
  padding-top: 7px;
}

.research-article-toc > strong {
  display: block;
  margin-bottom: 18px;
  color: var(--wine-800);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.research-article-toc nav {
  display: grid;
}

.research-article-toc a {
  padding: 12px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}

.research-article-toc a:last-child {
  border-bottom: 1px solid var(--line);
}

.research-article-toc a:hover {
  color: var(--wine-800);
}

.research-story {
  min-width: 0;
}

.research-story-lead,
.research-story-section {
  scroll-margin-top: 160px;
}

.research-story-lead > p:first-child {
  margin: 0;
  color: #2f2925;
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 35px);
  font-weight: 700;
  line-height: 1.29;
  letter-spacing: -0.025em;
}

.research-story-section {
  padding-top: clamp(70px, 8vw, 104px);
  margin-top: clamp(70px, 8vw, 104px);
  border-top: 1px solid var(--line);
}

.research-story-section h2 {
  max-width: 780px;
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 55px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.research-story-section > p,
.research-callout p {
  margin: 0 0 23px;
  color: #403a35;
  font-size: 17px;
  line-height: 1.76;
}

.article-stat-grid,
.article-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 48px 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.article-stat-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-stat-grid > div,
.article-risk-grid > div {
  min-height: 150px;
  padding: 24px;
  background: var(--cream);
}

.article-stat-grid strong,
.article-risk-grid strong {
  display: block;
  color: var(--wine-900);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 39px);
  font-weight: 700;
  line-height: 1;
}

.article-stat-grid span,
.article-risk-grid span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.article-risk-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-risk-grid > div {
  min-height: 132px;
}

.article-risk-grid .is-high {
  background: #f3e6df;
}

.article-risk-grid .is-low {
  background: #edf1eb;
}

.research-pullquote {
  position: relative;
  margin: clamp(64px, 8vw, 96px) 0;
  padding: 10px 0 10px clamp(28px, 5vw, 58px);
  border: 0;
}

.research-pullquote::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  background: linear-gradient(var(--wine-500), var(--wine-900));
  border-radius: 999px;
  content: "";
}

.research-pullquote p {
  margin: 0;
  color: var(--wine-900);
  font-family: var(--serif);
  font-size: clamp(29px, 3.7vw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.research-article-figure {
  margin: 58px 0 0;
}

.research-article-figure.is-wide {
  width: min(992px, calc(100vw - 128px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.research-article-figure a {
  display: block;
  padding: clamp(9px, 1.4vw, 17px);
  overflow: hidden;
  background: #ece8e2;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.research-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.research-article-figure figcaption {
  display: block;
  max-width: 720px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.research-callout {
  margin: 52px 0;
  padding: clamp(27px, 4vw, 44px);
  color: #fff;
  background: linear-gradient(145deg, var(--wine-950), var(--wine-800));
  border-radius: 14px;
}

.research-callout h3 {
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 37px);
  font-weight: 700;
  line-height: 1.12;
}

.research-callout p,
.research-callout li {
  color: rgba(255, 255, 255, 0.76);
}

.research-callout ul {
  margin: 0;
  padding-left: 21px;
}

.research-callout li {
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.55;
}

.research-author {
  margin-top: 42px !important;
  padding-top: 25px;
  color: var(--muted) !important;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
}

.research-story-footer {
  margin-top: clamp(80px, 9vw, 120px);
  padding: 40px;
  background: var(--cream);
  border-top: 3px solid var(--wine-800);
}

.research-story-footer p {
  max-width: 650px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.article-content {
  max-width: 940px;
}

.article-lead {
  padding-bottom: 62px;
}

.article-lead p {
  max-width: 900px;
  margin: 0;
}

.article-lead p:first-child {
  color: var(--wine-900);
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.article-lead p + p {
  margin-top: 28px;
  padding-left: 22px;
  color: var(--muted);
  border-left: 3px solid var(--wine-700);
  font-size: 17px;
  font-weight: 650;
}

.article-section {
  padding-block: 58px;
  border-top: 1px solid var(--line);
}

.article-section:last-child {
  padding-bottom: 0;
}

.article-section h2 {
  max-width: 780px;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.article-section p {
  max-width: 860px;
  margin: 0 0 20px;
  color: #403a35;
  font-size: 16px;
  line-height: 1.72;
}

.article-section ul {
  max-width: 900px;
  margin: 24px 0 30px;
  padding-left: 24px;
}

.article-section li {
  margin: 10px 0;
  padding-left: 8px;
  color: #403a35;
  break-inside: avoid;
}

.article-section li::marker {
  color: var(--wine-700);
}

.article-columns {
  columns: 2;
  column-gap: 54px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
}

.contact-list {
  display: grid;
  gap: 24px;
}

.contact-list div {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--wine-800);
  text-decoration: none;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.contact-form label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 670;
}

.contact-form input,
.contact-form textarea {
  border-color: var(--line);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .form-message {
  grid-column: 1 / -1;
  color: var(--wine-700);
}

.site-footer {
  color: #fff;
  background: #120c0a;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 2fr;
  gap: 80px;
  padding-block: 60px;
}

.footer-brand {
  align-items: flex-start;
  flex-direction: column;
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.footer-brand span {
  max-width: 310px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-column strong {
  display: block;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 20px;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

@keyframes hero-orbit {
  from {
    transform: translate3d(-2%, -1%, 0) scale(0.96);
  }
  to {
    transform: translate3d(8%, 8%, 0) scale(1.08);
  }
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 40px, 960px);
  }

  .header-top {
    grid-template-columns: auto 1fr;
  }

  .header-tools {
    grid-column: 2;
  }

  .nav-main-link {
    padding-inline: 5px;
    font-size: 11px;
  }

  .primary-links {
    gap: clamp(10px, 2vw, 24px);
  }

  .mega-toggle {
    width: 21px;
  }

  .risk-overview {
    grid-template-columns: 1fr;
  }

  .bank-monitoring-grid {
    gap: 45px;
  }

  .hero-inner {
    gap: 45px;
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insight-strip article:nth-child(2) {
    border-right: 0;
  }

  .insight-strip article:first-child {
    padding-left: 27px;
  }

  .insight-strip article:last-child {
    padding-right: 27px;
  }

  .footer-main {
    grid-template-columns: 0.8fr 2fr;
    gap: 45px;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 34px, 720px);
  }

  .site-header {
    position: sticky;
  }

  .header-top {
    min-height: 60px;
  }

  .brand-logo-window {
    width: 172px;
    height: 47px;
  }

  .brand-logo {
    height: 42px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-toggle span:first-child {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    bottom: auto;
    display: none;
    height: calc(100vh - 60px);
    overflow-y: auto;
    background: rgba(251, 250, 247, 0.99);
    border-top: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav-inner {
    display: block;
    width: var(--shell);
    min-height: 0;
    margin-inline: auto;
    padding-block: 19px 40px;
  }

  .primary-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-content: stretch;
    min-height: 0;
  }

  .nav-item {
    display: block;
  }

  .nav-item-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
    min-height: 50px;
    border-bottom: 1px solid var(--line);
  }

  .nav-main-link {
    padding: 0;
    border-bottom: 0;
    font-size: 13px;
  }

  .mega-toggle {
    width: 50px;
  }

  .mega-panel {
    position: static;
    display: none;
    max-height: none;
    width: 100%;
    overflow: visible;
    background: #f1efec;
    border-top: 3px solid var(--wine-800);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    pointer-events: none;
  }

  .nav-item.is-open .mega-panel {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mega-panel-inner {
    width: 100%;
    padding: 19px 17px 27px;
  }

  .mega-explore {
    margin-bottom: 19px;
  }

  .mega-columns {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .mega-column {
    gap: 10px;
  }

  .mega-column a {
    font-size: 13px;
  }

  .indicator-jump-nav {
    top: 60px;
    overflow-x: auto;
  }

  .indicator-jump-inner {
    width: max-content;
    min-width: 100%;
  }

  .indicator-dashboard-layout,
  .bank-monitoring-grid,
  .indicator-methodology-grid {
    grid-template-columns: 1fr;
  }

  .indicator-methodology-grid {
    gap: 45px;
  }

  .indicator-methodology-grid > div {
    padding: 0 0 42px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .indicator-methodology-grid > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .hero,
  .hero-inner {
    min-height: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

  .hero-copy {
    width: 82vw;
    max-width: 720px;
  }

  .hero-brief {
    max-width: 600px;
  }

  .section-heading,
  .page-intro-inner,
  .cta-grid,
  .research-layout,
  .news-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .page-intro-inner {
    gap: 25px;
  }

  .page-intro-inner {
    padding-block: 61px;
  }

  .featured-research {
    min-height: 460px;
  }

  .research-visual {
    min-height: 520px;
  }

  .research-article-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .research-article-toc {
    position: static;
    order: -1;
  }

  .research-article-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  .research-story-lead,
  .research-story-section {
    scroll-margin-top: 80px;
  }

  .news-aside {
    max-width: 520px;
  }

  .metric-cards,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 270px;
  }

  .metric-card strong {
    margin-top: 31px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .header-top {
    gap: 9px;
  }

  .brand-logo-window {
    width: 120px;
    height: 36px;
  }

  .brand-logo {
    height: 33px;
  }

  .header-tools {
    gap: 7px;
  }

  .language-switch button {
    min-width: 32px;
    padding: 7px 6px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.8vw, 48px);
    line-height: 1.05;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
  }

  .hero-inner {
    padding-block: 56px 62px;
  }

  .hero-brief {
    padding: 23px;
    border-radius: 21px;
  }

  .hero-brief h2 {
    font-size: 29px;
  }

  .indicator-jump-inner a {
    min-height: 48px;
    padding-inline: 14px;
    font-size: 9px;
  }

  .dashboard-panel {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .dashboard-header,
  .dashboard-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-current {
    text-align: left;
  }

  .dashboard-canvas-wrap {
    height: 280px;
  }

  .risk-overview {
    padding: 20px;
  }

  .risk-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .risk-status-card {
    min-height: 132px;
  }

  .bank-score-row {
    grid-template-columns: 1fr 28px;
  }

  .bank-score-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .insight-strip-grid,
  .program-grid,
  .catalog-grid,
  .footer-columns,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .article-lead {
    padding-bottom: 48px;
  }

  .article-section {
    padding-block: 46px;
  }

  .article-columns {
    columns: 1;
  }

  .insight-strip article {
    min-height: 0;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .insight-strip article:first-child,
  .insight-strip article:last-child {
    padding-inline: 0;
  }

  .insight-strip article:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 69px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .page-intro h1,
  .feature-title,
  .cta-band h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(32px, 9.8vw, 42px);
  }

  .dashboard-title,
  .bank-monitoring-grid h2,
  .indicator-methodology-grid h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .research-item,
  .news-item,
  .document-row,
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .research-item {
    padding: 25px 21px;
  }

  .research-visual {
    min-height: 360px;
  }

  .research-date {
    font-size: 15px;
  }

  .research-all-link {
    font-size: 18px;
  }

  .research-article-hero-inner {
    padding-block: 58px 64px;
  }

  .research-article-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(37px, 10.4vw, 50px);
  }

  .research-article-deck {
    margin-top: 24px;
    font-size: 17px;
  }

  .research-article-layout {
    gap: 42px;
    padding-block: 56px 74px;
  }

  .research-article-toc nav {
    grid-template-columns: 1fr;
  }

  .research-story-lead > p:first-child {
    font-size: 25px;
  }

  .research-story-section {
    padding-top: 58px;
    margin-top: 58px;
  }

  .research-story-section h2 {
    font-size: 36px;
  }

  .research-story-section > p,
  .research-callout p {
    font-size: 16px;
  }

  .article-stat-grid,
  .article-stat-grid-four,
  .article-risk-grid {
    grid-template-columns: 1fr;
  }

  .article-stat-grid > div,
  .article-risk-grid > div {
    min-height: 0;
  }

  .research-pullquote {
    margin-block: 58px;
  }

  .research-pullquote p {
    font-size: 31px;
  }

  .research-article-figure,
  .research-article-figure.is-wide {
    width: 100%;
    margin-top: 45px;
    margin-left: 0;
    transform: none;
  }

  .research-story-footer {
    padding: 28px 24px;
  }

  .cta-band {
    padding-block: 39px;
  }

  .cta-band h2 {
    font-size: clamp(27px, 8.4vw, 34px);
  }

  .news-arrow,
  .document-action {
    margin-top: 5px;
  }

  .document-row .document-type {
    order: -1;
  }

  .program-card {
    min-height: 255px;
  }

  .subscribe-row {
    grid-template-columns: 1fr;
  }

  .subscribe-row .button {
    width: 100%;
  }

  .page-intro-inner {
    padding-block: 52px;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-main {
    padding-block: 48px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
