/*
  Colegio Nacional de Cirujanos Dentistas Militares
  Sistema visual v1.0 — sitio estático, accesible y adaptable
*/

:root {
  --ink-950: #071b2b;
  --ink-900: #0b2437;
  --ink-800: #12374b;
  --petrol-700: #15596a;
  --petrol-600: #1c7381;
  --petrol-100: #dceef0;
  --gold-600: #a37a36;
  --gold-500: #bd9654;
  --gold-100: #f3ead8;
  --ivory-50: #fbfaf6;
  --ivory-100: #f4f0e7;
  --slate-700: #425360;
  --slate-500: #586a75;
  --slate-300: #c5ced3;
  --slate-200: #dce2e5;
  --slate-100: #edf1f2;
  --white: #ffffff;
  --success: #246b54;
  --danger: #9c3f45;
  --shadow-sm: 0 1px 2px rgba(7, 27, 43, 0.06), 0 8px 28px rgba(7, 27, 43, 0.06);
  --shadow-md: 0 18px 50px rgba(7, 27, 43, 0.12);
  --shadow-lg: 0 30px 80px rgba(7, 27, 43, 0.18);
  --radius-sm: 0.45rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.6rem;
  --radius-pill: 999px;
  --container: 1180px;
  --header-height: 86px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 2rem);
}

body {
  margin: 0;
  color: var(--ink-950);
  background: var(--ivory-50);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

::selection { background: var(--gold-100); color: var(--ink-950); }

.skip-link {
  position: fixed;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink-950);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin-inline: auto; }
.section { padding: clamp(2.75rem, min(6vw, 7vh), 5.75rem) 0; }
.section-sm { padding: clamp(2.5rem, min(5vw, 7vh), 4.5rem) 0; }
.section-ink { color: var(--white); background: var(--ink-950); }
.section-pale { background: var(--ivory-100); }
.section-white { background: var(--white); }
.section-petrol { color: var(--white); background: var(--petrol-700); }
.section-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--petrol-700);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.section-ink .eyebrow, .section-petrol .eyebrow, .page-hero .eyebrow { color: #d6b87f; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; line-height: 1.04; }
h1 { font-size: clamp(3rem, 7vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, min(4.2vw, 7vh), 3.7rem); }
h3 { font-size: clamp(1.15rem, min(1.8vw, 3.2vh), 1.45rem); line-height: 1.3; }
p { color: var(--slate-700); }
.section-ink p, .section-petrol p, .page-hero p { color: rgba(255,255,255,.88); }
.lead { font-size: clamp(1.08rem, min(1.9vw, 3vh), 1.32rem); line-height: 1.6; }
.measure { max-width: 68ch; }
.muted { color: var(--slate-500); }
.text-small { font-size: 0.88rem; }
.text-center { text-align: center; }
.text-center .eyebrow { justify-content: center; }

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: .45rem 1rem;
  color: var(--white);
  background: var(--petrol-700);
  font-size: .82rem;
  text-align: center;
}

.kicker a { font-weight: 700; margin-left: .4rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251,250,246,.94);
  border-bottom: 1px solid rgba(7,27,43,.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.7rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--ivory-50);
  background: var(--ink-950);
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: -.08em;
  box-shadow: inset 0 0 0 4px var(--ink-950), inset 0 0 0 5px rgba(189,150,84,.45);
}

.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: 1rem; font-weight: 600; }
.brand-copy small { margin-top: .28rem; color: var(--slate-500); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.site-nav { justify-self: center; }
.nav-list { display: flex; align-items: center; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.nav-list a, .nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .62rem .68rem;
  color: var(--ink-800);
  background: transparent;
  border: 0;
  border-radius: .45rem;
  font-size: .86rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.nav-list a:hover, .nav-list a[aria-current="page"], .nav-trigger:hover { color: var(--ink-950); background: var(--slate-100); }

.header-actions { display: flex; align-items: center; gap: .55rem; }
.account-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .78rem;
  color: var(--ink-900);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-pill);
  font-size: .82rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}
.account-link::before { content: "○"; font-size: 1.15rem; line-height: 1; }
.account-link:hover { background: var(--white); border-color: var(--slate-300); }
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink-950);
  background: transparent;
  border: 1px solid var(--slate-200);
  border-radius: 50%;
  line-height: 1;
}
.icon-button:hover { background: var(--white); }
.menu-button { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 46px;
  padding: .7rem 1.1rem;
  color: var(--white);
  background: var(--ink-950);
  border: 1px solid var(--ink-950);
  border-radius: var(--radius-pill);
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-gold { color: var(--ink-950); background: var(--gold-500); border-color: var(--gold-500); }
.btn-light { color: var(--ink-950); background: var(--white); border-color: var(--white); }
.btn-outline { color: var(--ink-950); background: transparent; border-color: var(--slate-300); }
.hero .btn-outline,
.section-ink .btn-outline,
.section-petrol .btn-outline,
.page-hero .btn-outline,
.card-dark .btn-outline,
.journal-showcase .btn-outline,
.institutional-figure .btn-outline,
.pricing-card.featured .btn-outline,
.doi-import-card .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.76);
}
.hero .btn-outline:hover,
.section-ink .btn-outline:hover,
.section-petrol .btn-outline:hover,
.page-hero .btn-outline:hover,
.card-dark .btn-outline:hover,
.journal-showcase .btn-outline:hover,
.institutional-figure .btn-outline:hover,
.pricing-card.featured .btn-outline:hover,
.doi-import-card .btn-outline:hover {
  color: var(--ink-950);
  background: var(--white);
  border-color: var(--white);
}
.btn-small { min-height: 40px; padding: .55rem .9rem; font-size: .86rem; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink-950); font-weight: 740; text-decoration: none; }
.text-link::after { content: "→"; transition: transform 160ms ease; }
.text-link:hover::after { transform: translateX(.28rem); }
.section-ink .text-link, .section-petrol .text-link { color: var(--white); }

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 120px));
  color: var(--white);
  background:
    radial-gradient(circle at 78% 35%, rgba(61,145,155,.34), transparent 24%),
    linear-gradient(115deg, var(--ink-950) 8%, #0e3348 58%, #155767 100%);
  overflow: hidden;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to left, black, transparent 75%);
}

.hero::after {
  width: clamp(380px, 46vw, 680px);
  aspect-ratio: 1;
  right: -8%;
  top: 8%;
  border: 1px solid rgba(214,184,127,.48);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255,255,255,.025),
    0 0 0 160px rgba(255,255,255,.018),
    inset 0 0 120px rgba(216,242,243,.08);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  min-height: inherit;
  padding-block: clamp(2.75rem, 7vh, 5.5rem);
}

