@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces/fraunces-vietnamese-600.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-vietnamese-400.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces/fraunces-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces/fraunces-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/fraunces/fraunces-vietnamese-700.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/fraunces/fraunces-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/fraunces/fraunces-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-vietnamese-500.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-vietnamese-700.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #10231d;
  --forest: #17392d;
  --moss: #2d6a57;
  --gold: #d58b2a;
  --sand: #f5efe3;
  --paper: #fffaf4;
  --line: rgba(16, 35, 29, 0.12);
  --muted: #5d6d66;
  --shadow: 0 22px 48px rgba(16, 35, 29, 0.12);
  --radius: 22px;
  --lede: #2a3f37;
  --card-bg: rgba(255, 250, 244, 0.9);
  --header-bg: rgba(251, 246, 238, 0.88);
  --header-line: rgba(16, 35, 29, 0.08);
  --footer-line: rgba(16, 35, 29, 0.1);
  --page-spot-1: rgba(213, 139, 42, 0.16);
  --page-spot-2: rgba(45, 106, 87, 0.14);
  --page-bg-top: #fbf6ee;
  --page-bg-bottom: #f4efe6;
  --nav-active-bg: rgba(213, 139, 42, 0.14);
  --nav-active-text: #8a5717;
  --button-line: rgba(23, 57, 45, 0.24);
  --hero-glow-1: rgba(213, 139, 42, 0.26);
  --hero-glow-2: rgba(45, 106, 87, 0.06);
  --date-bg: rgba(213, 139, 42, 0.12);
  --date-text: #8a5717;
  --author-highlight-bg: rgba(213, 139, 42, 0.22);
  --pub-citation: #283a33;
}

:root[data-theme="tidal"] {
  --ink: #10283a;
  --forest: #0f4c5c;
  --moss: #1f6f78;
  --gold: #c97b3b;
  --sand: #e9f1f3;
  --paper: #f7fbfc;
  --line: rgba(16, 40, 58, 0.14);
  --muted: #536c77;
  --shadow: 0 22px 48px rgba(16, 40, 58, 0.12);
  --lede: #264654;
  --card-bg: rgba(247, 251, 252, 0.92);
  --header-bg: rgba(241, 248, 250, 0.9);
  --header-line: rgba(16, 40, 58, 0.08);
  --footer-line: rgba(16, 40, 58, 0.1);
  --page-spot-1: rgba(201, 123, 59, 0.14);
  --page-spot-2: rgba(31, 111, 120, 0.16);
  --page-bg-top: #f2f8fa;
  --page-bg-bottom: #e5eff2;
  --nav-active-bg: rgba(31, 111, 120, 0.14);
  --nav-active-text: #0f4c5c;
  --button-line: rgba(15, 76, 92, 0.24);
  --hero-glow-1: rgba(201, 123, 59, 0.24);
  --hero-glow-2: rgba(31, 111, 120, 0.08);
  --date-bg: rgba(31, 111, 120, 0.12);
  --date-text: #0f4c5c;
  --author-highlight-bg: rgba(201, 123, 59, 0.18);
}

:root[data-theme="cleveland-clinic"] {
  --ink: #111111;
  --forest: #0070a8;
  --moss: #007749;
  --gold: #00a3d7;
  --sand: #eef6f8;
  --paper: #ffffff;
  --line: rgba(17, 17, 17, 0.12);
  --muted: #4f5b66;
  --shadow: 0 22px 48px rgba(0, 112, 168, 0.12);
  --lede: #2f3f4c;
  --card-bg: rgba(255, 255, 255, 0.94);
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-line: rgba(17, 17, 17, 0.08);
  --footer-line: rgba(17, 17, 17, 0.1);
  --page-spot-1: rgba(0, 112, 168, 0.12);
  --page-spot-2: rgba(0, 119, 73, 0.12);
  --page-bg-top: #f7fbfd;
  --page-bg-bottom: #edf5f7;
  --nav-active-bg: rgba(0, 112, 168, 0.12);
  --nav-active-text: #0070a8;
  --button-line: rgba(0, 112, 168, 0.24);
  --hero-glow-1: rgba(0, 112, 168, 0.2);
  --hero-glow-2: rgba(0, 119, 73, 0.08);
  --date-bg: rgba(0, 119, 73, 0.12);
  --date-text: #007749;
  --author-highlight-bg: rgba(0, 163, 215, 0.2);
}

