/* Homepage layout — independent of the old Adobe Muse absolute positioning. */
:root { color-scheme: light; --brand-to-social-gap: 6px; --social-gap: 7px; }
* { box-sizing: border-box; }
html { min-height: 100%; }
body { min-width: 0; min-height: 100vh; margin: 0; overflow-x: hidden;
       font-family: Arial, Helvetica, sans-serif; background: #096a83; }
.background-container { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.parallax-layer { position: absolute; top: 50%; left: 50%; width: 110%; height: 110%;
  object-fit: cover; transform: translate(-50%, -50%); user-select: none; -webkit-user-drag: none;
  will-change: transform; }
.home-shell { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(24px, 5.5vh, 70px) 16px 24px; }
.brand-stack { width: 100%; max-width: 1160px; margin-inline: auto; margin-top: 150px;
  display: flex; flex-direction: column; align-items: center; gap: var(--brand-to-social-gap); }
.brand-logo { display: block; width: min(93vw, 900px); height: auto; max-width: none;
  transform-origin: center; transition: transform 250ms ease; -webkit-user-drag: none; user-select: none; }
.brand-logo:hover { transform: scale(1.035); }

/* DESKTOP: nine smaller icons in one row, just below the lettering and left of the tail. */
.social-media-bar {
  width: max-content;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--social-gap);
  margin-top: -50px;             /* More negative = closer to the lettering */
  transform: translateX(-145px); /* More negative = further left, away from tail */
}
.social-media-bar a { display: block; line-height: 0; border-radius: 50%;
  transition: transform 200ms ease; transform-origin: center; }
.social-media-bar a:hover, .social-media-bar a:focus-visible { transform: scale(1.15); }
.social-media-bar a:focus-visible, .footer-links a:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.social-media-bar img { width: 55px; height: 55px; display: block; pointer-events: none;
  -webkit-user-drag: none; }
.footer-links { margin: auto auto 0; padding: clamp(50px, 7vh, 100px) 0 0;
  display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 22px;
  text-align: center; }
.footer-links a { display: inline-block; color: white; padding: 8px 4px;
  font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none;
  text-transform: uppercase; text-shadow: 0 2px 4px rgba(0,0,0,.85);
  transition: transform 200ms ease, color 200ms ease; }
.footer-links a:hover { color: #dcfaff; transform: scale(1.08); }
.cookie-popup { position: fixed; z-index: 10; bottom: 20px; left: 20px;
  width: min(360px, calc(100vw - 40px)); padding: 18px 20px; border-radius: 12px;
  background: #090d15; color: #fff; box-shadow: 0 8px 36px rgba(0,0,0,.4); }
.cookie-popup[hidden] { display: none; }
.cookie-popup h2 { margin: 0 0 10px; font-size: 20px; }
.cookie-popup p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.cookie-popup a { color: #aadaff; }
.cookie-popup button { cursor: pointer; padding: 10px 13px; margin: 2px 6px 2px 0;
  border: 0; border-radius: 6px; background: #0784d6; color: white; font-weight: bold; }
.cookie-popup button:hover { background: #0069ad; }

/* LARGE / TALL DESKTOPS (1440p, 4K): move the whole logo + social group
   down with the viewport height. At 1080px tall and below, the original
   150px top margin remains unchanged, preserving the 1080p layout.
   1440px tall: 330px top margin. 2160px tall: 690px top margin.
   The footer remains pinned near the bottom by its existing auto margin. */
@media (min-width: 961px) and (min-height: 1081px) {
  .brand-stack { margin-top: calc(50svh - 390px); }
}

/* TABLETS: don't allow the previous 68px icon rule to enlarge the row. */
@media (max-width: 960px) {
  .home-shell { padding-top: clamp(24px, 6vh, 60px); }
  .brand-logo { width: min(96vw, 900px); }
  .social-media-bar { gap: 6px; margin-top: -36px; transform: translateX(-10vw); }
  .social-media-bar img { width: clamp(42px, 5.5vw, 52px); height: clamp(42px, 5.5vw, 52px); }
}
@media (max-width: 740px) {
  .social-media-bar { gap: 6px; margin-top: -24px; transform: translateX(-8vw); }
  .social-media-bar img { width: clamp(40px, 5.8vw, 43px); height: clamp(40px, 5.8vw, 43px); }
}

/* PHONES: two centred rows, no desktop left shift or overlap. */
@media (max-width: 600px) {
  .home-shell { padding: clamp(20px, 5vh, 38px) 10px 16px; }
  .brand-stack { margin-top: clamp(30px, 7vh, 70px); }
  .brand-logo { width: min(100vw, 530px); }
  .social-media-bar { width: 100%; max-width: 280px; flex-wrap: wrap;
    gap: 9px 7px; margin-top: 0; transform: none; }
  .social-media-bar img { width: clamp(44px, 8.5vw, 50px); height: clamp(44px, 8.5vw, 50px); }
  .footer-links { gap: 7px; padding-top: clamp(40px, 9vh, 70px); }
  .footer-links a { padding: 8px 9px; font-size: 12px; }
  .parallax-layer { width: 100%; height: 100%; }
}
@media (max-width: 340px) {
  .social-media-bar { max-width: 250px; gap: 8px 6px; }
  .social-media-bar img { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo, .social-media-bar a, .footer-links a { transition: none; }
}
