body {
  margin: 0;
  font-family: 'Manrope', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #111;
}

.frame {
  margin: 0 auto;
  max-width: 700px;
  min-height: 100vh;
  background: #fff;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  transition: all 0.3s ease;
}

.header.scrolled .header-container {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

.header.scrolled .glass-container {
  opacity: 1;
}

.glass-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glass-effect-backdrop {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.glass-effect {
  position: absolute;
  -webkit-backdrop-filter: url(#distortion);
  backdrop-filter: url(#distortion);
}

.glass-effect.top {
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
}

.glass-effect.bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
}

.glass-effect.left {
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.glass-effect.right {
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.header-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 20px 40px;
  font-size: 18px;
  font-weight: 400;
  width: 700px;
  max-width: 700px;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 12px;
}

.logo {
  font-weight: 400;
  font-size: 20px;
  display: flex;
  align-items: center;
  line-height: 1;
  color: #000;
}

.github-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.linkedin-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  transition: all 0.3s ease;
}

.github-link:hover,
.linkedin-link:hover {
  transform: rotate(5deg) scale(1.1);
}

.github-link svg {
  height: 1.1em;
  width: 1.7em;
  vertical-align: middle;
  display: inline-block;
}

main { 
  padding: 100px 48px 0 48px; 
}

.intro { 
  margin-top: 54px; 
  margin-bottom: 45px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.intro h1 {
  font-family: 'Instrument Serif', serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.07;
  margin-bottom: 16px;
  text-align: center;
  white-space: nowrap;
  width: auto;
  display: block;
}

.rethink-highlight {
  position: relative;
  padding: 2px 6px;
  margin: 0 2px;
  display: inline-block;
  white-space: nowrap;
  font-style: italic;
}

.rethink-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px dotted #999;
  border-radius: 2px;
}

.subtitle {
  font-size: 18px;
  margin: 0;
  color: #222;
  opacity: 0.8;
  line-height: 1.4;
  font-weight: 300;
  text-align: center;
  width: 100%;
}

.supports-section {
  margin-top: 32px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.supports-label {
  font-size: 14px;
  color: #666;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
}

.supports-scroll-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.supports-scroll {
  display: flex;
  gap: 40px;
  animation: scroll 20s linear infinite;
  width: fit-content;
}

.support-org {
  font-size: 14px;
  color: #999;
  font-weight: 400;
  letter-spacing: 1.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.divider {
  border: none;
  border-top: 1px solid #dedede;
  margin: 48px 0;
}

.project-divider {
  margin: 32px 0;
}

.about-section,
.officers-section {
  margin-bottom: 64px;
}

.projects-section {
  margin-bottom: -20px;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 24px;
  color: #111;
}

.about-content {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.about-content p {
  margin-bottom: 16px;
  font-weight: 300;
}

.about-content strong {
  font-weight: 600;
  color: #111;
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}

.resource-category h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111;
}

.resource-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-category li {
  font-size: 15px;
  color: #555;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-weight: 300;
}

.resource-category li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #999;
}

.resources-note {
  font-style: italic;
  color: #666;
  margin-top: 24px;
  font-weight: 300;
}

.officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.officer-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
}

.officer-role {
  font-size: 13px;
  color: #868686;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 8px;
}

.officer-name {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.officer-interests {
  font-size: 14px;
  color: #666;
  font-weight: 300;
  line-height: 1.4;
}

.officer-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.officer-links a {
  color: #666;
  font-size: 18px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.officer-links a:hover {
  color: #111;
  transform: scale(1.1);
}

.contact-section {
  margin-bottom: 64px;
}

.contact-content {
  text-align: left;
}

.contact-content p {
  font-size: 16px;
  color: #333;
  margin-bottom: 24px;
  font-weight: 300;
}

.contact-info {
  margin: 32px 0;
  text-align: center;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  color: #333;
  margin-bottom: 16px;
}

.contact-item i {
  color: #868686;
  font-size: 18px;
}

.contact-item a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: #3D3D3D;
}

.join-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  border-radius: 6px;
  color: #3D3D3D;
  background: #fff;
  border: none;
  box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 0.15s;
  outline: none;
  text-decoration: none;
  margin-top: 16px;
}

.contact-content > .join-button {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.join-button:focus {
  box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.2);
  outline: 0;
}

.join-button svg {
  display: inline-block;
  vertical-align: middle;
  height: 1em;
  width: 1em;
}

.project {
  margin-bottom: 48px;
}

.project-index {
  color: #868686;
  display: block;
  margin-bottom: 6px;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10px;
}

.project-title { 
  font-size: 23px; 
  font-weight: 400; 
  margin-bottom: 0; 
}

.button-11 {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 6px 14px;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
  border-radius: 6px;
  color: #3D3D3D;
  background: #fff;
  border: none;
  box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 0.15s;
  outline: none;
  text-decoration: none;
}

.button-11:focus {
  box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.2);
  outline: 0;
}

.button-11 svg {
  display: inline-block;
  vertical-align: middle;
  height: 1em;
  width: 1em;
  margin-left: 5px;
}

.project img {
  width: 100%;
  height: auto;
  background: none;
  border: none;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.project img:hover {
  transform: scale(1.02);
}

.tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.desc {
  font-size: 16px;
  opacity: 0.91;
  margin-bottom: 0;
  margin-top: 8px;
  font-weight: 300;
  line-height: 1.33;
  color: #333;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: calc(1.33em * 3 + 2px);
}

.desc.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.justified { 
  text-align: justify; 
}

.expand-btn {
  background: none;
  border: none;
  color: #3D3D3D;
  font-family: 'Manrope', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.expand-btn:hover {
  color: #000;
}

.expand-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.expand-btn.expanded svg {
  transform: rotate(180deg);
}

.footer-section {
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
  line-height: 0;
  max-width: 700px;
  box-sizing: border-box;
}

.footer-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}

.site-meta {
  text-align: center;
  font-size: 11px;
  color: #999;
  padding: 0px 48px 24px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

html {
  scroll-behavior: smooth;
}

.project img {
  position: relative;
  z-index: 1;
}

.project-header {
  z-index: 999;
}

@media screen and (max-width: 780px) {
  .frame {
    margin: 0;
    max-width: none;
    border: none;
  }
  
  .header-content {
    padding-left: 5vw;
    padding-right: 5vw;
    width: 100%;
  }
  
  .intro h1 {
    white-space: normal;
    font-size: 32px;
  }
  
  main {
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 100px;
  }
  
  .footer-section {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .supports-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .officers-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .site-meta {
    padding: 8px 5vw 24px;
    font-size: 10px;
  }
}
