:root {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1816;
  background-color: #0a0f17;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.65;
  color: #f4f1ea;
  background: #070b12;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: inherit;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.3rem);
}

h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

p {
  margin: 0 0 1.15rem;
}

p:last-child {
  margin-bottom: 0;
}

img {
  max-width: 860px;
  height: auto;
  display: block;
}

a {
  color: #c99b53;
  font-weight: 500;
  text-decoration: none;
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #f7d9a0;
  text-decoration: underline;
}

a:active {
  color: #f7d9a0;
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.wrap.article {
  width: min(960px, calc(100% - 3rem));
  max-width: 900px;
  padding-left: 2rem;
  padding-right: 2rem;
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid #111827;
  background: #090f1a;
  color: #f5f1e7;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: inherit;
}

.brand__title {
  line-height: 1.1;
}

.brand__tagline {
  margin-top: 0.1rem;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
}

.site-nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.site-nav a {
  position: relative;
  color: #f5f1e7;
  text-decoration: none;
  padding-bottom: 0.1rem;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.15s ease-out;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.site-nav a:active {
  color: #f7d9a0;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}


.hero {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: #f4f2ea;
  border-bottom: 1px solid #dcd6c9;
}

.hero--home {
  position: relative;
  color: #fdfdfb;
  background: #050912;
  overflow: hidden;
}

.hero--home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 8, 14, 0.92) 0%, rgba(6, 10, 18, 0.7) 55%, rgba(10, 15, 24, 0.25) 100%),
    url('hero-bg.jpg') center/cover;
  opacity: 1;
  z-index: 0;
}

.hero--home .wrap {
  position: relative;
  z-index: 1;
}

.hero__body {
  position: relative;
  backdrop-filter: blur(12px);
  background: rgba(7, 11, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 18px 48px rgba(2, 3, 6, 0.55);
  overflow: hidden;
    max-width: 720px;
  margin-left: 0;
  margin-right: auto;
}

.hero__body::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero h1 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(2rem, 6vw, 3.1rem);
  line-height: 1.25;
  margin: 0;
  color: inherit;
  position: relative;
}

.hero h1::after {
  content: '';
  display: block;
  width: 82px;
  height: 2px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, rgba(255, 221, 167, 0.85), rgba(255, 255, 255, 0));
}

.hero p {
  margin: 0;
  max-width: 60ch;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

main {
  padding: clamp(3.25rem, 5vw, 4.5rem) 0;
  background: #f9f7f1;
  color: #1d1a16;
  border-top: 1px solid #dcd6c9;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
}

main .wrap {
  padding: 0 0 1rem;
}

main .wrap > section {
  background: #fffdf8;
  border: 1px solid #e4ddcf;
  border-radius: 12px;
  padding: clamp(2rem, 3vw, 3.25rem);
  box-shadow: 0 12px 30px rgba(23, 18, 12, 0.08);
  color: #1d1a16;
}

main .wrap > section + section {
  margin-top: clamp(2.75rem, 5vw, 3.5rem);
}

.page-home main {
  background: radial-gradient(circle at top, rgba(9, 12, 18, 0.85), rgba(3, 5, 9, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: #f8f5ee;
  padding: clamp(3rem, 5vw, 5rem) 0 4rem;
}

.page-home main .wrap > section {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  color: inherit;
}

.page-home main .wrap > .home-section:first-of-type {
  margin-top: 0;
}

.contact-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 2.5rem;
  background: #050912;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5f2ea;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero-bg.jpg') center/cover;
  opacity: 0.25;
}

.contact-hero .wrap {
  position: relative;
}

.contact-hero h1 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(2.2rem, 5.2vw, 3.2rem);
  margin: 0;
  color: inherit;
}

.page-main--contact {
  background: #fff8ea;
  border-top: none;
  color: #2b251c;
  padding: 3rem 0 4rem;
}

.contact-panel {
  border: 1px solid #eadfce;
  border-radius: 32px;
  padding: clamp(2.5rem, 4.5vw, 3.5rem);
  background: #fffdf7;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.contact-summary {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-list h3 {
  margin: 0 0 0.35rem;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 1.25rem;
  color: #201b16;
}

.contact-list section:not(:last-child) {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #efe5d6;
}

.page-main--contact p {
  margin: 0;
  line-height: 1.7;
}

.page-main--contact ul {
  margin: 0.75rem 0 0 1.25rem;
}

@media (max-width: 720px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
}

.page-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #050912;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5f2ea;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('hero-bg.jpg') center/cover;
  opacity: 0.15;
}

