:root {
  --ink: #14212b;
  --muted: #5f6f7a;
  --line: #d9e1e5;
  --paper: #ffffff;
  --soft: #f4f8f7;
  --navy: #17384a;
  --teal: #2f7f7b;
  --gold: #b58b38;
  --red: #9b4f45;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--navy);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

h1 {
  font-size: 4rem;
  font-weight: 700;
}

h2 {
  font-size: 2.4rem;
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  color: var(--muted);
  margin-bottom: 0;
}

.site-nav {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  color: var(--ink);
  font-weight: 800;
}

.navbar-brand img,
.footer-brand img {
  object-fit: contain;
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-link {
  color: var(--ink);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--teal);
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  padding: 0.75rem 1.15rem;
}

.btn-primary {
  background: var(--teal);
  border-color: var(--teal);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--navy);
  border-color: var(--navy);
}

.btn-outline-primary {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.hero-section {
  background:
    linear-gradient(120deg, rgba(244, 248, 247, 0.65), rgba(255, 255, 255, 0.55)),
    url("../home/images/Robo-Fish.png") center / cover;
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}

.hero-section .container {
  padding: 7rem 0 5rem;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.hero-copy {
  color: #3e505b;
  font-size: 1.2rem;
  margin-top: 1.4rem;
  max-width: 44rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-carousel {
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(20, 33, 43, 0.18);
  overflow: hidden;
}

.hero-background-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background-carousel .carousel,
.hero-background-carousel .carousel-inner,
.hero-background-carousel .carousel-item {
  height: 100%;
}

.hero-background-carousel img,
.hero-background-carousel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(244, 248, 247, 0.92) 0%,
    rgba(248, 250, 249, 0.72) 32%,
    rgba(255, 255, 255, 0.28) 66%,
    rgba(255, 255, 255, 0.06) 100%
  );
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-carousel img,
.hero-carousel video {
  aspect-ratio: 4 / 3;
  background: var(--soft);
  object-fit: cover;
}

.page-section,
.paddsection {
  padding: 5rem 0;
}

.section-muted {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 2.2rem;
}

.section-heading p {
  margin-top: 1rem;
}

.section-title {
  margin-bottom: 2rem;
  text-align: center;
}

.eyebrow,
.card-kicker {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 33, 43, 0.08);
  overflow: hidden;
  position: relative;
}

.content-card .card-img-top {
  aspect-ratio: 16 / 10;
  background: var(--soft);
  object-fit: cover;
  width: 100%;
}

.content-card .card-body {
  padding: 1.35rem;
}

.content-card a {
  color: var(--teal);
  font-weight: 700;
}

.publication-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.publication-item {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 5rem 1fr;
  padding: 1.2rem;
}

.publication-item h3 {
  margin-bottom: 0.5rem;
}

.publication-item p {
  margin-bottom: 0.4rem;
}

.publication-year {
  align-items: center;
  background: #eef6f4;
  border-radius: 8px;
  color: var(--teal);
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
}

.text-link {
  font-weight: 700;
}

.sticky-heading {
  position: sticky;
  top: 6rem;
}

.metric-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
}

.metric-card span {
  color: var(--navy);
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.section-callouts {
  background: var(--navy);
}

.callout-panel {
  background: var(--teal);
  border-radius: 8px;
  padding: 2rem;
}

.callout-panel-alt {
  background: var(--red);
}

.callout-panel h2,
.callout-panel p,
.callout-panel .eyebrow {
  color: #fff;
}

.callout-panel p {
  margin: 1rem 0 1.5rem;
}

.contact-section address {
  color: var(--muted);
  font-style: normal;
  margin: 1rem 0 0;
}

.contact-logo {
  display: block;
  margin: 0 auto;
  max-width: 220px;
}

.site-footer {
  background: #101923;
  color: #fff;
  padding: 3rem 0 1.5rem;
}

.site-footer a,
.site-footer p,
.site-footer span {
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-copy {
  margin-top: 1rem;
  max-width: 42rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: flex-lg-end;
  margin-bottom: 0;
}

.footer-links a {
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.2rem;
}

.empty-state {
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 1.25rem;
}

.auth-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 33, 43, 0.08);
  max-width: 440px;
  padding: 2rem;
}

.privacy-consent {
  bottom: 1.25rem;
  left: 50%;
  max-width: min(920px, calc(100% - 2rem));
  position: fixed;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1100;
}

.privacy-consent[hidden] {
  display: none;
}

.privacy-consent-content {
  align-items: center;
  background: rgba(16, 25, 35, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(20, 33, 43, 0.22);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  padding: 1.25rem;
}

.privacy-consent h2 {
  color: #fff;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.privacy-consent p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.list-page {
  padding: 5rem 0;
}

.object-fit-cover {
  object-fit: cover;
}

.rich-content img {
  border-radius: 8px;
  height: auto;
  max-width: 100%;
}

.rich-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.team-section + .team-section {
  margin-top: 4rem;
}

.team-section > h2 {
  margin-bottom: 1.5rem;
}

.team-card {
  display: grid;
  grid-template-columns: 160px 1fr;
}

.team-card > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.team-card > .card-body:first-child {
  grid-column: 1 / -1;
}

.team-card-featured {
  grid-template-columns: 220px 1fr;
}

.workshop-band {
  background: var(--soft);
  border-radius: 8px;
  padding: 2rem;
}

.sponsor-card {
  min-height: 120px;
  text-decoration: none;
}

.sponsor-card img {
  max-height: 80px;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-section,
  .page-section,
  .paddsection,
  .list-page {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-section .container {
    padding: 5rem 0 3.5rem;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .container {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .row > * {
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  h1 {
    font-size: 2.1rem;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 1.8rem;
    overflow-wrap: break-word;
  }

  h3,
  p,
  a,
  address {
    overflow-wrap: break-word;
  }






























  .hero-copy {
    font-size: 1.05rem;
  }

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

  .metric-grid,
  .publication-item,
  .team-card,
  .team-card-featured {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .publication-year {
    justify-content: flex-start;
    min-height: 0;
    padding: 0.55rem 0.75rem;
  }

  .privacy-consent-content {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-section {
    min-height: auto;
  }
}

