:root {
  --white: #ffffff;
  --porcelain: #f7faff;
  --navy: #061a35;
  --deep: #071f48;
  --blue: #1769e0;
  --green: #0b9b70;
  --mint: #91e2cb;
  --muted: #627289;
  --line: rgba(8, 42, 94, 0.11);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
  --page: min(1200px, calc(100vw - 48px));
  --shadow: 0 24px 70px rgba(7, 31, 72, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--navy);
  background: var(--porcelain);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image: radial-gradient(circle at 15% 18%, rgba(8, 42, 94, 0.04) 0 0.6px, transparent 0.8px), radial-gradient(circle at 75% 62%, rgba(11, 155, 112, 0.035) 0 0.5px, transparent 0.8px);
  background-size: 7px 7px, 9px 9px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
.page-width { width: var(--page); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 15px;
  color: white;
  border-radius: 10px;
  background: var(--blue);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(63, 142, 255, 0.65); outline-offset: 4px; }

.directory-header {
  position: absolute;
  top: 18px;
  left: 0;
  z-index: 10;
  width: 100%;
}

.directory-nav {
  display: flex;
  width: min(1260px, calc(100vw - 36px));
  min-height: 72px;
  margin-inline: auto;
  padding: 10px 12px 10px 16px;
  align-items: center;
  gap: 28px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(6, 26, 53, 0.62);
  box-shadow: 0 14px 40px rgba(0, 12, 32, 0.25);
  backdrop-filter: blur(20px) saturate(140%);
}

.directory-brand { display: inline-flex; align-items: center; gap: 12px; }
.directory-flag {
  display: grid;
  width: 54px;
  height: 38px;
  padding: 3px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}
.directory-flag img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.directory-brand > span:last-child { display: flex; flex-direction: column; }
.directory-brand strong { font-family: var(--serif); font-size: 17px; line-height: 1.1; }
.directory-brand small { margin-top: 3px; color: rgba(255, 255, 255, 0.57); font-size: 7px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }

.directory-nav-links { display: flex; margin-left: auto; align-items: center; gap: 7px; }
.directory-nav-links a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 11px;
  font-size: 11px;
  font-weight: 750;
  transition: color 0.25s ease, background 0.25s ease;
}
.directory-nav-links a:hover { color: white; background: rgba(255, 255, 255, 0.08); }
.back-link {
  display: inline-flex;
  min-height: 46px;
  padding-inline: 17px;
  align-items: center;
  gap: 9px;
  color: var(--deep);
  border-radius: 14px;
  background: white;
  font-size: 10px;
  font-weight: 850;
}

