/* ─── Scroll Reveal ──────────────────────────────────────── */
.scroll-reveal-item {
  opacity: 0;
  transform: scale(0.97) translateY(40px);
  transition: opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-item.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ─── About: Logo Hero Section ─────────────────────────── */
.about-logo-section {
  background: #ffffff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-img {
  width: clamp(420px, 80vw, 980px);
  height: auto;
  display: block;
}

/* ─── About: Reveal Text Section ────────────────────────── */
.about-reveal-section {
  background: var(--white);
  padding: 280px 40px 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-reveal-inner {
  max-width: 780px;
  width: 100%;
}

.about-reveal-text {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.2px;
  text-align: left;
}

.reveal-word {
  display: inline;
  color: #ccc;
  transition: color 0.4s ease;
}



/* ─── Founder Note Section ───────────────────────────────── */
.founder-section {
  background: var(--white);
  padding: 240px 40px 240px;
  display: flex;
  justify-content: center;
}

.founder-inner {
  max-width: 640px;
  width: 100%;
}

.founder-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--black);
  display: block;
  margin-bottom: 56px;
}

.founder-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}

.founder-body p {
  font-size: 20px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.85;
}

.founder-closing {
  padding-top: 0;
}

.founder-sig-wrap {
  margin-bottom: 14px;
  width: 196px;
}

.founder-sig-img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 3px;
}

.founder-role {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
}

/* ─── Where IBT Stands Section ───────────────────────────── */
.ibt-stands-section {
  background: var(--white);
  padding: 160px 60px 200px;
}

.ibt-stands-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ibt-stands-heading {
  font-size: 36px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 80px;
  padding-left: 60px;
}

.ibt-stands-img {
  width: 100%;
  display: block;
}

/* ─── Values Section ─────────────────────────────────────── */
.values-section {
  background: var(--white);
  padding: 160px 0 180px;
  overflow: hidden;
}

.values-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 60px;
  margin-bottom: 48px;
}

.values-heading {
  font-size: 50px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.5px;
  text-align: left;
  margin: 0;
}

.values-grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Match leadership: section has 60px padding + inner max-width 960px centered */
  padding-left: max(60px, calc(50vw - 480px));
  padding-right: 60px;
  padding-top: 8px;
  padding-bottom: 24px;
  cursor: grab;
}

.values-grid:active { cursor: grabbing; }

.values-grid::-webkit-scrollbar { display: none; }

.value-card {
  flex: 0 0 320px;
  background: #f7f7f7;
  border-radius: 28px;
  padding: 44px 36px;
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  box-shadow: none;
}

.value-card-body {
  font-size: 28px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.45;
  letter-spacing: -0.4px;
  margin: 0;
}

