@font-face {
  font-family: 'Pitch Bold';
  src: url('assets/fonts/Pitch-Bold.otf') format('opentype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NYC Sans';
  src: url('assets/fonts/NYC_Sans_v0_2-Medium-TRIAL.otf') format('opentype');
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

:root {
  --blue: #0085ff;
  --blue-light: #cce7ff;
  --blue-mid: #005fc0;
  --black: #000;
  --white: #fff;
  --off-white: #f5f2ee;
  --font-display: 'Pitch Bold', serif;
  --font-body: 'NYC Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--blue);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding: 60px 60px 0px 60px;
  mix-blend-mode: normal;
  background-color:var(--blue);
}

nav.flyout-links {
  background-color:var(--blue-light);
  color:var(--blue);
}

/* Explicit grid placement so nav-wordmark can overlap middle+right cols */
nav .nav-links {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-self: start;
}

nav .menu-btn {
  grid-column: 1;
  grid-row: 1;
}

nav .nav-links a {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.2s;
}

nav .nav-links a:hover {
  color: var(--black);
}

nav .nav-right,
nav .nav-middle {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--white);
}

nav .nav-right a {
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.2s;
}

nav .nav-right a:hover {
  color: var(--black);
}

/* Mobile menu button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--blue-light);
  cursor: pointer;
  padding: 0;
}

/* ─── FLYOUT NAV (MOBILE) ─── */
.flyout {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--blue-light);
  z-index: 200;
  padding: 28px 28px 40px;
  display: flex;
  align-items: flex-start;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  pointer-events: none;
  height: 322px;
}

.flyout.open {
  transform: translateY(0);
  pointer-events: auto;
}

.flyout-close {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--blue);
  cursor: pointer;
}

.flyout-links {
  position: static;
  z-index: auto;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
  flex: 1;
}

.flyout-links a {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  text-decoration: none;
  color:var(--blue);
  transition: color 0.2s;
}

.flyout-links a:hover {
  color: var(--black);
}

/* ─── HERO ─── */
#hero {
  background: var(--blue);
  display: flex;
  padding: clamp(150px, 15.625vw, 300px) 60px 0px 60px;
  gap: 0;
  position: relative;
}

#hero .hero-logo {
  display: flex;
  align-items: flex-end;
  width: 100%;
  flex: 1;
}

.archive-wordmark {
  width: 100%;
}

.archive-wordmark svg {
  width: 100%;
  height: auto;
  display: block;
}


/* ─── SECTION SHARED ─── */
section {
  padding: 60px 60px;
}

.section-label {
  font-family: var(--font-body);
  font-size: clamp(48px, 4vw, 83px);
  color: var(--blue);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  max-width: fit-content;
}

.section-label::after, .about-label::after {
  content: '';
  display: block;
  height: .5vw;
  width: 100%;
  background: var(--blue);
}

.about-label::after {
  background: var(--white);
}

.section-heading {
  font-family: var(--font-body);
  font-size: clamp(32px, 4vw, 60px);
  color: var(--blue);
  margin-bottom: 48px;
}

/* ─── ABOUT ─── */
#about {
  background: var(--blue);
}

#about .about-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.about-label {
  font-family: var(--font-body);
  font-size: clamp(48px, 4vw, 83px);
  color: var(--white);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  max-width: fit-content;
}

.about-text {
  grid-column: span 2;
}

.about-text p, .about-sign, .about-text p a {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--white);
  margin-bottom: 1.4em;
  transition: color 0.2s;
  text-decoration: none;
  text-wrap: pretty;
}

.about-sign {
  margin-bottom: 0;
}

.about-text p a {
  color: var(--blue-light);
}

.about-text p:last-child {
  margin-bottom: 30px;
}

.about-text a:hover {
  color: var(--black);
}

/* ─── SUPPORT ─── */
#support {
  background: var(--blue-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

#support .support-label {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--blue);
  margin-bottom: 15px;
}

#support .logos-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  grid-column: span 2;
}

.logo img {
  max-width: 150px;
  width: 100%;
  max-height: 88px;
}

.logo img.first-logo {
  padding-left: 30px;
  padding-right: 30px;
}

/* ─── SPEAKERS ─── */
#speakers {
  background: var(--white);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 0;
}

.speaker-card {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.speaker-card img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
  min-width: 260px;
}

.speaker-card .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
}

@media (hover: hover) {
  .speaker-card:hover .img-default { opacity: 0; }
  .speaker-card:hover .img-hover { opacity: 1; }
}

.speaker-info {
  position: relative;
  padding-top: 8px;
}

.speaker-name {
  font-family: var(--font-body);
  font-size: clamp(48px, 4vw, 83px);
  color: var(--blue);
  margin-bottom: 6px;
  line-height: 0.85;
}

.speaker-company {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--blue);
  text-wrap: balance;
}

/* ─── TICKETS ─── */
#tickets {
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.tickets-inner {
  display:flex;
  flex-direction: column;
  align-items: start;
  grid-column: span 2;
}

