
:root {
  --ink: #0b0b0d;
  --ink-soft: #17171a;
  --paper: #f7f4ee;
  --paper-bright: #fffdf9;
  --red: #d71920;
  --red-deep: #a70d15;
  --gold: #c79a3c;
  --gold-light: #f1d584;
  --muted: #6c6964;
  --line: rgba(11, 11, 13, 0.13);
  --shadow: 0 24px 70px rgba(21, 15, 10, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --scroll-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: var(--sans);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  color: inherit;
}

::selection {
  background: var(--red);
  color: white;
}

.page-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--paper-bright);
  color: var(--ink);
  border: 1px solid var(--gold);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.scroll-progress {
  position: fixed;
  z-index: 999;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold-light));
  transform: scaleX(var(--scroll-progress));
  transform-origin: left center;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 84px;
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid rgba(199, 154, 60, 0.28);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1370px, calc(100% - 44px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 320px;
  min-width: 210px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 30px);
}

.main-nav > a:not(.nav-contact) {
  position: relative;
  padding: 12px 0;
  color: #3c3936;
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.035em;
}

.main-nav > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.main-nav > a:not(.nav-contact):hover::after,
.main-nav > a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 12px 18px;
  background: var(--ink);
  color: white;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  border: 1px solid var(--ink);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-button.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-button.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 84px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 15%, rgba(215, 25, 32, 0.13), transparent 32%),
    linear-gradient(135deg, #09090a 0%, #111114 58%, #080809 100%);
  color: white;
}

.hero-grid {
  position: absolute;
  inset: 84px 0 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(241, 213, 132, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 213, 132, 0.12) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to right, black, transparent 80%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.hero-glow-one {
  width: 460px;
  height: 460px;
  top: 18%;
  right: -170px;
  border: 1px solid rgba(241, 213, 132, 0.24);
  box-shadow: 0 0 90px rgba(199, 154, 60, 0.08);
}

.hero-glow-two {
  width: 220px;
  height: 220px;
  right: 22%;
  bottom: 8%;
  border: 1px solid rgba(215, 25, 32, 0.2);
}

.hero-shell {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 232px);
  padding: clamp(70px, 10vh, 118px) 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  align-items: center;
  gap: clamp(62px, 7vw, 110px);
}

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.light-eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.35rem, 5.4vw, 6.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero h1 em {
  display: block;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.035em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg,
.publication-card a svg,
.contact-item > svg:last-child {
  width: 18px;
  height: 18px;
}

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

.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 12px 28px rgba(215, 25, 32, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ec2028;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--gold-light);
  background: rgba(241, 213, 132, 0.08);
}

.hero-proof {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-proof i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-visual {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(241, 213, 132, 0.21);
  border-radius: 50%;
}

.orbit-one {
  width: 520px;
  height: 520px;
  animation: orbitFloat 10s ease-in-out infinite;
}

.orbit-two {
  width: 380px;
  height: 380px;
  border-color: rgba(215, 25, 32, 0.22);
  animation: orbitFloat 8s ease-in-out infinite reverse;
}

.identity-card {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  padding: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.48);
  transform: rotate(-2deg);
}

.identity-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(199, 154, 60, 0.38);
  pointer-events: none;
}

.identity-card::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 110px;
  height: 7px;
  background: var(--red);
}

.identity-label {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: #8b8378;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.identity-logo {
  position: relative;
  z-index: 1;
  padding: 26px 2px 20px;
}

.identity-logo img {
  width: 100%;
  height: auto;
}

.identity-meta {
  position: relative;
  z-index: 1;
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(11, 11, 13, 0.1);
}

.identity-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.identity-meta span {
  color: #9c9388;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.identity-meta strong {
  font-size: 0.78rem;
  font-weight: 720;
}

.identity-corner {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
}

.identity-corner.top-left {
  top: 13px;
  left: 13px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
}

