/* =========================
   ABOUT SECTION
========================= */

.about-section {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 90px clamp(24px, 5vw, 72px) 120px;
}

.about-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.about-card {
  width: min(100%, 760px);
  padding: clamp(30px, 4vw, 46px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(24, 78, 131, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.about-card h2 {
  margin: 0 0 24px;
  font-family: "Hammersmith One", sans-serif;
  font-size: clamp(30px, 3vw, 40px);
  color: #184e83;
}

.about-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #2f5c90;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card strong {
  font-family: "Hammersmith One", sans-serif;
  font-weight: 400;
}

@media (max-width: 768px) {
  .about-section {
    padding: 70px 18px 82px;
  }

  .about-card {
    border-radius: 28px;
  }

  .about-card p {
    font-size: 14px;
  }
}


/* =========================
   UPLOAD MODAL FIX
========================= */

.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 24px;
  background: rgba(18, 55, 88, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.upload-modal {
  position: relative;
  width: min(100%, 520px);
  padding: 38px 34px 34px;
  border-radius: 34px;

  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.80)),
    rgba(255, 255, 255, 0.86);

  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 34px 90px rgba(24, 78, 131, 0.30);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  text-align: center;
  transform: translateY(18px) scale(0.96);
  transition: transform 0.25s ease;
}

.modal-overlay.show .upload-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;

  background: rgba(222, 244, 253, 0.95);
  color: #184e83;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.upload-modal h2 {
  margin: 0 0 10px;
  font-family: "Hammersmith One", sans-serif;
  font-size: 34px;
  color: #184e83;
}

.modal-subtext {
  margin: 0 auto 26px;
  max-width: 390px;
  color: #5f7896;
  font-size: 15px;
  line-height: 1.55;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.modal-btn,
.guest-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;
  text-decoration: none;
  font-family: "Hammersmith One", sans-serif;
  font-size: 15px;

  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #16b9d4, #2f9dde);
  color: white;
  box-shadow: 0 16px 34px rgba(47, 157, 222, 0.28);
}

.modal-btn-outline {
  background: rgba(255, 255, 255, 0.62);
  color: #184e83;
  border: 1px solid rgba(47, 157, 222, 0.25);
}

.modal-or {
  margin: 6px 0 14px;
  color: #7b8ca0;
  font-size: 13px;
}

.guest-link {
  width: 100%;
  background: rgba(222, 244, 253, 0.72);
  color: #184e83;
  border: 1px solid rgba(47, 157, 222, 0.18);
}

.modal-footnote {
  margin: 18px auto 0;
  max-width: 410px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #6a7d93;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .upload-modal {
    padding: 34px 22px 26px;
    border-radius: 28px;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .upload-modal h2 {
    font-size: 28px;
  }
}

.upload-modal {
  position: relative;
  width: min(100%, 520px);
  padding: 38px 34px 34px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 34px 90px rgba(24, 78, 131, 0.30);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(222, 244, 253, 0.95);
  color: #184e83;
  font-size: 24px;
  cursor: pointer;
}

.upload-modal h2 {
  margin: 0 0 10px;
  font-family: "Hammersmith One", sans-serif;
  font-size: 34px;
  color: #184e83;
}

.modal-subtext {
  margin: 0 auto 26px;
  max-width: 390px;
  color: #5f7896;
  font-size: 15px;
  line-height: 1.55;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.modal-btn,
.guest-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  text-decoration: none;
  font-family: "Hammersmith One", sans-serif;
  font-size: 15px;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #16b9d4, #2f9dde);
  color: white;
  box-shadow: 0 16px 34px rgba(47, 157, 222, 0.28);
}

.modal-btn-outline {
  background: rgba(255, 255, 255, 0.62);
  color: #184e83;
  border: 1px solid rgba(47, 157, 222, 0.25);
}

.modal-or {
  margin: 6px 0 14px;
  color: #7b8ca0;
  font-size: 13px;
}

.guest-link {
  width: 100%;
  background: rgba(222, 244, 253, 0.72);
  color: #184e83;
  border: 1px solid rgba(47, 157, 222, 0.18);
}

.modal-footnote {
  margin: 18px auto 0;
  max-width: 410px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #6a7d93;
}


