/* ============================================================
   The Real Estate Lending Summit — standalone page
   Plain CSS. No SCSS, no variables, no mixins. Pixel-perfect to Figma.
   ============================================================ */

@import url('../fonts/fonts.css');

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

html {
  scroll-behavior: smooth;
}

body.summit {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  background-color: #000d1e;
  width: 100%;
}

.summit img {
  max-width: 100%;
  height: auto;
  display: block;
}

.summit a {
  text-decoration: none;
  color: inherit;
}

.summit ul {
  list-style: none;
}

.summit-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 1440px) { .summit-container { max-width: calc(100% - 80px); } }
@media (max-width: 1280px) { .summit-container { max-width: calc(100% - 48px); } }
@media (max-width: 768px)  { .summit-container { max-width: calc(100% - 32px); } }

/* ---------------------------------------------------------- Eyebrow */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sweet Sans Pro', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.1875em;
  text-transform: uppercase;
  line-height: 1;
  color: #c9a84c;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background-color: currentColor;
  flex-shrink: 0;
}
.eyebrow--hero::before { width: 40px; }
@media (max-width: 1500px) {
  .eyebrow { font-size: 14px; letter-spacing: 3px; line-height: 1.14; }
  .eyebrow--hero::before { width: 34px; }
}
@media (max-width: 1280px) {
  .eyebrow { font-size: 12px; letter-spacing: 0.16em; }
}

/* ---------------------------------------------------------- Button (ported) */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 48px;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
@media (max-width: 1500px) {
  .btn {
    height: auto;
    padding: 16px 28px;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.7px;
  }
}

.summit .btn--primary {
  background-image: linear-gradient(94deg, #c9a84c 0%, #e8c97a 50%, #c9a84c 100%);
  color: #00162f;
}
.summit .btn--primary:hover {
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.3);
}

/* ---------------------------------------------------------- Logo */

.logo {
  position: relative;
  display: block;
  width: 164px;
  height: 56px;
  flex-shrink: 0;
  transition: width 0.35s ease, height 0.35s ease;
}
.logo img { position: absolute; display: block; }
.logo .logo__mark {
  top: 0; left: 0; right: 0; bottom: 29.34%;
  width: 100%; height: 70.66%;
}
.logo .logo__wordmark {
  top: 86.11%; left: 26.49%; right: 24.72%; bottom: 0;
  width: 48.79%; height: 13.89%;
}
@media (max-width: 1500px) {
  .logo { width: 94px; height: 32px; }
}

/* ---------------------------------------------------------- Header */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 100;
  padding: 28px 0;
  pointer-events: none;
  transition: padding 0.35s ease;
}

@media (max-width: 1500px) {
  .header { padding: 24px 0; }
}

@media (max-width: 768px) {
  .header { padding: 16px 0; }
}

.header__pill {
  position: relative;
  width: 100%;
  max-width: 1720px;
  height: 80px;
  margin: 0 auto;
  border-radius: 16px;
  background-color: transparent;
  border: 1px solid transparent;
  pointer-events: auto;
  transition: max-width 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
@media (max-width: 1800px) { .header__pill { max-width: calc(100% - 80px); } }
@media (max-width: 1280px) { .header__pill { max-width: calc(100% - 48px); height: 60px; } }
@media (max-width: 1080px) { .header__pill { max-width: calc(100% - 24px); } }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
}
@media (max-width: 1440px) { .header__inner { max-width: calc(100% - 80px); } }
@media (max-width: 1080px) { .header__inner { max-width: calc(100% - 32px); } }
@media (max-width: 768px)  { .header__inner { gap: 20px; } }

.header__line {
  flex: 1 1 0;
  min-width: 0;
  height: 1.5px;
  background-color: rgba(201, 168, 76, 0.2);
}

.header--fixed { padding: 16px 0; }
.header--fixed .logo { width: 117px; height: 40px; }
@media (max-width: 1500px) {
  .header--fixed .logo { width: 94px; height: 32px; }
}
.header--fixed .header__pill {
  background-color: rgba(10, 26, 46, 0.85);
  border-color: rgba(201, 168, 76, 0.2);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------------------- Hero */

.summit-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  padding: 160px 0;
}
@media (max-width: 1500px) { .summit-hero { min-height: 0; padding: 100px 0; } }

