:root {
  --black: #000;
  --white: #f8f8f6;
  --blue: #0868e8;
  --green: #00e500;
  --yellow: #f5f500;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 32px;

  border-bottom: 1px solid rgba(255,255,255,.08);

  position: relative;
  z-index: 10;

  background: #000;
}

.brand {
  min-width: 320px;

  display: grid;
  grid-template-columns: 56px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;

  line-height: .88;
}

.brand-logo {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #f13636;
}

.brand-accent {
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #fff;
}

.brand small {
  grid-column: 2;

  font-size: 7px;
  letter-spacing: 1.1px;
  color: rgba(255,255,255,.68);
  margin-top: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 42px;
  flex: 1;

  font-size: 15px;
  font-weight: 500;

  color: rgba(255,255,255,.88);
}

.nav-links a {
  transition: .2s;
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
  transform: translateY(-1px);
  
}

.nav-cta {
  background: #0877ff;

  padding: 23px 30px;

  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;

  box-shadow: 0 12px 28px rgba(0,119,255,.2);
}

.menu {
  display: none;

  background: none;
  border: 0;
}

.menu span {
  display: block;

  width: 24px;
  height: 2px;

  background: white;

  margin: 5px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #f8f8f6;
  color: #111;
}

.footer-cta {
  position: relative;
  min-height: 420px;
  padding: 90px max(8vw, 50px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}

.footer-cta::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -110px;
  top: -120px;
  background: var(--green);
  border-radius: 58% 42% 67% 33%;
  transform: rotate(25deg);
}

.footer-cta::after {
  content: "✱";
  position: absolute;
  right: 60px;
  bottom: 50px;
  color: var(--yellow);
  font-size: 130px;
  line-height: 1;
}

.footer-cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.footer-label {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer-cta h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(78px, 9vw, 145px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -4px;
}

.footer-cta h2 span {
  color: var(--yellow);
}

.footer-cta p {
  max-width: 520px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
}

.footer-register {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  min-width: 180px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  transition: .25s;
}

.footer-register span {
  font-size: 32px;
}

.footer-register:hover {
  transform: rotate(-6deg) scale(1.04);
  background: var(--yellow);
  color: #000;
}

.footer-main {
  padding: 75px max(8vw, 50px) 70px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 70px;
  border-top: 1px solid #ddd;
}

.footer-logo img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 18px;
  background: #fff;
}

.footer-brand > p {
  max-width: 400px;
  margin-top: 25px;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border: 1px solid #bbb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
}

.footer-socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h3 {
  margin-bottom: 25px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
}