.identity-corner.bottom-right {
  right: 13px;
  bottom: 13px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.hero-folio {
  position: absolute;
  z-index: 3;
  right: -16px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-folio strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.metrics {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(241, 213, 132, 0.25);
}

.metric {
  min-height: 148px;
  padding: 30px 30px 32px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  border-right: 1px solid rgba(241, 213, 132, 0.18);
}

.metric:first-child {
  border-left: 1px solid rgba(241, 213, 132, 0.18);
}

.metric strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.metric span {
  max-width: 145px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.55;
}

.section {
  padding: clamp(90px, 11vw, 150px) 0;
}

.profile {
  background: var(--paper-bright);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(70px, 10vw, 150px);
}

.section-heading h2,
.method h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.6rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.lead-copy {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.38;
  letter-spacing: -0.025em;
}

.profile-pillars {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.profile-pillars article {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.profile-pillars article > span,
.card-topline > span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 0.9rem;
}

.profile-pillars h3 {
  margin: 25px 0 9px;
  font-size: 0.93rem;
}

.profile-pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.organization-band {
  padding: 35px 0;
  background: var(--red);
  color: white;
}

.organization-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 32px;
}

.organization-row > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.organization-row > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.organization-row span {
  color: white;
  font-size: clamp(0.73rem, 1.1vw, 0.92rem);
  font-weight: 780;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.structure {
  background: var(--paper-bright);
}

.executive-chart {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.ceo-node {
  position: relative;
  width: min(100%, 500px);
  min-height: 210px;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: white;
  border-top: 5px solid var(--red);
  box-shadow: 0 25px 65px rgba(11, 11, 13, 0.2);
}

.ceo-node::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 30px;
  width: 12px;
  height: 12px;
  background: var(--gold-light);
  transform: rotate(45deg);
}

.node-kicker {
  color: var(--gold-light);
  font-size: 0.64rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ceo-node h3,
.area-node h3 {
  margin: 20px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.ceo-node h3 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.ceo-node a,
.area-node a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.75rem;
  font-weight: 760;
}

.ceo-node a {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.ceo-node a:hover,
.ceo-node a:focus-visible,
.area-node a:hover,
.area-node a:focus-visible {
  color: var(--red);
}

.ceo-node a svg,
.area-node a svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.chart-connector {
  position: relative;
  width: 1px;
  height: 72px;
  margin: 0 auto;
  background: var(--gold);
}

.chart-connector::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
}

.executive-areas {
  position: relative;
  padding-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.executive-areas::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(16.666% - 3px);
  left: calc(16.666% - 3px);
  height: 1px;
  background: var(--gold);
}

.area-node {
  position: relative;
  min-height: 285px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.area-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -35px;
  width: 1px;
  height: 34px;
  background: var(--gold);
}

.area-node:hover {
  transform: translateY(-5px);
  border-color: rgba(199, 154, 60, 0.62);
  box-shadow: 0 18px 42px rgba(11, 11, 13, 0.1);
}

.area-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.area-node-top span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 0.9rem;
}

.area-node-top i {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.area-node h3 {
  max-width: 270px;
  font-size: 1.6rem;
  line-height: 1.15;
}

.area-node > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.area-node a {
  margin-top: auto;
  padding-top: 26px;
  color: var(--red-deep);
  overflow-wrap: anywhere;
}

.expertise {
  background: var(--paper);
}

.section-intro {
  margin-bottom: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.65fr);
  align-items: end;
  gap: clamp(50px, 9vw, 130px);
}

.section-intro > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.expertise-card {
  min-height: 310px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 253, 249, 0.35);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.expertise-card:hover {
  z-index: 2;
  background: var(--ink);
  color: white;
  transform: translateY(-6px);
  box-shadow: 0 20px 54px rgba(11, 11, 13, 0.18);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-topline i {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: var(--gold);
}

.expertise-card h3 {
  max-width: 270px;
  margin: 58px 0 14px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.12;
}

.expertise-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
  transition: color 220ms ease;
}

.expertise-card:hover > p {
  color: rgba(255, 255, 255, 0.63);
}

.expertise-card > strong {
  margin-top: auto;
  padding-top: 25px;
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.expertise-card:hover > strong {
  color: var(--gold-light);
}

.method {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.method::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  right: -280px;
  top: -300px;
  border: 1px solid rgba(199, 154, 60, 0.17);
  border-radius: 50%;
}

.method-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(60px, 9vw, 130px);
}

.method-copy > p:last-child {
  max-width: 470px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.75;
}

.method-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method-flow li {
  position: relative;
  min-height: 84px;
  padding: 17px 0 17px 58px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.method-flow li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.method-flow li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold-light);
  transform: translateY(-50%) rotate(45deg);
}

.method-flow li::after {
  content: "";
  position: absolute;
  left: 17px;
  top: calc(50% + 7px);
  bottom: -36px;
  width: 1px;
  background: rgba(241, 213, 132, 0.25);
}

.method-flow li:last-child::after {
  display: none;
}

.method-flow li > span {
  min-width: 35px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 0.82rem;
}

.method-flow li > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex: 1;
  gap: 20px;
}

.method-flow strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.method-flow small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.77rem;
}

.experience {
  background: var(--paper-bright);
}

.experience-intro {
  margin-bottom: 40px;
}

.filters {
  margin-bottom: 62px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters button {
  padding: 11px 16px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.filters button:hover,
.filters button:focus-visible,
.filters button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.timeline {
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 48px 1fr;
  min-height: 210px;
}

.timeline-period {
  padding-top: 12px;
}

.timeline-period span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.timeline-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.timeline-marker::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: -20px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(199, 154, 60, 0.2));
}

.timeline-item:last-child .timeline-marker::before {
  bottom: 50%;
}

.timeline-marker span {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 13px;
  background: var(--paper-bright);
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.timeline-content {
  padding: 7px 0 55px 28px;
  border-bottom: 1px solid var(--line);
}

.timeline-content > p:first-child {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
}

.timeline-details {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 42px;
}

.timeline-details > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 7px;
}

.tag-list span {
  padding: 7px 10px;
  background: var(--paper);
  color: #5f5a55;
  border: 1px solid rgba(11, 11, 13, 0.08);
  font-size: 0.64rem;
  font-weight: 720;
}

.education {
  background: var(--paper);
}

.education-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 34px;
}

.subsection-label {
  margin: 0;
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.degree-list {
  padding: 34px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
}

.degree-list > article {
  padding: 27px 0;
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.degree-list > article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.degree-list article > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.9rem;
}

.degree-list h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.22;
}

.degree-list article p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.degree-list article small {
  color: #8d877f;
  font-size: 0.7rem;
  font-weight: 700;
}

.swiss-training {
  padding: 34px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.training-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.training-heading h3 {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 400;
}

.training-heading div > p:last-child {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  line-height: 1.5;
}

.training-heading > strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 3.1rem;
  font-weight: 400;
  line-height: 0.9;
}

.training-heading > strong span {
  margin-left: 3px;
  font-size: 1.2rem;
}

.training-list {
  margin-top: 42px;
}

.training-list > div {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.training-list span {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
}

.training-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
}

.capability-strip {
  margin-top: 34px;
  padding: 32px 34px;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 48px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
}

.skill-chips {
  margin-top: 19px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-chips span {
  padding: 9px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 720;
}

.languages > div {
  margin-top: 17px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.languages span {
  color: var(--muted);
  font-size: 0.8rem;
}

.languages strong {
  display: inline-flex;
  width: 33px;
  color: var(--red);
  font-size: 0.7rem;
}

.publications {
  position: relative;
  overflow: hidden;
  background: #111114;
  color: white;
}

.publications::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 110px 110px;
}

.publications .page-shell {
  position: relative;
}

.publications .section-intro > p {
  color: rgba(255, 255, 255, 0.55);
}

.publication-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr 0.88fr;
  gap: 16px;
}

.publication-card {
  min-height: 390px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.publication-card:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 213, 132, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.featured-publication {
  background: var(--red);
  border-color: var(--red);
}

.featured-publication:hover {
  background: #e11a22;
  border-color: #e11a22;
}

.publication-type {
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.featured-publication .publication-type {
  color: rgba(255, 255, 255, 0.72);
}

.publication-card h3 {
  margin: 46px 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  font-weight: 400;
  line-height: 1.15;
}

.publication-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  line-height: 1.65;
}

.featured-publication > p {
  color: rgba(255, 255, 255, 0.77);
}

.publication-card a {
  margin-top: auto;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 780;
}

.featured-publication a {
  color: white;
}

.research-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.research-card li {
  padding: 11px 0;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.contact {
  position: relative;
  padding-bottom: 110px;
  overflow: hidden;
  background: var(--red);
  color: white;
}

.contact::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -250px;
  bottom: -430px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(255, 255, 255, 0.025), 0 0 0 200px rgba(255, 255, 255, 0.018);
}

.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  gap: clamp(60px, 10vw, 150px);
}

