.archive-body::before {
  background:
    linear-gradient(rgba(248,251,255,.93), rgba(248,251,255,.93)),
    radial-gradient(circle at 78% 10%, rgba(23,130,255,.10), transparent 30%),
    radial-gradient(circle at 8% 72%, rgba(0,165,247,.06), transparent 28%);
}
.archive-hero {
  position: relative;
  min-height: 72svh;
  padding: 170px 0 90px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 300px;
  gap: 46px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.archive-index {
  align-self: start;
  padding-top: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
.archive-copy { max-width: 760px; }
.archive-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--type-page-title);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.archive-copy > p:last-child {
  max-width: 690px;
  margin: 28px 0 0;
  color: #405b70;
  font-size: var(--type-large-body);
  line-height: 1.62;
}
.archive-sigil {
  position: relative;
  width: 260px;
  aspect-ratio: 1;
  justify-self: end;
  opacity: .82;
  transform: translate3d(0,var(--parallax-y,0),0);
}
.archive-sigil img { position: absolute; inset: 25%; width: 50%; }
.archive-sigil::before,
.archive-sigil::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(23,130,255,.22);
  border-radius: 50%;
}
.archive-sigil::before { inset: 3%; }
.archive-sigil::after { inset: 22%; border-style: dashed; animation: rotate 32s linear infinite; }