:root[data-theme="galaxy"] {
  --ink: #1f2533;
  --forest: #2c3143;
  --moss: #3d5a80;
  --gold: #4ea4ff;
  --sand: #ecf1f8;
  --paper: #ffffff;
  --line: rgba(31, 37, 51, 0.12);
  --muted: #5b6678;
  --shadow: 0 22px 48px rgba(44, 49, 67, 0.14);
  --lede: #3b4558;
  --card-bg: rgba(255, 255, 255, 0.94);
  --header-bg: rgba(248, 250, 253, 0.92);
  --header-line: rgba(31, 37, 51, 0.08);
  --footer-line: rgba(31, 37, 51, 0.1);
  --page-spot-1: rgba(78, 164, 255, 0.14);
  --page-spot-2: rgba(44, 49, 67, 0.12);
  --page-bg-top: #f5f8fc;
  --page-bg-bottom: #e8edf5;
  --nav-active-bg: rgba(78, 164, 255, 0.14);
  --nav-active-text: #2c3143;
  --button-line: rgba(44, 49, 67, 0.24);
  --hero-glow-1: rgba(78, 164, 255, 0.2);
  --hero-glow-2: rgba(44, 49, 67, 0.08);
  --date-bg: rgba(78, 164, 255, 0.12);
  --date-text: #2c3143;
  --author-highlight-bg: rgba(78, 164, 255, 0.22);
}

:root[data-theme="ember"] {
  --ink: #2d1e1b;
  --forest: #8c3b2e;
  --moss: #b05f3c;
  --gold: #cf8b2e;
  --sand: #f6e9dc;
  --paper: #fff7f0;
  --line: rgba(45, 30, 27, 0.12);
  --muted: #6d5b55;
  --shadow: 0 22px 48px rgba(45, 30, 27, 0.12);
  --lede: #503934;
  --card-bg: rgba(255, 247, 240, 0.92);
  --header-bg: rgba(252, 243, 235, 0.9);
  --header-line: rgba(45, 30, 27, 0.08);
  --footer-line: rgba(45, 30, 27, 0.1);
  --page-spot-1: rgba(207, 139, 46, 0.16);
  --page-spot-2: rgba(176, 95, 60, 0.14);
  --page-bg-top: #fcf2e8;
  --page-bg-bottom: #f2e1d2;
  --nav-active-bg: rgba(207, 139, 46, 0.16);
  --nav-active-text: #8c3b2e;
  --button-line: rgba(140, 59, 46, 0.24);
  --hero-glow-1: rgba(207, 139, 46, 0.24);
  --hero-glow-2: rgba(176, 95, 60, 0.08);
  --date-bg: rgba(207, 139, 46, 0.14);
  --date-text: #8c3b2e;
  --author-highlight-bg: rgba(207, 139, 46, 0.2);
}

:root[data-theme="slate"] {
  --ink: #17212b;
  --forest: #324a5f;
  --moss: #59788e;
  --gold: #c88c3a;
  --sand: #ebedf0;
  --paper: #fafbfc;
  --line: rgba(23, 33, 43, 0.12);
  --muted: #63707d;
  --shadow: 0 22px 48px rgba(23, 33, 43, 0.12);
  --lede: #344350;
  --card-bg: rgba(250, 251, 252, 0.92);
  --header-bg: rgba(246, 248, 249, 0.9);
  --header-line: rgba(23, 33, 43, 0.08);
  --footer-line: rgba(23, 33, 43, 0.1);
  --page-spot-1: rgba(200, 140, 58, 0.14);
  --page-spot-2: rgba(89, 120, 142, 0.14);
  --page-bg-top: #f4f5f7;
  --page-bg-bottom: #e8ebef;
  --nav-active-bg: rgba(89, 120, 142, 0.14);
  --nav-active-text: #324a5f;
  --button-line: rgba(50, 74, 95, 0.24);
  --hero-glow-1: rgba(200, 140, 58, 0.2);
  --hero-glow-2: rgba(89, 120, 142, 0.08);
  --date-bg: rgba(89, 120, 142, 0.12);
  --date-text: #324a5f;
  --author-highlight-bg: rgba(200, 140, 58, 0.18);
}

