/* =========================================================
   PHASE 2 — DESIGN SYSTEM
   Nabal Kishore Pande
   Structural HTML companion stylesheet
   ========================================================= */

/* ---------------------------------------------------------
   01. TOKENS
   --------------------------------------------------------- */

:root {
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #64748b;
  --paper: #f8fafc;
  --white: #ffffff;
  --line: #dbe3ec;

  --blue-950: #10233f;
  --blue-900: #17365f;
  --blue-800: #1d4f91;
  --blue-700: #2563a9;
  --blue-100: #e7f0fb;

  --indigo-950: #17153d;
  --indigo-900: #25215d;
  --indigo-800: #3730a3;
  --indigo-100: #e9e8ff;

  --teal-950: #083b46;
  --teal-900: #0b5260;
  --teal-700: #0f8191;
  --teal-100: #e1f3f5;

  --cyan-100: #e4f5f7;

  --orange-950: #542b08;
  --orange-900: #7a410b;
  --orange-700: #c66b0b;
  --orange-100: #fff0d8;

  --violet-950: #2e155e;
  --violet-900: #4c1d95;
  --violet-700: #7c3aed;
  --violet-100: #f0e9ff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 4px 18px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 14px 40px rgba(15, 23, 42, 0.11);
  --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.15);

  --container: 1180px;
  --narrow: 860px;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;
  --space-9: 7rem;

  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}


/* ---------------------------------------------------------
   02. RESET / BASE
   --------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

figure {
  margin: 0;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 4px;
}


/* ---------------------------------------------------------
   03. ACCESSIBILITY
   --------------------------------------------------------- */

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

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


/* ---------------------------------------------------------
   04. GLOBAL HEADER
   --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(219, 227, 236, 0.88);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(14px);
}

.site-nav {
  width: min(calc(100% - 2rem), var(--container));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.site-brand {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
}

.site-menu a {
  padding: 0.48rem 0.58rem;
  color: var(--ink-soft);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.site-menu a:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.06);
}

.nav-toggle {
  display: none;
  padding: 0.5rem 0.7rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}


/* ---------------------------------------------------------
   05. LAYOUT
   --------------------------------------------------------- */

.section {
  position: relative;
  overflow: hidden;
  padding: var(--space-9) 0;
}

.section-shell {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
}

.narrow-shell {
  max-width: var(--narrow);
}

.section-heading {
  max-width: 820px;
  margin-bottom: var(--space-6);
}

