/* ==========================================================================
   AusCryptoCon 2026 - content sections below the hero.
   Loaded alongside styles.css, which owns the design tokens.
   ========================================================================== */

.section { padding-block: var(--section-y); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: clamp(1.75rem, 3vw, 3rem);
}

.section__head .lede { margin: 0.7rem 0 0; }

/* ---------- Speaker wall ---------- */

.speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
}

.speaker {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform var(--normal) var(--expo), border-color var(--normal);
}

.speaker img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: top center; }

.speaker:hover { transform: translateY(-6px); border-color: var(--cyan); }

/* The final tile is a call-out, not a portrait - breaks the repetition */
.speaker--more {
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1.25rem;
  background: linear-gradient(150deg, rgba(27, 193, 255, 0.16), rgba(116, 62, 255, 0.16));
  aspect-ratio: 5 / 6;
}

.speaker--more strong {
  display: block;
  font-size: 1.9rem;
  font-variation-settings: "wght" 800, "wdth" 108;
  line-height: 1;
}

.speaker--more span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Bento: what is inside ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
}

.tile {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
  padding: clamp(1.3rem, 2.2vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 232px;
  transition: border-color var(--normal), transform var(--normal) var(--expo);
}

.tile:hover { border-color: var(--line-strong); transform: translateY(-4px); }

.tile__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transition: transform var(--slow) var(--expo), opacity var(--normal);
}

.tile:hover .tile__media img { transform: scale(1.05); opacity: 0.55; }

.tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 0, 28, 0.94) 12%, rgba(8, 0, 28, 0.42) 62%, rgba(8, 0, 28, 0.2));
}

/* Lift the text above the photo - but leave .tile__media absolutely positioned,
   otherwise it drops back into flow and the image stops being full-bleed. */
.tile > :not(.tile__media) { position: relative; z-index: 1; }

.tile__tag {
  align-self: start;
  margin-bottom: auto;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--line-strong);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tile__title {
  font-size: var(--h3);
  font-variation-settings: "wght" 800, "wdth" 106;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 1.4rem 0 0.5rem;
}

.tile p { margin: 0; font-size: 0.9rem; color: var(--text-soft); }

/* Deliberately uneven spans */
.tile--wide { grid-column: span 4; }
.tile--tall { grid-column: span 2; min-height: 300px; }

.tile--third { grid-column: span 2; }

.tile--prize {
  background: linear-gradient(148deg, rgba(247, 44, 138, 0.24), rgba(116, 62, 255, 0.16));
}

.tile--prize .tile__title {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem);
  letter-spacing: -0.03em;
}

/* ---------- Testimonial ---------- */

.quote {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}

.quote blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 0.95rem + 1.1vw, 1.85rem);
  font-variation-settings: "wght" 500, "wdth" 100;
  line-height: 1.35;
  text-wrap: pretty;
}

.quote blockquote::before { content: "\201C"; color: var(--cyan); }
.quote blockquote::after { content: "\201D"; color: var(--cyan); }

.quote figcaption {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.quote figcaption b { color: var(--text); font-variation-settings: "wght" 700; }

/* ---------- Closing CTA ---------- */

.closer {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-block: var(--section-y);
}

.closer .display { margin-bottom: 1.25rem; }
.closer .lede { margin-inline: auto; margin-bottom: 2rem; }

.closer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.25rem 3rem;
  font-size: 0.84rem;
  color: var(--text-faint);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer a { text-decoration: none; }
.footer a:hover { color: var(--cyan); text-decoration: underline; }

.footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- Mobile sticky CTA ---------- */

.dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(8, 0, 28, 0.9);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: none;
  transform: translateY(110%);
  transition: transform var(--normal) var(--expo);
}

.dock[data-visible="true"] { transform: translateY(0); }

/* ---------- Reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--slow) var(--expo), transform var(--slow) var(--expo);
}

[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .pass { position: static; max-width: 560px; }
  .collage { max-width: none; }
  .tile--wide { grid-column: span 6; }
  .tile--tall, .tile--third { grid-column: span 3; }
}

@media (max-width: 720px) {
  .masthead__meta .sold-pill { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .tile--tall, .tile--third { grid-column: span 6; min-height: 210px; }
  .dock { display: block; }
  body { padding-bottom: 4.5rem; }
  .quote blockquote { font-size: 1.15rem; }
}

@media (max-width: 420px) {
  .countdown__cell { min-width: 0; flex: 1; padding-inline: 0.5rem; }
  .masthead__meta .btn { padding: 0.7rem 1rem; font-size: 0.88rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .collage img { transform: none; }
}

/* ---------- Print ---------- */

@media print {
  .masthead, .dock, .marquee, .closer__actions { display: none; }
  body { background: #fff; color: #000; }
  body::before, body::after { display: none; }
}

/* Note beside a section title - narrower measure than the default lede */
.section__note { max-width: 34ch; }