.ticket-info {
  font-family: var(--font-body);
  font-size: clamp(48px, 4vw, 83px);
  display: flex;
  flex-direction: column;
}

.ticket-access{
  padding-bottom: 60px;
}

.ticket-purchase {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.btn-purchase {
  font-size: clamp(63px, 10vw, 203px);
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  letter-spacing: -0.02em;
}

.btn-purchase:hover {
  color: var(--black);
}

.btn-purchase:hover .arrow-icon img {
  filter: brightness(0);
}

.arrow-icon {
  display: flex;
  width: clamp(40px, 8.5vw, 110px);
  height: clamp(63px, 7.6vw, 136px);
}

.arrow-icon img {
  transition: filter 0.2s;
}

.arrow-icon svg {
  width: 100%;
  height: 100%;
}

/* ─── SCHEDULE ─── */
#schedule {
  background: var(--white);
  color: var(--blue);

}

#schedule .section-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 30px;
}

.schedule-date-line {
  grid-column: span 2;
  font-family: var(--font-body);
  font-size: clamp(48px, 4vw, 83px);
  color: var(--blue);
  display: flex;
  flex-direction: column;
}

.schedule-date-line .date {
  margin-bottom: 61px;
}

.schedule-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.schedule-row:last-child {
  margin-top:180px;
}

.schedule-time {
  font-family: var(--font-body);
  font-size: clamp(48px, 4vw, 83px);
  color: var(--blue);
  padding-top: 24px;
}

.schedule-talk {
  font-family: var(--font-body);
  font-size: clamp(73px, 10vw, 203px);
  color: var(--blue);
  grid-column: span 2;
  line-height: .9;
  letter-spacing: -0.02em;
}

.schedule-talk a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

.schedule-talk a:hover {
  color: var(--black);
}

/* ─── VENUE ─── */
#venue {
  background: var(--white);
}

.venue-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: 2px;
}

.venue-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 0;
}

.venue-block {
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;

}

.venue-block+.venue-block {
  padding-left: 48px;
}

.venue-block-label {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--blue);
  margin-bottom: 16px;
}

.venue-block-name {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--blue);
  margin-bottom: 8px;
}

.venue-block-address {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--blue);
}

.venue-block-address a {
  color: var(--blue-light);
  text-decoration: none;
  display: block;
  margin-top: 12px;
}

.venue-block-address a:hover {
  color: var(--black);
}

/* ─── FOOTER ─── */
footer {
  background: var(--blue);
  color: var(--white);
  padding: 60px 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
  margin-bottom: clamp(300px, calc(13.9vw + 133px), 400px);
}

.footer-logo svg,
.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-logo--mobile {
  display: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--blue-light);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--black);
}

.footer-links p {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--white);
}

.footer-partners {
  display: flex;
  flex-direction: column;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
}

.footer-contact a {
  font-family: var(--font-body);
  font-size: clamp(26px, calc(2.903vw - 9.74px), 46px);
  color: var(--blue-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--black);
}

.footer-contact a:first-child {
  margin-bottom: 42px;
}

@media (max-width: 1125px) {
  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav {
    padding: 20px 28px 0px 28px;
    display: flex;
    justify-content: space-between;
    gap: 57px;
  }

  nav .nav-links {
    display: none;
  }

  nav .nav-right {
    display: none;
  }

  nav .nav-middle {
    display: block;
    width: auto;
  }

  .logo img {
    max-width: 150px;
    width: 100%;
    max-height: none;
    height: auto;
  }

  .menu-btn {
    display: flex;
    flex-shrink: 0;
  }

  section {
    padding: 30px 28px;
  }

  #hero {
    grid-template-columns: 1fr;
    padding: 150px 28px 0px;
  }

  #hero .hero-logo {
    grid-column: 1;
  }

  #hero .hero-meta {
    grid-column: 1;
    padding-top: 24px;
  }

  #hero .hero-hosted {
    grid-column: 1;
    padding-left: 0;
    padding-top: 32px;
  }

  #about .about-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #support {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  #support .logos-row{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-items: center;
    padding: 20px;
  }
  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-label::after, .section-label::after {
    height: 6px;
  }

  #tickets {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tickets-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ticket-info{
    line-height: 0.85;
    gap: 35px;
  }

  .ticket-access{
  padding-bottom: 0px;
}

  #schedule .section-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .schedule-row:last-child {
    margin-top: 90px;
  }

  .schedule-grid {
    grid-template-columns: 80px 1fr;
  }

  .venue-image {
    aspect-ratio: 16/9;
    min-height: 200px;
  }


  .venue-block {
    padding-top: 20px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .venue-info-grid:last-child .venue-block {
    padding-bottom: 0;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 28px 28px;
  }
  .footer-links {
    gap: 24px;
  }

  .footer-logo--desktop {
    display: none;
  }

  .footer-logo--mobile {
    display: block;
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    row-gap: 45px;
    column-gap: 0px;
  }
  .footer-contact a:first-child{
    margin-bottom: 24px;
  }
}