.contact-copy > p:last-child {
  max-width: 520px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.69);
  line-height: 1.7;
}

.contact-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-item {
  min-height: 96px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: padding 180ms ease, background 180ms ease;
}

a.contact-item:hover,
a.contact-item:focus-visible {
  padding-right: 17px;
  padding-left: 17px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-item > svg:first-child {
  width: 25px;
  height: 25px;
  color: var(--gold-light);
}

.contact-item span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item strong {
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.location-item {
  grid-template-columns: 32px 1fr;
}

footer {
  padding: 54px 0 38px;
  background: var(--paper-bright);
}

.footer-inner > img {
  width: 300px;
  height: auto;
}

.footer-inner > p {
  margin: 28px 0 38px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 690;
  letter-spacing: 0.04em;
}

.footer-inner > div {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #8f8981;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 650;
}

.footer-inner a {
  color: var(--red);
}

[data-reveal].is-visible {
  animation: revealUp 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbitFloat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.035) rotate(7deg); }
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav > a:not(.nav-contact) {
    font-size: 0.71rem;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.95fr);
    gap: 45px;
  }

  .orbit-one {
    width: 440px;
    height: 440px;
  }

  .orbit-two {
    width: 320px;
    height: 320px;
  }

  .metric {
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 76px;
  }

  .header-inner {
    width: min(100% - 32px, 1240px);
  }

  .brand {
    flex-basis: 275px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper-bright);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 45px rgba(11, 11, 13, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav > a:not(.nav-contact) {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.8rem;
  }

  .main-nav > a:not(.nav-contact)::after {
    display: none;
  }

  .nav-contact {
    margin-top: 16px;
    text-align: center;
  }

  .hero {
    padding-top: 76px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .hero-copy {
    max-width: 790px;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 10vw, 6.6rem);
  }

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

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

  .metric {
    min-height: 120px;
    flex-direction: row;
    border-bottom: 1px solid rgba(241, 213, 132, 0.18);
  }

  .profile-grid,
  .method-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .profile-grid,
  .method-shell,
  .contact-shell {
    gap: 55px;
  }

  .organization-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .organization-row > div {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

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

  .education-grid {
    grid-template-columns: 1fr;
  }

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

  .featured-publication {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 32px, 1240px);
  }

  .brand {
    flex-basis: 228px;
    min-width: 0;
  }

  .hero-shell {
    min-height: auto;
    padding: 65px 0 50px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.62rem;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 4.8rem);
    line-height: 0.95;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hero-proof i {
    display: none;
  }

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

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 250px;
    height: 250px;
  }

  .identity-card {
    padding: 19px;
    transform: rotate(-1deg);
  }

  .identity-logo {
    padding: 22px 0 16px;
  }

  .identity-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-folio {
    display: none;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:first-child {
    min-height: 105px;
    padding: 24px 20px;
    border-right: 1px solid rgba(241, 213, 132, 0.18);
    border-left: 1px solid rgba(241, 213, 132, 0.18);
  }

  .metric strong {
    min-width: 85px;
  }

  .metric span {
    max-width: none;
  }

  .section {
    padding: 86px 0;
  }

  .profile-pillars {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-intro {
    margin-bottom: 42px;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .organization-row > div {
    gap: 15px 22px;
  }

  .ceo-node {
    min-height: 190px;
    padding: 30px;
  }

  .chart-connector {
    height: 46px;
  }

  .chart-connector::after,
  .executive-areas::before {
    display: none;
  }

  .executive-areas {
    padding-top: 0;
    padding-left: 28px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .executive-areas::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 9px;
    width: 1px;
    background: var(--gold);
  }

  .area-node {
    min-height: 255px;
    padding: 25px;
  }

  .area-node::before {
    left: -20px;
    top: 50%;
    width: 19px;
    height: 1px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: 285px;
  }

  .method-flow li {
    padding-left: 42px;
  }

  .method-flow li > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .method-flow li::before {
    left: 5px;
  }

  .method-flow li::after {
    left: 10px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .timeline-period {
    padding-top: 0;
  }

  .timeline-marker {
    display: none;
  }

  .timeline-content {
    padding: 12px 0 42px;
  }

  .timeline-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tag-list {
    justify-content: flex-start;
  }

  .degree-list,
  .swiss-training {
    padding: 25px;
  }

  .degree-list > article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .training-heading {
    flex-direction: column;
  }

  .capability-strip {
    padding: 25px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .publication-grid {
    grid-template-columns: 1fr;
  }

  .featured-publication {
    grid-column: auto;
  }

  .publication-card {
    min-height: 360px;
    padding: 27px;
  }

  .contact-shell {
    gap: 48px;
  }

  .contact-item {
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    gap: 12px;
  }

  .location-item {
    grid-template-columns: 28px 1fr;
  }

  .contact-item strong {
    font-size: 1rem;
  }

  .footer-inner > img {
    width: min(100%, 290px);
  }

  .footer-inner > div {
    flex-direction: column;
    gap: 12px;
  }
}

@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;
  }
}

@media print {
  .site-header,
  .scroll-progress,
  .hero-actions,
  .filters,
  .contact,
  footer {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
    background: white;
    color: black;
  }

  .hero-grid,
  .hero-glow,
  .orbit,
  .method::before,
  .publications::before {
    display: none;
  }

  .hero-lead,
  .hero-proof,
  .metric span {
    color: #444;
  }

  .method,
  .publications {
    background: white;
    color: black;
  }

  .publication-card,
  .swiss-training {
    background: white;
    color: black;
    box-shadow: none;
  }

  .section {
    padding: 42px 0;
  }
}
/* Línea gráfica 02 — minimalismo arquitectónico */
:root {
  --ink: #171717;
  --ink-soft: #242424;
  --paper: #f5f3ef;
  --paper-bright: #ffffff;
  --red: #c51620;
  --red-deep: #9f1018;
  --gold: #b9934a;
  --gold-light: #d1ad63;
  --muted: #565656;
  --line: #e4e0d8;
  --shadow: 0 18px 50px rgba(23, 23, 23, 0.08);
}

html,
body {
  background: #fff;
}

.page-shell {
  width: min(1312px, calc(100% - 96px));
}

.site-header {
  height: 104px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1312px, calc(100% - 96px));
}

.brand {
  flex-basis: 460px;
  min-width: 300px;
}

.main-nav > a:not(.nav-contact) {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav > a:not(.nav-contact)::after {
  background: var(--gold);
}

.nav-contact {
  padding: 15px 23px;
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  text-transform: uppercase;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.scroll-progress {
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.hero {
  min-height: auto;
  padding-top: 104px;
  background: #fff;
  color: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 104px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.45;
}

.hero-grid,
.hero-glow,
.orbit,
.identity-card,
.hero-folio {
  display: none;
}

.hero-shell {
  min-height: 690px;
  padding: 96px 0 72px;
  grid-template-columns: minmax(0, 1.13fr) minmax(410px, 0.87fr);
  gap: clamp(70px, 8vw, 124px);
}

.hero-copy {
  position: relative;
  padding-left: 56px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 42px;
  width: 4px;
  background: var(--red);
}

.eyebrow,
.light-eyebrow {
  color: var(--red);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.eyebrow > span {
  background: var(--gold);
}

.hero h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(4rem, 6.2vw, 6.35rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--ink);
  font-style: normal;
}

.hero h1::after {
  content: "";
  display: block;
  width: 72%;
  height: 1px;
  margin-top: 32px;
  background: var(--gold);
}

.hero-lead {
  max-width: 660px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  min-height: 60px;
  padding-inline: 27px;
  border-radius: 0;
}

.button-primary {
  min-width: 230px;
  background: var(--ink);
  color: #fff;
  box-shadow: none;
  border-right-color: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red);
}

.button-ghost {
  color: var(--ink);
  border-color: var(--line);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--paper);
  border-color: var(--gold);
}

.hero-proof {
  color: #747474;
}

.hero-proof i {
  border-radius: 0;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-visual {
  min-height: 500px;
  align-items: center;
}

.hero-credentials {
  width: 100%;
}

.credential-meta {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #363636;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.credential-meta i {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.credential-card {
  position: relative;
  min-height: 124px;
  margin-bottom: 22px;
  padding: 25px 34px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 26px;
  background: #fcfbf9;
  border: 1px solid var(--line);
  border-right: 3px solid var(--gold);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.credential-card::before {
  content: "";
  position: absolute;
  left: -7px;
  bottom: -28px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.credential-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.credential-card > span {
  min-height: 56px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border-right: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.credential-card > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credential-card strong {
  font-size: clamp(1.12rem, 1.6vw, 1.45rem);
  font-weight: 650;
}

.credential-card small {
  color: var(--muted);
  font-size: 0.75rem;
}

.metrics {
  border-top-color: var(--line);
  border-bottom: 1px solid var(--line);
}

.metric,
.metric:first-child {
  min-height: 126px;
  border-color: var(--line);
}

.metric strong {
  color: var(--red);
}

.metric span {
  color: var(--muted);
}

.section {
  padding: clamp(88px, 9vw, 128px) 0;
}

.section-heading h2,
.method h2,
.contact h2 {
  line-height: 1.02;
}

.profile,
.structure,
.experience,
.publications,
footer {
  background: #fff;
}

.expertise,
.education {
  background: var(--paper);
}

.organization-band {
  padding: 26px 0;
  background: var(--ink);
}

.organization-row > p {
  color: var(--gold-light);
}

.profile-pillars article {
  border-top-width: 1px;
  border-top-color: var(--gold);
}

.ceo-node {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-top-width: 1px;
  box-shadow: var(--shadow);
}

.ceo-node a {
  color: var(--muted);
}

.area-node,
.expertise-card,
.publication-card {
  background: #fcfbf9;
  border-color: var(--line);
  border-radius: 0;
}

.area-node:hover,
.expertise-card:hover,
.publication-card:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.expertise-card:hover > p {
  color: var(--muted);
}

.expertise-card:hover > strong {
  color: var(--red);
}

.method {
  background: var(--ink);
}

.filters button {
  border-radius: 0;
}

.filters button:hover,
.filters button:focus-visible,
.filters button.is-active {
  background: var(--red);
  border-color: var(--red);
}

.contact {
  background: var(--ink);
  color: #fff;
}

.contact::before {
  border-color: rgba(185, 147, 74, 0.18);
}

.contact-item {
  border-color: rgba(255, 255, 255, 0.14);
}

.contact-item:hover,
.contact-item:focus-visible {
  background: rgba(255, 255, 255, 0.04);
}

footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .page-shell,
  .header-inner {
    width: min(100% - 48px, 1312px);
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-copy {
    max-width: 850px;
  }

  .hero-visual {
    min-height: auto;
  }

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

  .credential-meta {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .credential-card {
    min-height: 180px;
    margin: 0;
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .credential-card > span {
    min-height: 0;
    place-items: start;
    border-right: 0;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 14px;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .header-inner {
    width: min(100% - 32px, 1312px);
  }

  .site-header {
    height: 82px;
  }

  .brand {
    min-width: 0;
    flex-basis: 255px;
  }

  .hero {
    padding-top: 82px;
  }

  .hero-shell {
    padding-top: 66px;
  }

  .hero-copy {
    padding-left: 24px;
  }

  .hero-copy::before {
    width: 3px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero-credentials {
    grid-template-columns: 1fr;
  }

  .credential-card {
    min-height: 0;
    grid-template-columns: 52px 1fr;
  }

  .credential-card > span {
    place-items: center;
    padding: 0;
    border-right: 1px solid var(--gold);
    border-bottom: 0;
  }

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

/* Ajuste proporcional del logo dentro del encabezado */
.header-inner {
  gap: clamp(22px, 2.4vw, 38px);
}

.brand {
  flex: 0 0 285px;
  width: 285px;
  min-width: 285px;
  height: 100%;
  padding: 9px 0;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  max-height: 84px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: clamp(14px, 1.5vw, 24px);
}

@media (max-width: 1180px) {
  .brand {
    flex-basis: 260px;
    width: 260px;
    min-width: 250px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav > a:not(.nav-contact) {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .nav-contact {
    padding-inline: 16px;
  }
}

@media (max-width: 980px) {
  .site-header {
    height: 82px;
  }

  .brand {
    flex-basis: 290px;
    width: min(290px, calc(100vw - 92px));
    min-width: 0;
    padding-block: 8px;
  }

  .brand img {
    max-height: 66px;
  }

  .main-nav {
    top: 82px;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 82px;
  }
}

@media (max-width: 520px) {
  .brand {
    flex-basis: 238px;
    width: min(238px, calc(100vw - 84px));
  }

  .brand img {
    max-height: 60px;
  }
}

/* Producción intelectual: contraste editorial accesible */
.publications {
  background: #f5f3ef;
  color: var(--ink);
}

.publications::before {
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(185, 147, 74, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 147, 74, 0.12) 1px, transparent 1px);
}

.publications .light-eyebrow {
  color: var(--red);
}

.publications .section-heading h2 {
  color: var(--ink);
}

.publications .section-intro > p {
  color: #565656;
}

.publication-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid #d8d2c7;
  box-shadow: 0 12px 34px rgba(23, 23, 23, 0.05);
}

.publication-card h3 {
  color: var(--ink);
}

.publication-card > p {
  color: #565656;
}

.publication-type {
  color: var(--red-deep);
}

.publication-card a {
  color: var(--red-deep);
  border-top: 1px solid var(--line);
}

.research-card li {
  color: #474747;
  border-top-color: #ded9d0;
}

.publication-card:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(23, 23, 23, 0.11);
}

.featured-publication {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  border-left: 5px solid var(--red);
  box-shadow: 0 18px 45px rgba(23, 23, 23, 0.16);
}

.featured-publication h3 {
  color: #fff;
}

.featured-publication .publication-type {
  color: var(--gold-light);
}

.featured-publication > p {
  color: rgba(255, 255, 255, 0.76);
}

.featured-publication a {
  color: var(--gold-light);
  border-top-color: rgba(255, 255, 255, 0.16);
}

.featured-publication:hover {
  background: #242424;
  color: #fff;
  border-color: var(--gold);
  border-left-color: var(--red);
}

@media (max-width: 720px) {
  .publication-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .publication-card h3 {
    margin-top: 28px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Identidad responsive: emblema compacto + nombre legible */
.brand-compact {
  display: none;
}

@media (max-width: 980px) {
  .brand-full-logo {
    display: none;
  }

  .brand-compact {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand .brand-compact > img {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(185, 147, 74, 0.28);
  }

  .brand-compact-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--ink);
    line-height: 1;
  }

  .brand-compact-copy strong {
    font-family: var(--serif);
    font-size: 1.16rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.02;
    white-space: normal;
  }

  .brand-compact-copy small {
    color: var(--gold);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 520px) {
  .brand {
    flex-basis: 250px;
    width: min(250px, calc(100vw - 76px));
  }

  .brand .brand-compact > img {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .brand-compact-copy strong {
    font-size: 1.04rem;
  }
}

/* =========================================================
   Versión 2.0 — Centro de Conocimiento y SEO editorial
   ========================================================= */

.hero-name {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-knowledge {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(247, 244, 238, 0.95)),
    radial-gradient(circle at 90% 10%, rgba(199, 154, 60, 0.14), transparent 36%);
}

.home-knowledge::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 11, 13, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 11, 13, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.home-knowledge .page-shell {
  position: relative;
  z-index: 1;
}

.home-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.home-knowledge-card {
  min-height: 330px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(21, 15, 10, 0.05);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-knowledge-card:hover {
  transform: translateY(-5px);
  border-color: rgba(199, 154, 60, 0.62);
  box-shadow: 0 24px 55px rgba(21, 15, 10, 0.1);
}

.home-knowledge-card > span {
  color: var(--red);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.home-knowledge-card h3 {
  margin: 36px 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.home-knowledge-card h3 a:hover,
.home-knowledge-card h3 a:focus-visible {
  color: var(--red);
}

.home-knowledge-card p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.home-knowledge-card > a {
  margin-top: auto;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-knowledge-cta {
  margin-top: 24px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--ink);
  color: white;
  border-left: 4px solid var(--red);
}

.home-knowledge-cta strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.home-knowledge-cta p {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
  line-height: 1.6;
}

.home-knowledge-cta .button {
  flex: 0 0 auto;
}

.site-header-inner {
  position: sticky;
  top: 0;
}

.knowledge-main,
.inner-content-main {
  min-height: 70vh;
  background: var(--paper);
}

.knowledge-hero {
  position: relative;
  min-height: 720px;
  padding: 84px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 14%, rgba(199, 154, 60, 0.18), transparent 34%),
    radial-gradient(circle at 8% 82%, rgba(215, 25, 32, 0.16), transparent 32%),
    linear-gradient(135deg, #080809 0%, #141417 64%, #080809 100%);
  color: white;
}

.knowledge-hero-grid {
  position: absolute;
  inset: 84px 0 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(241, 213, 132, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 213, 132, 0.13) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 76%);
}

.knowledge-hero-shell {
  position: relative;
  z-index: 1;
  padding-top: 42px;
}

.knowledge-hero .breadcrumbs,
.knowledge-topic-hero .breadcrumbs,
.knowledge-article-header .breadcrumbs,
.error-page .breadcrumbs {
  color: rgba(255, 255, 255, 0.62);
}

.knowledge-hero .breadcrumbs a,
.knowledge-topic-hero .breadcrumbs a,
.knowledge-article-header .breadcrumbs a {
  color: rgba(255, 255, 255, 0.78);
}

.knowledge-hero-content {
  max-width: 940px;
  margin: 90px auto 0;
  text-align: center;
}

.knowledge-hero-content h1 {
  margin: 22px 0 28px;
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 8.4rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.knowledge-hero-content h1 em {
  display: block;
  color: var(--gold-light);
  font-weight: 400;
}

.knowledge-hero-content > p:not(.eyebrow) {
  max-width: 790px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.72;
}

.knowledge-search {
  max-width: 850px;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  background: white;
  border: 1px solid rgba(241, 213, 132, 0.38);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.knowledge-search input {
  min-width: 0;
  height: 66px;
  padding: 0 24px;
  background: transparent;
  color: var(--ink);
  border: 0;
  outline: 0;
  font-size: 0.94rem;
}

.knowledge-search input::placeholder {
  color: #8a8580;
}

.knowledge-search button {
  min-width: 142px;
  padding: 0 24px;
  background: var(--red);
  color: white;
  border: 0;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 180ms ease;
}

.knowledge-search button:hover,
.knowledge-search button:focus-visible {
  background: var(--red-deep);
}

.knowledge-hero-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.knowledge-hero-tags span {
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.knowledge-section {
  padding: clamp(84px, 10vw, 140px) 0;
}

.knowledge-areas-section {
  background: var(--paper-bright);
}

.knowledge-area-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.knowledge-area-card {
  min-height: 310px;
  padding: 34px;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.knowledge-area-card:hover {
  transform: translateY(-3px);
  border-color: rgba(199, 154, 60, 0.62);
  box-shadow: 0 22px 52px rgba(21, 15, 10, 0.08);
}

.knowledge-area-number {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.knowledge-area-card h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.knowledge-area-card h3 a:hover,
.knowledge-area-card h3 a:focus-visible {
  color: var(--red);
}

.knowledge-area-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.knowledge-area-card-footer {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.knowledge-area-card-footer span {
  color: #8a8580;
}

.knowledge-area-card-footer a {
  color: var(--red);
}

.knowledge-latest-section,
.knowledge-topic-content,
.knowledge-related-section {
  background: var(--paper);
}

.knowledge-card-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.knowledge-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(21, 15, 10, 0.045);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.knowledge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 154, 60, 0.55);
  box-shadow: 0 24px 55px rgba(21, 15, 10, 0.09);
}

.knowledge-card-media {
  min-height: 210px;
  display: block;
  overflow: hidden;
  background: var(--ink);
}

.knowledge-card-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.knowledge-card:hover .knowledge-card-media img {
  transform: scale(1.035);
}

.knowledge-card-placeholder {
  min-height: 210px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(215, 25, 32, 0.36), transparent 32%),
    linear-gradient(135deg, #0b0b0d, #222226);
}

.knowledge-card-placeholder span {
  color: rgba(241, 213, 132, 0.92);
  font-family: var(--serif);
  font-size: 4rem;
  letter-spacing: -0.05em;
}

.knowledge-card-body {
  min-height: 360px;
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
}

.knowledge-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: #8b857e;
  font-size: 0.61rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.knowledge-card-meta span {
  color: var(--red);
}

.knowledge-card h2 {
  margin: 24px 0 16px;
  font-family: var(--serif);
  font-size: 1.72rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.knowledge-card h2 a:hover,
.knowledge-card h2 a:focus-visible {
  color: var(--red);
}

.knowledge-card-body > p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.knowledge-card-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 800;
}

.knowledge-area-link {
  color: #817b74;
}

.knowledge-read-link {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.knowledge-pagination {
  margin-top: 52px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.knowledge-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 800;
}

.knowledge-pagination .page-numbers.current,
.knowledge-pagination .page-numbers:hover,
.knowledge-pagination .page-numbers:focus-visible {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.knowledge-empty {
  margin-top: 50px;
  padding: 38px;
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 32px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
}

.knowledge-empty-mark {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2rem;
}

.knowledge-empty h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.knowledge-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.knowledge-method-section {
  padding: clamp(84px, 10vw, 130px) 0;
  background:
    radial-gradient(circle at 82% 30%, rgba(215, 25, 32, 0.14), transparent 32%),
    var(--ink);
  color: white;
}

.knowledge-method-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.knowledge-method-grid h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.knowledge-method-steps {
  display: grid;
  gap: 12px;
}

.knowledge-method-steps article {
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 50px 170px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.knowledge-method-steps span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.knowledge-method-steps h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.knowledge-method-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  line-height: 1.65;
}

.breadcrumbs {
  padding: 26px 0 0;
  color: #77716a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--red);
}

.knowledge-topic-hero {
  padding: 84px 0 70px;
  background:
    radial-gradient(circle at 84% 20%, rgba(199, 154, 60, 0.18), transparent 36%),
    var(--ink);
  color: white;
}

.knowledge-topic-hero-grid {
  padding-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 70px;
  align-items: end;
}

.knowledge-topic-hero h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.knowledge-topic-hero-grid > div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.72;
}

.compact-search {
  width: 100%;
  margin: 0;
}

.knowledge-topic-toolbar {
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.knowledge-topic-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.knowledge-topic-toolbar strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.knowledge-topic-toolbar a {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.knowledge-article-header {
  padding: 84px 0 90px;
  background:
    radial-gradient(circle at 80% 15%, rgba(199, 154, 60, 0.18), transparent 35%),
    linear-gradient(135deg, #09090a, #17171a);
  color: white;
}

.knowledge-article-heading {
  max-width: 980px;
  padding-top: 70px;
}

.knowledge-article-kickers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.knowledge-article-kickers span,
.knowledge-article-kickers a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.knowledge-article-kickers a {
  border-color: rgba(215, 25, 32, 0.55);
  color: var(--gold-light);
}

.knowledge-article-heading h1 {
  margin: 28px 0 24px;
  font-family: var(--serif);
  font-size: clamp(3rem, 6.8vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.knowledge-article-deck {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
}

.knowledge-article-meta {
  margin-top: 34px;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: rgba(255, 255, 255, 0.52);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.67rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.knowledge-article-meta strong {
  color: white;
}

.content-language-switcher {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.content-language-switcher a {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.64rem;
  font-weight: 800;
}

.content-language-switcher a[aria-current="page"] {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.knowledge-article-layout {
  padding-top: 72px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: 280px minmax(0, 800px);
  justify-content: center;
  gap: 70px;
  align-items: start;
}

.knowledge-article-sidebar {
  position: sticky;
  top: 110px;
}

.knowledge-toc-card {
  padding: 24px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
}

.knowledge-toc-card > p {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-toc-card ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.knowledge-toc-card li {
  line-height: 1.35;
}

.knowledge-toc-card a {
  color: #5f5a54;
  font-size: 0.76rem;
  font-weight: 680;
}

.knowledge-toc-card a:hover,
.knowledge-toc-card a:focus-visible {
  color: var(--red);
}

.knowledge-toc-card .toc-subitem {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.toc-loading {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.knowledge-sidebar-actions {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.knowledge-sidebar-actions a {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 760;
}

.knowledge-sidebar-actions a:hover,
.knowledge-sidebar-actions a:focus-visible {
  color: var(--red);
  border-color: rgba(215, 25, 32, 0.4);
}

.knowledge-article-column {
  min-width: 0;
}

.knowledge-featured-image {
  margin: 0 0 42px;
}

.knowledge-featured-image img {
  width: 100%;
  height: auto;
}

.knowledge-featured-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.82;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  scroll-margin-top: 110px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.entry-content h2 {
  margin: 62px 0 22px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.entry-content h3 {
  margin: 42px 0 18px;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
}

.entry-content h4 {
  margin: 34px 0 14px;
  font-size: 1.3rem;
}

.entry-content p,
.entry-content li {
  color: #45413d;
}

.entry-content a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content li + li {
  margin-top: 8px;
}

.entry-content blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  background: var(--paper-bright);
  border-left: 4px solid var(--red);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
}

.entry-content table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  background: var(--paper-bright);
  font-size: 0.86rem;
}

.entry-content th,
.entry-content td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--line);
}

.entry-content th {
  background: var(--ink);
  color: white;
  font-weight: 760;
}

.entry-content img {
  height: auto;
}

.entry-content .wp-block-file {
  padding: 18px;
  background: var(--paper-bright);
  border: 1px solid var(--line);
}

.knowledge-source-box {
  margin-top: 56px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--ink);
  color: white;
  border-left: 4px solid var(--gold);
}

.knowledge-source-box span {
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-source-box p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.knowledge-source-box a {
  flex: 0 0 auto;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
}

.knowledge-article-footer {
  margin-top: 70px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.knowledge-author-box {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 26px;
  align-items: start;
}

.knowledge-author-mark {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.knowledge-author-box span {
  color: var(--red);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-author-box h2 {
  margin: 6px 0 10px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
}

.knowledge-author-box p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.knowledge-author-box a {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
}

.knowledge-related-section {
  padding: 90px 0 120px;
  border-top: 1px solid var(--line);
}

.inner-content-main {
  padding: 84px 0 110px;
}

.standard-page {
  max-width: 920px;
  margin: 0 auto;
  padding-top: 68px;
}

.standard-page-header {
  margin-bottom: 52px;
}

.standard-page-header h1 {
  max-width: 980px;
  margin: 20px 0 18px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.standard-page-header > p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.standard-page-content {
  max-width: 800px;
}

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

.standard-post-card {
  min-height: 280px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--paper-bright);
  border: 1px solid var(--line);
}

.standard-post-card > p:first-child {
  margin: 0;
  color: var(--red);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standard-post-card h2 {
  margin: 28px 0 14px;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.standard-post-card div {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.standard-post-card > a:last-child {
  margin-top: auto;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.light-search {
  max-width: 760px;
  margin: 28px 0 0;
  border-color: var(--line);
  box-shadow: none;
}

.error-page {
  min-height: calc(100vh - 84px);
  padding: 150px 0 100px;
  background:
    radial-gradient(circle at 84% 18%, rgba(215, 25, 32, 0.2), transparent 33%),
    var(--ink);
  color: white;
}

.error-page-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.error-page h1 {
  max-width: 800px;
  margin: 24px 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.error-page p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.error-page-grid > strong {
  color: rgba(241, 213, 132, 0.13);
  font-family: var(--serif);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 400;
  letter-spacing: -0.09em;
}

.inner-site-footer {
  padding: 54px 0 34px;
  background: var(--paper-bright);
  border-top: 1px solid var(--line);
}

.inner-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
}

.inner-footer-grid > div:first-child img {
  width: 300px;
  height: auto;
}

.inner-footer-grid > div:first-child p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 680;
}

.inner-footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  align-items: start;
}

.inner-footer-grid nav a {
  color: #59544e;
  font-size: 0.7rem;
  font-weight: 760;
}

.inner-footer-grid nav a:hover,
.inner-footer-grid nav a:focus-visible {
  color: var(--red);
}

.inner-footer-legal {
  grid-column: 1 / -1;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8f8981;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 680;
}

.inner-footer-legal a {
  color: var(--red);
}

@media (max-width: 1180px) {
  .home-knowledge-grid,
  .knowledge-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-topic-hero-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 44px;
  }

  .knowledge-article-layout {
    grid-template-columns: 240px minmax(0, 760px);
    gap: 44px;
  }
}

@media (max-width: 980px) {
  .home-knowledge-grid,
  .knowledge-area-grid,
  .knowledge-card-grid,
  .standard-post-grid {
    grid-template-columns: 1fr;
  }

  .home-knowledge-card {
    min-height: 280px;
  }

  .knowledge-hero {
    min-height: 680px;
    padding-top: 76px;
  }

  .knowledge-hero-grid {
    inset: 76px 0 0;
  }

  .knowledge-topic-hero,
  .knowledge-article-header,
  .inner-content-main {
    padding-top: 76px;
  }

  .knowledge-topic-hero-grid,
  .knowledge-method-grid,
  .knowledge-article-layout {
    grid-template-columns: 1fr;
  }

  .knowledge-topic-hero-grid {
    gap: 34px;
  }

  .knowledge-method-grid {
    gap: 48px;
  }

  .knowledge-article-layout {
    gap: 36px;
  }

  .knowledge-article-sidebar {
    position: static;
  }

  .knowledge-toc-card {
    display: none;
  }

  .knowledge-sidebar-actions {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-method-steps article {
    grid-template-columns: 42px 150px 1fr;
  }
}

@media (max-width: 720px) {
  .hero-name {
    margin-bottom: 14px;
    font-size: 0.7rem;
  }

  .home-knowledge-grid,
  .knowledge-area-grid,
  .knowledge-card-grid {
    margin-top: 34px;
  }

  .home-knowledge-card,
  .knowledge-area-card {
    padding: 26px 22px;
  }

  .home-knowledge-cta,
  .knowledge-source-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .knowledge-hero {
    min-height: 650px;
  }

  .knowledge-hero-shell {
    padding-top: 24px;
  }

  .knowledge-hero-content {
    margin-top: 66px;
  }

  .knowledge-hero-content h1 {
    font-size: clamp(3.5rem, 18vw, 5.5rem);
  }

  .knowledge-search {
    grid-template-columns: 1fr;
  }

  .knowledge-search input {
    height: 58px;
  }

  .knowledge-search button {
    min-height: 52px;
  }

  .knowledge-area-card {
    min-height: auto;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
  }

  .knowledge-area-card-footer,
  .knowledge-topic-toolbar,
  .knowledge-card-footer,
  .knowledge-article-meta,
  .inner-footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .knowledge-empty {
    padding: 26px;
    grid-template-columns: 1fr;
  }

  .knowledge-empty-mark {
    width: 80px;
    height: 80px;
  }

  .knowledge-method-steps article {
    grid-template-columns: 40px 1fr;
  }

  .knowledge-method-steps p {
    grid-column: 2;
  }

  .knowledge-article-heading,
  .knowledge-topic-hero-grid {
    padding-top: 48px;
  }

  .knowledge-article-heading h1,
  .knowledge-topic-hero h1,
  .standard-page-header h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .knowledge-article-layout {
    padding-top: 46px;
    padding-bottom: 80px;
  }

  .knowledge-sidebar-actions {
    grid-template-columns: 1fr;
  }

  .entry-content {
    font-size: 0.96rem;
  }

  .entry-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .knowledge-author-box {
    grid-template-columns: 72px 1fr;
    gap: 18px;
  }

  .knowledge-author-mark {
    width: 72px;
    height: 72px;
    font-size: 1.15rem;
  }

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

  .inner-footer-grid nav {
    justify-content: flex-start;
  }

  .error-page-grid {
    grid-template-columns: 1fr;
  }

  .error-page-grid > strong {
    display: none;
  }
}

@media (max-width: 520px) {
  .knowledge-hero-tags {
    display: none;
  }

  .knowledge-card-body {
    min-height: auto;
  }

  .knowledge-card-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .scroll-progress,
  .knowledge-article-sidebar,
  .knowledge-related-section,
  .inner-site-footer,
  .content-language-switcher,
  .knowledge-source-box a {
    display: none !important;
  }

  .knowledge-article-header {
    padding: 20px 0;
    background: white;
    color: black;
  }

  .knowledge-article-header * {
    color: black !important;
  }

  .knowledge-article-layout {
    display: block;
    padding: 20px 0;
  }
}


/* ================================================================
   CENTRO DE INTELIGENCIA DE INVERSIONES PÚBLICAS · v2.1
   ================================================================ */
.home-dashboards {
  background: linear-gradient(180deg, #f2f5f7 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
}
.home-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}
.home-dashboard-card {
  min-height: 250px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(11, 37, 59, 0.06);
}
.home-dashboard-card > span {
  color: var(--red);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.home-dashboard-card h3 {
  margin: 34px 0 14px;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.02;
}
.home-dashboard-card h3 a { color: inherit; text-decoration: none; }
.home-dashboard-card h3 a:hover, .home-dashboard-card h3 a:focus-visible { color: var(--red); }
.home-dashboard-card p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}
.home-dashboard-cta {
  margin-top: 18px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #0b253b;
  color: #fff;
}
.home-dashboard-cta strong { font-size: 1.08rem; }
.home-dashboard-cta p { margin: 8px 0 0; color: #c9d8e5; }
.knowledge-dashboard-section { padding-top: 0; }
.knowledge-dashboard-callout {
  padding: clamp(34px, 5vw, 64px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  color: #fff;
  background: radial-gradient(circle at 82% 20%, rgba(23,153,166,.30), transparent 32%), linear-gradient(130deg,#0a2032,#173f5f 62%,#135d74);
}
.knowledge-dashboard-callout h2 {
  max-width: 820px;
  margin: 20px 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .95;
}
.knowledge-dashboard-callout p:last-child { max-width: 820px; color: #d6e4ed; line-height: 1.75; }
.dashboard-page-main { min-height: 70vh; background: #f3f6f9; }
.dashboard-page-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 62px;
  color: #fff;
  background: radial-gradient(circle at 82% 16%, rgba(23,153,166,.28), transparent 30%), linear-gradient(130deg,#091e30,#173f5f 62%,#135d74);
}
.dashboard-page-grid {
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 38px 38px;
}
.dashboard-page-hero-inner { position: relative; z-index: 1; }
.dashboard-page-hero .breadcrumbs { margin-bottom: 42px; }
.dashboard-page-hero .breadcrumbs a, .dashboard-page-hero .breadcrumbs span { color: #dce8f0; }
.dashboard-page-hero h1 {
  max-width: 1120px;
  margin: 20px 0 20px;
  font-family: var(--serif);
  font-size: clamp(3rem, 6.6vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .92;
}
.dashboard-page-excerpt { max-width: 900px; margin: 0; color: #d6e5ef; font-size: 1.05rem; line-height: 1.75; }
.dashboard-page-content { width: 100%; }
.dashboard-seo-intro,
.dashboard-seo-guide {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.dashboard-seo-intro { padding-top: 36px; padding-bottom: 28px; color: #526b7e; font-size: 1rem; line-height: 1.75; }
.dashboard-seo-guide { padding-top: 54px; padding-bottom: 90px; }
.dashboard-seo-guide h2 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(2rem,4vw,3.7rem); font-weight: 500; letter-spacing: -.045em; }
.dashboard-seo-guide h3 { margin-top: 36px; font-size: 1.15rem; }
.dashboard-seo-guide p, .dashboard-seo-guide li { color: #526b7e; line-height: 1.75; }
.cus-dashboard-embed { width: 100%; overflow: clip; }
.cus-dashboard-disclaimer {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 15px 18px;
  border: 1px solid #d5e1e8;
  background: #fff;
  color: #526b7e;
  font-size: .82rem;
  line-height: 1.65;
}
@media (max-width: 980px) {
  .home-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-dashboard-cta, .knowledge-dashboard-callout { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  .home-dashboard-grid { grid-template-columns: 1fr; }
  .home-dashboard-card { min-height: 0; }
  .dashboard-page-hero { padding: 54px 0 46px; }
  .dashboard-page-hero h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
  .dashboard-seo-intro, .dashboard-seo-guide { padding-left: 15px; padding-right: 15px; }
}