.footer-column a {
  width: max-content;
  margin-bottom: 13px;
  color: #555;
  font-size: 14px;
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover {
  color: var(--blue);
  transform: translateX(4px);
}

.footer-contact p {
  margin-top: 15px;
  color: #777;
  font-size: 13px;
  line-height: 1.7;
}

.footer-bottom {
  min-height: 75px;
  padding: 20px max(8vw, 50px);
  border-top: 1px solid #d7d7d7;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: #777;
  font-size: 11px;
}

.footer-legal {
  display: flex;
  gap: 25px;
}

.footer-legal a {
  color: #666;
  transition: color .2s;
}

.footer-legal a:hover {
  color: var(--blue);
}

.footer-mark {
  justify-self: end;
  color: #111;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.speakers-page {
  position: relative;
  min-height: 100vh;
  padding: 95px 11vw 120px;
  overflow: hidden;
}


/* =========================
   DECORATIVE SHAPE
========================= */

.shape-blue {
  position: absolute;
  width: 330px;
  height: 330px;
  background: var(--blue);

  right: -90px;
  top: -70px;

  border-radius: 48% 52% 38% 62%;
  transform: rotate(25deg);

  z-index: 0;
}

.shape-blue::before,
.shape-blue::after {
  content: "";
  position: absolute;
  background: var(--blue);
}

.shape-blue::before {
  width: 150px;
  height: 210px;

  left: -70px;
  top: 80px;

  border-radius: 70% 30% 70% 30%;
}

.shape-blue::after {
  width: 150px;
  height: 180px;

  left: 100px;
  bottom: -100px;

  border-radius: 40% 60% 70% 30%;
}


/* =========================
   HEADER
========================= */

.speakers-header {
  position: relative;
  z-index: 2;

  max-width: 760px;

  margin-bottom: 90px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 24px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eyebrow span {
  color: var(--yellow);
  font-size: 20px;
}

.speakers-header h1 {
  font-family: "Barlow Condensed", sans-serif;

  font-size: clamp(75px, 8vw, 120px);
  font-weight: 900;

  line-height: .8;
  letter-spacing: -3px;

  margin-bottom: 38px;
}

.event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;

  font-family: "Barlow Condensed", sans-serif;
  font-size: 27px;
  font-weight: 800;
}

.blue-star {
  color: var(--blue);
  font-size: 30px;
}

.blue-cross {
  color: var(--blue);
  font-size: 32px;
}

.speakers-header p {
  max-width: 620px;

  margin-top: 28px;

  color: #a9a9ad;

  font-size: 17px;
  line-height: 1.5;
}


/* =========================
   GRID
========================= */

.speakers-grid {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}


/* =========================
   CARD
========================= */

.speaker-card {
  position: relative;

  overflow: hidden;

  border-radius: 16px;

  min-height: 550px;
}

.green-card {
  background: var(--green);
}

.yellow-card {
  background: var(--yellow);
}


/* =========================
   IMAGE AREA
========================= */

.speaker-image {
  position: relative;

  height: 390px;

  overflow: hidden;
}

.speaker-image img {
  position: absolute;

  z-index: 3;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center bottom;

  transition: transform .5s ease;
}

.speaker-card:hover .speaker-image img {
  transform: scale(1.04);
}


/* =========================
   ABSTRACT SHAPES
========================= */

.abstract {
  position: absolute;

  z-index: 1;

  background: var(--blue);
}

.abstract-blue {
  width: 240px;
  height: 320px;

  left: 50%;
  top: 40px;

  transform: translateX(-50%) rotate(-30deg);

  border-radius: 50% 20% 50% 20%;
}

.abstract-green {
  width: 230px;
  height: 280px;

  left: -70px;
  top: -50px;

  background: var(--green);

  border-radius: 60% 40% 30% 70%;
}

.abstract-yellow {
  width: 270px;
  height: 290px;

  right: -70px;
  top: -40px;

  background: var(--yellow);

  border-radius: 50% 50% 20% 80%;
}


/* =========================
   INFO
========================= */

.speaker-info {
  position: relative;

  z-index: 5;

  margin: -10px 20px 0;

  padding: 25px 23px 24px;

  background: var(--white);

  color: #050505;

  border-radius: 22px 22px 0 0;

  min-height: 190px;
}

.speaker-info h2 {
  font-family: "Barlow Condensed", sans-serif;

  font-size: 35px;
  font-weight: 900;

  line-height: .85;

  margin-bottom: 14px;
}

.speaker-info p {
  color: var(--blue);

  font-size: 15px;

  line-height: 1.35;

  max-width: 330px;
}

.bio-link {
  display: inline-block;

  margin-top: 18px;

  color: #111;

  font-size: 14px;
  font-weight: 500;

  transition: transform .2s ease;
}

.bio-link:hover {
  transform: translateX(5px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {

  .nav-links {
    gap: 18px;
  }

  .brand {
    min-width: 230px;
  }

  .speakers-page {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

  .nav {
    height: 76px;
    padding: 0 18px;
  }

  .brand {
    min-width: 0;
    flex: 1;
    grid-template-columns: 46px auto;
    column-gap: 10px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .brand-main,
  .brand-accent {
    font-size: 24px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu {
    display: block;
  }

  .speakers-page {
    padding: 70px 20px 80px;
  }

  .shape-blue {
    width: 220px;
    height: 220px;

    right: -100px;
  }

  .speakers-header {
    margin-bottom: 60px;
  }

  .speakers-header h1 {
    font-size: 70px;
    letter-spacing: -2px;
  }

  .event-meta {
    font-size: 22px;
    gap: 10px;
  }

  .speakers-header p {
    font-size: 15px;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .speaker-card {
    min-height: 520px;
  }

  .speaker-image {
    height: 370px;
  }

  .footer-cta {
    min-height: 550px;
    padding: 70px 25px;
    display: block;
  }

  .footer-cta h2 {
    font-size: 75px;
    letter-spacing: -2px;
  }

  .footer-cta p {
    font-size: 14px;
  }

  .footer-register {
    width: 150px;
    height: 150px;
    min-width: 150px;
    margin-top: 45px;
    font-size: 17px;
  }

  .footer-register span {
    font-size: 27px;
  }

  .footer-main {
    padding: 55px 25px;
    grid-template-columns: 1fr 1fr;
    gap: 45px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 25px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-mark {
    justify-self: start;
  }

}

@media (max-width: 450px) {

  .footer-main {
    grid-template-columns: 1fr;
  }

}