.vc-green  { color: #00b050; }
.vc-blue   { color: #0070f3; }
.vc-purple { color: #9b30ff; }
.vc-orange { color: #ff7300; }
.vc-coral  { color: #ff3b30; }
.vc-teal   { color: #00aacc; }
.vc-gold   { color: #d4860a; }

.hl-green  { color: #00b050; font-weight: 400; }
.hl-purple { color: #9b30ff; font-weight: 400; }
.hl-orange { color: #ff7300; font-weight: 400; }
.hl-teal   { color: #00aacc; font-weight: 400; }

/* ─── Documents Section ──────────────────────────────────── */
.docs-section {
  background: var(--white);
  padding: 160px 60px 160px;
}

.docs-inner {
  max-width: 780px;
  margin: 0 auto;
}

.docs-grid {
  display: flex;
  flex-direction: column;
}

.doc-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 0;
  border-top: 1px solid #e0e0e0;
}

.docs-grid .doc-item:first-child {
  border-top: none;
}

.doc-source {
  font-size: 22px;
  font-weight: 400;
  color: #999;
  line-height: 1.4;
}

.doc-title {
  font-size: 38px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.doc-link {
  font-size: 24px;
  font-weight: 400;
  color: #0070f3;
  margin-top: 4px;
  text-decoration: none;
  transition: opacity 0.18s;
  display: inline-block;
}

.doc-link:hover { opacity: 0.45; }

.doc-link--gated {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}

/* Permission Modal */
.doc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.doc-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.doc-modal {
  background: #fff;
  border-radius: 20px;
  padding: 40px 44px;
  max-width: 420px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}

.doc-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0;
}

.doc-modal-body {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.doc-modal-email {
  font-size: 14px;
  font-weight: 500;
  color: #0070f3;
  text-decoration: none;
}

.doc-modal-email:hover { text-decoration: underline; }

.doc-modal-close {
  margin-top: 16px;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  background: none;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 20px;
  padding: 6px 18px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.doc-modal-close:hover { color: #111; border-color: rgba(0,0,0,0.3); }

/* ─── Pitch Deck Section ─────────────────────────────────── */
.pitch-section {
  background: #f9f9f9;
  padding: 180px 60px 120px;
}

.pitch-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.pitch-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #111;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  text-align: center;
}

.pitch-desc {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  color: #666;
  line-height: 1.7;
  text-align: center;
  margin: -20px 0 0;
}

.pitch-card {
  width: 100%;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pitch-canvas-wrap {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  /* Corner smoothing approximation */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.pitch-canvas {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.pitch-nav {
  display: flex;
  gap: 12px;
  align-items: center;
  align-self: center;
}

.pitch-arrow {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  color: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.pitch-arrow:hover:not(:disabled) {
  color: #111;
  transform: translateX(-2px);
}

#pitchNext:hover:not(:disabled) {
  transform: translateX(2px);
}

.pitch-arrow:active:not(:disabled) {
  transform: scale(0.9);
}

.pitch-arrow:disabled {
  opacity: 0.18;
  cursor: default;
}

.pitch-full-link {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 500;
  color: #0070f3;
  text-decoration: none;
  transition: opacity 0.18s;
}

.pitch-full-link:hover {
  opacity: 0.6;
}

/* ─── Leadership Section ─────────────────────────────────── */
.leadership-section {
  background: var(--white);
  padding: 240px 60px 160px;
}

.leadership-inner {
  max-width: 960px;
  margin: 0 auto;
}

.leadership-heading {
  font-size: 50px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 48px;
  text-align: left;
  letter-spacing: -0.5px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.leader-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: none;
}

.leader-name {
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 2px;
}

.leader-arrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  display: inline-block;
  vertical-align: baseline;
}

.leader-role {
  font-size: 21px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.5;
}

/* ─── FAQ Section ─────────────────────────────────────────── */
.faq-section .docs-inner {
  max-width: 960px;
}

.faq-heading {
  font-size: 60px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid #e0e0e0;
}

.faq-item:last-child {
  border-bottom: 1px solid #e0e0e0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-q {
  font-size: 34px;
  font-weight: 400;
  color: #111;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.faq-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  color: #111;
  line-height: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: #111;
  color: #fff;
  border-color: #111;
}

.faq-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-body {
  max-height: 800px;
  opacity: 1;
}

.faq-a {
  font-size: 19px;
  font-weight: 400;
  color: #666;
  line-height: 1.8;
  margin: 0;
  padding-bottom: 32px;
}

/* ─── About: Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .founder-section {
    padding: 80px 24px 80px;
  }

  .founder-body p {
    font-size: 14px;
  }

  .about-logo-heading {
    font-size: 3rem;
  }

  .about-reveal-section {
    padding: 140px 24px 120px;
  }

  .about-reveal-text {
    font-size: 22px;
  }

  .ibt-stands-section {
    padding: 60px 24px 80px;
  }

  .ibt-stands-heading {
    font-size: 28px;
    padding-left: 0;
    margin-bottom: 40px;
  }

  .values-section {
    padding: 80px 0 60px;
  }

  .values-header {
    padding: 0 24px;
    margin-bottom: 32px;
  }

  .values-heading {
    font-size: 32px;
  }

  .values-grid {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 8px;
    padding-bottom: 20px;
    gap: 12px;
  }

  .value-card {
    flex: 0 0 260px;
    padding: 32px 28px;
    min-height: 200px;
    border-radius: 20px;
  }

  .value-card-body {
    font-size: 20px;
  }

  .pitch-section {
    padding: 80px 24px 80px;
  }

  .pitch-card {
    padding: 20px;
    border-radius: 20px;
  }

  .pitch-heading {
    font-size: 2.2rem;
  }

  .docs-section {
    padding: 80px 24px 80px;
  }

  .docs-grid {
    gap: 32px;
  }

  .doc-title {
    font-size: 26px;
  }

  .doc-source {
    font-size: 15px;
  }

  .doc-link {
    font-size: 16px;
  }

  .leadership-section {
    padding: 60px 24px 60px;
  }

  .leadership-heading {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 32px 0;
  }
}

@media (max-width: 480px) {
  .about-reveal-section {
    padding: 100px 20px 80px;
  }

  .about-reveal-text {
    font-size: 18px;
  }

  .values-heading {
    font-size: 24px;
  }

  .value-card-body {
    font-size: 18px;
  }

  .leadership-heading {
    font-size: 24px;
  }

  .leader-role {
    font-size: 14px;
  }
}