.page-hero .wrap {
  position: relative;
}

.page-hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: #d7cdbb;
  margin: 0 0 0.5rem;
}

.page-hero h1 {
  margin: 0;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-hero__lead {
  margin-top: 1rem;
  max-width: 860px;
  color: #cbc4b8;
}

.page-main {
  padding: clamp(3.25rem, 5vw, 4.75rem) 0 4.25rem;
  background: #050912;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #f8f4ea;
}

.page-main:not(.page-main--contact) .wrap > section {
  background: rgba(7, 10, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: clamp(2.25rem, 4vw, 3rem);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.38);
}

.page-main .wrap > section + section {
  margin-top: clamp(3rem, 6vw, 4.25rem);
}

.page-main--research .research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.research-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-toggle {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(10, 14, 24, 0.7);
  color: #f7f2e6;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-toggle.is-active {
  background: rgba(247, 217, 160, 0.14);
  border-color: rgba(247, 217, 160, 0.6);
  color: #f7d9a0;
}

.filter-toggle:not(.is-active) {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: #d0c8bb;
}


.signal-card--research {
  min-height: 100%;
}

.research-list {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: rgba(6, 8, 14, 0.3);
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

.research-entry {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 2.5rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(
    120deg,
    rgba(11, 16, 24, 0.65),
    rgba(7, 10, 17, 0.6)
  );
}

.research-entry:last-child {
  border-bottom: none;
}

.research-entry__meta {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(230, 220, 208, 0.85);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.research-entry__meta .date {
  color: rgba(196, 184, 170, 0.8);
}

.pub-note {
  display: block;
  margin-top: 0.4rem;
  color: rgba(230, 220, 208, 0.78);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: none;
}

.pub-note a {
  color: rgba(247, 217, 160, 0.9);
}

.pub-note a:hover,
.pub-note a:focus-visible {
  color: #ffffff;
}

.research-entry__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: #f7f4ec;
}

.research-entry__body h3 a {
  color: inherit;
}

.research-entry__body p {
  margin: 0;
  color: #dcd5c8;
  line-height: 1.75;
}

.research-entry__body p + p {
  margin-top: 0.75rem;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #f5dba8;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  color: #ffffff;
}

.research-entry__status {
  margin-top: 0.5rem;
  color: #f5dba8;
  font-style: italic;
}

.team-collection {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 36px;
  padding: clamp(2.5rem, 4.5vw, 3.25rem);
  gap: 1.5rem;
  background: rgba(7, 10, 17, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.team-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(9, 12, 20, 0.75), rgba(6, 9, 16, 0.7));
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.team-profile::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.team-profile__media img {
  width: 150px;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.team-profile__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #f8f4ec;
}

.team-profile__body p {
  margin: 0;
  color: #d9d0c2;
  line-height: 1.75;
}

.team-profile__body p + p {
  margin-top: 0.75rem;
}

.team-profile .text-link {
  margin-top: 1rem;
}

button.text-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

button.text-link:focus-visible {
  outline: 1px dashed currentColor;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .team-profile {
    grid-template-columns: 1fr;
  }

  .team-profile__media img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 720px) {
  .research-entry {
    grid-template-columns: 1fr;
  }

  .research-entry__meta {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

.page-hero--capital {
  background: radial-gradient(circle at top, rgba(7, 9, 15, 0.95), rgba(3, 5, 9, 0.95));
}

.capital-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(6, 8, 14, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

.capital-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: linear-gradient(120deg, rgba(9, 11, 18, 0.7), rgba(5, 7, 12, 0.65));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.capital-panel__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.7rem;
  margin: 0 0 0.5rem;
  color: rgba(233, 222, 210, 0.82);
}

.capital-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
  color: #f7f3eb;
}

.capital-panel h3 {
  margin: 1.5rem 0 0.35rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(249, 232, 209, 0.85);
}

.capital-panel p {
  margin: 0;
  color: #dcd3c4;
  line-height: 1.7;
}

.capital-panel p + p {
  margin-top: 0.75rem;
}

.inline-link {
  color: #f8d9a4;
  text-decoration: none;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.page-header {
  padding: 2.5rem 0 1rem;
  border-bottom: 1px solid #1e212c;
  background: #0f131b;
  color: #f0ede4;
}

.page-header h1 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0;
  color: inherit;
}

.page-header p {
  margin-top: 0.75rem;
  max-width: 60ch;
  color: #c9c4b8;
}

.article {
  background: #fffefa;
  padding: clamp(2.75rem, 4.5vw, 3.25rem);
  border-radius: 12px;
  border: 1px solid #e4dfd4;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
  text-justify: auto;
  box-shadow: 0 14px 32px rgba(22, 18, 12, 0.08);
}

.article h2,
.article h3 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
}

.article h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  border-top: 1px solid #e6e0d4;
  padding-top: 1.25rem;
}

.article h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.25;
}

 .article h2:first-child,
.article h3:first-child,
.article h1:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.article p,
.article li {
  font-size: 1rem;
  line-height: 1.7;
}

.article p {
  margin-bottom: 1.2rem;
}

.article ul,
.article ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article figure {
  margin: 2rem auto;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: transparent;
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.article figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.article figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #6f655b;
  text-align: center;
}

.article img {
  max-width: 860px;
  height: auto;
  display: block;
  border-radius: 10px;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid--third {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stack > * + * {
  margin-top: 1.5rem;
}

.card {
  border: 1px solid #e4ddcf;
  padding: 1.5rem;
  background: #fffdf8;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(22, 18, 12, 0.08);
}

.card h3 {
  margin-top: 0;
  font-family: 'Playfair Display', 'Times New Roman', serif;
}

.home-section {
  margin-top: clamp(3.25rem, 6vw, 4.75rem);
}

.section-header {
  max-width: 860px;
  margin-bottom: 1.75rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.65rem;
  color: #d9cfbe;
}

.section-tag::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section-header h2 {
  margin: 0.5rem 0 0.75rem;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  color: #fcfaf5;
}

.section-subtitle {
  margin: 0;
  color: #bbb4a7;
  max-width: 60ch;
}

.home-research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.signal-card {
  background: rgba(14, 18, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 25px 60px rgba(2, 3, 6, 0.6);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.signal-card__meta {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cdbb9d;
}

.signal-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.signal-card h3 a {
  color: inherit;
}

.signal-card p {
  margin: 0;
  color: #d6cfc2;
}

.signal-card__link {
  margin-top: auto;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f7d9a0;
}

.signal-card__link:hover,
.signal-card__link:focus-visible {
  text-decoration: none;
  color: #ffffff;
}

.signal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
}

.home-section--capital {
  position: relative;
  padding: clamp(2.5rem, 4vw, 4rem) 0 0;
}

.home-section--capital::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top left, rgba(32, 36, 56, 0.65), rgba(5, 7, 12, 0.95));
  filter: blur(0.5px);
  z-index: 0;
}

.home-section--capital > * {
  position: relative;
  z-index: 1;
}

.capital-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.capital-card {
  padding: 1.75rem;
  border-radius: 18px;
  background: rgba(4, 6, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}

.capital-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: #b9b2a4;
  margin: 0 0 0.35rem;
}

.card-meta {
  font-size: 0.8rem;
  opacity: 0.75;
  color: #b9b2a4;
  margin-bottom: 0.25rem;
}

.capital-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  color: #f8f4ec;
}

.capital-card p {
  margin: 0 0 0.75rem;
  color: #c9c1b2;
}

.capital-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.team-grid {
  display: grid;
  gap: 1.75rem;
}

.team-card {
  background: #fffefb;
  border: 1px solid #e4ddcf;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 12px 28px rgba(22, 18, 12, 0.08);
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
}

.team-card figure {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d9d1c2;
}

.team-card h3 {
  margin: 0;
  font-family: 'Playfair Display', 'Times New Roman', serif;
}

.team-card p {
  margin: 0 0 0.5rem;
  color: #2a241d;
  text-align: justify;
  text-justify: inter-word;
}

.team-card button {
  align-self: flex-start;
  padding: 0;
  background: none;
  border: none;
  font-style: italic;
  font-size: 0.9rem;
  color: #1f1d17;
  cursor: pointer;
}

.team-card__body {
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .team-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-card img {
    margin: 0 auto;
  }

  .team-card button {
    align-self: center;
  }

  .team-card p {
    text-align: left;
  }
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 16, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  z-index: 50;
}

.modal[aria-hidden='false'] {
  display: flex;
}

.modal__dialog {
  background: #fffefb;
  border-radius: 10px;
  border: 1px solid #e0d7c6;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: 1.75rem;
  box-shadow: 0 18px 36px rgba(7, 10, 16, 0.32);
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: #111;
}

.modal__close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal__dialog p {
  color: #111;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.article-card {
  padding: 1.5rem;
  border: 1px solid #e4ddcf;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 10px 26px rgba(22, 18, 12, 0.08);
}

.article-card h3 {
  margin: 0 0 0.35rem;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 1.25rem;
}

.article-card h3 a {
  color: #16130f;
}

.article-meta {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f6556;
  margin-bottom: 0.35rem;
}

.article-card p {
  margin: 0;
  color: #2b251d;
}

.article-card .status {
  font-style: italic;
  color: #766c5f;
  margin-top: 0.35rem;
}

.investment-list {
  display: grid;
  gap: 1.75rem;
}

.investment-card {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 1.25rem;
  background: #fffdf8;
  border: 1px solid #e4ddcf;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(22, 18, 12, 0.08);
}

.investment-card figure {
  margin: 0;
}

.investment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #dcd4c4;
}

