@font-face {
  font-family: 'Source Serif 4';
  src: url('fonts/SourceSerif4-Regular.ttf.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/SourceSans3-Regular.ttf.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('fonts/SourceSans3-Semibold.ttf.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body.institute {
  background-color: #08090b;
  color: #d1d5db;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

body.institute *,
body.institute *::before,
body.institute *::after {
  box-sizing: inherit;
}

body.institute a {
  text-decoration: none;
  color: inherit;
}

body.institute a:focus-visible {
  outline: 2px solid #3a6bba;
  outline-offset: 4px;
}

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

/* Typography Overflows */
.inst-body p, 
.inst-mandate p, 
.inst-support, 
.inst-principle, 
h1, 
h2,
.inst-method-label,
.inst-method span {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Header */
.inst-header {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 24px;
}

.inst-header .inst-brand img {
  width: 220px;
  height: auto;
}

.inst-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.inst-nav a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b909a;
  transition: color 0.2s ease;
}

.inst-nav a:hover {
  color: #d1d5db;
}

@media (max-width: 1024px) {
  .inst-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .inst-header {
    padding: 20px 24px;
  }
  .inst-header .inst-brand img {
    width: 195px;
  }
  .inst-nav {
    gap: 16px 20px;
  }
  .inst-nav a {
    font-size: 12px;
  }
}

/* Hero */
.inst-hero {
  padding: 48px 28px;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inst-hero .inst-emblem {
  width: 160px;
  aspect-ratio: 1254 / 1030;
  height: auto;
  margin-bottom: 40px;
}

.inst-hero h1 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 24px 0;
  color: #ffffff;
}

.inst-support,
.inst-principle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: #a0a5af;
  max-width: 700px;
  margin: 0 0 16px 0;
}

.inst-principle {
  color: #8b909a;
}

@media (max-width: 768px) {
  .inst-hero {
    padding: 24px 24px 48px;
  }
  .inst-hero .inst-emblem {
    width: 128px;
    margin-bottom: 32px;
  }
}

/* Content Sections */
.inst-content {
  padding: 0 28px 120px;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

@media (max-width: 768px) {
  .inst-content {
    padding: 0 24px 80px;
    gap: 48px;
  }
}

.inst-section {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #1c1f26;
  padding-top: 56px;
}

@media (max-width: 768px) {
  .inst-section {
    padding-top: 32px;
  }
}

.inst-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5588de; /* restrained blue accent */
  margin: 0 0 24px 0;
}

.inst-section h2 {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 32px 0;
  color: #ffffff;
}

.inst-body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: #b5bac5;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.inst-body p {
  margin: 0;
}

/* Mandate */
.inst-mandate {
  margin-top: 32px;
  padding-left: 24px;
  border-left: 1px solid #3a6bba;
  display: flex;
  flex-direction: column;
}

.inst-mandate .inst-label {
  color: #3a6bba;
  margin-bottom: 12px;
  font-size: 12px;
}

.inst-mandate p:not(.inst-label) {
  font-family: 'Source Serif 4', serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #d1d5db;
  margin: 0;
}

/* Method Rows */
.inst-method {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  border-top: 1px solid #1c1f26;
}

.inst-method li {
  padding: 24px 0;
  border-bottom: 1px solid #1c1f26;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inst-method-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.inst-method span:not(.inst-method-label) {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #a0a5af;
}

@media (min-width: 640px) {
  .inst-method li {
    flex-direction: row;
    align-items: baseline;
    gap: 32px;
  }
  .inst-method-label {
    width: 240px;
    flex-shrink: 0;
  }
}

/* Application CTA */
.inst-cta {
  display: inline-block;
  margin-top: 40px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5588de;
  border-bottom: 1px solid rgba(85, 136, 222, 0.3);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.inst-cta:hover {
  color: #88afee;
  border-bottom-color: #88afee;
}

/* Footer */
.inst-footer {
  border-top: 1px solid #1c1f26;
  padding: 64px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.inst-footer .inst-wordmark {
  width: 140px;
  height: auto;
}

.inst-footer a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b909a;
  transition: color 0.2s ease;
}

.inst-footer a:hover {
  color: #d1d5db;
}

@media (max-width: 768px) {
  .inst-footer {
    padding: 48px 24px;
  }
}