/* EASYPRINT UPLOAD MODAL REFRESH V2
   ========================================================= */

.modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 20px !important;
  background: rgba(18, 55, 88, 0.28) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.modal-overlay.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.upload-modal {
  position: relative !important;
  width: min(100%, 450px) !important;
  padding: 30px 24px 24px !important;
  border-radius: 28px !important;

  background: rgba(255, 255, 255, 0.985) !important;
  border: 1px solid rgba(206, 232, 246, 0.95) !important;
  box-shadow:
    0 26px 70px rgba(24, 78, 131, 0.16),
    0 8px 24px rgba(24, 78, 131, 0.08) !important;

  text-align: center !important;
  transform: translateY(14px) scale(0.97);
  transition: transform 0.22s ease;
}

.modal-overlay.show .upload-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;

  width: 36px !important;
  height: 36px !important;
  border: 1px solid rgba(47, 157, 222, 0.10) !important;
  border-radius: 50% !important;

  background: #f5fcff !important;
  color: #184e83 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

.modal-eyebrow {
  margin: 0 0 10px !important;
  font-family: "Hammersmith One", sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #2f9dde !important;
}

.upload-modal h2 {
  margin: 0 auto 12px !important;
  max-width: 320px !important;

  font-family: "Hammersmith One", sans-serif !important;
  font-size: 31px !important;
  line-height: 1.15 !important;
  color: #184e83 !important;
}

.modal-subtext {
  margin: 0 auto 22px !important;
  max-width: 340px !important;

  color: #667f97 !important;
  font-family: "ABeeZee", sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
}

.modal-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
}

.modal-btn,
.guest-link {
  min-height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 16px !important;
  text-decoration: none !important;
  text-align: center !important;

  font-family: "Hammersmith One", sans-serif !important;
  font-size: 15px !important;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease !important;
}

.modal-btn:hover,
.guest-link:hover {
  transform: translateY(-1px);
}

.modal-btn-primary {
  background: linear-gradient(135deg, #19bfd7, #2f9dde) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(47, 157, 222, 0.22) !important;
}

.modal-btn-outline {
  background: #ffffff !important;
  color: #184e83 !important;
  border: 1px solid rgba(47, 157, 222, 0.20) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35) !important;
}

.modal-or {
  margin: 2px 0 12px !important;
  color: #8b9bad !important;
  font-family: "ABeeZee", sans-serif !important;
  font-size: 13px !important;
}

.guest-link {
  width: 100% !important;
  background: #edf9ff !important;
  color: #184e83 !important;
  border: 1px solid rgba(47, 157, 222, 0.16) !important;
}

.modal-footnote {
  margin: 14px auto 0 !important;
  max-width: 320px !important;

  color: #7b8ea3 !important;
  font-family: "ABeeZee", sans-serif !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .upload-modal {
    width: min(100%, 388px) !important;
    padding: 28px 20px 22px !important;
    border-radius: 24px !important;
  }

  .upload-modal h2 {
    font-size: 26px !important;
    max-width: 280px !important;
  }

  .modal-subtext {
    font-size: 14px !important;
    max-width: 290px !important;
    margin-bottom: 20px !important;
  }

  .modal-actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .modal-btn,
  .guest-link {
    min-height: 48px !important;
    font-size: 14px !important;
  }

  .modal-close {
    width: 34px !important;
    height: 34px !important;
    top: 14px !important;
    right: 14px !important;
    font-size: 22px !important;
  }
}

@media (max-width: 420px) {
  .modal-actions {
    grid-template-columns: 1fr !important;
  }

  .upload-modal {
    width: min(100%, 360px) !important;
  }
}

/* EASYPRINT UPLOAD MODAL COMPACT V3
   ========================================================= */

.modal-overlay {
  padding:
    18px !important;
}


/* =========================================================
   MODAL
========================================================= */

.upload-modal {
  position:
    relative !important;

  width:
    min(100%, 410px) !important;

  padding:
    28px 24px 24px !important;

  border:
    1px solid
    rgba(206, 232, 246, 0.90) !important;

  border-radius:
    24px !important;

  background:
    #ffffff !important;

  box-shadow:
    0 22px 60px
    rgba(24, 78, 131, 0.17) !important;

  backdrop-filter:
    none !important;

  -webkit-backdrop-filter:
    none !important;

  text-align:
    center !important;
}


