/* ------------------------------------------------ sections */
section.block {
  padding: 96px 0;
}
@media (min-width: 768px) {
  section.block {
    padding: 144px 0;
  }
}

/* landing page — tighter vertical rhythm between sections */
.home section.block {
  padding: 56px 0;
}
@media (min-width: 768px) {
  .home section.block {
    padding: 80px 0;
  }
}

.eyebrow {
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  margin-bottom: 56px;
  color: var(--grey);
  letter-spacing: 0.2em;
}
@media (min-width: 768px) {
  .eyebrow {
    margin-bottom: 80px;
  }
}

.cols {
  display: grid;
  gap: 48px;
}
@media (min-width: 768px) {
  .cols {
    grid-template-columns: 7fr 1fr 4fr;
    gap: 32px;
  }
}

h2.statement {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.cols p {
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* events */
.events-intro {
  max-width: 36rem;
  font-size: 18px;
  color: var(--ink-soft);
}
.col-lead {
  margin-top: 22px;
  margin-bottom: 0;
  max-width: 40rem;
}
/* builders §01 — section lead above the cards: wider measure + breathing room */
.builders-lead {
  max-width: 46rem;
  font-size: 18px;
  line-height: 1.62;
  margin-bottom: 48px;
}
.event-list {
  margin-top: 56px;
  border-top: 1px solid var(--hairline);
}
.event {
  display: grid;
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 768px) {
  .event {
    grid-template-columns: 2fr 7fr 3fr;
    gap: 32px;
  }
}
.event .idx {
  color: var(--grey);
}
.event h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  letter-spacing: -0.035em;
}
.event .desc {
  margin-top: 16px;
  max-width: 36rem;
  color: var(--ink-soft);
}
.event .partners {
  margin-top: 16px;
  color: var(--grey);
  font-size: 11px;
}
.event .side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .event .side {
    align-items: flex-end;
    text-align: right;
  }
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--grey);
}
.status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hairline);
}
.status .dot.up {
  background: var(--signal);
}

.link-quiet {
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.link-quiet:hover {
  text-decoration-color: currentColor;
}
a.cal {
  display: inline-block;
  margin-top: 40px;
}

/* community */
.roles {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}
.roles li {
  border: 1px solid var(--hairline);
  padding: 8px 16px;
  color: var(--grey);
}

/* join (dark) */
.dark {
  background: var(--ink);
  color: var(--paper);
}
.dark .eyebrow {
  border-color: var(--hairline-dark);
  color: rgba(244, 244, 242, 0.5);
}
.dark h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.dark .body {
  margin-top: 32px;
  max-width: 28rem;
  color: rgba(244, 244, 242, 0.65);
}
.dark .ctas {
  margin-top: 40px;
}
.contacts {
  margin-top: 64px;
  display: grid;
  gap: 1px;
  list-style: none;
  border: 1px solid var(--hairline-dark);
  background: var(--hairline-dark);
}
@media (min-width: 768px) {
  .contacts {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contacts a {
  display: block;
  background: var(--ink);
  padding: 24px;
  text-decoration: none;
  transition: background 0.2s;
}
.contacts a:hover {
  background: var(--ink-soft);
}
.contacts .label {
  color: rgba(244, 244, 242, 0.45);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.contacts .value {
  display: block;
  margin-top: 8px;
  font-weight: 500;
  font-size: 14px;
}

/* Instagram contact box: text on the left, white IG icon on the right */
.contacts a.contact-ig {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.contacts a.contact-ig .contact-text {
  display: block;
}
.contacts .contact-ig-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.contacts a.contact-ig:hover .contact-ig-icon {
  opacity: 1;
}

/* ===================================================== footer */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 112px 0 48px;
}
@media (min-width: 768px) {
  footer {
    padding: 144px 0 56px;
  }
}

footer .grid {
  border-top: 1px solid var(--hairline-dark);
  padding-top: 72px;
  display: grid;
  gap: 56px 40px;
}
@media (min-width: 768px) {
  footer .grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 64px 48px;
    padding-top: 88px;
  }
}

footer .lead {
  max-width: 22rem;
}
footer .brand img {
  height: 30px;
  width: auto;
  display: block;
}
footer .tag {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 244, 242, 0.55);
}
footer .place {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 242, 0.4);
}

footer .col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 244, 242, 0.4);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--hairline-dark);
}
footer .col ul {
  list-style: none;
}
footer .col li {
  margin-bottom: 14px;
}
footer .col a {
  color: rgba(244, 244, 242, 0.72);
  text-decoration: none;
  font-size: 14px;
  transition:
    color 0.2s,
    padding-left 0.2s;
}
footer .col a:hover {
  color: var(--paper);
  padding-left: 4px;
}

footer .baseline {
  margin-top: 88px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}
footer .baseline p {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 242, 0.38);
}

/* reveal animation — content visible by default; animates only with JS + motion OK */
.reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ===================================================== animation */

/* Headline mask + hero load orchestration */
.hero h1 {
  overflow: hidden;
  padding-block: 0.08em;
}
.mask-inner {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .js .nav {
    transform: translateY(-100%);
    animation: navDrop 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
  }

  .js .hero .meta,
  .js .hero .sub,
  .js .hero .ctas,
  .js .hero .backed {
    opacity: 0;
    animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .js .hero .meta {
    animation-delay: 0.25s;
  }
  .js .hero .sub {
    animation-delay: 0.6s;
  }
  .js .hero .ctas {
    animation-delay: 0.74s;
  }
  .js .hero .backed {
    animation-delay: 0.88s;
  }

  .js .hero h1 .mask-inner {
    transform: translateY(115%);
    animation: clipRise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
  }
}

@keyframes navDrop {
  to {
    transform: none;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes clipRise {
  from {
    transform: translateY(115%);
  }
  to {
    transform: none;
  }
}

/* Micro-interactions */
.btn {
  transition:
    background 0.2s,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover {
  transform: translateY(-2px);
}

.nav ul a {
  position: relative;
}
.nav ul button::after {
  display: none;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav ul a:hover::after {
  transform: scaleX(1);
}

.event {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.event .idx,
.event h3 {
  transition:
    color 0.3s,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) {
  .event:hover {
    transform: translateX(6px);
  }
}

.roles li {
  transition:
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}
.roles li:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.contacts .value {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.contacts a:hover .value {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .event:hover,
  .roles li:hover,
  .contacts a:hover .value {
    transform: none;
  }
}
