@import url('https://fonts.googleapis.com/css2?family=BBH+Bartle&family=BBH+Hegarty&display=swap');
@import url('https://fonts.googleapis.com/css2?family=BBH+Hegarty&display=swap');
@import url('https://fonts.googleapis.com/css2?family=BBH+Bogle&display=swap');

.bbh-bogle-regular {
  font-family: "BBH Bogle", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.bbh-hegarty-regular {
  font-family: "BBH Hegarty", sans-serif;
  font-weight: 400;
  font-style: normal;
}





html {
  scroll-behavior: smooth;
}

body {
  background-color: #1a1919;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.flaglink {
  position: absolute;
  top: 0;
  left: 0;
  width: min(24vw, 220px);
  height: auto;
  margin-left: 6px;
}

.brand-orbit {
  position: relative;
  z-index: 1000;
  display: flex;
  justify-content: center;
  width: min(100%, 1200px);
  margin: 100px auto 0;
}

.herologo {
  display: block;
  width: min(78vw, 600px);
  height: auto;
  margin: 0;
}

.member-bubble {
  --layout-x: 0px;
  --drag-x: 0px;
  --drag-y: 0px;
  position: absolute;
  z-index: 1;
  width: clamp(52px, 5vw, 72px);
  aspect-ratio: 1;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: grab;
  touch-action: none;
  user-select: none;
  animation: bubble-float 5s ease-in-out infinite;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  transform: translate(calc(var(--layout-x) + var(--drag-x)), var(--drag-y));
}

.member-photo,
.member-initials {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.member-photo {
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.member-bubble.has-photo .member-photo {
  opacity: 1;
}

.member-bubble.has-photo .member-initials {
  display: none;
}

.member-initials {
  display: none;
}

.member-tooltip {
  position: absolute;
  z-index: 2;
  bottom: calc(100% + 10px);
  left: 50%;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #f1f1f1;
  font-family: sans-serif;
  font-size: 0.8rem;
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.member-bubble--adam {
  top: 4%;
  left: 0;
  animation-delay: -1s;
}

.member-bubble--rishit {
  top: 40%;
  left: 1%;
  animation-delay: -3s;
}

.member-bubble--hriday {
  top: 16%;
  right: 0;
  animation-delay: -2s;
}

.member-bubble--advik {
  top: 65%;
  right: 1%;
  animation-delay: -4s;
}

.member-bubble--nathan {
  bottom: 0;
  left: 1%;
  animation-delay: -2.5s;
}

.member-bubble--adam .member-tooltip,
.member-bubble--rishit .member-tooltip,
.member-bubble--nathan .member-tooltip {
  left: 0;
  transform: none;
}

.member-bubble--rishit .member-tooltip,
.member-bubble--hriday .member-tooltip {
  top: calc(100% + 10px);
  bottom: auto;
}

.member-bubble--hriday .member-tooltip,
.member-bubble--advik .member-tooltip {
  right: 0;
  left: auto;
  transform: none;
}

.member-bubble.is-dragging {
  z-index: 4;
  cursor: grabbing;
  animation-play-state: paused;
  transition: none;
}

.member-bubble:hover .member-tooltip,
.member-bubble:focus-visible .member-tooltip {
  opacity: 1;
  visibility: visible;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.action {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0.6rem auto 0;
  margin-top: -40px;
  padding: 0.7rem 1.2rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: "BBH Hegarty", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: none;
  font-weight: 20;
}

.action-arrow {
  display: inline-block;
  margin-left: 0.55rem;
  font-family: sans-serif;
  font-size: 1.2em;
  line-height: 1;
  transition: transform 1000ms ease;
}

.action:hover .action-arrow,
.action:focus-visible .action-arrow {
  transform: rotate(-45deg);
}

.action-arrow {
  display: inline-block;
  margin-left: 0.55rem;
  font-family: sans-serif;
  font-size: 1.2em;
  line-height: 1;
  transition: transform 1000ms ease;
}

.action:hover .action-arrow,
.action:focus-visible .action-arrow {
  transform: rotate(-405deg);
}


.hero-image {
  display: block;
  width: min(90vw, 600px);
  max-height: 70vh;
  height: auto;
  object-fit: contain;
}

.projects {
  width: 100%;
  margin: 3rem 0;
  color: #f1f1f1;
}

.projects-heading {
  width: min(90vw, 980px);
  margin: 0 auto 1.5rem;
  font-family: "BBH Hegarty", sans-serif;
  font-weight: 100;
  justify-content: center;
}

.carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  width: max-content;
}

.carousel-track.is-animated {
  animation: project-scroll 38s linear infinite;
}

.carousel-track.is-paused {
  animation-play-state: paused;
}

.carousel-group {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}

.project-card {
  flex: 0 0 clamp(230px, 24vw, 286px);
  overflow: hidden;
  border-radius: 14px;
  background: #222126;
}

.project-copy {
  min-height: 132px;
  padding: 0.9rem 1rem 1rem;
}

.project-placeholder {
  width: 100%;
  aspect-ratio: 1.45;
  background: #777;
}

.project-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  background: #171717;
  object-fit: cover;
  transform: scale(1.08);
}

.project-card h3 {
  margin: 0 0 0.6rem;
  font-family: "BBH Hegarty", sans-serif;
  font-weight: 100;
}

.projectdesc,
.projectcreator {
  margin: 0.5rem 0;
  color: #c4c4c4;
}

.clubfilament {
  width: min(960px, calc(100% - 32px));
  margin: 3rem auto;
  color: #f1f1f1;
  font-family: sans-serif;
}

.filament-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: transparent;
}

.filament-eyebrow {
  margin: 0 0 0.7rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.filament-title {
  margin: 0 0 0.9rem;
  color: #f1f1f1;
  font-family: "BBH Hegarty", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 400;
}

.filament-description,
.filament-file-note {
  color: #c4c4c4;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-top: -10px;
}

.filament-file-note {
  margin: 0.85rem 0 1.2rem;
  font-size: 0.82rem;
}

.filament-file-note strong {
  color: #fff;
}

.filament-request {
  margin: 1.2rem 0 0;
}

.filament-stock {
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: transparent;
}

.filament-stock-heading,
.filament-stock-label {
  display: flex;
  align-items: center;
}

.filament-stock-heading {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.filament-stock-heading h3 {
  margin: 0;
  font-size: 1rem;
}

.filament-stock-heading > span,
.filament-stock-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
}

.filament-stock-list {
  display: grid;
  gap: 1rem;
}

.filament-stock-label {
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  font-size: 0.87rem;
}

.filament-stock-label strong {
  margin-left: auto;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.filament-swatch {
  width: 0.75rem;
  height: 0.75rem;
  flex: none;
  border-radius: 50%;
  background: var(--filament-color);
}

.filament-stock-item--maroon {
  --filament-color: #a7414d;
}

.filament-stock-item--navy {
  --filament-color: #1a354b;
}

.filament-stock-bar {
  height: 0.7rem;
  overflow: hidden;
  padding: 1px;
  border-radius: 999px;
  background: transparent;
  box-sizing: border-box;
}

.filament-stock-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--filament-color);
}

.filament-stock-note {
  margin: 0.9rem 0 0;
}

.faq {
  width: min(680px, calc(100% - 32px));
  margin: 4rem auto 5rem;
  color: #f1f1f1;
  font-family: sans-serif;
}

hr {
  height: 0;
  margin: 2.5rem auto;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-heading {
  margin-bottom: 1.4rem;
  text-align: center;
}

.faq-eyebrow {
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.faq-title {
  margin: 0;
  color: #f1f1f1;
  font-family: "BBH Hegarty", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 400;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.045);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0.2rem 1rem;
  gap: 1rem;
  color: #f1f1f1;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: block;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px 1px, 1px 10px;
  content: "";
  transition: transform 220ms ease, background-size 180ms ease;
}

.faq-item[open] summary::after {
  background-size: 10px 1px;
  transform: rotate(180deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

.faq-answer {
  margin: 0 1rem;
  padding: 0.8rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: faq-answer-in 180ms ease-out both;
}

.faq-answer p {
  margin: 0;
  color: #c4c4c4;
  font-size: 0.9rem;
  line-height: 1.55;
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 1rem 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #777;
  border-radius: 50%;
  background: transparent;
  color: #f1f1f1;
  cursor: pointer;
}

.carousel-icon {
  width: 20px;
  height: 20px;
}

.carousel-icon-play {
  display: none;
}

.carousel-toggle.is-paused .carousel-icon-pause {
  display: none;
}

.carousel-toggle.is-paused .carousel-icon-play {
  display: block;
}

.carousel-toggle[hidden] {
  display: none;
}

.carousel-toggle:hover {
  background: transparent;
}

@keyframes project-scroll {
  to {
    transform: translateX(var(--scroll-distance));
  }
}

@keyframes bubble-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@media (min-width: 1100px) {
  .member-bubble--adam {
    top: 12%;
  }

  .member-bubble--rishit {
    top: -14%;
    left: 17%;
  }

  .member-bubble--hriday {
    top: -15%;
    right: 16%;
  }

  .member-bubble--advik {
    top: 45%;
    right: 5%;
  }

  .member-bubble--nathan {
    top: 55%;
    bottom: auto;
    left: 17%;
  }
}

@media (min-width: 1320px) {
  .member-bubble {
    --layout-x: -48px;
  }
}

@media (max-width: 600px) {
  .herologo {
    width: 64vw;
  }

  .action {
    margin-top: 0.75rem;
    padding: 0.55rem 0.85rem;
    font-size: clamp(0.8rem, 3.8vw, 0.95rem);
  }

  .member-bubble {
    width: 44px;
  }

  .member-bubble--rishit {
    top: 40%;
    left: 0;
  }

  .member-bubble--adam {
    top: 4%;
    left: 0;
  }

  .member-bubble--hriday {
    top: 16%;
    right: 0;
  }

  .member-bubble--advik {
    top: 65%;
    right: 0;
  }

  .member-bubble--nathan {
    bottom: 0;
    left: 0;
  }
}

@media (max-width: 680px) {
  .filament-panel {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track.is-animated {
    animation: none;
  }

  .member-bubble {
    animation: none;
    transition: none;
  }

  .faq-item,
  .faq-item summary::after {
    transition: none;
  }

  .faq-answer {
    animation: none;
  }

  .action-arrow {
    transition: none;
  }

  .action-arrow {
    transition: none;
  }

  .carousel {
    overflow-x: auto;
  }

  .carousel-toggle {
    display: none;
  }
}