.investment-card h3 {
  margin-top: 0;
  font-family: 'Playfair Display', 'Times New Roman', serif;
}

.investment-card p {
  margin-bottom: 0.6rem;
  color: #2c261e;
  text-align: justify;
}

.investment-card .metrics {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7a6f5f;
}

@media (max-width: 720px) {
  .investment-card {
    grid-template-columns: 1fr;
  }
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ddd4c6;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid #dcd6c9;
  padding: 0.65rem 0.85rem;
  text-align: left;
}

th {
  background: #f0ece1;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

tbody tr:nth-child(odd) {
  background: #fffdf6;
}

form fieldset {
  border: 1px solid #dcd6c9;
  padding: 1.5rem;
  margin: 0 0 1.5rem;
  border-radius: 6px;
  background: #fffefa;
}

form legend {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  padding: 0 0.25rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #c8c2b4;
  background: #fffdfa;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.85rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fdfbf5;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transform: translateY(-2px);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #d7d1c4;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

footer {
  border-top: 1px solid #dcd6c9;
  padding: 2rem 0 3rem;
  font-size: 0.85rem;
}

footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  gap: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}

footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-nav ul {
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }

  .article {
    padding: 1.75rem;
  }

  table {
    font-size: 0.85rem;
  }
}

.breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8173;
  margin-bottom: 1.2rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid #dcd6c9;
}

