:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #123854;
  background: #f9f6ef;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body { margin: 0; }

.title-bar {
  background: #103a59;
  color: #fffaf0;
  border-bottom: 4px solid #78b5d5;
}

.title-bar__inner {
  width: min(100% - 40px, 1140px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-bar__name {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .01em;
}

.banner {
  overflow: hidden;
  background: radial-gradient(circle at 8% 90%, #d1e7eb 0, transparent 34%),
              linear-gradient(122deg, #fffaf0 14%, #e7f1f4 100%);
}

.banner__inner {
  width: min(100% - 40px, 1140px);
  min-height: min(690px, calc(100svh - 86px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 90px) 0;
  display: grid;
  grid-template-columns: minmax(230px, 430px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
}

.banner__logo-wrap {
  width: 100%;
  aspect-ratio: 1;
  padding: clamp(8px, 1.8vw, 20px);
  border-radius: 50%;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 20px 55px rgba(12, 54, 82, .15);
}

.banner__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.banner__eyebrow {
  margin: 0 0 16px;
  color: #356c89;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  color: #103a59;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.banner__intro {
  max-width: 28rem;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 5px solid #dda949;
  color: #31536a;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.tour-card {
  max-width: 34rem;
  margin-top: 30px;
  padding: 22px 26px;
  border: 1px solid #c8dce3;
  border-left: 6px solid #dba846;
  border-radius: 14px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 8px 25px rgba(12, 54, 82, .08);
}

.tour-card__label {
  margin: 0 0 9px;
  color: #315f78;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tour-card__name {
  margin: 0;
  color: #103a59;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.portal-choices { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.portal-choices button, .portal-panel button {
  min-height: 48px; padding: 11px 20px; border: 0; border-radius: 11px;
  background: #103a59; color: white; font: inherit; font-weight: 700; cursor: pointer;
}
.portal-choices button:hover, .portal-panel button:hover { background: #205d7e; }
.portal-choices button:focus-visible, .portal-panel button:focus-visible,
.portal-panel input:focus-visible { outline: 3px solid #dba846; outline-offset: 3px; }
.portal-panel[hidden], .portal-panel form[hidden], .portal-panel #tour-notices[hidden] { display: none; }
.portal-panel {
  max-width: 34rem; margin-top: 18px; padding: 22px 26px;
  border: 1px solid #c8dce3; border-radius: 14px; background: white;
  box-shadow: 0 8px 25px rgba(12, 54, 82, .08); text-align: left;
}
.portal-panel h2 { margin: 0 0 16px; font: 700 1.65rem Georgia, 'Times New Roman', serif; }
.portal-panel p { margin: 0 0 14px; line-height: 1.55; }
.portal-panel label { display: block; margin: 0 0 8px; font-weight: 700; line-height: 1.45; }
.portal-panel input {
  display: block; width: 100%; min-height: 48px; margin: 0 0 14px; padding: 10px 12px;
  border: 1px solid #84a7ba; border-radius: 9px; font: inherit;
}
.portal-panel ul { padding-left: 24px; margin: 8px 0 16px; line-height: 1.55; }
.portal-panel li { margin: 0 0 12px; overflow-wrap: anywhere; }
.portal-panel .text-button { padding: 7px 0; min-height: 40px; background: transparent; color: #103a59; text-decoration: underline; }
.portal-panel .text-button:hover { background: transparent; color: #205d7e; }
.portal-panel .portal-message { margin: 12px 0 0; color: #315f78; }
.portal-panel .portal-message:empty { display: none; }
.portal-section { padding: 17px 0; border-top: 1px solid #d5e4e8; }
.portal-section:first-child { padding-top: 0; border-top: 0; }
.portal-section h3 { margin: 0 0 9px; color: #103a59; font-size: 1.15rem; }
.portal-section__hint { color: #526d7d; font-size: .9rem; }
.portal-section a { color: #0b597f; font-weight: 700; overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .title-bar__inner {
    width: min(100% - 32px, 1140px);
    min-height: 62px;
  }

  .title-bar__name { font-size: 1.08rem; }

  .banner__inner {
    width: min(100% - 32px, 500px);
    min-height: calc(100svh - 66px);
    padding: 22px 0 30px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    gap: 18px;
    text-align: center;
  }

  .banner__logo-wrap { width: clamp(118px, 35vw, 152px); padding: 6px; }

  .banner__eyebrow { margin-bottom: 8px; font-size: .76rem; }

  h1 { max-width: none; font-size: clamp(2.1rem, 9vw, 2.7rem); }

  .banner__intro {
    margin: 14px auto 0;
    padding-top: 12px;
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .tour-card {
    width: 100%;
    margin: 16px auto 0;
    padding: 16px 18px;
    text-align: left;
  }
  .portal-choices { justify-content: center; margin-top: 16px; }
  .portal-choices button { flex: 1 1 170px; }
  .portal-panel { width: 100%; margin-top: 12px; padding: 14px 18px; }
  .portal-panel h2 { margin-bottom: 8px; font-size: 1.35rem; }
  .portal-panel label { margin-bottom: 6px; }
  .portal-panel input { min-height: 44px; margin-bottom: 10px; }
  .portal-panel button { min-height: 44px; }
  .portal-panel .portal-message { margin-top: 8px; }
}

@media (max-width: 380px) {
  .title-bar__name { font-size: 1rem; }
}
