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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

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

/* =========================
   HERO / FULL BLEED PANELS
========================= */
.panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero {
  min-height: 100vh;
  background-image: url("images/bg-2.jpg");
}

.hundred-panel {
  min-height: 100vh;
  background-image: url("images/bg-11.jpg");
}

.overlay,
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.69);
}

.funding-overlay {
  background: rgba(0, 0, 0, 0.62);
}

.content {
  position: relative;
  z-index: 2;
  width: min(90%, 700px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
}

.hero-content {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* =========================
   LOGOS
========================= */
.logo-594 {
  width: clamp(130px, 14vw, 200px);
  margin-bottom: 0;
}

.logo-hundred {
  width: clamp(80px, 9vw, 130px);
  margin-bottom: 50px;
}


/* =========================
   PERSONAL PHOTOS / POLAROIDS
========================= */

.polaroid-photo {
  display: block;
  width: 200px;
  height: auto;
  max-width: none;
  margin: 25px auto;
}


/* =========================
   HERO COPY
========================= */
.description {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(13px, 1.2vw, 18px);
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}

.secret-link,
.secret-link:visited,
.secret-link:hover,
.secret-link:active {
  color: inherit !important;
  text-decoration: none !important;
}

.scroll-arrow {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  font-size: 50px;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.25s ease;
}

.scroll-arrow:hover {
  transform: translateY(6px);
}

/* =========================
   BLACK CONTENT SECTIONS
========================= */
.section-block,
.phase-section {
  background: #000;
  border-top: none;
}

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

.section-inner {
  padding: clamp(50px, 6vw, 80px) 0;
  text-align: center;
}

.section-inner.narrow {
  width: min(760px, 88%);
}

.section-title {
  margin-bottom: 42px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
  letter-spacing: -1px;
  font-weight: 800;
}

.section-copy {
  margin: 0 auto 30px;
  font-size: clamp(12px, 1.1vw, 16px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.87);
}

/* =========================
   PHASES
========================= */
.phase-inner {
  padding: clamp(40px, 5vw, 60px) 0;
}

.phase-header {
  text-align: center;
  margin-bottom: 36px;
}

.phase-number {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: 2.4px;
  color: rgba(255, 255, 255, 0.72);
}

.phase-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  font-weight: 800;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.project-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.project-card-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.learn-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  letter-spacing: 1.5px;
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.learn-button {
  min-width: 190px;
  min-height: 50px;
  margin-top: 20px;
  padding: 18px 18px;
  font-size: 16px;
}

.button {
  min-width: 190px;
  min-height: 50px;
  padding: 18px 18px;
  font-size: 16px;
}

.learn-button:hover,
.button:hover {
  background: #fff;
  color: #000;
}

.compact-button {
  margin-top: 10px;
}


/* =========================
   FUNDING
========================= */
.funding-content {
  padding-top: 90px;
  padding-bottom: 90px;
}

.funding-stat {
  letter-spacing: .5px;
}

.shirt-preview {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 25px 0 15px;
    width: 100%;
}

.shirt-preview img {
    width: 220px;
    max-width: 40%;
    height: auto;
}

/* =========================
   TABLET
========================= */
@media (max-width: 980px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin: 0 auto;
  }

  .project-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(360px, 100%);
    justify-self: center;
  }

  .hero {
    min-height: 92vh;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 640px) {
  .hero {
    min-height: 90vh;
  }

  .content {
    width: 92%;
    padding: 42px 18px;
  }

.logo-594 {
  width: min(48vw, 210px);
}

  .description {
    font-size: 14px;
    margin-bottom: 22px;
  }

  .section-copy br {
    display: none;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    max-width: 420px;
  }

  .project-item:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }

  .phase-inner {
    width: min(90%, 460px);
  }

  .phase-header {
    margin-bottom: 28px;
  }

  .project-card-image {
    border-radius: 16px;
  }

  .learn-button {
    margin-top: 16px;
  }

  .logo-hundred {
    width: 86px;
    margin-bottom: 42px;
  }

  .hundred-panel {
    min-height: 78vh;
  }
}

.shirt-preview {
    display: flex;
    justify-content: center;
    margin: 25px 0 15px;
    width: 100%;
}

.shirt-preview img {
    width: 500px;
    max-width: 90%;
    height: auto;
}


/* =========================
   PROJECT DETAIL PAGES
========================= */
.detail-panel {
  min-height: 100vh;
}

.detail-content {
  width: min(90%, 760px);
  padding-top: 90px;
  padding-bottom: 90px;
}

.back-link {
  position: absolute;
  top: 28px;
  left: 20px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.back-link:hover {
  color: #fff;
}

.detail-logo {
  width: min(70vw, 360px);
  max-height: 210px;
  object-fit: contain;
  margin-bottom: 46px;
}

.detail-logo-gma { width: min(55vw, 300px); }
.detail-logo-paperchase { width: min(62vw, 330px); }
.detail-logo-ultraflatblack { width: min(56vw, 310px); }
.detail-logo-rip { width: min(60vw, 330px); }

.detail-copy {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(13px, 1.2vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,.92);
}

.detail-button {
  margin-top: 18px;
}

.gray-text {
  color: #666;
}