/* Local design candidate: site typography and layout. Verify is outside this candidate. */
:root{
  --white:#faf8f3;
  --ink:#18232b;
  --muted:#46515a;
  --black:#101a21;
  --near-black:#15242e;
  --gold:#D4AF37;
  --gold-accent:#D4AF37;
  --gold-text:#725521;
  --rule:#d5cbb9;
  --serif:Georgia,"Iowan Old Style",Palatino,serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
html{scroll-padding-top:1rem}
body{background:#faf8f3;color:var(--ink);line-height:1.8}
body:lang(fa),body:lang(ar),[dir=rtl]{font-family:"Vazirmatn","Noto Naskh Arabic","Geeza Pro",Tahoma,Arial,sans-serif;line-height:1.9}
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3{font-family:"Vazirmatn","Noto Naskh Arabic","Geeza Pro",Tahoma,Arial,sans-serif;line-height:1.5;font-weight:650}
h1,h2,h3{color:inherit;letter-spacing:-.025em}
h1{font-size:clamp(2.35rem,5vw,4.9rem)}
h2{font-size:clamp(1.8rem,3.2vw,3rem)}
h3{font-size:clamp(1.2rem,1.7vw,1.6rem)}
p{line-height:1.85}
.quiet{color:#4e5861}
.kicker{color:var(--gold-text);font-weight:750;letter-spacing:.11em}
[dir=rtl] .kicker{letter-spacing:0}
a:focus-visible,summary:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a77922;outline-offset:4px;border-radius:2px}
.skip-link{z-index:1000}
.wrap{width:min(100% - clamp(2rem,6vw,7rem),1240px)}
@media(min-width:1440px){.wrap{width:min(100% - 7rem,1280px)}}
.section{padding-block:clamp(3.8rem,8vw,7.5rem)}
.site-header{background:#101a21;color:#faf5e9;border-block-end:1px solid #b79653}
.site-header .identity{text-decoration:none}
.site-header .identity strong{font-weight:650;line-height:1.15}
.site-header .identity span{color:#e3c47f}
.site-header .desktop-nav{border-color:#50606a}
.site-header .desktop-nav a{font-weight:650;letter-spacing:.01em;position:relative}
.site-header .desktop-nav a:hover,.site-header .desktop-nav a[aria-current]{color:#f2d99a}
.site-header .desktop-nav a[aria-current]{text-decoration:none}
.site-header .desktop-nav a[aria-current]::after{content:"";position:absolute;inset-inline:0;inset-block-end:0;height:3px;background:#e3c47f}
.site-header .language-menu summary,.site-header .mobile-nav summary{border-color:#b79653;color:#faf5e9}
.site-header .language-menu nav{background:#15242e;color:#faf5e9;border:1px solid #b79653}
.site-header .mobile-nav nav a{border-color:#50606a}
.site-header .mobile-nav nav a[aria-current]{color:#f2d99a}

/* Home: official identity first, historical images adjacent to their source account. */
body.route-home .home-opening{background:radial-gradient(ellipse at 75% 10%,#223845 0,#14232c 44%,#0b151b 100%);border-block-end:3px solid #a88142}
body.route-home .home-opening>.wrap{min-height:480px;align-items:center}
body.route-home .home-opening h1{max-width:18ch;font-size:clamp(2.8rem,5.2vw,5.6rem);letter-spacing:-.035em;text-wrap:balance}
body.route-home .home-opening .second-name{color:#f1d597;font-weight:600}
body.route-home .opening-bottom{border-block-start:1px solid #ffffff42;padding-block-start:1.6rem;align-items:center}
body.route-home .opening-bottom p{font-size:clamp(1.06rem,1.35vw,1.23rem);line-height:1.75}
body.route-home .opening-bottom .text-link{color:#f4daa1;border-color:#f4daa1;font-weight:700}
body.route-home .home-opening>.wrap::after{filter:saturate(.55) contrast(1.06);opacity:.9;box-shadow:none}
body.route-home .historical-story{padding-block:clamp(4.5rem,9vw,8.5rem);border-block-end:1px solid var(--rule);gap:clamp(2rem,5vw,5rem) clamp(2rem,7vw,7rem)}
body.route-home .historical-story .story-copy{padding:0}
body.route-home .historical-story h2{max-width:18ch}
body.route-home .historical-story .quiet{font-size:1rem;line-height:1.85}
body.route-home .historical-story .historical-portrait{max-width:300px;padding:9px;border:1px solid #b99b65;background:#eee9dd;box-shadow:0 18px 42px #14232c18}
body.route-home .historical-story .historical-gallery{gap:2rem}
body.route-home .historical-story .historical-gallery figure{padding-block-start:1rem;border-block-start:1px solid var(--rule)}
body.route-home .historical-story .historical-gallery figure img{border:0;background:transparent}
body.route-home .founder-story{padding-block:clamp(5rem,8.5vw,8.5rem);border-block-end:1px solid var(--rule);gap:clamp(2.5rem,6vw,6rem)}
body.route-home .founder-story>div{max-width:72ch}
body.route-home .founder-story .founder-portrait-card{box-sizing:border-box;width:min(100%,410px);max-width:410px;padding:clamp(14px,2.2vw,20px);border:1.5px solid #D4AF37;border-radius:3px;background:linear-gradient(155deg,#fcfaf4 0%,#ede4d4 100%);box-shadow:0 20px 45px rgba(17,33,42,0.18),0 0 0 1px rgba(212,175,55,0.25);overflow:hidden}
body.route-home .founder-story .founder-portrait-card img{display:block;width:100%;height:auto;object-fit:contain;border:1px solid rgba(212,175,55,0.4);border-radius:2px;background:transparent;filter:none}
body.route-home .director-entry{background:#172833;color:#faf6ec;border-block:1px solid #9b7c43}
body.route-home .director-entry .kicker{color:#e8c986}
body.route-home .director-entry .director-entry-summary{color:#f0ece3}
body.route-home .bridge-entry{background:#11212a;color:#faf6ec;border-block:0}
body.route-home .bridge-entry .kicker{color:#e8c986}

/* Internal pages: document-like reading rhythm rather than repeated decorative panels. */
.page-intro{background:#f1ece1;border-block-end:1px solid var(--rule);padding-block:clamp(3.5rem,7vw,6rem)}
.page-intro h1{max-width:20ch}
.page-intro .lede{max-width:67ch;color:#33414b}
main>.wrap.section,main>.section>.wrap{scroll-margin-top:1.5rem}
.reading,.essay,.entity-essay,.privacy-notice,.legal-guide{font-size:clamp(1rem,1.13vw,1.11rem)}
.reading,.privacy-notice{max-width:860px;margin-inline:auto}
.reading p,.essay p,.entity-essay p,.privacy-notice p{max-width:82ch;line-height:1.74}
.reading h2,.essay h2,.entity-essay h2{margin-block:2.5rem 1.1rem}
.entity-essay{max-width:1160px;margin-inline:auto}
.entity-essay section{display:grid;grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr);gap:clamp(1.8rem,3.8vw,4.5rem);padding-block:clamp(2.2rem,4vw,3.6rem);border-block-end:1px solid var(--rule)}
.entity-essay section h2{font-size:clamp(1.45rem,2.2vw,2.1rem);line-height:1.32;color:#17252e}
@media(max-width:860px){.entity-essay section{display:block;padding-block:1.8rem}.entity-essay section h2{margin-block-end:1rem}}
.organization-row{border-block-end:1px solid var(--rule);padding-block:clamp(1.4rem,2.5vw,2.4rem)}
.organization-row:hover{background:#f3efe7}
.organization-row a{overflow-wrap:anywhere}
.entity-name{overflow-wrap:anywhere}
.site-footer{background:#101a21;color:#f8f4ea;border-block-start:3px solid #a88142}
.site-footer a{color:#f8f4ea}
.site-footer a:hover{color:#f3d89b}
.site-footer .footer-group h2,.site-footer .footer-group h3{color:#f0d08b}
.site-footer .seal{object-fit:contain}

@media(max-width:760px){
  .wrap{width:calc(100% - 2.25rem)}
  .section{padding-block:3.4rem}
  .site-header .masthead{gap:.9rem}
  .site-header .identity strong{font-size:clamp(1.12rem,4.5vw,1.4rem)}
  .site-header .mobile-nav summary{min-height:52px}
  body.route-home .home-opening>.wrap{min-height:0;padding-block:3.5rem 4rem}
  body.route-home .home-opening h1{font-size:clamp(2.15rem,8vw,3.65rem);max-width:20ch}
  body.route-home .opening-bottom{display:block;margin-block-start:2rem}
  body.route-home .home-opening>.wrap::after{width:min(58vw,220px);margin-block-start:2.8rem}
  body.route-home .historical-story{display:block}
  body.route-home .historical-story .historical-portrait{width:min(75%,290px);margin:2.4rem auto}
  body.route-home .historical-story .biography-copy{padding:0}
  body.route-home .historical-story .historical-gallery{display:grid;grid-template-columns:1fr;gap:1.2rem;margin-block-start:2.4rem}
  body.route-home .historical-story .historical-gallery figure{max-width:100%;padding-block-start:1.2rem}
  body.route-home .founder-story{display:flex;flex-direction:column;gap:2rem}
  body.route-home .founder-story>div{order:1}
  body.route-home .founder-story .founder-portrait-card{order:2;width:min(72%,310px);margin-inline:auto}
}
@media(max-width:390px){.wrap{width:calc(100% - 2rem)}body.route-home .home-opening h1{font-size:2.15rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

main:focus{outline:3px solid #a77922;outline-offset:-3px}

/* Founder declaration path and documentary portrait frame */
body.route-home .founder-story .founder-portrait-card{box-sizing:border-box;padding:clamp(10px,2vw,16px);border:1px solid #9b7837;border-radius:2px;background:linear-gradient(145deg,#f8f5ec,#e8e0d0);box-shadow:0 18px 38px #13212a22;overflow:hidden}
body.route-home .founder-story .founder-portrait-card img{aspect-ratio:auto;object-fit:contain;filter:none}
.founder-declaration-link{display:inline-flex;align-items:center;gap:.8rem;flex-wrap:wrap;min-height:48px;margin-block:1rem 1.8rem;padding:.65rem 1rem;border:1px solid #8b682e;border-radius:2px;color:#13232d;background:#f2ead9;text-decoration:none;font-weight:700;line-height:1.5;transition:background .18s ease,box-shadow .18s ease}
.founder-declaration-link:hover{background:#e7d7b7;box-shadow:0 6px 16px #13212a20}
.founder-declaration-link:focus-visible{outline:3px solid #1361bd;outline-offset:3px}
.founder-declaration-link .declaration-date{font-size:.83em;font-weight:500;color:#59431e}
.founder-declaration-link .declaration-arrow{font-size:1.25em;line-height:1}
@media(prefers-reduced-motion:reduce){.founder-declaration-link{transition:none}}

/* Persian historical account follows the site’s portrait and document rhythm. */
html[lang="fa"] body.route-home .historical-story{display:block;padding-block:clamp(3.5rem,6vw,6rem)}
html[lang="fa"] body.route-home .historical-intro{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);align-items:center;gap:clamp(2rem,5vw,5rem);padding:clamp(1.5rem,4vw,3rem);background:#111d26;color:#f9f4e8;border:1px solid #b3975d;box-shadow:0 18px 46px #17232b1c}
html[lang="fa"] body.route-home .historical-intro .story-copy{min-width:0;border:0;padding:0;grid-column:auto;grid-row:auto}
html[lang="fa"] body.route-home .historical-intro h2{max-width:none;margin:0;font-family:Tahoma,Arial,sans-serif;font-size:clamp(2rem,3vw,3.4rem);font-weight:700;line-height:1.4;color:#f9f4e8}
html[lang="fa"] body.route-home .historical-intro .historical-honorific{display:block;color:#d9bd7c;font-size:.48em;font-weight:600;line-height:1.7}
html[lang="fa"] body.route-home .historical-intro h2 bdi{display:block;direction:ltr;text-align:start;margin-block-start:.3rem;font-family:Arial,Helvetica,sans-serif;font-size:1em;font-weight:700;line-height:1.25}
html[lang="fa"] body.route-home .historical-intro .historical-role{max-width:none;margin-block-start:1.5rem;color:#f2ead9;font-size:clamp(1rem,1.25vw,1.2rem);font-weight:600;line-height:1.8}
html[lang="fa"] body.route-home .historical-intro .historical-portrait{box-sizing:border-box;grid-column:auto;grid-row:auto;width:min(100%,370px);max-width:370px;margin:0;justify-self:center;padding:8px;border:1px solid #b3975d;background:#0c151b;box-shadow:0 14px 34px #0005}
html[lang="fa"] body.route-home .historical-intro .historical-portrait img{display:block;width:100%;height:auto;border:1px solid #b3975d55;object-fit:contain;background:transparent}
html[lang="fa"] body.route-home .historical-story .biography-copy{box-sizing:border-box;display:block;width:100%;max-width:none;margin:0;padding:clamp(3rem,5vw,5rem) clamp(0rem,2vw,1rem);border-block-end:1px solid var(--rule)}
html[lang="fa"] body.route-home .historical-story .biography-copy h3{margin:0 0 1.5rem;font-family:Tahoma,Arial,sans-serif;font-size:clamp(1.7rem,2.5vw,2.4rem);font-weight:700;line-height:1.5;color:#17252e}
html[lang="fa"] body.route-home .historical-story .biography-copy p{max-width:none;margin-block:0 1.25rem;font-size:clamp(1.05rem,1.15vw,1.2rem);line-height:1.9}
html[lang="fa"] body.route-home .historical-story .historical-gallery{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;margin:0}
html[lang="fa"] body.route-home .historical-story .historical-gallery figure{box-sizing:border-box;width:min(100%,818px);max-width:818px;margin:clamp(3rem,5vw,5rem) auto 0;padding:0;border:0}
html[lang="fa"] body.route-home .historical-story .historical-gallery figure img{display:block;width:100%;height:auto;border:1px solid #b3975d;background:transparent;object-fit:contain}
html[lang="fa"] body.route-home .historical-story .ecclesiastical-context,
html[lang="fa"] body.route-home .historical-story .historical-governance{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:clamp(2rem,4vw,3.5rem) clamp(0rem,2vw,1rem);border-block-end:1px solid var(--rule)}
html[lang="fa"] body.route-home .historical-story .ecclesiastical-context h3{max-width:none;margin:0 0 1.5rem;font-family:Tahoma,Arial,sans-serif;font-size:clamp(1.7rem,2.5vw,2.4rem);font-weight:700;line-height:1.5;color:#17252e}
html[lang="fa"] body.route-home .historical-story .ecclesiastical-context h4,
html[lang="fa"] body.route-home .historical-story .historical-governance h4{max-width:none;margin:1.8rem 0 .8rem;font-family:Tahoma,Arial,sans-serif;font-size:clamp(1.15rem,1.5vw,1.4rem);font-weight:700;line-height:1.6;color:#755a2d}
html[lang="fa"] body.route-home .historical-story .historical-governance h4:first-child{margin-block-start:0}
html[lang="fa"] body.route-home .historical-story .ecclesiastical-context p,
html[lang="fa"] body.route-home .historical-story .historical-governance p,
html[lang="fa"] body.route-home .historical-story .historical-governance li,
html[lang="fa"] body.route-home .historical-story .historical-governance dt,
html[lang="fa"] body.route-home .historical-story .historical-governance dd{max-width:none;margin-block:.7rem 1.2rem;font-size:clamp(1.05rem,1.15vw,1.2rem);line-height:1.9;overflow-wrap:anywhere}
html[lang="fa"] body.route-home .historical-story .historical-governance ul{margin:1rem 0;padding-inline-start:1.6rem;list-style:disc}
html[lang="fa"] body.route-home .historical-story .historical-governance li{padding-block:.15rem;margin-block:0}
html[lang="fa"] body.route-home .historical-story .historical-governance dl{margin:0}
html[lang="fa"] body.route-home .historical-story .historical-governance dt{font-weight:700;margin-block:1.25rem .2rem}
html[lang="fa"] body.route-home .historical-story .historical-governance dd{direction:ltr;text-align:start;color:#51606b;margin-block:0}
html[lang="fa"] body.route-home .historical-story bdi{font-family:inherit;unicode-bidi:isolate}
@media(max-width:760px){
  html[lang="fa"] body.route-home .historical-intro{grid-template-columns:minmax(0,1fr);gap:2rem}
  html[lang="fa"] body.route-home .historical-intro .historical-portrait{width:min(100%,360px);max-width:360px}
  html[lang="fa"] body.route-home .historical-story .biography-copy,
  html[lang="fa"] body.route-home .historical-story .ecclesiastical-context,
  html[lang="fa"] body.route-home .historical-story .historical-governance{padding-inline:0}
}

/* Founder identity: balanced visual stature, quiet authority, and dignified framing */
body.route-home .founder-story{grid-template-columns:minmax(0,0.92fr) minmax(0,1.28fr);align-items:center;gap:clamp(2.5rem,5.5vw,5.5rem)}
body.route-home .founder-story>div{min-width:0;max-width:72ch}
body.route-home .founder-story h2{font-size:clamp(1.9rem,2.8vw,2.75rem);line-height:1.25;margin-block-end:1.35rem;color:#17252e}
body.route-home .founder-profile{padding-inline-start:clamp(1.1rem,2.2vw,1.8rem);border-inline-start:3px solid #D4AF37;color:#172832}
body.route-home .founder-profile p{margin:0}
body.route-home .founder-foundation{font-weight:700;color:#6b4e24;letter-spacing:.02em}
body.route-home .founder-person{font-size:clamp(1.15rem,1.45vw,1.38rem);font-weight:700;line-height:1.5;margin-block:.35rem .9rem!important;color:#14222a}
body.route-home .founder-roles{margin:.9rem 0;padding-inline-start:1.4rem;line-height:1.75}
body.route-home .founder-roles li+li{margin-block-start:.5rem}
body.route-home .founder-signature{margin-block-start:1.1rem!important;font-weight:700;color:#35444e}
body.route-home .founder-profile bdi,body.route-home .founder-profile span[lang]{unicode-bidi:isolate}
@media(max-width:860px){body.route-home .founder-story{display:flex;flex-direction:column;align-items:stretch;gap:2.5rem}body.route-home .founder-story>div{order:1}body.route-home .founder-story .founder-portrait-card{order:2;width:min(85%,360px);max-width:360px;margin-inline:auto}body.route-home .founder-profile{font-size:1.02rem}}
@media(max-width:390px){body.route-home .founder-story .founder-portrait-card{width:100%;padding:10px}}

/* The footer identity returns to the home page. */
.site-footer a.footer-identity{color:inherit;text-decoration:none;min-height:48px;border-radius:2px}
.site-footer a.footer-identity:hover strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.site-footer a.footer-identity:focus-visible{outline:3px solid #e7c16b;outline-offset:5px}

/* Owner-supplied declaration: the source words remain intact in a readable document layout. */
body.route-legal-declaration main{background:#f8f5ed;color:#18252d}
.route-legal-declaration .owner-declaration{font-size:clamp(1rem,1.15vw,1.16rem);line-height:1.95}
.route-legal-declaration .declaration-hero{background:linear-gradient(145deg,#111d26,#172935 65%,#101920);color:#faf7ef;border-block-end:2px solid #ad8b4b;padding-block:clamp(3rem,7vw,6.5rem)}
.route-legal-declaration .declaration-hero-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(245px,.65fr);gap:clamp(2rem,6vw,6rem);align-items:center}
.route-legal-declaration .declaration-hero-copy{min-width:0}
.route-legal-declaration .declaration-hero h1{font-size:clamp(2.1rem,4.1vw,4.2rem);max-width:22ch;line-height:1.35;margin-block-end:1.5rem;color:#fffaf0}
.route-legal-declaration .declaration-hero h2{font-family:var(--serif);font-size:clamp(1.3rem,2vw,1.9rem);font-weight:650;color:#e7c982;margin-block:.2rem .5rem}
.route-legal-declaration .declaration-hero h3{font-family:var(--serif);font-size:clamp(1rem,1.3vw,1.18rem);font-weight:500;line-height:1.5;color:#eee5d1;margin-block:.2rem}
.route-legal-declaration .declaration-hero p{max-width:64ch;color:#f0ede5;margin-block-start:1.25rem}
.route-legal-declaration .declaration-portrait{margin:0;padding:10px;border:1px solid #ad8b4b;background:#0d151b;box-shadow:0 20px 40px #0004}
.route-legal-declaration .declaration-portrait img{display:block;width:100%;height:auto;object-fit:contain}
.route-legal-declaration .declaration-content{max-width:1080px;padding-block:clamp(3rem,7vw,6rem) clamp(5rem,9vw,8rem)}
.route-legal-declaration .declaration-content h2{max-width:none;font-size:clamp(1.65rem,2.7vw,2.6rem);line-height:1.45;margin-block-end:1.5rem;color:#172832}
.route-legal-declaration .declaration-content p{max-width:82ch;line-height:2.05;margin-block-start:1.15rem;color:#22313a}
.route-legal-declaration .declaration-content strong{font-weight:750;color:#14232d}
.route-legal-declaration .declaration-rule{border:0;border-block-start:1px solid #cbbd9e;margin-block:clamp(2.7rem,5.5vw,5rem)}
.route-legal-declaration .owner-declaration br{line-height:1.7}
@media(max-width:760px){.route-legal-declaration .declaration-hero-layout{grid-template-columns:minmax(0,1fr)}.route-legal-declaration .declaration-portrait{width:min(100%,320px);justify-self:center}.route-legal-declaration .declaration-content p{max-width:100%}}
.route-legal-declaration .declaration-context-link{margin-block:1.4rem 0}
.route-legal-declaration .declaration-context-link a{display:inline-flex;align-items:center;gap:.9rem;min-height:48px;padding:.55rem 1.2rem;border:1px solid #8c6b35;border-radius:2px;background:#efe5cf;color:#172832;text-decoration:none;font-weight:750;line-height:1.6}
.route-legal-declaration .declaration-context-link a:hover{background:#e5d5b4}
.route-legal-declaration .declaration-context-link a:focus-visible{outline:3px solid #a77922;outline-offset:4px}


/* ==========================================================================
   TARGETED REFINEMENTS: LAYOUT BALANCE, NAVIGATION DROPDOWN, & UNIFIED FOOTER
   ========================================================================== */

/* 1. Accessible Navigation Submenu */
.desktop-nav .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.desktop-nav .nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  color: inherit;
  font: inherit;
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.desktop-nav .nav-dropdown summary::-webkit-details-marker {
  display: none;
}
.desktop-nav .nav-dropdown summary::after {
  content: " ▾";
  font-size: 0.75em;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.desktop-nav .nav-dropdown[open] summary::after {
  transform: rotate(180deg);
}
.desktop-nav .nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  inset-inline-start: 0;
  min-width: 230px;
  background: #141b20;
  border: 1px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  padding: 0.45rem;
  gap: 0.2rem;
  z-index: 100;
}
.desktop-nav .nav-dropdown .dropdown-menu a {
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #f6f2e8;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.desktop-nav .nav-dropdown .dropdown-menu a:hover,
.desktop-nav .nav-dropdown .dropdown-menu a:focus {
  background: var(--gold);
  color: #0b1217;
  font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
  .desktop-nav .nav-dropdown:hover > .dropdown-menu {
    display: flex;
  }
}

/* Mobile Nav Submenu */
.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mobile-nav-parent {
  font-weight: 700;
  color: var(--gold) !important;
}
.mobile-sub-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-inline-start: 1.2rem;
  border-inline-start: 2px solid rgba(212, 175, 55, 0.35);
  margin-inline-start: 0.5rem;
  margin-block: 0.25rem 0.5rem;
}
.mobile-sub-nav a {
  font-size: 0.9em;
  opacity: 0.9;
  min-height: 40px;
}

/* 2. Institutional Framework Layout Balance (Elimination of Empty Space) */
.framework-owner-section {
  border-block-end: 1px solid var(--rule);
  padding-block: clamp(2.5rem, 5vw, 4.2rem);
}
.framework-owner-section:not(#organizations) {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 4.5vw, 4.8rem);
  align-items: start;
}
.framework-owner-section:not(#organizations) > h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1.34;
  color: #17252e;
  position: sticky;
  top: 2rem;
}
.framework-owner-section:not(#organizations) > .framework-owner-content,
.framework-owner-section:not(#organizations) > .framework-owner-prose {
  max-width: 78ch;
  line-height: 1.82;
}
.framework-owner-section p {
  overflow-wrap: anywhere;
}
.framework-owner-prose p,
.framework-owner-content p {
  margin-block: 0 1.25rem;
}
.framework-owner-levels,
.framework-owner-fields {
  max-width: 78ch;
  padding-inline-start: 1.8rem;
  margin-block: 1.25rem 1.8rem;
}
.framework-owner-levels li,
.framework-owner-fields li {
  padding-block: 0.4rem;
  line-height: 1.74;
}

/* Organizations section: heading and intro with 2-column full-width card register */
#organizations.framework-owner-section {
  display: block;
}
#organizations.framework-owner-section > h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  line-height: 1.3;
  margin-block: 0 1rem;
  color: #17252e;
}
#organizations.framework-owner-section > p {
  max-width: 78ch;
  line-height: 1.74;
  margin-block-end: 2rem;
}
.framework-owner-register {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-block-start: 2rem;
}
.framework-owner-card {
  border: 1px solid var(--rule);
  border-block-start: 3px solid var(--gold);
  border-radius: 4px;
  background: #faf8f3;
  padding: clamp(1.4rem, 2.3vw, 2.2rem);
  min-width: 0;
  box-shadow: 0 4px 14px rgba(19, 33, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.framework-owner-card:hover {
  background: #fdfcf9;
  box-shadow: 0 10px 24px rgba(19, 33, 42, 0.08);
}
.framework-owner-card.org-pivotal-card {
  grid-column: 1 / -1;
  background: #fdfbf7;
  border-inline: 2px solid var(--gold);
  border-block-start-width: 4px;
}
.framework-owner-card p {
  margin-block: 0.65rem;
  line-height: 1.7;
}
.framework-owner-card .framework-owner-place {
  font-weight: 700;
  color: #6b4e24;
  margin-block-start: 0;
}
.framework-owner-card .framework-owner-categories {
  color: var(--muted);
  font-size: 0.9em;
}
.framework-owner-card .text-link {
  margin-block-start: auto;
  padding-block-start: 0.85rem;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 600;
  color: #172833;
}

@media (max-width: 860px) {
  .framework-owner-section:not(#organizations) {
    display: block;
  }
  .framework-owner-section:not(#organizations) > h2 {
    position: static;
    margin-block-end: 1.25rem;
  }
  .framework-owner-register {
    grid-template-columns: minmax(0, 1fr);
  }
  .framework-owner-card.org-pivotal-card {
    grid-column: 1;
  }
}

/* 3. Centered Single-Column Reading Pages */
.reading,
.privacy-notice {
  max-width: 840px !important;
  margin-inline: auto !important;
  padding-inline: clamp(1rem, 3.5vw, 2.5rem);
}
.reading h2,
.privacy-notice h2 {
  margin-block-start: 2.2rem;
  margin-block-end: 0.8rem;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  color: #17252e;
}
.reading p,
.privacy-notice p {
  line-height: 1.85;
  margin-block-end: 1.25rem;
}

/* 4. Unified High-Dignity Footer Architecture */
.site-footer {
  background: linear-gradient(150deg, #0b1014, #101b22 62%, #080b0d) !important;
  color: #f6f2e8 !important;
  border-block-start: 1px solid var(--gold) !important;
  padding-block: clamp(2.5rem, 4.5vw, 4rem) !important;
  display: block !important;
}
.site-footer .footer-layout {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.15fr) minmax(0, 1.85fr) !important;
  gap: clamp(2rem, 5vw, 4.8rem) !important;
  align-items: start !important;
  min-height: 0 !important;
  padding-block: 0 !important;
}
.site-footer .footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}
.site-footer .footer-identity {
  display: flex !important;
  align-items: center !important;
  gap: 1.1rem !important;
  color: inherit !important;
  text-decoration: none !important;
}
.site-footer .seal {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
  flex: none !important;
}
.site-footer .footer-identity strong {
  display: block !important;
  font: 600 clamp(1rem, 1.25vw, 1.25rem)/1.35 var(--serif) !important;
  color: #fff !important;
}
.site-footer .footer-identity span {
  display: block !important;
  font-size: 0.78rem !important;
  color: var(--gold) !important;
  margin-block-start: 0.25rem !important;
}
.site-footer .footer-desc {
  font-size: 0.88rem !important;
  line-height: 1.68 !important;
  color: #c8cbd0 !important;
  max-width: 42ch !important;
  margin: 0 !important;
}
.site-footer .footer-groups {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(1.2rem, 3vw, 2.5rem) !important;
}
.site-footer .footer-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
}
.site-footer .footer-group-title {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--gold) !important;
  padding-block-end: 0.4rem !important;
  border-block-end: 1px solid rgba(212, 175, 55, 0.25) !important;
  margin-block-end: 0.25rem !important;
}
.site-footer .footer-group a {
  color: #e4e7ea !important;
  text-decoration: none !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  min-height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: color 0.15s ease !important;
}
.site-footer .footer-group a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

@media (max-width: 860px) {
  .site-footer .footer-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2.2rem !important;
  }
  .site-footer .footer-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.8rem !important;
  }
}
@media (max-width: 520px) {
  .site-footer .footer-groups {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.6rem !important;
  }
}

/* 5. Areas of Work: Balanced Full-Width Card Grid (Fix for Narrow Cards & Dead Horizontal Space) */
.route-areas-of-work .framework-owner-section {
  display: block !important;
}
.route-areas-of-work .framework-owner-section > h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  line-height: 1.3;
  margin-block: 0 1rem;
  color: #17252e;
}
.route-areas-of-work .framework-owner-section > .framework-owner-prose {
  max-width: 82ch;
  line-height: 1.74;
  margin-block-end: 2rem;
}
.route-areas-of-work .framework-owner-register {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  width: 100% !important;
}
@media (max-width: 860px) {
  .route-areas-of-work .framework-owner-register {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