.summit-hero__bg { position: absolute; inset: 0; z-index: 1; }
.summit-hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
}
.summit-hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, #000711 0%, rgba(0, 7, 17, 0.85) 38%, rgba(0, 7, 17, 0.35) 100%);
}
.summit-hero .summit-container { position: relative; z-index: 3; }

.summit-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 72px;
  max-width: 821px;
}
@media (max-width: 1500px) { .summit-hero__inner { gap: 48px; } }

.summit-hero__group {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.summit-hero__heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.summit-hero__title {
  font-family: 'Cormorant Garamond', sans-serif;
  font-weight: 500;
  font-size: 120px;
  line-height: 1;
  color: #ffffff;
}
@media (max-width: 1500px) { .summit-hero__title { font-size: 92px; line-height: 0.92; } }
@media (max-width: 1080px) { .summit-hero__title { font-size: 72px; } }
@media (max-width: 768px)  { .summit-hero__title { font-size: 52px; } }
@media (max-width: 480px)  { .summit-hero__title { font-size: 44px; } }

.summit-hero__description {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #ffffff;
  max-width: 821px;
}
@media (max-width: 1500px) { .summit-hero__description { font-size: 16px; line-height: 1.75; max-width: 640px; } }
@media (max-width: 768px) { .summit-hero__description { font-size: 17px; } }

.summit-hero__meta {
  display: flex;
  align-items: center;
  gap: 46px;
}
@media (max-width: 768px) { .summit-hero__meta { flex-direction: column; align-items: flex-start; gap: 20px; } }

.summit-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #e9b83b;
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 1500px) { .summit-hero__meta-item { font-size: 26px; } }
@media (max-width: 768px)  { .summit-hero__meta-item { font-size: 22px; gap: 12px; } }

.summit-hero__meta-icon { flex-shrink: 0; width: 32px; height: 32px; color: #e9b83b; }
@media (max-width: 768px) { .summit-hero__meta-icon { width: 26px; height: 26px; } }

.summit-hero__cta { align-self: flex-start; }
@media (max-width: 580px) { .summit-hero__cta { align-self: stretch; } }

/* ---------------------------------------------------------- Partners */

.summit-partners {
  background-color: #001228;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 100px 0;
}
@media (max-width: 1500px) { .summit-partners { padding: 72px 0; } }
@media (max-width: 768px) { .summit-partners { padding: 64px 0; } }

.summit-partners__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.summit-partners__title {
  font-family: 'Sweet Sans Pro', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.094em;
  text-transform: uppercase;
  color: #e9b83b;
  text-align: center;
}
@media (max-width: 1500px) { .summit-partners__title { font-size: 24px; } }
@media (max-width: 768px) { .summit-partners__title { font-size: 22px; } }

.summit-partners__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 120px;
}
@media (max-width: 1500px) { .summit-partners__logos { gap: 36px 72px; } }
@media (max-width: 768px)  { .summit-partners__logos { gap: 28px 48px; } }

.summit-partners__logos .summit-partners__logo {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.summit-partners__logos .summit-partners__logo:hover { opacity: 1; }
@media (max-width: 1500px) { .summit-partners__logos .summit-partners__logo { height: 32px; } }
@media (max-width: 768px) { .summit-partners__logos .summit-partners__logo { height: 28px; } }

/* ---------------------------------------------------------- Transition */

.summit-transition {
  background-color: #001228;
  padding: 140px 0;
}
@media (max-width: 1500px) { .summit-transition { padding: 100px 0; } }
@media (max-width: 768px)  { .summit-transition { padding: 72px 0; } }

.summit-transition__text {
  font-family: 'Cormorant Garamond', sans-serif;
  font-weight: 500;
  font-size: 56px;
  line-height: 1.07;
  text-align: center;
  color: #ffffff;
}
.summit-transition__text strong,
.summit-transition__text b {
  font-weight: 600;
  color: #e9b83b;
}
@media (max-width: 1500px) { .summit-transition__text { font-size: 40px; line-height: 1.1; } }
@media (max-width: 768px)  { .summit-transition__text { font-size: 30px; } }

/* ---------------------------------------------------------- Speakers */

.summit-speakers {
  background-color: #ffffff;
  color: #000d1e;
  border-radius: 64px;
  overflow: hidden;
  padding: 120px 0;
}
@media (max-width: 1500px) { .summit-speakers { border-radius: 40px; padding: 60px 0; } }
@media (max-width: 768px)  { .summit-speakers { border-radius: 32px; } }

.summit-speakers__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 40px;
  row-gap: 77px;
  align-items: start;
  margin-top: 78px;
}
@media (max-width: 1500px) { .summit-speakers__grid { column-gap: 24px; row-gap: 24px; margin-top: 32px; } }
@media (max-width: 1080px) { .summit-speakers__grid { gap: 24px; } }

