/* The homepage has its own photographic opening and interactive compass. */
.home-hero {
  --compass-angle: -30deg;
  --orbit-size: 450px;
  position: relative;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: #102331;
}
.home-hero::before,
.home-hero::after { display: none; }
.home-hero > .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  animation: none;
  transform: none;
}
.home-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(90deg, #07141dec 0%, #07141dc9 27%, #07141d75 53%, #07141d22 78%, #07141d36 100%), linear-gradient(0deg, #07141d85, transparent 40%);
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(315px, .78fr);
  align-items: center;
  gap: 56px;
  min-height: 620px;
  padding-block: 66px;
}
.home-hero-copy { min-width: 0; position: relative; z-index: 2; }
.home-hero h1 {
  max-width: 820px;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(53px, 5.5vw, 82px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 3px 24px #00132230;
}
.home-hero h1 span { display: block; color: #fff; }
.home-hero h1 em {
  display: block;
  margin-top: 7px;
  color: #c6e7ff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.055em;
  font-style: italic;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.home-hero-intro {
  max-width: 510px;
  margin: 0 0 29px;
  color: #edf3f8;
  font-size: 15px;
  line-height: 1.85;
  text-wrap: pretty;
  text-shadow: 0 2px 12px #07141d75;
}
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 25px; }
.home-hero-actions .btn-white {
  min-height: 49px;
  padding: 14px 20px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: #fff;
  color: #102536;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
  gap: 17px;
  box-shadow: 0 4px 18px #00132214;
}
.home-hero-actions .btn-white:hover { background: #e9f5ff; border-color: #e9f5ff; transform: translateY(-2px); }
.home-hero .hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #ffffff80;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.home-hero .hero-text-link:hover { color: #c6e7ff; text-decoration-color: #c6e7ff; }
.home-hero-actions svg { width: 18px; height: 18px; flex-shrink: 0; }

/* One navigational instrument, framed by an open dial so the city stays visible. */
.home-hero .licence-compass {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: center;
  min-width: 0;
  width: 100%;
  max-width: 420px;
  min-height: 450px;
  margin-left: auto;
  z-index: 1;
}
.home-hero .compass-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--orbit-size);
  height: var(--orbit-size);
  transform: translate(-50%, -50%);
  border: 1px solid #ffffff5c;
  border-radius: 50%;
  box-shadow: 0 0 0 13px #ffffff07, 0 0 0 14px #ffffff20, inset 0 0 0 12px #ffffff08;
  pointer-events: none;
  z-index: -1;
}
.home-hero .compass-orbit::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: repeating-conic-gradient(from -1deg, #fff9 0deg 1deg, transparent 1deg 15deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px));
  opacity: .7;
}
.home-hero .compass-orbit > span {
  position: absolute;
  color: #e7f5ff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 1px 6px #001322;
}
.home-hero .compass-north { left: 50%; top: -27px; transform: translateX(-50%); }
.home-hero .compass-south { left: 50%; bottom: -27px; transform: translateX(-50%); }
.home-hero .compass-east { right: -27px; top: 50%; transform: translateY(-50%); }
.home-hero .compass-west { left: -27px; top: 50%; transform: translateY(-50%); }
.home-hero .compass-orbit::after {
  content: '';
  position: absolute;
  left: calc(50% - 7px);
  top: 17px;
  width: 14px;
  height: 30px;
  background: #a3dcff;
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  transform-origin: 50% calc((var(--orbit-size) / 2) - 17px);
  transform: rotate(var(--compass-angle));
  transition: transform .5s cubic-bezier(.2, .75, .25, 1);
  filter: drop-shadow(0 0 5px #0072ce);
}
.home-hero[data-selected=foreign],
.home-hero .licence-compass[data-selected=foreign] { --compass-angle: -30deg; }
.home-hero[data-selected=eu],
.home-hero .licence-compass[data-selected=eu] { --compass-angle: 34deg; }
.home-hero[data-selected=offshore],
.home-hero .licence-compass[data-selected=offshore] { --compass-angle: 103deg; }
.home-hero .compass-panel {
  position: relative;
  width: 100%;
  max-width: 352px;
  min-width: 0;
  padding: 10px 25px 19px;
  color: #fff;
  background: #0a1a27ed;
  border: 1px solid #ffffff59;
  border-radius: 9px;
  box-shadow: 0 22px 55px #00132236, inset 0 1px 0 #ffffff0d;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.home-hero .compass-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: 22px;
  border-bottom: 1px solid #ffffff29;
}
.home-hero .compass-tabs a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 0;
  min-height: 56px;
  padding: 12px 6px 14px;
  border: 0;
  border-radius: 3px 3px 0 0;
  color: #bacbd9;
  background: transparent;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.home-hero .compass-tabs a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 8px;
  right: 8px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
}
.home-hero .compass-tabs a[data-active=true] { color: #fff; }
.home-hero .compass-tabs a[data-active=true]::after { background: #75c5ff; }
.home-hero .compass-tabs a:hover { color: #fff; background: #ffffff08; }
.home-hero #hero-region-panel { min-height: 222px; min-width: 0; }
.home-hero .compass-symbol {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  margin-bottom: 15px;
  border: 1px solid #9bd4ff80;
  border-radius: 50%;
  color: #b4e0ff;
  background: #0072ce24;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}
.home-hero #hero-region-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: balance;
}
.home-hero #hero-region-description {
  margin: 0 0 18px;
  color: #d6e1ea;
  font-size: 12px;
  line-height: 1.85;
}
.home-hero #hero-region-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding-block: 6px;
  color: #a9d9ff;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #75c5ff66;
}
.home-hero #hero-region-link:hover { color: #fff; text-decoration-color: #fff; }
.home-hero #hero-region-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.home-hero .compass-panel > small,
.home-hero .compass-footer {
  display: block;
  margin: 15px 0 0;
  padding-top: 13px;
  border-top: 1px solid #ffffff20;
  color: #b0c3d2;
  font-size: 10px;
  line-height: 1.65;
}
.home-hero :is(a, button):focus-visible { outline: 3px solid #a9d9ff; outline-offset: 5px; }
.home-hero .compass-tabs a:focus-visible { outline-offset: -3px; }
.home-hero #hero-region-panel:focus-visible { outline: 2px solid #a9d9ff; outline-offset: 7px; }

@media (min-width: 1700px) {
  .home-hero-grid { min-height: 650px; }
  .home-hero h1 { font-size: 84px; }
}
@media (max-width: 1200px) {
  .home-hero { --orbit-size: 400px; }
  .home-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(305px, .86fr); gap: 33px; min-height: 590px; padding-block: 59px; }
  .home-hero h1 { font-size: clamp(49px, 5.35vw, 64px); }
  .home-hero-intro { font-size: 14px; max-width: 470px; }
  .home-hero .licence-compass { min-height: 407px; }
  .home-hero .compass-panel { max-width: 326px; padding-inline: 22px; }
  .home-hero .home-hero-actions { gap: 13px 19px; }
}
@media (max-width: 950px) {
  .home-hero { --orbit-size: 350px; }
  .home-hero-grid { grid-template-columns: minmax(0, 1.22fr) minmax(285px, .88fr); gap: 24px; min-height: 560px; padding-block: 50px; }
  .home-hero h1 { font-size: clamp(43px, 5.5vw, 55px); }
  .home-hero h1 em { margin-top: 10px; }
  .home-hero-intro { font-size: 13px; line-height: 1.85; }
  .home-hero-actions .btn-white { font-size: 11px; min-height: 46px; padding: 12px 15px; gap: 10px; }
  .home-hero .hero-text-link { font-size: 11px; }
  .home-hero .licence-compass { min-height: 385px; }
  .home-hero .compass-panel { padding-inline: 20px; }
  .home-hero #hero-region-title { font-size: 24px; }
}
@media (max-width: 760px) {
  .home-hero { --orbit-size: 390px; }
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; min-height: 0; padding-top: 44px; padding-bottom: 39px; }
  .home-hero > .hero-bg { object-position: 64% center; }
  .home-hero-shade { background: linear-gradient(180deg, #07141dd4 0%, #07141d9c 35%, #07141d45 63%, #07141d9e 100%), linear-gradient(90deg, #07141d3d, transparent 80%); }
  .home-hero h1 { max-width: 650px; font-size: clamp(45px, 7.1vw, 57px); margin-bottom: 21px; }
  .home-hero h1 em { margin-top: 5px; }
  .home-hero-intro { max-width: 550px; font-size: 14px; margin-bottom: 22px; }
  .home-hero-actions { gap: 12px 23px; }
  .home-hero .licence-compass { width: 100%; max-width: 520px; min-height: 325px; margin: 5px auto 0; }
  .home-hero .compass-panel { max-width: 100%; padding: 7px 24px 16px; }
  .home-hero .compass-tabs { margin-bottom: 17px; }
  .home-hero .compass-tabs a { min-height: 47px; font-size: 12px; }
  .home-hero #hero-region-panel { min-height: 171px; position: relative; padding-left: 61px; }
  .home-hero .compass-symbol { position: absolute; left: 0; top: 1px; width: 43px; height: 43px; margin: 0; }
  .home-hero #hero-region-title { font-size: 26px; margin-bottom: 9px; padding-top: 3px; }
  .home-hero #hero-region-description { max-width: 50ch; font-size: 12px; margin-bottom: 10px; }
  .home-hero .compass-panel > small, .home-hero .compass-footer { margin-top: 9px; padding-top: 11px; }
  .home-hero .compass-orbit > span { display: none; }
}
@media (max-width: 560px) {
  .home-hero { --orbit-size: 345px; }
  .home-hero-grid { gap: 28px; padding-top: 35px; padding-bottom: 31px; }
  .home-hero h1 { font-size: clamp(36px, 8.6vw, 47px); line-height: 1.09; letter-spacing: -.05em; }
  .home-hero h1 em { font-size: 1.09em; line-height: 1.13; }
  .home-hero-intro { font-size: 13px; line-height: 1.8; max-width: 48ch; }
  .home-hero .home-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
  }
  .home-hero .home-hero-actions > a {
    min-width: 0;
    min-height: 48px;
    padding: 10px;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
    gap: 6px;
  }
  .home-hero-actions > a > span { min-width: 0; text-wrap: balance; }
  .home-hero .home-hero-actions svg { width: 16px; height: 16px; }
  .home-hero .licence-compass { margin-top: 9px; min-height: 312px; }
  .home-hero .compass-panel { padding: 5px 19px 15px; border-radius: 7px; background: #0a1a27f0; }
  .home-hero .compass-tabs { margin-bottom: 16px; }
  .home-hero .compass-tabs a { font-size: 11px; min-height: 46px; padding-inline: 4px; }
  .home-hero #hero-region-panel { min-height: 178px; padding-left: 0; }
  .home-hero .compass-symbol { float: right; position: relative; width: 35px; height: 35px; margin: 0 0 8px 12px; top: 0; font-size: 17px; }
  .home-hero #hero-region-title { font-size: 25px; padding-top: 2px; margin-bottom: 11px; }
  .home-hero #hero-region-description { font-size: 12px; line-height: 1.8; margin-bottom: 10px; }
  .home-hero #hero-region-link { font-size: 11px; min-height: 36px; }
  .home-hero .compass-panel > small, .home-hero .compass-footer { font-size: 10px; margin-top: 10px; }
}
@media (max-width: 360px) {
  .home-hero h1 { font-size: 34px; }
  .home-hero-grid { padding-top: 31px; }
  .home-hero .compass-panel { padding-inline: 16px; }
  .home-hero #hero-region-title { font-size: 23px; }
  .home-hero #hero-region-panel { min-height: 188px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .compass-orbit::after { transition: none; }
  .home-hero-actions .btn-white { transition: none; }
  .home-hero-actions .btn-white:hover { transform: none; }
}
