:root {
  --navy: #0a192f;
  --navy-deep: #071323;
  --navy-soft: #0d1b2a;
  --gold: #d4af37;
  --gold-muted: #c5a880;
  --white: #ffffff;
  --silver: #e0e1dd;
  --silver-dim: #aeb7c2;
  --line: rgba(212, 175, 55, 0.28);
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(212, 175, 55, 0.12), transparent 24rem),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 48%, var(--navy-soft) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(7, 19, 35, 0.92), rgba(7, 19, 35, 0.58));
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  backdrop-filter: blur(18px);
}

.top-nav {
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.brand:hover {
  color: var(--white);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.32);
}

.top-nav {
  gap: clamp(14px, 2.5vw, 28px);
  color: var(--silver);
  font-size: 0.92rem;
  font-weight: 600;
}

.top-nav a {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.top-nav a:hover {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 19, 35, 0.96) 0%, rgba(7, 19, 35, 0.72) 38%, rgba(7, 19, 35, 0.38) 72%),
    linear-gradient(180deg, rgba(7, 19, 35, 0.1), rgba(7, 19, 35, 0.94));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(880px, calc(100% - 40px));
  margin: 0 0 clamp(48px, 8vw, 86px) clamp(20px, 6vw, 86px);
  padding-top: 120px;
}

.eyebrow,
.founder-role,
.publication-card span {
  margin: 0 0 12px;
  color: var(--gold-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
}

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

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}

.button,
.icon-link {
  min-height: 52px;
  border: 1px solid rgba(212, 175, 55, 0.58);
  transition: all 0.3s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-muted));
  color: #081321;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.22);
}

.button:hover,
.icon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.36);
}

.icon-link {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.icon-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
}

.section {
  position: relative;
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - 40px));
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.72), transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.28);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.pillar-grid,
.founder-grid,
.publication-list {
  display: grid;
  gap: 22px;
}

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

.pillar-card,
.founder-card,
.publication-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.pillar-card {
  min-height: 316px;
  padding: 28px;
}

.card-index {
  display: inline-block;
  margin-bottom: 30px;
  color: rgba(212, 175, 55, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
}

.pillar-card p,
.science-copy p,
.publication-card p,
.founder-card li,
.site-footer p {
  color: var(--silver);
}

.institutional-photo {
  overflow: hidden;
  margin: 0 0 26px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.institutional-photo img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.88;
}

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

.founder-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  padding: 26px;
}

.founder-card img {
  width: 132px;
  height: 132px;
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: 50%;
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.18);
}

.founder-card ul {
  padding-left: 18px;
  margin: 20px 0 0;
}

.founder-card li + li {
  margin-top: 10px;
}

.lattes-link {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: var(--gold);
  font-size: 0.94rem;
  font-weight: 800;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.lattes-link:hover {
  color: var(--white);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

.science-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.science-copy {
  position: sticky;
  top: 110px;
}

.science-copy p {
  margin-top: 24px;
  font-size: 1.05rem;
}

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

.publication-card {
  padding: 26px;
}

.publication-card p {
  margin-bottom: 0;
}

.closing-visual {
  position: relative;
  min-height: clamp(260px, 42vw, 520px);
  overflow: hidden;
  isolation: isolate;
  background: #071323;
}

.closing-visual::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: min(1120px, calc(100% - 40px));
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.62), transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.22);
}

.closing-visual-image {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.46;
  filter: saturate(0.78) contrast(0.96);
  animation: closingDrift 18s ease-in-out infinite alternate;
}

.closing-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(7, 19, 35, 0.92), rgba(7, 19, 35, 0.46) 46%, rgba(7, 19, 35, 0.88)),
    linear-gradient(180deg, rgba(7, 19, 35, 0.98), rgba(13, 27, 42, 0.22) 42%, rgba(7, 19, 35, 0.96));
}

.closing-visual-content {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: clamp(260px, 42vw, 520px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(44px, 8vw, 92px) 0;
}

.closing-visual-content h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.46);
}

@keyframes closingDrift {
  from {
    transform: scale(1) translate3d(-0.6%, 0, 0);
  }

  to {
    transform: scale(1.035) translate3d(0.6%, -0.8%, 0);
  }
}

.site-footer {
  padding: 38px clamp(20px, 5vw, 72px) 42px;
  background: #071323;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 0 0 20px;
  color: var(--white);
  font-weight: 700;
}

.footer-links a {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .site-header {
    position: absolute;
  }

  .top-nav {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 19, 35, 0.98), rgba(7, 19, 35, 0.62)),
      linear-gradient(180deg, rgba(7, 19, 35, 0.08), rgba(7, 19, 35, 0.96));
  }

  .pillar-grid,
  .founder-grid,
  .science-layout {
    grid-template-columns: 1fr;
  }

  .science-copy {
    position: static;
  }

  .closing-visual {
    min-height: 340px;
  }

  .closing-visual-content {
    min-height: 340px;
  }

  .closing-visual-image {
    object-position: 54% center;
    opacity: 0.4;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 14px 18px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 42px;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-copy {
    color: var(--silver);
  }

  .button {
    width: 100%;
  }

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

  .founder-card img {
    width: 116px;
    height: 116px;
  }

  .pillar-card,
  .founder-card,
  .publication-card {
    padding: 22px;
  }

  .closing-visual {
    min-height: 280px;
  }

  .closing-visual-content {
    min-height: 280px;
  }

  .closing-visual-image {
    object-position: 58% center;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .closing-visual-image {
    animation: none;
  }
}