.section-heading h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-lead {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.section-heading-light h2,
.section-heading-light .section-lead {
  color: var(--white);
}

.section-heading-light .section-lead {
  color: rgba(255, 255, 255, 0.76);
}

.section-kicker,
.eyebrow,
.card-label,
.card-index {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-heading-light .section-kicker,
.theme-discovery .section-kicker,
.theme-action .section-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.section-statement {
  max-width: 760px;
  margin: var(--space-6) 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-heading-light + .section-statement {
  color: rgba(255, 255, 255, 0.82);
}


/* ---------------------------------------------------------
   06. BUTTONS / LINKS
   --------------------------------------------------------- */

.action-row,
.research-actions,
.storefront-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.action-row {
  margin-top: var(--space-5);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(15, 23, 42, 0.14);
}

.button-light {
  color: var(--indigo-950);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-research {
  color: var(--white);
  background: var(--teal-700);
}

.button-research-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.button-publishing {
  color: var(--white);
  background: var(--orange-900);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue-800);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}


/* ---------------------------------------------------------
   07. HERO / ORIENTATION
   --------------------------------------------------------- */

.theme-orientation {
  min-height: min(790px, calc(100vh - 68px));
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 88% 16%, rgba(37, 99, 169, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #edf4fb 58%, #e4edf7 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy {
  max-width: 730px;
}

.eyebrow {
  color: var(--blue-800);
}

.hero-copy h1 {
  margin: 0;
  color: var(--blue-950);
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 9vw, 7.9rem);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.hero-domain {
  max-width: 720px;
  margin: 1.55rem 0 0;
  color: var(--blue-800);
  font-size: clamp(1rem, 2vw, 1.24rem);
  font-weight: 750;
  line-height: 1.45;
}

.hero-proposition {
  max-width: 690px;
  margin: 1.25rem 0 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.hero-support {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.hero-visual {
  width: min(100%, 430px);
  justify-self: end;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% -10% -8% 18%;
  z-index: 0;
  background: rgba(37, 99, 169, 0.12);
  border-radius: 50%;
  filter: blur(18px);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}


/* ---------------------------------------------------------
   08. ROUTES
   --------------------------------------------------------- */

.theme-routes {
  background: var(--white);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.route-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-700);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.route-card:nth-child(2) {
  border-top-color: var(--teal-700);
}

.route-card:nth-child(3) {
  border-top-color: var(--violet-700);
}

.route-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.route-card p:not(.card-index) {
  margin: 1rem 0 1.5rem;
  color: var(--ink-soft);
}

.route-card .text-link {
  margin-top: auto;
}


/* ---------------------------------------------------------
   09. SCHOLARSHIP
   --------------------------------------------------------- */

.theme-scholarship {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 12%, rgba(124, 58, 237, 0.23), transparent 26%),
    linear-gradient(145deg, var(--indigo-950), var(--indigo-900));
}

.scholarship-intro {
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: var(--space-6);
}

.scholarship-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-card {
  min-height: 180px;
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.process-card:first-child {
  padding-left: 0;
}

.process-card:last-child {
  border-right: 0;
}

.process-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.05rem;
}

.process-card p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1rem;
}

.resource-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
}

.resource-primary {
  background: rgba(255, 255, 255, 0.11);
}

.resource-visual {
  background: rgba(0, 0, 0, 0.14);
}

.resource-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.resource-copy {
  padding: 1.5rem;
}

.resource-copy .card-label {
  color: rgba(255, 255, 255, 0.55);
}

.resource-copy h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.resource-copy p:not(.card-label) {
  margin: 0.8rem 0 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.boundary-note {
  max-width: 900px;
  margin: var(--space-6) 0 0;
  padding: 1rem 1.1rem;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.065);
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
}


/* ---------------------------------------------------------
   10. DECISION SYSTEMS
   --------------------------------------------------------- */

.theme-decisions {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 18%, rgba(15, 129, 145, 0.24), transparent 27%),
    linear-gradient(135deg, #071f2a, var(--teal-950));
}

.feature-infographic {
  width: 100%;
  margin: 0 0 var(--space-6);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.feature-infographic img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.decision-stage {
  min-height: 190px;
  padding: 1.5rem;
  background: rgba(7, 31, 42, 0.88);
}

.decision-stage h3 {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
}

.decision-stage p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.9rem;
}

.decision-stage-wide {
  grid-column: 1 / -1;
  min-height: auto;
  background: rgba(15, 129, 145, 0.16);
}

.theme-decisions .section-statement {
  color: rgba(255, 255, 255, 0.76);
}


/* ---------------------------------------------------------
   11. RESEARCH
   --------------------------------------------------------- */

.theme-research {
  color: var(--white);
  background:
    linear-gradient(160deg, #071e38 0%, var(--blue-950) 54%, #103b63 100%);
}

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.evidence-strip div {
  padding: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.evidence-strip div:first-child {
  padding-left: 0;
}

.evidence-strip div:last-child {
  border-right: 0;
}

.evidence-strip strong {
  display: block;
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.evidence-strip span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
}

.research-taxonomy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.research-theme {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
}

.research-theme h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.12rem;
  line-height: 1.2;
}

.research-theme p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.9rem;
}

.research-actions {
  margin-top: var(--space-5);
}

.research-principle {
  max-width: 760px;
  margin-top: var(--space-7);
  padding: 1.6rem;
  background: rgba(15, 129, 145, 0.12);
  border-left: 3px solid var(--teal-700);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.research-principle h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.2rem;
}

.research-principle p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.boundary-note-dark {
  background: rgba(0, 0, 0, 0.14);
}


/* ---------------------------------------------------------
   12. PUBLISHING
   --------------------------------------------------------- */

.theme-publishing {
  background: var(--orange-100);
}

.theme-publishing .section-kicker {
  color: var(--orange-900);
}

.theme-publishing .section-heading h2 {
  color: var(--orange-950);
}

.theme-publishing .section-lead {
  color: #68411b;
}

.theme-publishing .feature-infographic {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(122, 65, 11, 0.14);
}

.publication-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  margin-top: var(--space-6);
}

.publication-group {
  min-width: 0;
}

.publication-group .card-label {
  color: var(--orange-900);
}

.publication-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(122, 65, 11, 0.16);
  border-radius: var(--radius-md);
}

.publication-card img {
  width: 150px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 7px;
}

.publication-card h3,
.bibliographic-card h3 {
  margin: 0;
  color: var(--orange-950);
  font-size: 1.15rem;
  line-height: 1.18;
}

.publication-card p,
.bibliographic-card p {
  margin: 0.55rem 0 0;
  color: #6b4b2b;
  font-size: 0.88rem;
}

.publication-card .text-link,
.bibliographic-card .text-link {
  margin-top: 0.85rem;
  color: var(--orange-900);
}

.bibliographic-card {
  margin-top: 1rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(122, 65, 11, 0.16);
  border-radius: var(--radius-md);
}

.storefront-actions {
  margin-top: var(--space-5);
}

.theme-publishing .boundary-note {
  color: #694719;
  background: rgba(255, 255, 255, 0.55);
  border-left-color: var(--orange-700);
}


/* ---------------------------------------------------------
   13. FOLLOW / PROFESSIONAL PRESENCE
   --------------------------------------------------------- */

.theme-follow {
  background: #f3f5f8;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.platform-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.platform-card .card-label {
  color: var(--muted);
}

.platform-card h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.platform-card p:not(.card-label) {
  margin: 0.7rem 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.platform-card .button {
  margin-top: auto;
  align-self: flex-start;
}


/* ---------------------------------------------------------
   14. DISCOVERY
   --------------------------------------------------------- */

.theme-discovery {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.28), transparent 28%),
    linear-gradient(145deg, var(--violet-950), #19133c);
}

.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.discovery-card {
  min-height: 220px;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.discovery-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.2rem;
}

.discovery-card p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.91rem;
}