:root[data-theme="mineral"] {
  --ink: #122529;
  --forest: #1f5a5f;
  --moss: #3b7d77;
  --gold: #b56d3e;
  --sand: #e9f0ec;
  --paper: #f8fbf9;
  --line: rgba(18, 37, 41, 0.12);
  --muted: #5f706a;
  --shadow: 0 22px 48px rgba(18, 37, 41, 0.12);
  --lede: #315155;
  --card-bg: rgba(248, 251, 249, 0.92);
  --header-bg: rgba(242, 248, 245, 0.9);
  --header-line: rgba(18, 37, 41, 0.08);
  --footer-line: rgba(18, 37, 41, 0.1);
  --page-spot-1: rgba(181, 109, 62, 0.14);
  --page-spot-2: rgba(59, 125, 119, 0.16);
  --page-bg-top: #f2f7f4;
  --page-bg-bottom: #e4ece8;
  --nav-active-bg: rgba(59, 125, 119, 0.14);
  --nav-active-text: #1f5a5f;
  --button-line: rgba(31, 90, 95, 0.24);
  --hero-glow-1: rgba(181, 109, 62, 0.2);
  --hero-glow-2: rgba(59, 125, 119, 0.08);
  --date-bg: rgba(59, 125, 119, 0.12);
  --date-text: #1f5a5f;
  --author-highlight-bg: rgba(181, 109, 62, 0.18);
}

:root[data-theme="olive-stone"] {
  --ink: #21261d;
  --forest: #58653b;
  --moss: #78845d;
  --gold: #a7773f;
  --sand: #f0eee1;
  --paper: #fbfaf5;
  --line: rgba(33, 38, 29, 0.12);
  --muted: #696d5f;
  --shadow: 0 22px 48px rgba(33, 38, 29, 0.1);
  --lede: #474d3a;
  --card-bg: rgba(251, 250, 245, 0.92);
  --header-bg: rgba(246, 245, 238, 0.9);
  --header-line: rgba(33, 38, 29, 0.08);
  --footer-line: rgba(33, 38, 29, 0.1);
  --page-spot-1: rgba(167, 119, 63, 0.14);
  --page-spot-2: rgba(120, 132, 93, 0.16);
  --page-bg-top: #f5f4ec;
  --page-bg-bottom: #e8e5d8;
  --nav-active-bg: rgba(120, 132, 93, 0.14);
  --nav-active-text: #58653b;
  --button-line: rgba(88, 101, 59, 0.24);
  --hero-glow-1: rgba(167, 119, 63, 0.2);
  --hero-glow-2: rgba(120, 132, 93, 0.08);
  --date-bg: rgba(120, 132, 93, 0.12);
  --date-text: #58653b;
  --author-highlight-bg: rgba(167, 119, 63, 0.18);
}

