:root{
  --pad: clamp(14px, 3vw, 26px);
  --line: rgba(255,255,255,0.18);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  min-height: 100vh;
  display:flex;
  flex-direction: column;
  background: #05070a;
  overflow-x: hidden;
}

.bg{
  position: fixed;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
/*  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);*/
}

@media (orientation: landscape){
  .bg{ background-image: url("assets/bg-landscape.png"); }
}
@media (orientation: portrait){
  .bg{ background-image: url("assets/bg-portrait.png"); }
}

.bg::after{
  content:"";
  position:absolute;
  inset:0;
/*  background:
    radial-gradient(60% 60% at 50% 20%, rgba(0,0,0,0.06), rgba(0,0,0,0.55) 70%),
    linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.70));*/
  z-index: -1;
}

.footer{
  margin-top: auto;
  padding: 18px 0 22px;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.28);
  border-top: 1px solid var(--line);
}

.footer__inner{
  width: min(1200px, calc(100% - var(--pad)*2));
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 34px);
}

.footer__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
/*  color: rgba(255,255,255,0.92);*/
  text-decoration:none;
}

.footer__link:hover{
  opacity: 0.95;
}

.icon{
  height: clamp(28px, 3.2vw, 40px);
  width: auto;
  display:block;
  opacity: 0.92;
}

.icon--invert{
  filter: brightness(0) invert(1);
}

.footer__text{
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.footer__olo:hover{
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
}

@media (max-width: 480px){
  .footer__inner{ gap: 16px; }
}


/* HERO / LEGEND */
.legend{
  position: fixed;
  z-index: 2;
  top: clamp(18px, 3vw, 34px);
  left: clamp(16px, 3vw, 34px);
  max-width: min(920px, calc(100% - 2*var(--pad)));
  pointer-events: none; /* purely decorative */
}

.legend__title,
.legend__subtitle{
  font-family: "Bebas Neue", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.92;
  color: rgba(255,255,255,0.96);
  /* simple, stable "double layer" look via multi-shadow (no duplicate DOM) */
  text-shadow:
    6px 4px 0 rgba(120, 255, 210, 0.70),
    0 18px 50px rgba(0,0,0,0.70),
    0 2px 10px rgba(0,0,0,0.45);
}

.legend__title{
  font-size: clamp(44px, 6.4vw, 92px);
}

.legend__subtitle{
  margin-top: 8px;
  font-size: clamp(28px, 4.6vw, 60px);
}

.legend__sig{
  margin-top: 14px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(14px, 2.1vw, 18px);
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.78);
  text-shadow: 0 10px 26px rgba(0,0,0,0.65);
}

/* Tablet/mobile: center the legend for safer wrapping */
@media (max-width: 900px){
  .legend{
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
}

/* Portrait: nudge down slightly */
@media (orientation: portrait){
  .legend{ top: clamp(22px, 4vw, 44px); }
}