.search-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-5);
}

.search-stack span {
  padding: 0.52rem 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
}

.theme-discovery .section-statement {
  color: rgba(255, 255, 255, 0.72);
}


/* ---------------------------------------------------------
   15. QUESTIONS / FAQ
   --------------------------------------------------------- */

.theme-questions {
  background: var(--white);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 1.35rem 3rem 1.35rem 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  color: var(--blue-800);
  font-size: 1.5rem;
  font-weight: 500;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 720px;
  margin: -0.35rem 0 1.4rem;
  padding-right: 2rem;
  color: var(--ink-soft);
}


/* ---------------------------------------------------------
   16. FINAL ACTION
   --------------------------------------------------------- */

.theme-action {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 99, 169, 0.26), transparent 25%),
    linear-gradient(135deg, #050b14, #111827);
}

.action-shell {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.final-actions {
  max-width: 720px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.final-actions .card-label {
  color: rgba(255, 255, 255, 0.5);
}

.final-actions h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.final-actions p:not(.card-label) {
  max-width: 540px;
  margin: 0.75rem 0 1.25rem;
  color: rgba(255, 255, 255, 0.68);
}

.contact-record {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: var(--space-6);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
}


/* ---------------------------------------------------------
   17. FOOTER
   --------------------------------------------------------- */

.site-footer {
  color: #cbd5e1;
  background: #020617;
}

.footer-shell {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-shell strong {
  color: var(--white);
}

.footer-shell p {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
}

.footer-note {
  max-width: 520px;
  justify-self: end;
  color: #94a3b8;
}


/* ---------------------------------------------------------
   18. REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ---------------------------------------------------------
   19. TABLET
   --------------------------------------------------------- */

@media (max-width: 980px) {
  :root {
    --space-9: 5.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.62fr);
    gap: 3rem;
  }

  .route-grid,
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-card:nth-child(2) {
    border-right: 0;
  }

  .process-card:nth-child(3),
  .process-card:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .resource-card:last-child {
    grid-column: 1 / -1;
  }

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

  .decision-stage-wide {
    grid-column: 1 / -1;
  }

  .publication-layout {
    grid-template-columns: 1fr;
  }

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

  .discovery-card:last-child {
    grid-column: 1 / -1;
  }
}


/* ---------------------------------------------------------
   20. MOBILE
   --------------------------------------------------------- */

@media (max-width: 720px) {
  :root {
    --space-9: 4.2rem;
    --space-8: 3.8rem;
  }

  html {
    scroll-padding-top: 70px;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: var(--space-8) 0;
  }

  .section-shell,
  .footer-shell {
    width: min(calc(100% - 2rem), var(--container));
  }

  .site-nav {
    min-height: 62px;
    width: min(calc(100% - 1rem), var(--container));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
    background: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-menu a {
    padding: 0.78rem;
  }

  .theme-orientation {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.35rem, 16vw, 5.4rem);
  }

  .hero-visual {
    width: min(100%, 420px);
    justify-self: start;
  }

  .hero-visual img {
    aspect-ratio: 4 / 5;
  }

  .section-heading h2 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .route-grid,
  .platform-grid,
  .research-taxonomy,
  .discovery-grid {
    grid-template-columns: 1fr;
  }

  .route-card {
    min-height: auto;
  }

  .scholarship-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card,
  .process-card:first-child {
    min-height: auto;
    padding: 1.15rem 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .process-card:first-child {
    border-top: 0;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card:last-child {
    grid-column: auto;
  }

  .resource-primary {
    background: rgba(255, 255, 255, 0.09);
  }

  .decision-grid {
    grid-template-columns: 1fr;
  }

  .decision-stage,
  .decision-stage-wide {
    min-height: auto;
    grid-column: auto;
  }

  .evidence-strip {
    grid-template-columns: 1fr;
  }

  .evidence-strip div,
  .evidence-strip div:first-child {
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .evidence-strip div:last-child {
    border-bottom: 0;
  }

  .publication-card {
    grid-template-columns: 105px minmax(0, 1fr);
  }

  .publication-card img {
    width: 105px;
  }

  .final-actions {
    padding: 1.35rem;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-note {
    justify-self: start;
  }
}


/* ---------------------------------------------------------
   21. SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 460px) {
  .action-row,
  .research-actions,
  .storefront-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .publication-card {
    grid-template-columns: 1fr;
  }

  .publication-card img {
    width: min(180px, 100%);
  }

  .search-stack {
    gap: 0.45rem;
  }

  .search-stack span {
    font-size: 0.7rem;
  }
}