/* =========================================================
   CLOSE
========================================================= */

.modal-close {
  top:
    13px !important;

  right:
    13px !important;

  width:
    32px !important;

  height:
    32px !important;

  padding:
    0 !important;

  border:
    0 !important;

  border-radius:
    50% !important;

  background:
    #eef9fd !important;

  color:
    #1b5d8c !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    21px !important;

  font-weight:
    400 !important;

  line-height:
    1 !important;
}


/* =========================================================
   TITLE
========================================================= */

.upload-modal h2 {
  max-width:
    300px !important;

  margin:
    0 auto 9px !important;

  color:
    #174f83 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    25px !important;

  font-weight:
    800 !important;

  line-height:
    1.16 !important;

  letter-spacing:
    -0.3px !important;
}


/* =========================================================
   SUBTEXT
========================================================= */

.modal-subtext {
  max-width:
    300px !important;

  margin:
    0 auto 20px !important;

  color:
    #708493 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    13px !important;

  line-height:
    1.5 !important;
}


/* =========================================================
   SIGN IN / CREATE ACCOUNT
========================================================= */

.modal-actions {
  display:
    grid !important;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr) !important;

  gap:
    9px !important;

  margin:
    0 !important;
}


.modal-btn {
  min-height:
    43px !important;

  padding:
    0 12px !important;

  border-radius:
    11px !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    13px !important;

  font-weight:
    700 !important;
}


.modal-btn-primary {
  background:
    linear-gradient(
      135deg,
      #20b8c8,
      #2f9dde
    ) !important;

  color:
    #ffffff !important;

  box-shadow:
    0 6px 14px
    rgba(47, 157, 222, 0.13) !important;
}


.modal-btn-outline {
  background:
    #ffffff !important;

  color:
    #245b7e !important;

  border:
    1px solid
    #d7eaf3 !important;

  box-shadow:
    none !important;
}


/* =========================================================
   DIVIDER
========================================================= */

.modal-divider {
  margin:
    14px 0 !important;

  display:
    flex !important;

  align-items:
    center !important;

  gap:
    10px !important;

  color:
    #98a7b1 !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    11px !important;
}


.modal-divider::before,
.modal-divider::after {
  content:
    "" !important;

  height:
    1px !important;

  flex:
    1 !important;

  background:
    #e5eef3 !important;
}


/* =========================================================
   GUEST
========================================================= */

.guest-link {
  width:
    100% !important;

  min-height:
    43px !important;

  padding:
    0 14px !important;

  border:
    1px solid
    #d8edf5 !important;

  border-radius:
    11px !important;

  background:
    #edf9fd !important;

  color:
    #245b7e !important;

  font-family:
    Arial,
    Helvetica,
    sans-serif !important;

  font-size:
    13px !important;

  font-weight:
    700 !important;

  box-shadow:
    none !important;
}


/* old elements removed from layout */

.modal-eyebrow,
.modal-footnote,
.modal-or {
  display:
    none !important;
}


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

@media (max-width: 600px) {

  .upload-modal {
    width:
      min(100%, 350px) !important;

    padding:
      26px 20px 21px !important;

    border-radius:
      21px !important;
  }


  .upload-modal h2 {
    max-width:
      260px !important;

    font-size:
      23px !important;
  }


  .modal-subtext {
    max-width:
      270px !important;

    margin-bottom:
      18px !important;

    font-size:
      12.5px !important;
  }


  .modal-actions {
    grid-template-columns:
      1fr 1fr !important;

    gap:
      8px !important;
  }


  .modal-btn,
  .guest-link {
    min-height:
      42px !important;

    font-size:
      12.5px !important;
  }

}


/* keep buttons side-by-side even on narrow phones */

@media (max-width: 380px) {

  .upload-modal {
    width:
      min(100%, 330px) !important;

    padding-left:
      17px !important;

    padding-right:
      17px !important;
  }


  .modal-actions {
    grid-template-columns:
      1fr 1fr !important;
  }


  .modal-btn {
    padding:
      0 8px !important;

    font-size:
      12px !important;
  }

}