.framework-feature {
  padding: 104px 0;
  color: white;
  background: var(--deep);
  overflow: hidden;
}
.framework-grid {
  position: relative;
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 80px;
  align-items: start;
}
.framework-grid::after {
  content: "AWARE";
  position: absolute;
  right: -2vw;
  bottom: -108px;
  color: rgba(255,255,255,.025);
  font-size: 18vw;
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.08em;
  pointer-events: none;
}
.framework-label { color: #8ed3ff; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.framework-content { position: relative; z-index: 1; max-width: 780px; }
.framework-content h2 { margin: 0; font-family: var(--display); font-size: var(--type-feature-title); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.framework-content p { max-width: 690px; margin: 24px 0 0; color: #c6d7e4; font-size: 17px; line-height: 1.7; }
.framework-content a { display: inline-block; margin-top: 26px; color: #91d8ff; font-size: 13px; font-weight: 700; }

.archive-section { padding: 104px 0 138px; }
.archive-toolbar {
  position: sticky;
  top: 92px;
  z-index: 15;
  margin-bottom: 52px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(23,130,255,.13);
  border-radius: 17px;
  background: rgba(248,251,255,.88);
  box-shadow: 0 15px 44px rgba(9,43,75,.07);
  backdrop-filter: blur(18px);
  overflow-x: auto;
}
#archiveFilters {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
}
.filter-button {
  position: relative;
  flex: 0 0 auto;
  padding: 9px 3px 8px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: #426078;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  cursor: pointer;
}
.filter-button + .filter-button::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 1px;
  height: 16px;
  background: rgba(66,96,120,.22);
  transform: translateY(-50%);
  pointer-events: none;
}
.filter-button:hover,
.filter-button.active {
  color: var(--blue);
  background: transparent;
  border-bottom-color: var(--blue);
}
.archive-count { margin-left: auto; padding: 0 8px; color: #7890a6; font-size: 11px; white-space: nowrap; }
.archive-list { border-top: 1px solid var(--line); }
.archive-entry {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 130px 28px;
  gap: 26px;
  align-items: start;
  padding: 38px 4px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.archive-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,130,255,.075), rgba(0,165,247,.015));
  transform: translateX(-102%);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.archive-entry:hover::before { transform: translateX(0); }
.archive-entry > * { position: relative; z-index: 1; }
.archive-entry-meta { display: grid; gap: 7px; }
.archive-entry-category { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.archive-entry-status { color: #7890a6; font-size: 11px; }
.archive-entry-main h2 { margin: 0; font-family: var(--display); font-size: var(--type-entry-title); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.archive-entry-main p { max-width: 720px; margin: 15px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.archive-entry-year { color: #7890a6; font-size: 12px; text-align: right; }
.archive-entry-arrow { color: var(--blue); font-size: 18px; transition: transform .25s ease; }
.archive-entry:hover .archive-entry-arrow { transform: translate(4px,-4px); }
.archive-empty { padding: 50px 0; color: var(--muted); }
.archive-secondary-link { display: inline-block; margin-top: 32px; color: var(--blue); font-size: 13px; font-weight: 700; }

.branch-feature {
  padding: 102px 0 118px;
  color: white;
  background: linear-gradient(135deg, #0a3155, #061f36 74%);
  overflow: hidden;
}
.branch-feature-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.branch-feature-copy h2 { margin: 0; font-family: var(--display); font-size: var(--type-feature-title); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.branch-feature-copy p { max-width: 650px; margin: 24px 0 0; color: #c5d6e2; font-size: 17px; line-height: 1.68; }
.branch-feature-copy a { display: inline-block; margin-top: 26px; color: #8ed3ff; font-size: 13px; font-weight: 700; }
.branch-feature-art { min-height: 410px; }
.branch-feature .diplomacy-collage { height: 430px; }
.branch-feature .collage-caption { bottom: -2%; }
.capacity-orbit { position: relative; width: min(390px, 34vw); aspect-ratio: 1; margin-left: auto; }
.capacity-orbit::before, .capacity-orbit::after { content:""; position:absolute; border:1px solid rgba(142,211,255,.3); transform: rotate(45deg); }
.capacity-orbit::before { inset: 8%; }
.capacity-orbit::after { inset: 27%; background: rgba(142,211,255,.04); }
.capacity-orbit img { position:absolute; inset:34%; width:32%; opacity:.85; }
.capacity-orbit span { position:absolute; width:10px; height:10px; border-radius:50%; background:#8ed3ff; box-shadow:0 0 0 9px rgba(142,211,255,.08); }
.capacity-orbit span:nth-child(2){left:12%;top:25%}.capacity-orbit span:nth-child(3){right:15%;top:42%}.capacity-orbit span:nth-child(4){left:42%;bottom:10%}

@media (max-width: 1020px) {
  .archive-hero { grid-template-columns: 90px 1fr 220px; }
  .framework-grid, .branch-feature-grid { grid-template-columns: 1fr; }
  .branch-feature-art { min-height: 460px; }
  .capacity-orbit { margin: 0 auto; width: 360px; }
}
@media (max-width: 720px) {
  .archive-hero { min-height: 66svh; padding: 128px 0 70px; grid-template-columns: 1fr; gap: 22px; align-content: center; }
  .archive-index { order: 1; }
  .archive-copy { order: 2; }
  .archive-copy h1 { font-size: var(--type-page-title); }
  .archive-copy > p:last-child { font-size: 16px; }
  .archive-sigil { position: absolute; right: -72px; bottom: 36px; width: 220px; opacity: .18; }
  .framework-feature, .branch-feature { padding: 78px 0 88px; }
  .framework-grid { gap: 28px; }
  .framework-content h2, .branch-feature-copy h2 { font-size: var(--type-feature-title); }
  .archive-section { padding: 76px 0 98px; }
  .archive-toolbar {
    top: 76px;
    margin-bottom: 34px;
    padding: 13px 15px;
    align-items: flex-start;
    overflow-x: visible;
  }
  #archiveFilters {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .filter-button {
    padding: 7px 2px 6px;
    white-space: normal;
    text-align: left;
  }
  .filter-button + .filter-button::before { display: none; }
  .archive-count { display: none; }
  .archive-entry { grid-template-columns: 1fr 34px; gap: 12px 16px; padding: 28px 0; }
  .archive-entry-meta { grid-column: 1; }
  .archive-entry-main { grid-column: 1; }
  .archive-entry-main h2 { font-size: var(--type-entry-title); }
  .archive-entry-year { grid-column: 2; grid-row: 1; }
  .archive-entry-arrow { grid-column: 2; grid-row: 2; align-self: end; }
  .branch-feature-grid { gap: 42px; }
  .branch-feature-art { min-height: 390px; }
  .branch-feature .diplomacy-collage { height: 390px; }
  .capacity-orbit { width: min(320px, 86vw); }
}

/* Phase 9: internal event records and four-image sovereignty feature */
.archive-entry.internal-link:hover .archive-entry-arrow { transform: translateX(4px); }

.branch-feature .sovereignty-collage { height: 430px; }
.sovereignty-collage .sovereignty-room { left: 0; top: 5%; width: 61%; height: 45%; --tilt: -1.2deg; z-index: 3; }
.sovereignty-collage .sovereignty-participants { right: 0; top: 1%; width: 36%; height: 36%; --tilt: 1.4deg; z-index: 4; }
.sovereignty-collage .sovereignty-discussion { left: 8%; bottom: 4%; width: 52%; height: 37%; --tilt: .8deg; z-index: 4; }
.sovereignty-collage .sovereignty-moderator { right: 3%; bottom: 5%; width: 32%; height: 49%; --tilt: -1.4deg; z-index: 5; }
.sovereignty-collage .collage-caption { left: 1%; bottom: -3%; }

@media (max-width: 720px) {
  .branch-feature .sovereignty-collage { height: 390px; }
  .sovereignty-collage .sovereignty-room { width: 64%; height: 42%; }
  .sovereignty-collage .sovereignty-participants { width: 35%; height: 34%; }
  .sovereignty-collage .sovereignty-discussion { left: 5%; width: 54%; height: 36%; }
  .sovereignty-collage .sovereignty-moderator { width: 34%; height: 47%; }
}


/* Phase 12: compact research-in-progress portfolio */
.research-progress-section {
  padding: 104px 0 104px;
  background: rgba(237,247,255,.42);
  border-bottom: 1px solid var(--line);
}
.research-progress-heading,
.research-public-heading,
.country-research-heading {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 130px;
  gap: 26px;
  align-items: end;
}
.research-section-label {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}
.research-section-deck {
  max-width: 720px;
  margin: 0;
  color: #405b70;
  font-size: 16px;
  line-height: 1.65;
}
.research-section-count {
  color: #7890a6;
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}

.research-progress-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.research-feature-card {
  position: relative;
  min-height: 286px;
  padding: 30px 30px 28px;
  overflow: hidden;
  border: 1px solid rgba(23,130,255,.17);
  border-radius: 12px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 18px 52px rgba(9,43,75,.045);
  transition: border-color .28s ease, transform .28s ease, box-shadow .28s ease, background .28s ease;
}
.research-feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(.24);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.research-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23,130,255,.30);
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 58px rgba(9,43,75,.075);
}
.research-feature-card:hover::before { transform: scaleX(1); }
.research-feature-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.research-feature-card h2 {
  max-width: 560px;
  margin: 30px 0 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.15vw, 31px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.archive-entry-authors {
  margin: 10px 0 0 !important;
  color: #365a75 !important;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.5 !important;
}
.research-feature-card .archive-entry-authors { margin-top: 16px !important; }
.research-feature-summary {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.country-research-group {
  margin-top: 72px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.country-research-heading { align-items: start; }
.country-research-heading > div { max-width: 760px; }
.country-research-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.country-research-heading > div > p {
  max-width: 690px;
  margin: 13px 0 0;
  color: #526c80;
  font-size: 14px;
  line-height: 1.62;
}
.country-research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.country-research-card {
  position: relative;
  min-height: 188px;
  padding: 25px 24px 23px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.28);
  overflow: hidden;
  transition: background .28s ease;
}
.country-research-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
.country-research-card:hover { background: rgba(255,255,255,.76); }
.country-research-card:hover::before { transform: scaleX(1); }
.country-card-index {
  color: #7890a6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}
.country-research-card h3 {
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: clamp(25px, 2.3vw, 31px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.country-card-authors {
  margin: 13px 0 0;
  color: #365a75;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
}
.country-card-status {
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.research-public-heading { margin-bottom: 38px; }
.research-public-heading .research-section-label { grid-column: 1; }
.research-public-heading .research-section-deck { grid-column: 2; }
.archive-body[data-archive="research"] .archive-section { padding-top: 92px; }

@media (max-width: 1020px) {
  .research-progress-featured { grid-template-columns: 1fr; }
  .research-feature-card { min-height: 0; }
  .country-research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .research-progress-section { padding: 76px 0 82px; }
  .research-progress-heading,
  .research-public-heading,
  .country-research-heading { grid-template-columns: 1fr; gap: 14px; }
  .research-section-count { display: none; }
  .research-progress-featured { margin-top: 32px; gap: 16px; }
  .research-feature-card { padding: 25px 22px 24px; border-radius: 9px; }
  .research-feature-card h2 { margin-top: 24px; font-size: var(--type-entry-title); }
  .research-feature-summary { font-size: 14px; }
  .country-research-group { margin-top: 54px; padding-top: 32px; }
  .country-research-heading h2 { font-size: var(--type-entry-title); }
  .country-research-grid { grid-template-columns: 1fr; margin-top: 26px; }
  .country-research-card { min-height: 168px; padding: 23px 21px 21px; }
  .country-research-card h3 { font-size: var(--type-entry-title); }
  .research-public-heading { margin-bottom: 28px; }
  .research-public-heading .research-section-label,
  .research-public-heading .research-section-deck { grid-column: 1; }
  .archive-body[data-archive="research"] .archive-section { padding-top: 72px; }
}