:root[data-theme="cobalt"] {
  --ink: #152135;
  --forest: #21558a;
  --moss: #3d78ab;
  --gold: #c99538;
  --sand: #e8eef6;
  --paper: #f9fbff;
  --line: rgba(21, 33, 53, 0.12);
  --muted: #5c6b7d;
  --shadow: 0 22px 48px rgba(21, 33, 53, 0.12);
  --lede: #30445d;
  --card-bg: rgba(249, 251, 255, 0.92);
  --header-bg: rgba(243, 247, 252, 0.9);
  --header-line: rgba(21, 33, 53, 0.08);
  --footer-line: rgba(21, 33, 53, 0.1);
  --page-spot-1: rgba(201, 149, 56, 0.14);
  --page-spot-2: rgba(61, 120, 171, 0.16);
  --page-bg-top: #f2f6fc;
  --page-bg-bottom: #e2eaf5;
  --nav-active-bg: rgba(61, 120, 171, 0.14);
  --nav-active-text: #21558a;
  --button-line: rgba(33, 85, 138, 0.24);
  --hero-glow-1: rgba(201, 149, 56, 0.2);
  --hero-glow-2: rgba(61, 120, 171, 0.08);
  --date-bg: rgba(61, 120, 171, 0.12);
  --date-text: #21558a;
  --author-highlight-bg: rgba(201, 149, 56, 0.18);
}

:root[data-theme="orchard"] {
  --ink: #1d271b;
  --forest: #4f6b2a;
  --moss: #7a9445;
  --gold: #d08b2f;
  --sand: #f1efde;
  --paper: #fcfbf3;
  --line: rgba(29, 39, 27, 0.12);
  --muted: #68715a;
  --shadow: 0 22px 48px rgba(29, 39, 27, 0.11);
  --lede: #47513a;
  --card-bg: rgba(252, 251, 243, 0.92);
  --header-bg: rgba(247, 246, 236, 0.9);
  --header-line: rgba(29, 39, 27, 0.08);
  --footer-line: rgba(29, 39, 27, 0.1);
  --page-spot-1: rgba(208, 139, 47, 0.14);
  --page-spot-2: rgba(122, 148, 69, 0.16);
  --page-bg-top: #f6f4e8;
  --page-bg-bottom: #eae7d4;
  --nav-active-bg: rgba(122, 148, 69, 0.14);
  --nav-active-text: #4f6b2a;
  --button-line: rgba(79, 107, 42, 0.24);
  --hero-glow-1: rgba(208, 139, 47, 0.2);
  --hero-glow-2: rgba(122, 148, 69, 0.08);
  --date-bg: rgba(122, 148, 69, 0.12);
  --date-text: #4f6b2a;
  --author-highlight-bg: rgba(208, 139, 47, 0.18);
}

:root[data-theme="clay"] {
  --ink: #2a1f1c;
  --forest: #9a4f3d;
  --moss: #c07058;
  --gold: #cf9551;
  --sand: #f5e9df;
  --paper: #fff8f3;
  --line: rgba(42, 31, 28, 0.12);
  --muted: #73615c;
  --shadow: 0 22px 48px rgba(42, 31, 28, 0.11);
  --lede: #55403a;
  --card-bg: rgba(255, 248, 243, 0.92);
  --header-bg: rgba(251, 243, 238, 0.9);
  --header-line: rgba(42, 31, 28, 0.08);
  --footer-line: rgba(42, 31, 28, 0.1);
  --page-spot-1: rgba(207, 149, 81, 0.14);
  --page-spot-2: rgba(192, 112, 88, 0.16);
  --page-bg-top: #fcf2ea;
  --page-bg-bottom: #f0dfd2;
  --nav-active-bg: rgba(192, 112, 88, 0.14);
  --nav-active-text: #9a4f3d;
  --button-line: rgba(154, 79, 61, 0.24);
  --hero-glow-1: rgba(207, 149, 81, 0.2);
  --hero-glow-2: rgba(192, 112, 88, 0.08);
  --date-bg: rgba(192, 112, 88, 0.12);
  --date-text: #9a4f3d;
  --author-highlight-bg: rgba(207, 149, 81, 0.18);
}

