* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

.site-shell {
  position: fixed;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100vh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
}

.background-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: 50vw;
  max-width: 920px;
  max-height: 50vh;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgb(0 0 0 / 28%));
}

.top-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 10px;
  background: #3a3a3a;
}

.top-tabs {
  position: fixed;
  top: 0;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.top-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 52px;
  padding: 16px 18px 13px;
  color: #141414;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 46%) 0%, rgb(255 255 255 / 12%) 31%, rgb(0 0 0 / 9%) 100%),
    #ffd100;
  border: 1px solid rgb(0 0 0 / 24%);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow:
    inset 1px 0 0 rgb(255 255 255 / 58%),
    inset -2px -3px 0 rgb(0 0 0 / 13%),
    inset 0 2px 0 rgb(255 255 255 / 42%),
    0 8px 18px rgb(0 0 0 / 24%);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.top-tab::before {
  content: "";
  position: absolute;
  top: -4px;
  right: -1px;
  left: -1px;
  z-index: -1;
  height: 8px;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 46%) 0%, rgb(255 255 255 / 12%) 31%, rgb(0 0 0 / 9%) 100%),
    #ffd100;
  border-right: 1px solid rgb(0 0 0 / 24%);
  border-left: 1px solid rgb(0 0 0 / 24%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.top-tab:hover,
.top-tab:focus-visible {
  background:
    linear-gradient(145deg, rgb(255 255 255 / 54%) 0%, rgb(255 255 255 / 16%) 32%, rgb(0 0 0 / 7%) 100%),
    #ffe04d;
  box-shadow:
    inset 1px 0 0 rgb(255 255 255 / 62%),
    inset -2px -3px 0 rgb(0 0 0 / 12%),
    inset 0 2px 0 rgb(255 255 255 / 48%),
    0 10px 24px rgb(0 0 0 / 28%);
  transform: translateY(3px);
}

.top-tab:hover::before,
.top-tab:focus-visible::before {
  opacity: 1;
}

.top-tab:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  color: #f7f7f7;
  background: #3a3a3a;
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 620px) {
  .top-tabs {
    right: 0;
    left: 0;
    justify-content: center;
    gap: 6px;
  }

  .top-tab {
    min-width: 0;
    flex: 1 1 0;
    max-width: 168px;
    min-height: 48px;
    padding: 14px 10px 12px;
    font-size: 0.78rem;
  }

  .brand-logo {
    width: 72vw;
    max-height: 50vh;
  }
}

@media (orientation: portrait) and (max-width: 620px) {
  .background-image {
    object-position: center;
  }
}
