/* TAS Site Shell — cinematic footer v0.1.22 · refined production scale */
.tas-footer,
.tas-footer * { box-sizing: border-box; }

.tas-footer {
  --tas-footer-orange: #ff6a00;
  --tas-footer-white: #f7f7f5;
  --tas-footer-muted: #aaaeb4;
  --tas-footer-line: rgba(255,255,255,.115);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  color: var(--tas-footer-white);
  background:
    radial-gradient(ellipse 72% 36% at 50% 45%, rgba(255,106,0,.05) 0%, rgba(255,106,0,.012) 34%, transparent 70%),
    radial-gradient(ellipse 52% 34% at 9% 12%, rgba(21,43,63,.22) 0%, transparent 76%),
    radial-gradient(ellipse 50% 35% at 92% 11%, rgba(72,45,28,.13) 0%, transparent 74%),
    linear-gradient(180deg, #050609 0%, #030405 58%, #020203 100%);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
}

/* Restrained star texture only — no planets or decorative sci-fi furniture. */
.tas-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .34;
  background-image:
    radial-gradient(circle at 8% 16%, rgba(255,255,255,.88) 0 1px, transparent 1.4px),
    radial-gradient(circle at 17% 31%, rgba(255,255,255,.34) 0 .8px, transparent 1.2px),
    radial-gradient(circle at 29% 13%, rgba(255,255,255,.5) 0 .9px, transparent 1.3px),
    radial-gradient(circle at 38% 27%, rgba(255,255,255,.3) 0 .8px, transparent 1.2px),
    radial-gradient(circle at 61% 18%, rgba(255,255,255,.52) 0 .8px, transparent 1.2px),
    radial-gradient(circle at 72% 33%, rgba(255,255,255,.32) 0 .8px, transparent 1.2px),
    radial-gradient(circle at 84% 17%, rgba(255,255,255,.76) 0 1px, transparent 1.4px),
    radial-gradient(circle at 93% 39%, rgba(255,106,0,.42) 0 1px, transparent 1.7px),
    radial-gradient(circle at 14% 67%, rgba(255,106,0,.25) 0 .9px, transparent 1.4px),
    radial-gradient(circle at 87% 71%, rgba(255,255,255,.24) 0 .8px, transparent 1.2px);
}
.tas-footer::after { content: none; }

.tas-footer__atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 22% 11% at 50% 42%, rgba(255,135,45,.055), transparent 72%),
    linear-gradient(180deg, transparent 0 53%, rgba(0,0,0,.16) 68%, rgba(0,0,0,.43) 100%);
}

.tas-footer__inner {
  width: min(88vw, 1420px);
  margin: 0 auto;
  padding: 0 0 24px;
}