.directory-hero {
  position: relative;
  min-height: 760px;
  padding-top: 170px;
  overflow: hidden;
  color: white;
  background: radial-gradient(circle at 78% 38%, rgba(25, 124, 176, 0.38), transparent 32%), radial-gradient(circle at 18% 20%, rgba(23, 105, 224, 0.2), transparent 28%), linear-gradient(120deg, #04142e 0%, #071f48 56%, #075861 100%);
}

.directory-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-orbit { position: absolute; pointer-events: none; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 50%; }
.hero-orbit::before, .hero-orbit::after { position: absolute; inset: 12%; content: ""; border: inherit; border-radius: inherit; }
.hero-orbit::after { inset: 27%; }
.hero-orbit-one { top: -230px; right: -60px; width: 650px; height: 650px; }
.hero-orbit-two { right: 31%; bottom: -240px; width: 430px; height: 430px; }

.hero-layout { position: relative; display: grid; padding-bottom: 100px; align-items: end; grid-template-columns: 1fr 270px; gap: 90px; }
.hero-copy { max-width: 800px; padding-top: 58px; }
.eyebrow { color: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--blue); }
.hero-copy h1 { margin-top: 22px; font-family: var(--serif); font-size: clamp(72px, 9vw, 128px); font-weight: 400; letter-spacing: -0.065em; line-height: 0.86; }
.hero-copy h1 em { color: #a7e9d6; font-weight: 400; }
.hero-intro { max-width: 610px; margin-top: 34px; color: rgba(255,255,255,0.68); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; margin-top: 36px; align-items: center; gap: 24px; }

.primary-button {
  display: inline-flex;
  min-height: 54px;
  padding-inline: 21px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: white;
  border-radius: 15px;
  background: var(--blue);
  box-shadow: 0 16px 35px rgba(0, 24, 66, 0.26);
  font-size: 11px;
  font-weight: 850;
  transition: transform 0.35s var(--ease), background 0.25s ease;
}
.primary-button:hover { background: #3181ef; transform: translateY(-3px); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.78); font-size: 11px; font-weight: 800; }
.text-link span { transition: transform 0.25s ease; }
.text-link:hover span { transform: translate(3px, -3px); }

.directory-stamp {
  position: relative;
  display: flex;
  min-height: 315px;
  padding: 25px;
  overflow: hidden;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  background: rgba(255,255,255,0.065);
  box-shadow: 0 30px 70px rgba(0, 12, 32, 0.18);
  flex-direction: column;
  backdrop-filter: blur(12px);
}
.directory-stamp::before { position: absolute; top: -45px; right: -40px; width: 180px; height: 180px; content: ""; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; box-shadow: 0 0 0 27px rgba(255,255,255,0.025), 0 0 0 54px rgba(255,255,255,0.015); }
.stamp-live { position: absolute; top: 23px; left: 24px; display: flex; align-items: center; gap: 8px; color: #a7e9d6; font-size: 8px; font-weight: 850; letter-spacing: 0.12em; }
.stamp-live i { width: 7px; height: 7px; border-radius: 50%; background: #36d8a8; box-shadow: 0 0 0 5px rgba(54,216,168,0.12); }
.directory-stamp strong { font-family: var(--serif); font-size: 58px; font-weight: 400; letter-spacing: -0.055em; line-height: 0.9; }
.directory-stamp > span:not(.stamp-live) { margin-top: 5px; color: rgba(255,255,255,0.6); font-size: 12px; font-weight: 850; letter-spacing: 0.24em; }
.directory-stamp p { margin-top: 20px; padding-top: 17px; color: rgba(255,255,255,0.56); border-top: 1px solid rgba(255,255,255,0.12); font-size: 10px; line-height: 1.6; }

.office-section { padding-block: 135px; }
.section-heading h2 { max-width: 800px; margin-top: 12px; font-family: var(--serif); font-size: clamp(52px, 6vw, 82px); font-weight: 400; letter-spacing: -0.055em; line-height: 0.95; }
.office-placeholder {
  position: relative;
  display: grid;
  min-height: 360px;
  margin-top: 58px;
  padding: 45px;
  overflow: hidden;
  align-items: center;
  grid-template-columns: 230px 1fr;
  gap: 54px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(135deg, white, #f1f7ff 62%, #e6f8f3);
  box-shadow: var(--shadow);
}
.office-placeholder::after { position: absolute; top: -180px; right: -110px; width: 430px; height: 430px; content: ""; border: 1px solid rgba(23,105,224,0.1); border-radius: 50%; box-shadow: 0 0 0 45px rgba(23,105,224,0.025), 0 0 0 90px rgba(11,155,112,0.018); }
.office-seal { position: relative; display: grid; width: 220px; height: 220px; place-items: center; color: white; border-radius: 50%; background: radial-gradient(circle, #1769e0 0 34%, #0c4a8d 35% 54%, #071f48 55%); box-shadow: 0 22px 55px rgba(7,31,72,0.24); }
.office-seal::before { position: absolute; inset: 18px; content: ""; border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; }
.office-seal span { font-family: var(--serif); font-size: 75px; }
.office-seal i { position: absolute; left: 50%; width: 3px; height: 12px; border-radius: 999px; background: rgba(255,255,255,0.68); transform-origin: 50% 110px; }
.office-seal i:nth-of-type(1) { transform: translateX(-50%) rotate(0deg); }
.office-seal i:nth-of-type(2) { transform: translateX(-50%) rotate(120deg); }
.office-seal i:nth-of-type(3) { transform: translateX(-50%) rotate(240deg); }
.office-copy { position: relative; z-index: 1; max-width: 680px; }
.placeholder-label { display: inline-flex; padding: 7px 10px; color: #53647b; border: 1px dashed rgba(8,42,94,0.22); border-radius: 999px; background: rgba(255,255,255,0.56); font-size: 8px; font-weight: 850; letter-spacing: 0.12em; }
.office-copy h3 { margin-top: 18px; font-family: var(--serif); font-size: clamp(43px, 5vw, 67px); font-weight: 400; letter-spacing: -0.055em; line-height: 0.98; }
.office-copy > p { max-width: 610px; margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.office-roles { display: flex; margin-top: 28px; flex-wrap: wrap; gap: 8px; }
.office-roles span { padding: 8px 11px; color: #38506f; border-radius: 9px; background: rgba(8,42,94,0.055); font-size: 9px; font-weight: 750; }
.office-number { position: absolute; top: 30px; right: 34px; z-index: 1; color: rgba(8,42,94,0.32); font-size: 10px; font-weight: 850; letter-spacing: 0.16em; }

.presidential-office {
  position: relative;
  display: grid;
  min-height: 500px;
  margin-top: 58px;
  padding: 28px;
  overflow: hidden;
  align-items: stretch;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 6vw, 82px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: radial-gradient(circle at 91% 7%, rgba(23,105,224,0.12), transparent 31%), linear-gradient(135deg, white, #f1f7ff 62%, #e6f8f3);
  box-shadow: var(--shadow);
}
.presidential-office::after { position: absolute; top: -205px; right: -105px; width: 460px; height: 460px; content: ""; border: 1px solid rgba(23,105,224,0.1); border-radius: 50%; box-shadow: 0 0 0 48px rgba(23,105,224,0.025), 0 0 0 96px rgba(11,155,112,0.018); }
.office-portrait { position: relative; z-index: 1; min-height: 430px; margin: 0; overflow: hidden; border-radius: 24px; background: #071220; box-shadow: 0 25px 55px rgba(7,31,72,0.22); }
.office-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.office-portrait figcaption { position: absolute; right: 17px; bottom: 17px; left: 17px; display: flex; min-height: 48px; padding: 0 16px; align-items: center; gap: 10px; color: white; border: 1px solid rgba(255,255,255,0.18); border-radius: 15px; background: rgba(5,18,36,0.82); font-size: 8px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; backdrop-filter: blur(12px); }
.office-portrait figcaption i { width: 9px; height: 9px; border: 2px solid rgba(255,255,255,0.55); border-radius: 50%; background: #49d4a4; box-shadow: 0 0 0 4px rgba(73,212,164,0.12); }
.presidential-office .office-copy { display: flex; max-width: 690px; padding-block: 43px; justify-content: center; flex-direction: column; }
.office-status { display: inline-flex; width: fit-content; padding: 7px 11px; color: #1769e0; border: 1px solid rgba(23,105,224,0.16); border-radius: 999px; background: rgba(255,255,255,0.67); font-size: 8px; font-weight: 900; letter-spacing: 0.13em; }
.presidential-office .office-copy h3 { margin-top: 20px; font-size: clamp(52px, 6vw, 80px); }
.presidential-office .office-copy > .office-handle { margin-top: 12px; color: #a82d3b; font-size: 11px; font-weight: 850; letter-spacing: 0.08em; }
.presidential-office .office-copy > p:not(.office-handle) { margin-top: 22px; }

.cabinet-heading { display: grid; margin-top: 105px; padding-top: 10px; align-items: end; scroll-margin-top: 120px; grid-template-columns: 1fr 0.6fr; gap: 60px; }
.cabinet-heading h3 { margin-top: 10px; font-family: var(--serif); font-size: clamp(43px, 5vw, 66px); font-weight: 400; letter-spacing: -0.05em; line-height: 0.98; }
.cabinet-heading > p { max-width: 480px; padding-bottom: 5px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.cabinet-grid { display: grid; margin-top: 45px; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.cabinet-card { display: grid; min-height: 205px; padding: 25px; align-items: start; border: 1px solid var(--line); border-radius: 23px; background: rgba(255,255,255,0.8); box-shadow: 0 13px 40px rgba(7,31,72,0.06); grid-template-columns: 58px 1fr; gap: 20px; }
.cabinet-initial { display: grid; width: 58px; height: 58px; place-items: center; color: white; border-radius: 16px; background: linear-gradient(145deg, #1769e0, #0b9b70); box-shadow: 0 12px 25px rgba(23,105,224,0.18); font-family: var(--serif); font-size: 16px; font-weight: 700; }
.cabinet-status { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 7px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.cabinet-status.confirmed, .cabinet-status.role { color: #087858; background: #e5f8f1; }
.cabinet-status.wiki { color: #725417; background: #fff4d8; }
.cabinet-status.vacant { color: #a12b41; background: #ffedf0; }
.cabinet-card h4 { margin: 13px 0 0; font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.cabinet-card p { margin-top: 6px; color: var(--blue); font-size: 10px; font-weight: 800; }
.cabinet-card small { display: block; margin-top: 18px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.cabinet-vacant { border-style: dashed; background: rgba(255,248,250,0.75); }
.cabinet-vacant .cabinet-initial { background: linear-gradient(145deg, #9d3b50, #5b2635); }
.cabinet-source { display: grid; margin-top: 18px; padding: 20px 22px; align-items: start; grid-template-columns: 31px 1fr; gap: 14px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,0.6); }
.cabinet-source > span { display: grid; width: 30px; height: 30px; place-items: center; color: white; border-radius: 50%; background: var(--blue); font-family: var(--serif); font-weight: 700; }
.cabinet-source p { color: var(--muted); font-size: 10px; line-height: 1.7; }
.cabinet-source a { color: var(--blue); border-bottom: 1px solid rgba(23,105,224,0.28); font-weight: 800; }

.coalition-section { padding-block: 125px; color: white; background: linear-gradient(125deg, #061a35, #0a315c 66%, #075c61); }
.light-heading { display: grid; align-items: end; grid-template-columns: 1fr 0.7fr; gap: 50px; }
.light-heading .eyebrow, .light-heading h2 { grid-column: 1; }
.light-heading h2 { color: white; }
.light-heading > p:last-child { grid-column: 2; grid-row: 1 / 3; color: rgba(255,255,255,0.62); font-size: 13px; line-height: 1.7; }
.coalition-grid { display: grid; margin-top: 60px; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coalition-card { position: relative; min-height: 285px; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,0.13); border-radius: 26px; background: rgba(255,255,255,0.065); }
.coalition-card::before { position: absolute; right: -45px; bottom: -70px; width: 210px; height: 210px; content: ""; border-radius: 50%; background: var(--coalition-color); opacity: 0.18; filter: blur(2px); }
.coalition-index { color: rgba(255,255,255,0.38); font-size: 9px; font-weight: 850; letter-spacing: 0.12em; }
.coalition-members { position: relative; display: flex; margin-top: 52px; }
.coalition-members span { display: grid; width: 58px; height: 58px; margin-left: -8px; place-items: center; color: white; border: 3px solid #0a315c; border-radius: 50%; background: color-mix(in srgb, var(--coalition-color) 78%, #061a35); font-family: var(--serif); font-size: 12px; font-weight: 700; }
.coalition-members span:first-child { margin-left: 0; }
.coalition-card h3 { position: relative; margin-top: 24px; font-family: var(--serif); font-size: 31px; font-weight: 400; letter-spacing: -0.04em; }
.coalition-card p { position: relative; margin-top: 5px; color: rgba(255,255,255,0.58); font-size: 11px; }
.coalition-red { --coalition-color: #b92222; }
.coalition-blue { --coalition-color: #3e73da; }
.coalition-gold { --coalition-color: #d39a30; }
.coalition-source { display: inline-flex; margin-top: 32px; padding-bottom: 5px; align-items: center; gap: 10px; color: #a7e9d6; border-bottom: 1px solid rgba(167,233,214,0.3); font-size: 10px; font-weight: 850; }

.party-directory { padding-block: 140px; }
.directory-heading { display: grid; align-items: end; grid-template-columns: 1fr 0.64fr; gap: 60px; }
.directory-heading > p { max-width: 500px; padding-bottom: 8px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.party-grid { display: grid; margin-top: 70px; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }

.directory-party {
  --party: #1769e0;
  position: relative;
  display: flex;
  min-height: 340px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 10px 35px rgba(7,31,72,0.045);
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.directory-party::before { position: absolute; top: 0; left: 0; width: 5px; height: 100%; content: ""; background: var(--party); }
.directory-party::after { position: absolute; top: -115px; right: -115px; width: 250px; height: 250px; content: ""; border: 1px solid color-mix(in srgb, var(--party) 18%, transparent); border-radius: 50%; box-shadow: 0 0 0 28px color-mix(in srgb, var(--party) 4%, transparent), 0 0 0 56px color-mix(in srgb, var(--party) 2%, transparent); }
.directory-party:hover { z-index: 2; border-color: color-mix(in srgb, var(--party) 25%, transparent); box-shadow: 0 25px 65px rgba(7,31,72,0.11); transform: translateY(-5px); }
.party-top { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.party-monogram { display: grid; width: 62px; height: 62px; place-items: center; color: white; border-radius: 17px; background: var(--party); box-shadow: 0 12px 25px color-mix(in srgb, var(--party) 22%, transparent); font-family: var(--serif); font-size: 14px; font-weight: 700; }
.status { display: inline-flex; padding: 6px 9px; color: #496079; border: 1px solid rgba(8,42,94,0.1); border-radius: 999px; background: rgba(8,42,94,0.04); font-size: 7px; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.status.senate { color: #a72222; background: #fff0f0; }
.status.active { color: #067855; background: #e8f8f1; }
.status.registry { color: #785412; background: #fff6df; }
.status.satire { color: #784696; background: #f7effb; }
.party-body { position: relative; z-index: 1; margin-top: 44px; }
.party-group { color: var(--party) !important; font-size: 8px !important; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.party-body h3 { max-width: 500px; margin-top: 8px; font-family: var(--serif); font-size: clamp(28px, 3.1vw, 41px); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.party-body > p:last-child { max-width: 540px; margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.directory-party footer { position: relative; z-index: 1; display: flex; margin-top: auto; padding-top: 23px; align-items: end; justify-content: space-between; gap: 20px; color: #8290a2; font-size: 8px; font-weight: 750; }
.directory-party footer a { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; color: var(--party); border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 14px; transition: color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease); }
.directory-party footer a:hover { color: white; background: var(--party); transform: rotate(45deg); }

.coalition-family-red { --party: #b92222; }
.coalition-family-red-soft { --party: #d96767; }
.coalition-family-blue { --party: #3568d4; }
.coalition-family-blue-soft { --party: #6f91e4; }
.coalition-family-gold { --party: #b57c19; }
.coalition-family-gold-mid { --party: #d3a043; }
.coalition-family-gold-soft { --party: #e0bd78; }
.independent-family { --party: #1f6c88; }
.independent-family-green { --party: #2b8a6c; }
.joke-family-purple { --party: #8f59aa; }
.joke-family-cyan { --party: #2697a0; }
.joke-family-orange { --party: #ce6e31; }
.joke-family-pink { --party: #c6537c; }

.directory-note { display: grid; margin-top: 26px; padding: 24px 26px; align-items: start; grid-template-columns: 34px 1fr; gap: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.62); }
.directory-note > span { display: grid; width: 32px; height: 32px; place-items: center; color: white; border-radius: 50%; background: var(--blue); font-family: var(--serif); font-weight: 700; }
.directory-note p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.directory-note strong { color: var(--navy); }

.directory-closing { padding-bottom: 90px; }
.closing-card { display: flex; min-height: 270px; padding: 48px; align-items: center; justify-content: space-between; gap: 50px; color: white; border-radius: 32px; background: radial-gradient(circle at 78% 30%, rgba(40,178,138,0.33), transparent 28%), linear-gradient(120deg, #071f48, #0a4e64); box-shadow: var(--shadow); }
.closing-card h2 { margin-top: 10px; font-family: var(--serif); font-size: clamp(43px, 5vw, 68px); font-weight: 400; letter-spacing: -0.055em; line-height: 0.95; }
.closing-actions { display: flex; min-width: 245px; align-items: stretch; flex-direction: column; gap: 18px; }
.light-button { color: var(--deep); background: white; }
.light-button:hover { color: white; background: var(--blue); }
.light-link { justify-content: center; color: rgba(255,255,255,0.7); }

.directory-footer { display: grid; min-height: 140px; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 30px; border-top: 1px solid var(--line); }
.directory-footer .directory-brand { color: var(--navy); }
.directory-footer .directory-brand small { color: var(--muted); }
.directory-footer p { color: var(--muted); font-size: 9px; }
.directory-footer > a:last-child { justify-self: end; color: var(--blue); font-size: 10px; font-weight: 850; }

@media (max-width: 900px) {
  .directory-nav-links { display: none; }
  .directory-nav { gap: 10px; }
  .back-link { margin-left: auto; }
  .hero-layout { grid-template-columns: 1fr 220px; gap: 35px; }
  .hero-copy h1 { font-size: clamp(66px, 11vw, 100px); }
  .directory-stamp { min-height: 285px; }
  .light-heading, .directory-heading { grid-template-columns: 1fr; gap: 18px; }
  .light-heading > p:last-child { max-width: 580px; grid-column: 1; grid-row: auto; }
  .coalition-grid { grid-template-columns: 1fr; }
  .presidential-office { grid-template-columns: 1fr; }
  .office-portrait { min-height: 520px; }
  .presidential-office .office-copy { padding: 25px 20px 38px; }
  .cabinet-heading { grid-template-columns: 1fr; gap: 18px; }
  .coalition-card { min-height: 220px; }
  .coalition-members { margin-top: 30px; }
  .party-grid { grid-template-columns: 1fr; }
  .closing-card { align-items: flex-start; flex-direction: column; }
  .closing-actions { width: 100%; }
  .directory-footer { grid-template-columns: 1fr auto; }
  .directory-footer p { display: none; }
}

@media (max-width: 650px) {
  :root { --page: calc(100vw - 28px); }
  .directory-header { top: 10px; }
  .directory-nav { width: calc(100vw - 20px); min-height: 64px; padding: 8px; border-radius: 18px; }
  .directory-flag { width: 45px; height: 33px; }
  .directory-brand strong { font-size: 14px; }
  .directory-brand small { display: none; }
  .back-link { min-height: 42px; padding-inline: 12px; font-size: 0; }
  .back-link span { font-size: 18px; }
  .directory-hero { min-height: 860px; padding-top: 120px; }
  .hero-layout { padding-bottom: 70px; grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-top: 40px; }
  .hero-copy h1 { margin-top: 18px; font-size: clamp(55px, 17vw, 78px); }
  .hero-intro { margin-top: 27px; font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .primary-button { width: 100%; }
  .directory-stamp { min-height: 250px; }
  .directory-stamp strong { font-size: 52px; }
  .office-section, .party-directory { padding-block: 90px; }
  .section-heading h2 { font-size: clamp(45px, 13vw, 62px); }
  .presidential-office { min-height: 0; margin-top: 40px; padding: 17px; gap: 20px; border-radius: 24px; }
  .office-portrait { min-height: 340px; border-radius: 19px; }
  .presidential-office .office-copy { padding: 23px 8px 28px; }
  .presidential-office .office-copy h3 { font-size: 49px; }
  .cabinet-heading { margin-top: 78px; }
  .cabinet-grid { grid-template-columns: 1fr; }
  .cabinet-card { min-height: 0; padding: 21px; grid-template-columns: 52px 1fr; gap: 16px; }
  .cabinet-initial { width: 52px; height: 52px; }
  .cabinet-source { grid-template-columns: 1fr; }
  .office-placeholder { min-height: 0; margin-top: 40px; padding: 25px; grid-template-columns: 1fr; gap: 30px; border-radius: 24px; }
  .office-seal { width: 145px; height: 145px; }
  .office-seal span { font-size: 52px; }
  .office-seal i { height: 9px; transform-origin: 50% 72px; }
  .office-seal i:nth-of-type(1) { transform: translateX(-50%) rotate(0deg); }
  .office-seal i:nth-of-type(2) { transform: translateX(-50%) rotate(120deg); }
  .office-seal i:nth-of-type(3) { transform: translateX(-50%) rotate(240deg); }
  .office-copy h3 { font-size: 42px; }
  .office-copy > p { font-size: 12px; }
  .office-number { top: 22px; right: 23px; }
  .coalition-section { padding-block: 90px; }
  .coalition-grid { margin-top: 42px; }
  .coalition-card { min-height: 225px; padding: 23px; }
  .party-grid { margin-top: 45px; }
  .directory-party { min-height: 330px; padding: 22px; border-radius: 22px; }
  .party-body { margin-top: 36px; }
  .party-body h3 { font-size: 32px; }
  .directory-note { padding: 20px; grid-template-columns: 1fr; }
  .closing-card { min-height: 0; padding: 38px 25px; border-radius: 24px; }
  .directory-closing { padding-bottom: 50px; }
  .directory-footer { min-height: 125px; grid-template-columns: 1fr; }
  .directory-footer > a:last-child { justify-self: start; }
}

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