.summit-speakers__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
@media (max-width: 1500px) { .summit-speakers__heading { gap: 8px; } }

.summit-speakers__eyebrow {color: #c9a84c; }

.summit-speakers__eyebrow::before { display: none; }

.summit-speakers__title {
  font-family: 'Cormorant Garamond', sans-serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  color: #000f1e;
}
@media (max-width: 1800px) { .summit-speakers__title { font-size: 48px; line-height: 1.083; } }
@media (max-width: 768px)  { .summit-speakers__title { font-size: 32px; } }

.speaker-card {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  max-width: 100%;
}
@media (max-width: 1500px) { .speaker-card { flex-basis: 250px; width: 250px; } }
@media (max-width: 580px) { .speaker-card { flex-basis: 100%; width: 100%; } }

.speaker-card__frame {
  position: relative;
  min-height: 317px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 18px;
}

.speaker-card__frame::before, 
.speaker-card__frame::after {
  content: '';
  position: absolute;
  display: block;
  height: 70px;
  width: 100%;
  border-radius: 50%;
  opacity: 0.1;
  background: #E9B83B;
  filter: blur(32px);
  left: 50%;
  transform: translateX(-50%);
}

.speaker-card__frame::before {
  top: 0;
}

.speaker-card__frame::after {
  bottom: 0;
}

.speaker-card__frame::after {
  bottom: 0;
  right: 0;
}

@media (max-width: 1500px) {
  .speaker-card__frame {
    min-height: 252px;
    gap: 16px;
    padding: 0 16px 14px;
  }
}

.speaker-card__photo {
  position: relative;
  margin-top: -38px;
  width: 90%;
  aspect-ratio: 252 / 260;
  overflow: hidden;
  pointer-events: none;
}
@media (max-width: 1500px) {
  .speaker-card__photo { margin-top: -16px; }
}
.speaker-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
@media (max-width: 1080px) {
  .speaker-card__photo { margin-top: 0; }
}

.speaker-card:nth-of-type(6) .speaker-card__photo {
  margin-top: -21px;
  aspect-ratio: 234 / 222;
}
@media (max-width: 1500px) {
  .speaker-card:nth-of-type(6) .speaker-card__photo { margin-top: 0; }
}
@media (max-width: 1080px) {
  .speaker-card:nth-of-type(6) .speaker-card__photo { margin-top: 0; aspect-ratio: 252 / 260; }
}

.speaker-card__body {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.speaker-card__name {
  font-family: 'Cormorant Garamond', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: #000f1e;
}
@media (max-width: 1500px) { .speaker-card__name { font-size: 20px; } }

.speaker-card__role {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.41;
  color: #9f9f9f;
}

/* ---------------------------------------------------------- Agenda */

.summit-agenda {
  position: relative;
  background-color: #000D1E;
  color: #ffffff;
  padding: 120px 0;
}
@media (max-width: 1500px) { .summit-agenda { padding: 90px 0; } }
@media (max-width: 768px)  { .summit-agenda { padding: 72px 0; } }

.summit-agenda__bg { position: absolute; inset: 0; z-index: 0; }
.summit-agenda__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.summit-agenda .summit-container { position: relative; z-index: 2; }

.summit-agenda__watermark {
  z-index: -1;
  width: 491px;
  height: auto;
  opacity: 1;
  pointer-events: none;
  margin-top: 60px;
}
@media (max-width: 1500px) { .summit-agenda__watermark { width: 400px; margin-top: 44px; } }
@media (max-width: 1080px) {
  .summit-agenda__watermark {
    position: absolute;
    width: 300px;
    left: 50%;
    top: -2%;
    transform: translateX(-50%);
    margin-top: 0;
    display: block;
  }
}

.summit-agenda__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 70px;
}
@media (max-width: 1500px) { .summit-agenda__inner { gap: 48px; } }
@media (max-width: 1080px) { .summit-agenda__inner { flex-direction: column; gap: 48px; } }

.summit-agenda__aside {
  flex: 0 0 600px;
  position: sticky;
  top: 120px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1500px) { .summit-agenda__aside { flex-basis: 480px; gap: 18px; } }
@media (max-width: 1280px) { .summit-agenda__aside { flex-basis: 420px; } }
@media (max-width: 1080px) { .summit-agenda__aside { position: static; flex-basis: auto; width: 100%; text-align: center; } }

.summit-agenda__eyebrow { color: #c9a84c; }
.summit-agenda__eyebrow::before { background-color: #e9b83b; }

@media (max-width: 1080px) {
  .summit-agenda__eyebrow {
    justify-content: center;
  }
}

.summit-agenda__title {
  font-family: 'Cormorant Garamond', sans-serif;
  font-weight: 300;
  font-size: 120px;
  line-height: 0.667;
  color: #ffffff;
}
@media (max-width: 1500px) { .summit-agenda__title { font-size: 72px; } }
@media (max-width: 768px)  { .summit-agenda__title { font-size: 56px; } }

.summit-agenda__list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.summit-agenda__row {
  display: flex;
  gap: 48px;
  padding: 24px 32px;
}
@media (max-width: 1500px) { .summit-agenda__row { gap: 32px; padding: 20px 24px; } }
@media (max-width: 768px) {
  .summit-agenda__row { flex-direction: column; gap: 10px; padding: 28px 0; }
  .summit-agenda__time { flex: 0 0 auto; }
  .summit-agenda__row--active { padding-left: 16px; padding-right: 16px; }
}

.summit-agenda__row--active {
  border-bottom: 0;
  border-left: 1px solid #e9b83b;
  background: linear-gradient(90deg, rgba(233, 184, 59, 0.15) 0%, rgba(233, 184, 59, 0) 100%);
}
.summit-agenda__row--active .summit-agenda__time,
.summit-agenda__row--active .summit-agenda__row-title { color: #e9b83b; }

.summit-agenda__time {
  flex: 0 0 129px;
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.32);
}
@media (max-width: 1500px) { .summit-agenda__time { flex-basis: 96px; font-size: 16px; } }
@media (max-width: 768px) { .summit-agenda__time { flex-basis: 36px; } }

.summit-agenda__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.summit-agenda__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summit-agenda__row-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: #ffffff;
}
@media (max-width: 1500px) { .summit-agenda__row-title { font-size: 16px; } }

.summit-agenda__row-desc {
  color: rgba(255, 255, 255, 0.50);
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
@media (max-width: 1500px) { .summit-agenda__row-desc { font-size: 12px; } }

.summit-agenda__speakers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summit-agenda__speakers-group {
  display: flex;
  gap: 24px;
}

.summit-agenda__speaker {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: #ffffff;
}
@media (max-width: 1500px) { .summit-agenda__speaker { font-size: 14px; } }

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

.footer {
  position: relative;
  background-color: #000d1e;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 36px 0;
  color: #ffffff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
@media (max-width: 1080px) { .footer__bottom { flex-direction: column; text-align: center; gap: 16px; } }

.footer__logo {
  position: relative;
  display: block;
  width: 123px;
  height: 42px;
  flex-shrink: 0;
}
.footer__logo img { position: absolute; display: block; }
.footer__logo .footer__logo-mark {
  top: 0; left: 0; right: 0; bottom: 29.34%;
  width: 100%; height: 70.66%;
}
.footer__logo .footer__logo-wordmark {
  top: 86.11%; left: 26.49%; right: 24.72%; bottom: 0;
  width: 48.79%; height: 13.89%;
}
@media (max-width: 1500px) {
  .footer__logo { width: 100px; height: 34px; }
}

.footer__copyright {
  flex: 1 1 0;
  color: rgba(255, 255, 255, 0.35);
  font-family: "DM Sans";
  font-size: 11.2px;
  font-style: normal;
  font-weight: 400;
  line-height: 16.8px;
}
.footer__copyright span { color: #ffffff; }
@media (max-width: 1080px) { .footer__copyright { flex: 0 0 auto; order: 3; } }

.footer__credit {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #9f9f9f;
  transition: opacity 0.2s ease;
}
.footer__credit:hover { opacity: 0.75; }
@media (max-width: 1080px) { .footer__credit { flex: 0 0 auto; justify-content: center; } }

.footer__credit-text { color: rgba(159, 159, 159, 0.35);
  font-family: "DM Sans";
  font-size: 11.2px;
  font-style: normal;
  font-weight: 400;
  line-height: 16.8px; /* 150% */ white-space: nowrap;
}
.footer__credit-logo { display: block; width: 54px; height: 24px; flex-shrink: 0; }