:root[data-theme="midnight"] {
  --ink: #e8edf4;
  --forest: #7bb0ff;
  --moss: #d8ebff;
  --gold: #d7a34a;
  --sand: #0f1824;
  --paper: #162131;
  --line: rgba(232, 237, 244, 0.12);
  --muted: #eef5ff;
  --shadow: 0 22px 48px rgba(3, 8, 15, 0.42);
  --lede: #f4f8ff;
  --card-bg: rgba(22, 33, 49, 0.92);
  --header-bg: rgba(15, 24, 36, 0.9);
  --header-line: rgba(232, 237, 244, 0.08);
  --footer-line: rgba(232, 237, 244, 0.1);
  --page-spot-1: rgba(215, 163, 74, 0.1);
  --page-spot-2: rgba(123, 176, 255, 0.12);
  --page-bg-top: #101826;
  --page-bg-bottom: #0b121c;
  --nav-active-bg: rgba(123, 176, 255, 0.14);
  --nav-active-text: #dce9ff;
  --button-line: rgba(123, 176, 255, 0.28);
  --hero-glow-1: rgba(215, 163, 74, 0.16);
  --hero-glow-2: rgba(123, 176, 255, 0.08);
  --date-bg: rgba(123, 176, 255, 0.14);
  --date-text: #dce9ff;
  --author-highlight-bg: rgba(215, 163, 74, 0.24);
  --pub-citation: #ffffff;
}

:root[data-theme="plum"] {
  --ink: #2c1f2f;
  --forest: #6d3d78;
  --moss: #91609c;
  --gold: #c78f45;
  --sand: #f2eaf2;
  --paper: #fcf7fc;
  --line: rgba(44, 31, 47, 0.12);
  --muted: #726372;
  --shadow: 0 22px 48px rgba(44, 31, 47, 0.11);
  --lede: #58485a;
  --card-bg: rgba(252, 247, 252, 0.92);
  --header-bg: rgba(247, 241, 247, 0.9);
  --header-line: rgba(44, 31, 47, 0.08);
  --footer-line: rgba(44, 31, 47, 0.1);
  --page-spot-1: rgba(199, 143, 69, 0.14);
  --page-spot-2: rgba(145, 96, 156, 0.16);
  --page-bg-top: #f7f0f7;
  --page-bg-bottom: #ece2ec;
  --nav-active-bg: rgba(145, 96, 156, 0.14);
  --nav-active-text: #6d3d78;
  --button-line: rgba(109, 61, 120, 0.24);
  --hero-glow-1: rgba(199, 143, 69, 0.2);
  --hero-glow-2: rgba(145, 96, 156, 0.08);
  --date-bg: rgba(145, 96, 156, 0.12);
  --date-text: #6d3d78;
  --author-highlight-bg: rgba(199, 143, 69, 0.18);
}

:root[data-theme="high-contrast-light"] {
  --ink: #000000;
  --forest: #000000;
  --moss: #003a8c;
  --gold: #b54700;
  --sand: #ffffff;
  --paper: #ffffff;
  --line: rgba(0, 0, 0, 0.2);
  --muted: #222222;
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  --lede: #111111;
  --card-bg: rgba(255, 255, 255, 0.98);
  --header-bg: rgba(255, 255, 255, 0.96);
  --header-line: rgba(0, 0, 0, 0.14);
  --footer-line: rgba(0, 0, 0, 0.14);
  --page-spot-1: rgba(181, 71, 0, 0.06);
  --page-spot-2: rgba(0, 58, 140, 0.05);
  --page-bg-top: #ffffff;
  --page-bg-bottom: #f3f3f3;
  --nav-active-bg: rgba(0, 0, 0, 0.08);
  --nav-active-text: #000000;
  --button-line: rgba(0, 0, 0, 0.32);
  --hero-glow-1: rgba(181, 71, 0, 0.1);
  --hero-glow-2: rgba(0, 58, 140, 0.05);
  --date-bg: rgba(0, 0, 0, 0.08);
  --date-text: #000000;
  --author-highlight-bg: rgba(255, 225, 0, 0.45);
}