.tas-footer__closing {
  min-height: 298px;
  padding: 50px 0 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tas-footer__closing h2 {
  max-width: 900px;
  margin: 0;
  color: #f7f6f2;
  font-family: Baskerville, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.tas-footer__closing h2 em {
  color: #ff7a1a;
  font-weight: 400;
  font-style: italic;
}

.tas-footer__updates {
  width: min(100%, 500px);
  margin-top: 34px;
}
.tas-footer__updates h3 {
  margin: 0 0 11px;
  color: #fff;
  font-family: Baskerville, "Iowan Old Style", Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}
.tas-footer__updates > p {
  margin: 0 0 22px;
  color: #a9adb2;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .035em;
}
.tas-footer__updates-form { width: 100%; }
.tas-footer__updates-form form { width: 100% !important; margin: 0 !important; }
.tas-footer__updates-form .elementskit-form-container,
.tas-footer__updates-form .ekit-mailChimpForm,
.tas-footer__updates-form form > div { width: 100%; }
.tas-footer__updates-form form,
.tas-footer__updates-form .elementskit-form-container { position: relative; }
.tas-footer__updates-form input[type="email"] {
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 64px 0 17px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 2px !important;
  outline: none !important;
  background: rgba(3,5,7,.64) !important;
  box-shadow: 0 12px 38px rgba(0,0,0,.12) !important;
  color: #fff !important;
  font-family: Poppins, "Segoe UI", Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 48px !important;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.tas-footer__updates-form input[type="email"]::placeholder { color: #8f959c !important; opacity: 1; }
.tas-footer__updates-form input[type="email"]:focus {
  border-color: rgba(255,122,26,.8) !important;
  background: rgba(4,6,8,.82) !important;
  box-shadow: 0 0 0 3px rgba(255,106,0,.09), 0 14px 42px rgba(0,0,0,.20) !important;
}
.tas-footer__updates-form button[type="submit"],
.tas-footer__updates-form input[type="submit"] {
  position: absolute !important;
  z-index: 2;
  top: 0 !important;
  right: 0 !important;
  width: 56px !important;
  height: 48px !important;
  min-width: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 2px 2px 0 !important;
  background: #f56600 !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  cursor: pointer;
  appearance: none;
  transition: background .18s ease;
}
.tas-footer__updates-form button[type="submit"]::after {
  content: "→";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
}
.tas-footer__updates-form button[type="submit"] > *,
.tas-footer__updates-form button[type="submit"] svg,
.tas-footer__updates-form button[type="submit"] i { opacity: 0 !important; }
.tas-footer__updates-form input[type="submit"] { color: #fff !important; font-size: 0 !important; text-indent: -9999px; }
.tas-footer__updates-form button[type="submit"]:hover,
.tas-footer__updates-form button[type="submit"]:focus-visible,
.tas-footer__updates-form input[type="submit"]:hover,
.tas-footer__updates-form input[type="submit"]:focus-visible { background: #ff7410 !important; }
.tas-footer__updates-form .ekit_form_privacy,
.tas-footer__updates-form .elementskit-form-message,
.tas-footer__updates-form .ekit-mail-message,
.tas-footer__updates-form [class*="message"] {
  margin-top: 11px;
  color: #c6c8cb;
  font-size: 11px;
}

/* Simple, architectural divider — no glow, flare or decorative centre marker. */
.tas-footer__rule {
  position: relative;
  height: 1px;
  background: var(--tas-footer-line);
}
.tas-footer__rule span { display: none; }

.tas-footer__partners {
  display: grid;
  grid-template-columns: minmax(230px,1.15fr) minmax(165px,.65fr) minmax(270px,1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
  padding: 31px 18px 18px;
}
.tas-footer__partners a { min-width: 0; color: #fff; text-decoration: none !important; }
.tas-footer__brand {
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.tas-footer__brand img { display: block; width: min(100%, 210px); height: auto; }
.tas-footer__brand span {
  color: #a7abb0 !important;
  font-size: 11.5px;
  font-weight: 400 !important;
  line-height: 1.5;
  letter-spacing: 0;
}
.tas-footer__saga {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  opacity: .9;
  transition: opacity .18s ease;
}
.tas-footer__saga:hover,
.tas-footer__saga:focus-visible { opacity: 1; }
.tas-footer__saga img { display: block; width: 72px; max-height: 32px; object-fit: contain; }
.tas-footer__saga span { color: #a6a9ad; font-size: 10px; font-weight: 400; white-space: nowrap; }

.tas-footer__host {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: .97;
  transition: opacity .18s ease;
}
.tas-footer__host:hover,
.tas-footer__host:focus-visible { opacity: 1; }
.tas-footer__host img {
  display: block;
  width: 86px;
  height: 86px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  mix-blend-mode: normal;
}
.tas-footer__host span {
  max-width: 128px;
  color: #bbbfc3;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.45;
}

.tas-footer__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px clamp(24px, 3.6vw, 52px);
  margin: 2px auto 0;
  padding: 14px 18px 18px;
}
.tas-footer__nav a,
.tas-footer__legal a {
  position: relative;
  color: #d6d8da !important;
  text-decoration: none !important;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .035em;
  transition: color .18s ease;
}
.tas-footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: #ff6a00;
  transition: right .18s ease;
}
.tas-footer__nav a:hover,
.tas-footer__nav a:focus-visible,
.tas-footer__legal a:hover,
.tas-footer__legal a:focus-visible { color: #fff !important; }
.tas-footer__nav a:hover::after,
.tas-footer__nav a:focus-visible::after { right: 0; }

.tas-footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(650px, 100%);
  margin: 0 auto;
  padding: 15px 18px 0;
  border-top: 1px solid rgba(255,255,255,.085);
  color: #7e8388;
  font-size: 10.5px;
  line-height: 1.45;
}
.tas-footer__legal a { color: #8f9499 !important; font-size: 11px; }
.tas-footer__legal-line { width: 28px; height: 1px; background: rgba(255,255,255,.11); }

.tas-footer-preview-badge {
  position: fixed;
  z-index: 100004;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(5,7,8,.92);
  color: #fff;
  font: 600 11px/1 Poppins,"Segoe UI",Arial,sans-serif;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}

@media (max-width: 980px) {
  .tas-footer__inner { width: min(92vw, 900px); }
  .tas-footer__closing { min-height: 282px; padding: 46px 0 34px; }
  .tas-footer__closing h2 { font-size: clamp(34px, 4.8vw, 44px); }
  .tas-footer__updates { margin-top: 30px; }
  .tas-footer__partners {
    grid-template-columns: 1fr 1fr;
    gap: 25px 34px;
    padding: 27px 10px 16px;
  }
  .tas-footer__brand { grid-column: 1 / -1; justify-self: center; align-items: center; text-align: center; }
  .tas-footer__brand img { width: 190px; }
  .tas-footer__saga { justify-self: end; }
  .tas-footer__host { justify-self: start; }
  .tas-footer__host img { width: 80px; height: 80px; }
}

@media (max-width: 680px) {
  .tas-footer__inner { width: min(90vw, 560px); padding-bottom: 20px; }
  .tas-footer__closing { min-height: 0; padding: 43px 0 32px; }
  .tas-footer__closing h2 {
    max-width: 430px;
    font-size: clamp(31px, 8.6vw, 39px);
    line-height: 1.08;
    letter-spacing: -.03em;
  }
  .tas-footer__updates { width: 100%; margin-top: 31px; }
  .tas-footer__updates h3 { margin-bottom: 10px; font-size: 19px; }
  .tas-footer__updates > p {
    max-width: 330px;
    margin: 0 auto 21px;
    font-size: 11px;
    line-height: 1.58;
    letter-spacing: .025em;
  }
  .tas-footer__updates-form input[type="email"] {
    min-height: 50px !important;
    padding-right: 62px !important;
    font-size: 16px !important;
    line-height: 50px !important;
  }
  .tas-footer__updates-form button[type="submit"],
  .tas-footer__updates-form input[type="submit"] {
    width: 56px !important;
    min-width: 56px !important;
    height: 50px !important;
  }
  .tas-footer__partners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px 18px;
    padding: 27px 0 14px;
  }
  .tas-footer__brand {
    grid-column: 1 / -1;
    justify-self: center;
    align-items: center;
    text-align: center;
  }
  .tas-footer__brand img { width: 180px; }
  .tas-footer__brand span { max-width: 260px; text-align: center; font-size: 11px; font-weight: 400 !important; }
  .tas-footer__saga {
    justify-self: center;
    align-self: center;
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
  .tas-footer__saga img { width: 68px; max-height: 30px; }
  .tas-footer__saga span { font-size: 9.5px; }
  .tas-footer__host {
    justify-self: center;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
  .tas-footer__host img { width: 70px; height: 70px; }
  .tas-footer__host span { max-width: 140px; font-size: 10px; }
  .tas-footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(300px, 100%);
    gap: 14px 26px;
    padding: 14px 0 20px;
    text-align: center;
  }
  .tas-footer__nav a { font-size: 12px; }
  .tas-footer__nav a::after { display: none; }
  .tas-footer__legal {
    width: 100%;
    flex-wrap: wrap;
    gap: 7px 12px;
    padding-top: 15px;
    text-align: center;
  }
  .tas-footer__legal-line { display: none; }
}

@media (max-width: 390px) {
  .tas-footer__inner { width: 88vw; }
  .tas-footer__closing { padding-top: 38px; }
  .tas-footer__closing h2 { font-size: 31px; }
  .tas-footer__partners { gap: 21px 12px; }
  .tas-footer__host img { width: 64px; height: 64px; }
  .tas-footer__nav { width: 270px; gap: 13px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .tas-footer *, .tas-footer *::before, .tas-footer *::after { transition: none !important; scroll-behavior: auto !important; }
}
