* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --link-green: rgb(195, 225, 175);
  --link-green-hover: rgb(215, 238, 200);
  --link-green-active: rgb(175, 210, 155);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  color: var(--link-green);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}

a:hover,
a:focus-visible {
  color: var(--link-green-hover);
}

a:active {
  color: var(--link-green-active);
}

body {
  min-height: 100%;
  background: #050608;
  color: rgba(235, 238, 242, 0.9);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  pointer-events: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: background 0.15s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(0, 0, 0, 0.65);
}

.nav-toggle:focus-visible {
  outline: 1px solid rgba(195, 225, 175, 0.5);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: rgba(240, 242, 245, 0.95);
  border-radius: 1px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 10rem;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  background: rgba(8, 10, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.1rem;
  color: var(--link-green);
  text-decoration: none;
  font-weight: 400;
  transition: background 0.12s ease, color 0.12s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--link-green-hover);
}

.nav-dropdown a[aria-current="page"] {
  color: var(--link-green);
  font-weight: 500;
}

.page-root {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.canvas-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.canvas-layer canvas {
  display: block;
}

.content-layer {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  width: 100%;
}

.hero-spacer {
  width: 100%;
  aspect-ratio: 16 / 5;
  pointer-events: none;
}

.photo-credit {
  position: absolute;
  right: clamp(0.4rem, 1.2vw, 0.75rem);
  bottom: clamp(0.35rem, 1vw, 0.6rem);
  margin: 0;
  padding: 0;
  font-size: 0.6875rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgba(240, 242, 245, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  z-index: 2;
}

.page {
  pointer-events: none;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.page-inner {
  pointer-events: auto;
  width: min(70vw, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 0;
}

.page-body {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.page-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 1.4rem + 2.5vw, 3.25rem);
  font-weight: 100;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
}

.prose {
  font-weight: 400;
}

.prose p {
  margin-bottom: 1.1em;
}

.prose p:last-child {
  margin-bottom: 0;
}

.footnote {
  margin-top: 1.75rem;
  padding-top: 0;
  border-top: none;
  font-size: 0.95em;
  color: rgba(200, 210, 218, 0.82);
}

.meta-details {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(235, 238, 242, 0.88);
}

.meta-details h2 {
  font-size: 0.95rem;
  font-weight: 100;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.85rem;
}

.meta-details h2:not(:first-child) {
  margin-top: 1.5rem;
}

.crew-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.crew-list li {
  margin-bottom: 0.45em;
}

.crew-list a {
  font-weight: 500;
}

.meta-details p {
  margin: 0;
  font-weight: 400;
}

.meta-details .meta-note {
  display: block;
  margin-top: 0.35em;
  color: rgba(200, 210, 218, 0.85);
  font-size: 0.95em;
}

/* Simple inner page layout */
.simple-page {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 7rem) clamp(1.5rem, 4vw, 2rem) clamp(3rem, 6vw, 4rem);
  pointer-events: auto;
}

.simple-page h1 {
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: 100;
  color: #fff;
  margin-bottom: 1rem;
}

.simple-page p {
  color: rgba(220, 225, 232, 0.9);
}

/* Team page grid */
.team-page {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 7rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 6vw, 4rem);
  pointer-events: auto;
}

.team-page-title {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 100;
  letter-spacing: 0.02em;
  color: #fff;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
}

.team-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 0 clamp(1.1rem, 2vw, 1.35rem);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Square box first — border-radius: 50% on a non-square element draws an oval */
.team-card-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  margin-bottom: 1rem;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.team-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.team-card-name {
  font-size: 1.125rem;
  font-weight: 400;
  color: #fff;
  padding: 0 clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 0.35rem;
}

.team-card-role {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(195, 225, 175, 0.9);
  padding: 0 clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 0.65rem;
}

.team-card-bio {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(210, 215, 222, 0.88);
  padding: 0 clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.team-card-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 clamp(1rem, 3vw, 1.25rem);
  margin-top: auto;
}

.team-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--link-green);
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.15s ease, background 0.15s ease;
}

.team-card-icon:hover,
.team-card-icon:focus-visible {
  color: var(--link-green-hover);
  background: rgba(255, 255, 255, 0.06);
}

.team-card-icon svg {
  display: block;
}