:root[data-theme="high-contrast-dark"] {
  --ink: #ffffff;
  --forest: #ffffff;
  --moss: #9bd1ff;
  --gold: #ffd84d;
  --sand: #000000;
  --paper: #0a0a0a;
  --line: rgba(255, 255, 255, 0.2);
  --muted: #f0f0f0;
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
  --lede: #ffffff;
  --card-bg: rgba(10, 10, 10, 0.98);
  --header-bg: rgba(0, 0, 0, 0.96);
  --header-line: rgba(255, 255, 255, 0.14);
  --footer-line: rgba(255, 255, 255, 0.14);
  --page-spot-1: rgba(255, 216, 77, 0.06);
  --page-spot-2: rgba(155, 209, 255, 0.06);
  --page-bg-top: #000000;
  --page-bg-bottom: #121212;
  --nav-active-bg: rgba(255, 255, 255, 0.12);
  --nav-active-text: #ffffff;
  --button-line: rgba(255, 255, 255, 0.3);
  --hero-glow-1: rgba(255, 216, 77, 0.1);
  --hero-glow-2: rgba(155, 209, 255, 0.06);
  --date-bg: rgba(255, 255, 255, 0.12);
  --date-text: #ffffff;
  --author-highlight-bg: rgba(255, 216, 77, 0.28);
  --pub-citation: #ffffff;
}

:root[data-theme="high-contrast-blue"] {
  --ink: #ffffff;
  --forest: #ffffff;
  --moss: #a9d3ff;
  --gold: #ffe169;
  --sand: #001a4d;
  --paper: #08245f;
  --line: rgba(255, 255, 255, 0.18);
  --muted: #ffffff;
  --shadow: 0 18px 36px rgba(0, 12, 38, 0.38);
  --lede: #ffffff;
  --card-bg: rgba(8, 36, 95, 0.96);
  --header-bg: rgba(0, 20, 64, 0.94);
  --header-line: rgba(255, 255, 255, 0.12);
  --footer-line: rgba(255, 255, 255, 0.12);
  --page-spot-1: rgba(255, 225, 105, 0.08);
  --page-spot-2: rgba(169, 211, 255, 0.08);
  --page-bg-top: #00143d;
  --page-bg-bottom: #0a2a73;
  --nav-active-bg: rgba(255, 255, 255, 0.12);
  --nav-active-text: #ffffff;
  --button-line: rgba(255, 255, 255, 0.28);
  --hero-glow-1: rgba(255, 225, 105, 0.12);
  --hero-glow-2: rgba(169, 211, 255, 0.08);
  --date-bg: rgba(255, 255, 255, 0.14);
  --date-text: #ffffff;
  --author-highlight-bg: rgba(255, 225, 105, 0.28);
  --pub-citation: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--page-spot-1), transparent 26rem),
    radial-gradient(circle at top right, var(--page-spot-2), transparent 28rem),
    linear-gradient(180deg, var(--page-bg-top) 0%, var(--page-bg-bottom) 100%);
}

a {
  color: inherit;
}

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

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

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  text-decoration: none;
}

.brand-kicker {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}

.brand-title {
  display: block;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.nav-links a {
  text-decoration: none;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--nav-active-bg);
  color: var(--nav-active-text);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.85rem 1rem;
  border-radius: 0 0 0.9rem 0.9rem;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 0;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
}

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

.hero-panel,
.card,
.stat-card,
.news-card,
.member-card,
.pub-card,
.note {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.note {
  margin-top: 1rem;
}

.hero-panel {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -4rem -5rem auto;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hero-glow-1), var(--hero-glow-2));
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: var(--moss);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.4rem;
}

.lede,
.section-copy,
.member-card p,
.pub-summary,
.news-card p,
.note,
li,
.meta,
.footer-copy {
  line-height: 1.65;
}

.lede {
  font-size: 1.08rem;
  max-width: 48rem;
  color: var(--lede);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.icon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--forest);
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.icon-link:hover,
.icon-link:focus-visible {
  transform: translateY(-1px);
  background: transparent;
  color: var(--gold);
}

.icon-link i {
  font-size: 1.25rem;
}