.footer-legal {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #8a8173;
}

.page-research .site-nav a[href="research.html"],
.page-texas-land .site-nav a[href="texas-land-institutional.html"],
.page-current-investments .site-nav a[href="texas-land-institutional.html"],
.page-financial-markets .site-nav a[href="financial-markets.html"],
.page-core-team .site-nav a[href="core-team.html"],
.page-contact .site-nav a[href="contact.html"] {
  color: #ffffff;
}

.page-research .site-nav a[href="research.html"]::after,
.page-texas-land .site-nav a[href="texas-land-institutional.html"]::after,
.page-current-investments .site-nav a[href="texas-land-institutional.html"]::after,
.page-financial-markets .site-nav a[href="financial-markets.html"]::after,
.page-core-team .site-nav a[href="core-team.html"]::after,
.page-contact .site-nav a[href="contact.html"]::after {
  width: 100%;
}

.research-topics {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #7b7264;
}

.capital-overview {
  margin-bottom: 2.75rem;
}

.capital-overview__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.capital-overview__at-a-glance {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
}

.capital-overview__at-a-glance .label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: #8a8173;
}


.capital-overview__at-a-glance .value {
  display: block;
  margin-top: 0.1rem;
}

.capital-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2rem;
}

.capital-layout__side {
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .capital-overview__header {
    flex-direction: column;
  }

  .capital-layout {
    grid-template-columns: 1fr;
  }
}

.custom-capital-image {
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.custom-capital-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}



/* Contact page link clarity */
.contact a,
.page-main--contact a {
  color: #f7d9a0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.contact a:hover,
.contact a:focus-visible,
.page-main--contact a:hover,
.page-main--contact a:focus-visible {
  color: #ffffff;
}

.team-profile {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(9, 12, 20, 0.75), rgba(6, 9, 16, 0.7)) !important;
}

/* --- Consistency overrides (Codex pass 2) --- */
.page-header {
  background: #0a0e18;
  border-color: #1a2333;
  color: #f9f7f1;
}

.page-header p {
  color: #eadfce;
}

.custom-capital-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 720px) {
  .capital-panels {
    gap: 1.25rem;
  }

  .contact-panel {
    padding: clamp(2rem, 6vw, 2.75rem);
  }
}

/* --- Consistency overrides (Codex pass 3) --- */
.hero--home {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.custom-capital-image {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.disabled-link {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}