.hero h1 { max-width: 13ch; margin-bottom: 1.15rem; font-size: clamp(3rem, min(5.7vw, 8.8vh), 5.8rem); line-height: .96; }
.hero h1 em { color: #e7cca0; font-style: normal; }
.hero-copy > p { max-width: 57ch; color: rgba(255,255,255,.8); font-size: clamp(1.06rem, 1.8vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.hero-panel {
  position: relative;
  align-self: center;
  margin-bottom: 0;
  padding: 1.5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.hero-panel .label { color: #e7cca0; font-size: .72rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.hero-panel h2 { margin: .7rem 0 .6rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.hero-panel p { color: rgba(255,255,255,.92); font-size: .95rem; }
.hero-panel .text-link { color: var(--white); }
.hero-panel .text-link:hover { color: #f0d7aa; }
.hero-panel .meta-line { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.88); font-size: .78rem; }

.trust-strip { color: var(--ink-950); background: var(--white); border-bottom: 1px solid var(--slate-200); }
.trust-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); align-items: stretch; }
.trust-item { padding: 1.55rem 1.2rem; border-left: 1px solid var(--slate-200); }
.trust-item:first-child { padding-left: 0; border-left: 0; }
.trust-item strong { display: block; margin-bottom: .25rem; font-family: var(--serif); font-size: 1.14rem; }
.trust-item span { color: var(--slate-500); font-size: .8rem; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.35rem, min(3vw, 4vh), 2.5rem); }
.section-head h2 { max-width: 15ch; margin-bottom: 0; }
.section-head p { max-width: 52ch; margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.1rem, min(2.5vw, 3.5vh), 1.8rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.9rem, min(2vw, 3vh), 1.35rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.split { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.split-wide { display: grid; grid-template-columns: minmax(240px,.72fr) minmax(0,1.28fr); align-items: start; gap: clamp(2.5rem, 7vw, 7rem); }

.card {
  position: relative;
  padding: clamp(1.05rem, min(2vw, 3vh), 1.6rem);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .7rem; }
.card p:last-child { margin-bottom: 0; }
.card-dark { color: var(--white); background: var(--ink-900); border-color: rgba(255,255,255,.12); }
.card-dark p { color: rgba(255,255,255,.84); }
.card-number { display: block; margin-bottom: clamp(1rem, 2.8vh, 1.5rem); color: var(--gold-600); font-family: var(--serif); font-size: clamp(1.7rem, min(2.2vw, 4vh), 2rem); }
.card-tag { display: inline-flex; margin-bottom: .85rem; padding: .34rem .6rem; color: var(--petrol-700); background: var(--petrol-100); border-radius: var(--radius-pill); font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:hover:has(.card-link) { transform: translateY(-3px); box-shadow: var(--shadow-md); transition: 180ms ease; }

.path-card { min-height: clamp(240px, 38vh, 300px); padding: clamp(1.4rem, min(3.2vw, 4.5vh), 2.5rem); overflow: hidden; }
.path-card::after { content: ""; position: absolute; right: -80px; bottom: -130px; width: 260px; aspect-ratio: 1; border: 1px solid var(--slate-200); border-radius: 50%; box-shadow: 0 0 0 42px rgba(21,89,106,.04), 0 0 0 84px rgba(21,89,106,.03); }
.path-card h3 { max-width: 13ch; font-family: var(--serif); font-size: clamp(1.8rem, min(3.4vw, 6vh), 2.8rem); font-weight: 400; }
.path-card > * { position: relative; z-index: 1; }

.stat { padding: clamp(1rem, 2.8vh, 1.35rem) 0; border-top: 1px solid var(--slate-200); }
.stat strong { display: block; color: var(--ink-950); font-family: var(--serif); font-size: clamp(1.9rem, min(3.4vw, 5.5vh), 2.9rem); font-weight: 400; line-height: 1; }
.stat span { color: var(--slate-500); font-size: .84rem; }
.section-ink .stat { border-color: rgba(255,255,255,.16); }
.section-ink .stat strong { color: var(--white); }

.feature-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; }
.feature-list li::before { content: "✓"; display: grid; place-items: center; width: 1.55rem; height: 1.55rem; color: var(--petrol-700); background: var(--petrol-100); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.feature-list strong { display: block; margin-bottom: .2rem; }
.feature-list span { color: var(--slate-500); font-size: .92rem; }

.journal-showcase {
  position: relative;
  padding: clamp(1.75rem, min(4vw, 6vh), 3.5rem);
  color: var(--white);
  background: linear-gradient(135deg, var(--ink-900), var(--petrol-700));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.journal-showcase::after { content: "ROM"; position: absolute; right: -1rem; bottom: -5rem; color: rgba(255,255,255,.045); font-family: var(--serif); font-size: clamp(10rem, 24vw, 23rem); line-height: 1; }
.journal-showcase > * { position: relative; z-index: 1; }
.journal-showcase h2 { max-width: 12ch; }
.journal-showcase p { color: rgba(255,255,255,.92); }
.journal-showcase .text-link { color: var(--white); }
.journal-showcase .journal-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.35rem 0; }
.journal-meta span { padding: .45rem .7rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-pill); font-size: .78rem; }

.event-list { display: grid; border-top: 1px solid var(--slate-200); }
.event-item { display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 1.3rem; padding: 1.15rem 0; border-bottom: 1px solid var(--slate-200); }
.event-date { display: grid; color: var(--petrol-700); line-height: 1; text-align: center; }
.event-date strong { font-family: var(--serif); font-size: 2.25rem; font-weight: 400; }
.event-date span { margin-top: .35rem; font-size: .7rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.event-info h3 { margin-bottom: .35rem; }
.event-info p { margin-bottom: 0; color: var(--slate-500); font-size: .88rem; }
.event-status { padding: .45rem .7rem; color: var(--success); background: #e0efe9; border-radius: var(--radius-pill); font-size: .76rem; font-weight: 750; }

.quote { margin: 0; padding: clamp(1.6rem, min(4vw, 5.5vh), 3.25rem); background: var(--white); border-left: 4px solid var(--gold-500); box-shadow: var(--shadow-sm); }
.quote p { color: var(--ink-950); font-family: var(--serif); font-size: clamp(1.5rem, min(2.6vw, 4.8vh), 2.25rem); line-height: 1.35; }
.quote footer { color: var(--slate-500); font-size: .85rem; }

.page-hero {
  position: relative;
  padding: clamp(3.5rem, min(8vw, 10vh), 7rem) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 25%, rgba(28,115,129,.32), transparent 27%),
    var(--ink-950);
  overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; width: 480px; aspect-ratio: 1; right: -110px; top: -190px; border: 1px solid rgba(214,184,127,.28); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.018), 0 0 0 130px rgba(255,255,255,.012); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; margin-bottom: 1.2rem; font-size: clamp(2.8rem, min(5.6vw, 9vh), 5.2rem); line-height: .98; }
.page-hero p { max-width: 65ch; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.4rem; color: rgba(255,255,255,.86); font-size: .8rem; }
.breadcrumbs a { color: inherit; }
.breadcrumbs span::before { content: "/"; margin-right: .55rem; }

.anchor-nav { position: sticky; top: var(--header-height); z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--slate-200); backdrop-filter: blur(14px); }
.anchor-nav .container { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: thin; }
.anchor-nav a { flex: 0 0 auto; padding: .9rem .85rem; color: var(--slate-700); font-size: .82rem; font-weight: 700; text-decoration: none; }
.anchor-nav a:hover { color: var(--petrol-700); }
.anchor-nav ~ section[id] { scroll-margin-top: 1rem; }

.timeline { position: relative; display: grid; gap: 0; margin-top: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: .6rem; bottom: .6rem; width: 1px; background: var(--slate-300); }
.timeline-item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 1.2rem; padding: 0 0 2.2rem 2.2rem; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: .45rem; width: 15px; height: 15px; background: var(--ivory-50); border: 3px solid var(--petrol-600); border-radius: 50%; }
.timeline-item time { color: var(--petrol-700); font-weight: 780; }
.timeline-item h3 { margin-bottom: .35rem; }

.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.9rem, 1.6vw, 1.15rem); }
.profile-card { padding: clamp(1rem, min(1.7vw, 2.8vh), 1.25rem); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
.profile-placeholder { display: grid; place-items: center; aspect-ratio: 4/3; margin-bottom: 1.2rem; color: var(--slate-500); background: linear-gradient(135deg, var(--slate-100), var(--ivory-100)); border-radius: .65rem; font-family: var(--serif); font-size: 2rem; }
.profile-card h3 { margin-bottom: .25rem; }
.profile-card p { margin-bottom: 0; color: var(--slate-500); font-size: .85rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; padding: 2rem; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
.pricing-card.featured { color: var(--white); background: var(--ink-950); border-color: var(--ink-950); transform: translateY(-.7rem); box-shadow: var(--shadow-lg); }
.pricing-card.featured p, .pricing-card.featured .feature-list span { color: rgba(255,255,255,.84); }
.pricing-card.featured .feature-list li::before { color: var(--ink-950); background: var(--gold-500); }
.pricing-card h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.pricing-card .price { margin: 1.5rem 0; font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.pricing-card .price small { font-family: var(--sans); font-size: .76rem; }
.pricing-card .feature-list { margin-bottom: 2rem; }
.pricing-card .btn { margin-top: auto; }

.step-list { counter-reset: steps; display: grid; gap: 1rem; }
.step { counter-increment: steps; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--slate-200); }
.step::before { content: counter(steps, decimal-leading-zero); color: var(--gold-600); font-family: var(--serif); font-size: 1.45rem; }
.step h3 { margin-bottom: .35rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--slate-200); vertical-align: top; }
th { color: var(--ink-950); background: var(--slate-100); font-size: .78rem; letter-spacing: .04em; }
td { color: var(--slate-700); font-size: .91rem; }
tr:last-child td { border-bottom: 0; }

.accordion { border-top: 1px solid var(--slate-300); }
.accordion-item { border-bottom: 1px solid var(--slate-300); }
.accordion-button { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; width: 100%; padding: 1.25rem 0; color: var(--ink-950); background: transparent; border: 0; font-weight: 720; text-align: left; }
.accordion-button::after { content: "+"; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border: 1px solid var(--slate-300); border-radius: 50%; font-size: 1.15rem; font-weight: 400; }
.accordion-button[aria-expanded="true"]::after { content: "−"; }
.accordion-panel { padding: 0 2.8rem 1.35rem 0; }
.accordion-panel[hidden] { display: none; }

.form-card { padding: clamp(1.5rem, 4vw, 3rem); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field-full { grid-column: 1 / -1; }
label { color: var(--ink-950); font-size: .83rem; font-weight: 720; }
input, select, textarea { width: 100%; padding: .82rem .9rem; color: var(--ink-950); background: var(--ivory-50); border: 1px solid var(--slate-300); border-radius: var(--radius-sm); }
input:focus, select:focus, textarea:focus { border-color: var(--petrol-600); outline: 3px solid rgba(28,115,129,.14); }
textarea { min-height: 145px; resize: vertical; }
.help { color: var(--slate-500); font-size: .76rem; }
.check-field { display: grid; grid-template-columns: 1.1rem 1fr; gap: .65rem; align-items: start; }
.check-field input { width: 1rem; margin-top: .25rem; }
.form-message { display: none; margin-top: 1rem; padding: .8rem 1rem; color: var(--success); background: #e0efe9; border-radius: var(--radius-sm); }
.form-message.is-visible { display: block; }

.policy-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.policy-layout > * { min-width: 0; }
.policy-menu { position: sticky; top: calc(var(--header-height) + 2rem); width: 100%; max-width: 100%; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--slate-300); }
.policy-menu a { display: block; padding: .55rem 1rem; color: var(--slate-700); font-size: .84rem; text-decoration: none; }
.policy-menu a:hover { color: var(--petrol-700); border-left: 2px solid var(--petrol-700); margin-left: -1px; }
.policy-content section { padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--slate-200); }
.policy-content h2 { font-size: clamp(2rem, 4vw, 3rem); }
.policy-content h3 { margin-top: 2rem; }
.policy-content li { margin-bottom: .45rem; color: var(--slate-700); }

.article-card { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--slate-200); }
.article-type { color: var(--petrol-700); font-size: .74rem; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.article-card h3 { margin: .35rem 0 .55rem; font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 400; }
.article-card p { margin-bottom: .5rem; font-size: .9rem; }
.notice { padding: 1rem 1.2rem; color: var(--ink-800); background: var(--gold-100); border-left: 3px solid var(--gold-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.notice strong { color: var(--ink-950); }

.auth-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(360px,1.1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.auth-card { padding: clamp(1.5rem, 4vw, 2.8rem); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.auth-card h2 { font-size: clamp(2rem, 4vw, 3rem); }
.provider-list { display: grid; gap: .75rem; margin: 1.4rem 0; }
.provider-button {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  align-items: center;
  gap: .8rem;
  width: 100%;
  padding: .85rem 1rem;
  color: var(--ink-950);
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-weight: 720;
  text-align: left;
}
.provider-button:hover { border-color: var(--petrol-600); box-shadow: var(--shadow-sm); }
.provider-mark { display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--white); background: var(--ink-900); border-radius: 50%; font-family: var(--serif); font-size: .82rem; }
.provider-mark.orcid { color: #2b3a15; background: #a6ce39; font-family: var(--sans); font-weight: 850; }
.provider-mark.google { color: #174ea6; background: #eef3fe; font-family: var(--sans); font-weight: 850; }
.provider-button small { color: var(--slate-500); font-weight: 500; }
.auth-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .7rem; margin: 1.2rem 0; color: var(--slate-500); font-size: .75rem; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--slate-200); }
.auth-message { display: none; margin-top: 1rem; padding: .85rem 1rem; color: var(--ink-800); background: var(--petrol-100); border-radius: var(--radius-sm); font-size: .86rem; }
.auth-message.is-visible { display: block; }
.role-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin-top: 1.5rem; }
.role-card { padding: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-sm); }
.role-card strong { display: block; margin-bottom: .25rem; color: var(--white); }
.role-card span { color: rgba(255,255,255,.84); font-size: .8rem; }

.dashboard-wrap { min-height: 100vh; background: #eef2f3; }
.dashboard-header { position: sticky; top: 0; z-index: 30; color: var(--white); background: var(--ink-950); border-bottom: 1px solid rgba(255,255,255,.1); }
.dashboard-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.dashboard-header .brand { color: var(--white); }
.dashboard-header .brand-copy small { color: rgba(255,255,255,.82); }
.dashboard-header .btn-outline { color: var(--white); border-color: rgba(255,255,255,.6); }
.dashboard-header .btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.dashboard-user { display: flex; align-items: center; gap: .7rem; }
.dashboard-user span { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink-950); background: var(--gold-500); border-radius: 50%; font-weight: 800; }
.dashboard-user small { color: rgba(255,255,255,.72); }
.dashboard-grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 1.5rem; padding-block: 1.5rem 4rem; }
.dashboard-sidebar { position: sticky; top: 92px; align-self: start; padding: 1rem; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
.dashboard-nav { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.dashboard-nav a { display: flex; align-items: center; justify-content: space-between; padding: .7rem .75rem; color: var(--slate-700); border-radius: .4rem; font-size: .84rem; font-weight: 700; text-decoration: none; }
.dashboard-nav a:hover, .dashboard-nav a[aria-current="page"] { color: var(--ink-950); background: var(--slate-100); }
.dashboard-main { min-width: 0; }
.dashboard-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.dashboard-title h1 { margin-bottom: .25rem; font-family: var(--serif); font-size: clamp(2.2rem,5vw,3.7rem); font-weight: 400; }
.dashboard-title p { margin-bottom: 0; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.dashboard-metric { padding: 1rem; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); }
.dashboard-metric strong { display: block; color: var(--ink-950); font-family: var(--serif); font-size: 1.8rem; font-weight: 400; line-height: 1; }
.dashboard-metric span { color: var(--slate-500); font-size: .76rem; }
.dashboard-card { margin-bottom: 1rem; padding: clamp(1rem,3vw,1.6rem); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: 0 8px 25px rgba(7,27,43,.04); }
.dashboard-card-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dashboard-card h2 { margin-bottom: .25rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.status-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .65rem; color: var(--petrol-700); background: var(--petrol-100); border-radius: var(--radius-pill); font-size: .73rem; font-weight: 800; white-space: nowrap; }
.status-pill::before { content: ""; width: 7px; height: 7px; background: var(--petrol-600); border-radius: 50%; }
.submission-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-bottom: 1.2rem; color: var(--slate-500); font-size: .78rem; }
.workflow { display: grid; grid-template-columns: repeat(6,minmax(90px,1fr)); overflow-x: auto; padding: .6rem 0 .3rem; }
.workflow-step { position: relative; min-width: 100px; padding: 2.1rem .5rem .5rem 0; color: var(--slate-500); font-size: .72rem; }
.workflow-step::before { content: ""; position: absolute; left: 0; right: 0; top: .72rem; height: 2px; background: var(--slate-200); }
.workflow-step::after { content: ""; position: absolute; top: .36rem; left: 0; width: 14px; height: 14px; background: var(--white); border: 3px solid var(--slate-300); border-radius: 50%; }
.workflow-step.done { color: var(--ink-800); }
.workflow-step.done::before { background: var(--petrol-600); }
.workflow-step.done::after { background: var(--petrol-600); border-color: var(--petrol-600); }
.workflow-step.current { color: var(--ink-950); font-weight: 800; }
.workflow-step.current::after { background: var(--gold-500); border-color: var(--gold-500); box-shadow: 0 0 0 5px var(--gold-100); }
.dashboard-list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.dashboard-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--slate-200); }
.dashboard-list li:first-child { border-top: 0; }
.dashboard-list strong { font-size: .88rem; }
.dashboard-list span { color: var(--slate-500); font-size: .78rem; }
.demo-banner { padding: .7rem 1rem; color: #5f4519; background: var(--gold-100); border-bottom: 1px solid #ddc48f; font-size: .8rem; text-align: center; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-button { padding: .55rem .85rem; color: var(--slate-700); background: transparent; border: 1px solid var(--slate-300); border-radius: var(--radius-pill); font-size: .82rem; font-weight: 700; }
.filter-button[aria-pressed="true"], .filter-button:hover { color: var(--white); background: var(--ink-950); border-color: var(--ink-950); }
.filter-item[hidden] { display: none; }

.search-dialog { width: min(calc(100% - 2rem), 720px); padding: 0; color: var(--ink-950); background: var(--white); border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.search-dialog::backdrop { background: rgba(7,27,43,.68); backdrop-filter: blur(4px); }
.dialog-inner { padding: clamp(1.4rem, 4vw, 2.5rem); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.dialog-head h2 { margin: 0; font-size: 2rem; }
.search-results { display: grid; gap: .65rem; margin-top: 1rem; }
.search-result { display: block; padding: .8rem; color: var(--ink-950); background: var(--slate-100); border-radius: var(--radius-sm); text-decoration: none; }
.search-result small { display: block; color: var(--slate-500); }

.cta-band { position: relative; padding: clamp(2rem, 5vw, 4rem); color: var(--white); background: var(--petrol-700); border-radius: var(--radius-lg); overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -90px; top: -110px; width: 300px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.04), 0 0 0 96px rgba(255,255,255,.025); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 14ch; margin-bottom: 1rem; }
.cta-band p { max-width: 58ch; color: rgba(255,255,255,.92); }
.cta-band .eyebrow { color: #f0d7aa; }
.cta-band .btn-outline { color: var(--white); border-color: rgba(255,255,255,.72); }
.cta-band .btn-outline:hover { color: var(--ink-950); background: var(--white); border-color: var(--white); }

.site-footer { color: var(--white); background: #061621; }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(4rem, 8vw, 7rem) 0; }
.footer-brand .brand { color: var(--white); margin-bottom: 1.2rem; }
.footer-brand .brand-copy small { color: rgba(255,255,255,.78); }
.footer-brand p { max-width: 34ch; color: rgba(255,255,255,.78); font-size: .9rem; }
.footer-title { margin-bottom: 1rem; color: #d6b87f; font-size: .75rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(255,255,255,.84); font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.76); font-size: .76rem; }

@keyframes editorial-rise {
  from { opacity: 1; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero .container > p,
.page-hero .hero-actions {
  animation: editorial-rise .58s cubic-bezier(.2,.75,.2,1) both;
}
.page-hero h1 { animation-delay: .07s; }
.page-hero .container > p { animation-delay: .14s; }
.page-hero .hero-actions { animation-delay: .21s; }

.motion-enhanced .reveal-target {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1);
}
.motion-enhanced .reveal-target.is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-enhanced .reveal-target { opacity: 1; transform: none; }
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-legal a { color: inherit; }

.back-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; opacity: 0; visibility: hidden; transform: translateY(10px); transition: 180ms ease; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

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

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .site-nav {
    position: fixed;
    inset: calc(34px + var(--header-height)) 0 0;
    display: none;
    padding: 1rem;
    background: rgba(7,27,43,.96);
    overflow-y: auto;
  }
  .nav-open .site-nav { display: block; }
  .nav-list { align-items: stretch; flex-direction: column; gap: .25rem; }
  .nav-list a, .nav-trigger { width: 100%; padding: 1rem; color: var(--white); font-size: 1rem; }
  .nav-list a:hover, .nav-list a[aria-current="page"], .nav-trigger:hover { color: var(--white); background: rgba(255,255,255,.08); }
  .menu-button { display: inline-grid; }
  .header-actions .btn { display: none; }
  .only-mobile { display: block; }
}

@media (max-width: 860px) {
  :root { --header-height: 74px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { align-self: auto; margin: 0; max-width: 520px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .section-head { align-items: start; flex-direction: column; }
  .grid-3, .grid-4, .profile-grid, .pricing-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split, .split-wide { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-menu { position: static; display: flex; gap: .2rem; overflow-x: auto; padding-bottom: .5rem; border-left: 0; border-bottom: 1px solid var(--slate-300); }
  .policy-menu li { flex: 0 0 auto; }
  .policy-menu a { padding: .5rem .7rem; }
  .footer-main { grid-template-columns: repeat(2,1fr); }
  .auth-layout, .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; }
  .dashboard-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dashboard-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-height: 760px) and (min-width: 861px) {
  .hero-inner { padding-block: clamp(1.75rem, 4.8vh, 2.75rem); }
  .hero h1 { max-width: 14ch; margin-bottom: .9rem; font-size: clamp(2.75rem, 7.7vh, 4.5rem); }
  .hero-copy > p { max-width: 54ch; font-size: 1rem; line-height: 1.5; }
  .hero-actions { margin-top: 1.1rem; }
  .hero-panel { padding: 1.2rem 1.3rem; }
  .hero-panel h2 { margin-block: .5rem; font-size: clamp(1.55rem, 4.5vh, 2.15rem); }
  .hero-panel p { margin-bottom: .7rem; line-height: 1.5; }
  .hero-panel .meta-line { margin-top: .8rem; padding-top: .75rem; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 1.35rem), var(--container)); }
  .brand-copy strong { max-width: 20ch; font-size: .86rem; }
  .brand-copy small { display: none; }
  .brand-mark { width: 40px; height: 40px; font-size: .9rem; }
  .header-actions { gap: .35rem; }
  .icon-button { width: 39px; height: 39px; }
  .hero { min-height: auto; }
  .hero-inner { gap: 1.35rem; padding-block: clamp(1.65rem, 5vh, 2.4rem); }
  .hero h1 { max-width: 13ch; margin-bottom: .7rem; font-size: clamp(2.35rem, 10.4vw, 3.2rem); line-height: .98; }
  .hero-copy > p { font-size: .96rem; line-height: 1.45; }
  .hero .hero-actions { gap: .5rem; margin-top: .9rem; }
  .hero .hero-actions .btn { min-height: 41px; padding: .56rem .82rem; font-size: .8rem; }
  .hero-panel { padding: 1rem 1.05rem; }
  .hero-panel h2 { margin: .35rem 0; font-size: 1.55rem; }
  .hero-panel p { margin-bottom: .55rem; font-size: .88rem; line-height: 1.4; }
  .hero-panel .meta-line { margin-top: .65rem; padding-top: .6rem; font-size: .7rem; }
  .trust-grid, .grid-2, .grid-3, .grid-4, .profile-grid, .pricing-grid, .form-grid { grid-template-columns: 1fr; }
  .trust-item { padding-inline: 0; border-left: 0; border-top: 1px solid var(--slate-200); }
  .trust-item:first-child { border-top: 0; }
  .pricing-card.featured { transform: none; }
  .event-item { grid-template-columns: 70px 1fr; }
  .event-status { grid-column: 2; justify-self: start; }
  .article-card { grid-template-columns: 1fr; gap: .4rem; }
  .field-full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .page-hero h1 { max-width: 16ch; font-size: clamp(2.6rem, 11.5vw, 4rem); }
  .account-link { width: 39px; height: 39px; padding: 0; justify-content: center; }
  .account-link span { display: none; }
  .role-grid, .dashboard-metrics { grid-template-columns: 1fr; }
  .dashboard-nav { grid-template-columns: 1fr 1fr; }
  .dashboard-title, .dashboard-card-head { align-items: start; flex-direction: column; }
  .dashboard-user small { display: none; }
}

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

@media print {
  .kicker, .site-header, .anchor-nav, .site-footer, .back-top, .btn, .search-dialog { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .section, .section-sm, .page-hero { padding: 1.5rem 0; }
  .page-hero, .section-ink, .section-petrol { color: #000; background: #fff; }
  .page-hero p, .section-ink p, .section-petrol p { color: #222; }
  a { color: #000; text-decoration: none; }
  .card, .form-card { box-shadow: none; break-inside: avoid; }
}

/* Refinamiento visual integral: movimiento sutil, fotografía institucional y estados */
.site-header { transition: box-shadow .3s ease, background-color .3s ease, border-color .3s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.97); border-bottom-color: rgba(18,52,70,.14); box-shadow: 0 12px 34px rgba(7,27,43,.09); }
.hero::before { animation: ambient-orbit 18s ease-in-out infinite alternate; }
.page-hero::after { animation: ambient-drift 14s ease-in-out infinite alternate; }
.card, .pricing-card, .profile-card, .article-card, .event-item { transition: transform .3s cubic-bezier(.2,.75,.2,1), box-shadow .3s ease, border-color .3s ease; }
.card:hover, .pricing-card:hover, .profile-card:hover, .article-card:hover, .event-item:hover { transform: translateY(-4px); border-color: rgba(37,105,118,.27); box-shadow: 0 18px 42px rgba(7,27,43,.10); }
.motion-enhanced .reveal-target { transform: translateY(22px) scale(.992); transition-delay: var(--reveal-delay, 0ms); transition-duration: .76s; }
.motion-enhanced .reveal-target.is-revealed { transform: translateY(0) scale(1); }
.eyebrow::before { content: ""; display: inline-block; width: 1.8rem; height: 1px; margin-right: .65rem; vertical-align: middle; background: currentColor; transform-origin: left; animation: line-arrive .8s cubic-bezier(.2,.75,.2,1) both; }
.institutional-feature { padding-top: clamp(1.75rem, min(4vw, 6vh), 3.75rem); }
.institutional-figure { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,.95fr); margin: 0; overflow: hidden; color: var(--white); background: var(--ink-950); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.institutional-image-wrap { min-height: clamp(340px, 58vh, 500px); overflow: hidden; }
.institutional-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.75,.2,1), filter .6s ease; }
.institutional-figure:hover img { transform: scale(1.025); filter: saturate(1.04) contrast(1.02); }
.institutional-figure figcaption { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(1.6rem, min(3vw, 5vh), 2.8rem); }
.institutional-figure figcaption h2 { margin-bottom: .9rem; font-size: clamp(2rem, min(3.4vw, 6.5vh), 3.15rem); }
.institutional-figure figcaption p { color: rgba(255,255,255,.9); }
.institutional-figure figcaption small { display: block; margin-top: 1rem; color: rgba(255,255,255,.68); line-height: 1.55; }
.flash-region { position: relative; z-index: 5; padding: 1rem 0 0; background: var(--white); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.event-status { text-decoration: none; }
@keyframes ambient-orbit { to { transform: translate3d(22px,-14px,0) scale(1.035); } }
@keyframes ambient-drift { to { transform: translate3d(-22px,28px,0) scale(1.04); opacity: .78; } }
@keyframes line-arrive { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@media (max-width: 820px) {
  .institutional-figure { grid-template-columns: 1fr; }
  .institutional-image-wrap { min-height: 330px; }
}
@media (max-width: 520px) { .institutional-image-wrap { min-height: 245px; } }
@media (prefers-reduced-motion: reduce) {
  .hero::before, .page-hero::after, .eyebrow::before { animation: none !important; }
  .institutional-image-wrap img { transition: none; }
}

/* Identidad oficial, directorio y arquitectura editorial 2026 */
.institutional-intro { overflow: hidden; background: linear-gradient(135deg, var(--ivory-50), #fff 58%, var(--slate-100)); }
.identity-grid { display: grid; grid-template-columns: minmax(220px,.62fr) minmax(0,1.38fr); gap: clamp(2rem, min(5.5vw, 7vh), 5rem); align-items: center; }
.identity-emblem-wrap { position: relative; display: grid; place-items: center; min-height: clamp(270px, 45vh, 360px); }
.identity-emblem-wrap::before { content: ""; position: absolute; width: min(360px,90%); aspect-ratio: 1; border: 1px solid rgba(37,105,118,.18); border-radius: 50%; box-shadow: 0 0 0 38px rgba(37,105,118,.035), 0 0 0 76px rgba(214,184,127,.035); }
.identity-emblem { position: relative; z-index: 1; width: min(250px,68vw); height: auto; filter: drop-shadow(0 20px 28px rgba(7,27,43,.14)); }
.mission-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; margin: 1.4rem 0; }
.mission-grid article { padding: 1.1rem; background: rgba(255,255,255,.8); border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.mission-grid h3 { margin-bottom: .55rem; font-size: 1.25rem; }
.mission-grid p { margin: 0; color: var(--slate-600); font-size: .92rem; }

.profile-groups { display: grid; gap: clamp(2rem, min(4.5vw, 7vh), 4rem); }
.profile-group { min-width: 0; }
.profile-group-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.profile-group-head::after { content: ""; flex: 1; height: 1px; background: var(--slate-200); }
.profile-group-head h3 { margin: 0; color: var(--petrol-700); font-family: var(--sans); font-size: .84rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
#gobierno { padding-top: clamp(1.5rem, min(3vw, 4vh), 2.25rem); }
#gobierno .section-head { margin-bottom: .65rem; }
#gobierno .profile-group-head { margin-bottom: .65rem; }
.profile-photo { width: 100%; height: clamp(180px, min(30vh, 24vw), 280px); margin-bottom: .8rem; object-fit: contain; object-position: center bottom; border-radius: calc(var(--radius-md) - .2rem); background: linear-gradient(145deg,#f9fafb,#e9eef0); }
.profile-placeholder { height: clamp(180px, min(30vh, 24vw), 280px); aspect-ratio: auto; margin-bottom: .8rem; }

.certification-steps { margin-top: 0; }
.certification-steps .step { grid-template-columns: 1fr; }
.checklist-grid .plain-list { margin-top: 1rem; }
.plain-list { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding-left: 1.35rem; color: var(--slate-600); }
.plain-list li::before { content: "✓"; position: absolute; left: 0; color: var(--petrol-700); font-weight: 800; }
.spaced-notice { margin-top: 1.5rem; }
.notice-dark { margin-top: 1.5rem; color: var(--white); background: rgba(255,255,255,.09); border-left-color: var(--gold-500); }
.notice-dark strong { color: var(--white); }

.doi-lifecycle { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.5rem 0; }
.doi-lifecycle span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .7rem; color: var(--ink-950); background: var(--gold-100); border-radius: var(--radius-pill); font-size: .78rem; font-weight: 760; }
.doi-lifecycle span:not(:last-child)::after { content: "→"; color: var(--petrol-700); }
.legacy-archive { padding: clamp(1.5rem,4vw,2.5rem); color: var(--white); background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius-lg); }
.legacy-archive h3 { color: var(--gold-300); }
.legacy-archive p { color: var(--white); font-size: clamp(1.15rem,2vw,1.5rem); line-height: 1.75; }
.legacy-archive small { color: rgba(255,255,255,.72); line-height: 1.6; }

.contact-link { overflow-wrap: anywhere; }
.location-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.72fr); gap: 2rem; align-items: center; margin-top: 1.25rem; padding: clamp(1.5rem,4vw,2.5rem); background: var(--slate-100); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); }
.location-card h2 { margin-bottom: .8rem; }
.location-card address { color: var(--slate-600); font-style: normal; line-height: 1.75; }
.location-card .notice { margin: 0; }

@media (max-width: 860px) {
  .identity-grid, .location-card { grid-template-columns: 1fr; }
  .identity-emblem-wrap { min-height: 310px; }
}
@media (max-width: 620px) {
  .mission-grid { grid-template-columns: 1fr; }
  .identity-emblem-wrap { min-height: 260px; }
  .profile-photo, .profile-placeholder { height: 200px; }
  .doi-lifecycle span { width: 100%; justify-content: space-between; }
}

/* Páginas públicas autosuficientes: gobierno, eventos y archivo editorial */
.page-hero-compact { min-height: auto; padding: clamp(3.2rem, min(7vw, 10vh), 6rem) 0; }
.page-hero-compact h1 { max-width: 18ch; font-size: clamp(2.8rem, min(5.9vw, 8.2vh), 5rem); }
.page-hero-compact .container > p:not(.eyebrow) { max-width: 68ch; }

.leadership-grid { display: grid; gap: 1rem; }
.leadership-grid-five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.leadership-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.person-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.person-card:hover { transform: translateY(-4px); border-color: rgba(28,115,129,.28); box-shadow: var(--shadow-md); }
.person-card > img { width: 100%; height: clamp(190px, 24vw, 270px); object-fit: contain; object-position: center bottom; background: linear-gradient(145deg, #f9fafb, #e8edef); }
.person-card-body { padding: 1rem; }
.person-card-body span, .commission-lead span { display: inline-block; margin-bottom: .45rem; color: var(--petrol-700); font-size: .68rem; font-weight: 800; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.person-card-body h3 { margin: 0; font-family: var(--sans); font-size: clamp(.96rem, 1.25vw, 1.12rem); font-weight: 760; line-height: 1.32; }
.person-card-horizontal > img, .person-card-horizontal > .person-monogram { height: 210px; }
.person-monogram { display: grid; place-items: center; width: 100%; color: var(--white); background: linear-gradient(145deg, var(--petrol-700), var(--ink-950)); font-family: var(--serif); font-size: 3rem; }

.commission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.commission-card { padding: clamp(1.1rem, 2.5vw, 1.6rem); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.commission-lead { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--slate-200); }
.commission-lead img { width: 92px; height: 112px; object-fit: contain; object-position: center bottom; background: var(--slate-100); border-radius: .65rem; }
.commission-lead h3 { margin: 0 0 .25rem; font-size: 1.45rem; }
.commission-lead p { margin: 0; font-size: .86rem; line-height: 1.45; }
.commission-card ul { display: grid; gap: .55rem; margin: 1rem 0 0; padding-left: 1.1rem; color: var(--slate-700); font-size: .88rem; }

.event-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.event-card-public { display: grid; grid-template-rows: 230px 1fr; min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.event-card-public:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-card-image { overflow: hidden; background: var(--ink-900); }
.event-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.event-card-public:first-child .event-card-image img { object-position: center 24%; }
.event-card-public:hover .event-card-image img { transform: scale(1.025); }
.event-card-content { display: flex; flex-direction: column; padding: 1.25rem; }
.event-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .85rem; color: var(--slate-500); font-size: .76rem; }
.status-chip { display: inline-flex; padding: .36rem .62rem; border-radius: var(--radius-pill); font-size: .67rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.status-complete { color: var(--success); background: #e5f2ec; }
.event-card-content h3 { margin-bottom: .7rem; font-family: var(--sans); font-size: 1.28rem; font-weight: 780; }
.event-card-content p { font-size: .9rem; }
.event-card-content dl { display: grid; gap: .55rem; margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--slate-200); }
.event-card-content dl div { display: flex; justify-content: space-between; gap: 1rem; }
.event-card-content dt { color: var(--slate-500); font-size: .76rem; }
.event-card-content dd { margin: 0; color: var(--ink-900); font-size: .76rem; font-weight: 700; text-align: right; }
.session-panel { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius-lg); }
.session-panel h3 { color: var(--white); font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
.session-panel p { color: rgba(255,255,255,.8); }
.session-live-dot { position: absolute; top: 1.35rem; right: 1.35rem; width: 10px; height: 10px; background: var(--gold-500); border-radius: 50%; box-shadow: 0 0 0 7px rgba(189,150,84,.13); }
.plain-list-light li { color: rgba(255,255,255,.86); }
.plain-list-light li::before { color: #f0d7aa; }
.event-process { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.event-process li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; padding: 1rem; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
.event-process li > span { display: grid; place-items: center; width: 42px; height: 42px; color: var(--white); background: var(--ink-950); border-radius: 50%; font-size: .72rem; font-weight: 800; }
.event-process h3 { margin-bottom: .2rem; font-family: var(--sans); font-size: 1rem; font-weight: 780; }
.event-process p { margin: 0; font-size: .86rem; }

.new-journal-band { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.mini-current-cover { position: relative; width: min(100%, 330px); margin: 0 auto; overflow: hidden; color: var(--white); background: var(--ink-950); border-radius: .35rem; box-shadow: 0 26px 60px rgba(7,27,43,.25); }
.mini-current-cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.mini-current-cover::after { content: "ROM"; position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 45px; height: 45px; color: var(--ink-950); background: rgba(255,255,255,.92); border-radius: 50%; font-family: var(--serif); font-size: .8rem; font-weight: 700; }
.mini-current-cover figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: 2rem 1.5rem; background: linear-gradient(180deg, rgba(7,27,43,.25), transparent 44%, rgba(7,27,43,.92)); pointer-events: none; }
.mini-current-cover figcaption span { max-width: 18ch; color: #f0d7aa; font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mini-current-cover figcaption strong { max-width: 10ch; margin-top: auto; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; line-height: 1.05; }
.mini-current-cover figcaption small { margin-top: .55rem; color: rgba(255,255,255,.76); line-height: 1.4; }
.archive-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 1.5rem 0; }
.archive-facts div { padding: 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-md); }
.archive-facts strong, .archive-facts span { display: block; }
.archive-facts strong { color: var(--white); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.archive-facts span { color: rgba(255,255,255,.66); font-size: .72rem; }
.legacy-feature-cover { position: relative; width: min(100%, 410px); margin: 0 auto; overflow: hidden; background: var(--white); border-radius: .35rem; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.legacy-feature-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.legacy-feature-cover div { position: absolute; inset: auto 0 0; padding: 2.8rem 1.25rem 1.25rem; background: linear-gradient(transparent, rgba(7,27,43,.94)); }
.legacy-feature-cover span, .legacy-feature-cover strong, .legacy-feature-cover small { display: block; }
.legacy-feature-cover span { color: #f0d7aa; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legacy-feature-cover strong { margin-top: .25rem; color: var(--white); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.legacy-feature-cover small { color: rgba(255,255,255,.72); }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.archive-cover-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.archive-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.archive-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.archive-card[hidden] { display: none; }
.archive-cover { display: block; overflow: hidden; background: var(--slate-100); }
.archive-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .55s ease; }
.archive-card:hover .archive-cover img { transform: scale(1.025); }
.archive-card > div { padding: 1rem; }
.archive-card span { color: var(--petrol-700); font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.archive-card h3 { margin: .2rem 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }
.archive-card p { margin: 0; font-size: .78rem; line-height: 1.45; }
.preservation-checklist, .security-summary { padding: clamp(1.4rem, 4vw, 2.2rem); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.preservation-checklist h3, .security-summary h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }

.portal-status-hero { position: relative; overflow: hidden; padding: clamp(3rem, min(8vw, 11vh), 6.5rem) 0; color: var(--white); background: radial-gradient(circle at 85% 15%, rgba(28,115,129,.52), transparent 32%), var(--ink-950); }
.portal-status-hero::after { content: ""; position: absolute; right: -12%; top: -55%; width: min(60vw, 720px); aspect-ratio: 1; border: 1px solid rgba(214,184,127,.3); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025); }
.portal-status-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portal-status-hero h1 { max-width: 17ch; font-size: clamp(2.6rem, min(5vw, 7.4vh), 4.6rem); }
.portal-status-hero p { color: rgba(255,255,255,.84); }
.portal-shield { display: grid; place-items: center; padding: 2rem; text-align: center; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius-lg); backdrop-filter: blur(8px); }
.portal-shield > span { display: grid; place-items: center; width: 86px; height: 86px; margin-bottom: 1.2rem; color: var(--ink-950); background: var(--gold-500); border: 6px solid rgba(255,255,255,.12); border-radius: 50%; font-family: var(--serif); font-size: 1.5rem; }
.portal-shield strong { font-size: 1.05rem; }
.portal-shield p { margin: .45rem 0 0; font-size: .84rem; }
.portal-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.portal-links a { display: grid; min-height: 150px; padding: 1.25rem; color: var(--white); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-md); text-decoration: none; transition: transform .3s ease, background .3s ease; }
.portal-links a:hover { transform: translateY(-4px); background: rgba(255,255,255,.11); }
.portal-links span { color: #f0d7aa; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.portal-links strong { align-self: end; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; line-height: 1.1; }

.journal-meta-inline { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0; }
.journal-meta-inline span { padding: .42rem .68rem; color: var(--ink-900); background: var(--gold-100); border-radius: var(--radius-pill); font-size: .72rem; font-weight: 740; }
.archive-preview-row { display: grid; grid-template-columns: minmax(180px, .5fr) minmax(180px, .5fr) minmax(280px, 1fr); gap: 1rem; align-items: stretch; }
.archive-preview-current, .archive-preview-legacy { position: relative; min-height: 360px; margin: 0; overflow: hidden; color: var(--white); background: var(--ink-950); border-radius: var(--radius-md); box-shadow: var(--shadow-md); text-decoration: none; }
.archive-preview-current img, .archive-preview-legacy > img { width: 100%; height: 100%; object-fit: cover; }
.archive-preview-current figcaption, .archive-preview-legacy > span { position: absolute; inset: auto 0 0; display: grid; padding: 3rem 1rem 1rem; background: linear-gradient(transparent, rgba(7,27,43,.96)); }
.archive-preview-current span, .archive-preview-legacy small { color: #f0d7aa; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.archive-preview-current strong, .archive-preview-legacy strong { color: var(--white); font-family: var(--serif); font-size: 1.2rem; font-weight: 400; line-height: 1.15; }
.archive-preview-current small { color: rgba(255,255,255,.72); }
.archive-preview-legacy em { margin-top: .35rem; color: var(--white); font-size: .75rem; font-style: normal; font-weight: 700; }
.archive-preview-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--slate-100); border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
.archive-preview-copy h3 { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.archive-preview-copy .btn { align-self: flex-start; margin-top: .5rem; }
.editorial-team-grid { display: grid; grid-template-columns: 1.25fr repeat(2, minmax(0, 1fr)); gap: 1rem; }
.editorial-lead-card, .editorial-role-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.editorial-lead-card { display: grid; grid-template-columns: 150px 1fr; align-items: stretch; }
.editorial-lead-card img { width: 150px; height: 100%; min-height: 220px; object-fit: contain; object-position: center bottom; background: var(--slate-100); }
.editorial-lead-card div, .editorial-role-card { padding: 1.25rem; }
.editorial-lead-card div { display: flex; flex-direction: column; justify-content: center; }
.editorial-lead-card span, .editorial-role-card span { color: var(--petrol-700); font-size: .67rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.editorial-lead-card h3, .editorial-role-card h3 { margin: .45rem 0 0; font-family: var(--sans); font-size: 1.08rem; font-weight: 760; }
.editorial-role-card p { margin: .75rem 0 0; font-size: .84rem; }
.home-event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.home-event-grid a { position: relative; min-height: 285px; overflow: hidden; color: var(--white); background: var(--ink-950); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); text-decoration: none; }
.home-event-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-event-grid a:first-child img { object-position: center 25%; }
.home-event-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 34%, rgba(7,27,43,.94)); }
.home-event-grid a:hover img { transform: scale(1.035); }
.home-event-grid span { position: absolute; z-index: 1; inset: auto 0 0; display: grid; padding: 1.2rem; }
.home-event-grid small { color: #f0d7aa; font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-event-grid strong { margin-top: .35rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; line-height: 1.16; }
.agenda-standby { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 2.4rem); background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.agenda-standby .status-chip { margin-bottom: .8rem; color: var(--petrol-700); background: var(--petrol-100); }
.agenda-standby h3 { margin-bottom: .5rem; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 400; }
.agenda-standby p { margin: 0; }

@media (max-width: 1080px) {
  .leadership-grid-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .archive-cover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .leadership-grid-four, .commission-grid, .event-archive-grid, .new-journal-band, .portal-status-grid { grid-template-columns: 1fr 1fr; }
  .event-archive-grid { grid-template-columns: 1fr; }
  .event-card-public { grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); grid-template-rows: minmax(290px, auto); }
  .archive-cover-grid, .portal-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-preview-row { grid-template-columns: 1fr 1fr; }
  .archive-preview-copy { grid-column: 1 / -1; }
  .editorial-team-grid { grid-template-columns: 1fr 1fr; }
  .editorial-lead-card { grid-column: 1 / -1; }
  .home-event-grid { grid-template-columns: 1fr 1fr; }
  .home-event-grid a:last-child { grid-column: 1 / -1; }
  .agenda-standby { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .page-hero-compact { padding: 2.6rem 0; }
  .page-hero-compact h1 { max-width: 16ch; font-size: clamp(2.45rem, 11vw, 3.4rem); }
  .leadership-grid-five, .leadership-grid-four, .commission-grid, .new-journal-band, .portal-status-grid, .archive-cover-grid, .portal-links { grid-template-columns: 1fr; }
  .person-card > img { height: 245px; }
  .commission-lead { grid-template-columns: 76px 1fr; }
  .commission-lead img { width: 76px; height: 94px; }
  .event-card-public { grid-template-columns: 1fr; grid-template-rows: 210px 1fr; }
  .archive-facts { grid-template-columns: 1fr 1fr; }
  .mini-current-cover { width: min(84vw, 310px); }
  .portal-status-hero { padding: 2.8rem 0; }
  .portal-status-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .portal-shield { display: none; }
  .archive-preview-row, .editorial-team-grid { grid-template-columns: 1fr; }
  .archive-preview-current, .archive-preview-legacy { min-height: 390px; }
  .archive-preview-copy, .editorial-lead-card { grid-column: auto; }
  .editorial-lead-card { grid-template-columns: 110px 1fr; }
  .editorial-lead-card img { width: 110px; min-height: 180px; }
  .home-event-grid { grid-template-columns: 1fr; }
  .home-event-grid a, .home-event-grid a:last-child { grid-column: auto; min-height: 245px; }
}