.icon-link::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.45rem);
  transform: translateX(-50%) translateY(0.2rem);
  padding: 0.35rem 0.5rem;
  border-radius: 0.45rem;
  background: var(--forest);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.icon-link:hover::after,
.icon-link:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--forest);
  color: white;
}

.button.secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--button-line);
}

.button.secondary:hover {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}

.button.primary:focus-visible,
.button.secondary:focus-visible {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.section {
  padding: 1rem 0 3.5rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.members-section-head {
  margin-top: 2rem;
}

.members-section-head:first-child {
  margin-top: 0;
}

.grid-3,
.grid-2,
.members-grid,
.pub-grid,
.news-grid {
  display: grid;
  gap: 1rem;
}

.grid-3,
.members-grid,
.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.members-grid-pi {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.members-grid-pi .member-card {
  grid-column: 2 / 3;
}

.members-grid-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.members-grid-centered .member-card {
  flex: 0 1 calc((100% - 2rem) / 3);
  max-width: calc((100% - 2rem) / 3);
}

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

.card,
.stat-card,
.news-card,
.member-card,
.pub-card,
.note {
  padding: 1.4rem;
}

.stat-value {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  color: var(--forest);
}

.stat-label {
  margin-top: 0.35rem;
  color: var(--muted);
}

.card-list {
  margin: 0;
  padding-left: 1rem;
}

.news-card,
.pub-card,
.member-card {
  height: 100%;
}

.date {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: var(--date-bg);
  color: var(--date-text);
  font-size: 0.84rem;
  font-weight: 700;
}

.title-link {
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1.5px;
}

.title-link:hover,
.title-link:focus-visible {
  text-decoration-thickness: 2px;
}

.member-card {
  overflow: hidden;
  padding: 0;
}

.member-photo {
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  width: 100%;
}

.member-body {
  padding: 1.35rem;
}

.role {
  margin: 0.35rem 0 0.9rem;
  color: var(--moss);
  font-weight: 700;
}

.member-links,
.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.member-links a,
.source-links a {
  color: var(--forest);
  text-decoration-thickness: 2px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--button-line);
  border-radius: 999px;
  background: var(--card-bg);
  text-decoration: none;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.icon-link:hover,
.icon-link:focus-visible {
  background: var(--nav-active-bg);
  border-color: var(--forest);
  transform: translateY(-1px);
}

.icon-link svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-link i {
  font-size: 1.05rem;
  line-height: 1;
}

.pub-citation {
  margin: 0.75rem 0;
  color: var(--pub-citation);
}

.author-highlight {
  font-weight: 700;
  color: var(--forest);
  background: linear-gradient(transparent 60%, var(--author-highlight-bg) 60%);
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.page-intro {
  padding: 4.25rem 0 2rem;
}

.page-intro-panel {
  padding: 1.8rem;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-copy {
  color: var(--muted);
  border-top: 1px solid var(--footer-line);
  padding-top: 1.3rem;
}

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

.theme-select {
  min-height: 48px;
  padding: 0.75rem 2.5rem 0.75rem 0.95rem;
  border: 1px solid var(--button-line);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--ink);
  font: inherit;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--forest) 50%),
    linear-gradient(135deg, var(--forest) 50%, transparent 50%);
  background-position:
    calc(100% - 1.2rem) calc(50% - 0.15rem),
    calc(100% - 0.85rem) calc(50% - 0.15rem);
  background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
  background-repeat: no-repeat;
}

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

.theme-select-nav {
  min-width: 10.5rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .two-col,
  .grid-3,
  .grid-2,
  .members-grid,
  .pub-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .nav-row {
    align-items: start;
    flex-direction: column;
  }

  .section-head-actions {
    width: 100%;
  }

  .hero {
    padding-top: 3rem;
  }

  .members-grid-pi .member-card {
    grid-column: auto;
  }

  .members-grid-centered .member-card {
    flex-basis: 100%;
    max-width: 100%;
  }
}
