/* Locked visual atmosphere with content-driven footer height. Keep effect parameters in sync with DESIGN/footer-atmosphere.md. */
.footer-atmosphere {
  --footer-surface:#23211e;
  --footer-glow:#ff6b35;
  --footer-interactive:#d92929;
  --footer-aura:#d94e25;
  --footer-aura-opacity:.18;
  --footer-left-rise:90%;
  --footer-right-rise:60%;
  --footer-left-strength:1;
  --footer-right-strength:1;
  --footer-pointer-angle:0deg;
  position:relative;
  isolation:isolate;
  display:block;
  min-height:clamp(280px,27vw,420px);
  height:auto;
  margin:36px 10px 0;
  padding:0;
  border:0;
  border-radius:32px 32px 0 0;
  color:inherit;
  letter-spacing:normal;
  text-transform:none;
}
:root[data-theme="light"] .footer-atmosphere {
  --footer-surface:#f8fbfc;
  --footer-glow:#3d7f91;
  --footer-interactive:#3d5591;
  --footer-aura:#74b8c9;
  --footer-aura-opacity:.22;
}
.footer-atmosphere::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:auto 3% 0;
  height:clamp(280px,27vw,420px);
  background:radial-gradient(ellipse 72% 100% at 50% 100%,var(--footer-aura),transparent 82%);
  opacity:var(--footer-aura-opacity);
  filter:blur(60px);
  clip-path:inset(-120px -180px 0 -180px);
  pointer-events:none;
}
.footer-atmosphere__surface {
  position:absolute;
  z-index:0;
  inset:0;
  overflow:hidden;
  border-radius:inherit;
  background:var(--footer-surface);
  box-shadow:0 18px 48px #00000020;
}
.footer-atmosphere__effect {
  position:absolute;
  z-index:0;
  inset:auto 0 0;
  height:clamp(280px,27vw,420px);
  overflow:hidden;
  border-radius:inherit;
  pointer-events:none;
}
.footer-atmosphere__rim {
  position:absolute;
  z-index:0;
  inset:-20% -5%;
  pointer-events:none;
  opacity:.1;
  transform:rotate(5deg);
  transform-origin:50% 50%;
  background:linear-gradient(to top,var(--footer-glow) 0%,var(--footer-glow) 16%,transparent 68%);
  animation:footer-light-breathe 8s ease-in-out infinite;
  transition:opacity .45s ease-out;
}
.footer-atmosphere[data-footer-active] .footer-atmosphere__rim {
  animation:none;
  opacity:.45;
}
.footer-atmosphere__side {
  position:absolute;
  inset:0 auto 0 0;
  width:22%;
  opacity:var(--footer-left-strength);
  background:linear-gradient(to right,var(--footer-glow),transparent 48%),radial-gradient(ellipse 100% 74% at 0% 102%,var(--footer-glow) 0%,transparent 73%);
  mask-image:linear-gradient(to top,#000 0%,#000 20%,transparent var(--footer-left-rise));
  transition:opacity .3s ease-out;
}
.footer-atmosphere__side--right {
  inset:0 0 0 auto;
  opacity:var(--footer-right-strength);
  background:linear-gradient(to left,var(--footer-glow),transparent 48%),radial-gradient(ellipse 100% 74% at 100% 102%,var(--footer-glow) 0%,transparent 73%);
  mask-image:linear-gradient(to top,#000 0%,#000 20%,transparent var(--footer-right-rise));
}
.footer-atmosphere__pointer {
  position:absolute;
  z-index:0;
  inset:0;
  opacity:0;
  background:linear-gradient(to top,color-mix(in srgb,var(--footer-interactive) 30%,transparent),transparent 88%);
  mask-image:linear-gradient(var(--footer-pointer-angle),#000 0%,#000 20%,transparent 30%);
  transition:opacity .4s ease-out;
  pointer-events:none;
}
.footer-atmosphere[data-footer-active] .footer-atmosphere__pointer { opacity:.6; }
.site-footer__content {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr;
  gap:32px;
  min-height:inherit;
  box-sizing:border-box;
  padding:36px clamp(20px,5vw,64px) 30px;
  color:var(--footer-text,#f4f0e8);
  font-family:inherit;
  text-transform:none;
  letter-spacing:normal;
}
:root[data-theme="light"] .site-footer__content { --footer-text:#1e2930; }
.site-footer__brand { align-self:start; }
.site-footer__logo { display:inline-block; width:min(145px,100%); filter:invert(1); }
:root[data-theme="light"] .site-footer__logo { filter:brightness(0); }
.site-footer__brand p { margin:14px 0 8px; color:var(--footer-muted,#b6b0a6); font-size:13px; line-height:1.4; }
:root[data-theme="light"] .site-footer__brand p { --footer-muted:#66737a; }
.site-footer__brand small { color:var(--footer-muted,#b6b0a6); font-size:11px; letter-spacing:.1em; text-transform:uppercase; }
:root[data-theme="light"] .site-footer__brand small { --footer-muted:#66737a; }
.site-footer__language { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.site-footer__language a { color:var(--footer-muted,#b6b0a6); font-size:10px; letter-spacing:.1em; text-decoration:none; }
:root[data-theme="light"] .site-footer__language a { --footer-muted:#66737a; }
.site-footer__language a:hover { color:var(--footer-glow); }
.site-footer__language a:focus-visible { outline:2px solid var(--footer-glow); outline-offset:4px; }
.site-footer__links { display:grid; align-content:start; gap:8px; }
.site-footer__links h2 { margin:0 0 8px; color:var(--footer-text,#f4f0e8); font-family:inherit; font-size:11px; font-weight:700; line-height:1.3; letter-spacing:.14em; text-transform:uppercase; }
:root[data-theme="light"] .site-footer__links h2 { --footer-text:#1e2930; }
.site-footer__links a { width:fit-content; color:var(--footer-muted,#b6b0a6); font-size:13px; line-height:1.35; text-decoration:none; transition:color .18s ease; }
.site-footer nav.site-footer__links a { display:block; }
:root[data-theme="light"] .site-footer__links a { --footer-muted:#66737a; }
.site-footer__links a:hover { color:var(--footer-glow); }
.site-footer__links a:focus-visible { outline:2px solid var(--footer-glow); outline-offset:4px; }
.site-footer__newsletter { display:grid; gap:10px; margin-top:20px; max-width:280px; }
.site-footer__newsletter h2 { margin:0; color:var(--footer-text,#f4f0e8); font-size:11px; font-weight:700; line-height:1.3; letter-spacing:.14em; text-transform:uppercase; }
:root[data-theme="light"] .site-footer__newsletter h2 { --footer-text:#1e2930; }
.site-footer__newsletter-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
.site-footer__newsletter-form input,.site-footer__newsletter-form button { min-width:0; min-height:38px; border:1px solid color-mix(in srgb,var(--footer-text,#f4f0e8) 28%,transparent); border-radius:20px; padding:8px 12px; background:color-mix(in srgb,var(--footer-surface) 82%,white); color:var(--footer-text,#f4f0e8); font:inherit; font-size:12px; }
.site-footer__newsletter-form button { border-color:var(--footer-glow); }
.site-footer__newsletter-form input:disabled,.site-footer__newsletter-form button:disabled { opacity:.72; cursor:not-allowed; }
.site-footer__newsletter-note { grid-column:1/-1; margin:0; color:var(--footer-muted,#b6b0a6); font-size:10px; line-height:1.4; }
:root[data-theme="light"] .site-footer__newsletter-note { --footer-muted:#66737a; }
.site-footer nav.site-footer__links .site-footer__newsletter-link { display:none; width:fit-content; color:var(--footer-muted,#b6b0a6); font-size:12px; line-height:1.4; text-decoration:none; }
:root[data-theme="light"] .site-footer__newsletter-link { --footer-muted:#66737a; }
.site-footer__newsletter-link:hover { color:var(--footer-glow); }
.site-footer__newsletter-link:focus-visible { outline:2px solid var(--footer-glow); outline-offset:4px; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.world-newsletter { scroll-margin-top:24px; max-width:760px; margin:clamp(96px,16vh,180px) 0 40px; padding:clamp(24px,5vw,52px); border:1px solid #16161624; border-radius:24px; background:linear-gradient(145deg,#fffdf7,#eee8dc); }
.world-newsletter .eyebrow { margin:0; color:#d94e25; }
.world-newsletter h2 { margin:18px 0; font-size:clamp(36px,7vw,76px); line-height:.95; letter-spacing:-.06em; }
.world-newsletter>p:not(.eyebrow) { max-width:520px; }
.world-newsletter form { display:grid; gap:10px; margin-top:28px; }
.world-newsletter form label { font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.world-newsletter__field { display:flex; flex-wrap:wrap; gap:10px; }
.world-newsletter__field input { flex:1 1 240px; min-height:54px; padding:14px 18px; border:1px solid #16161655; border-radius:28px; background:#fffdf7; color:#161616; font:inherit; }
.world-newsletter__field .button { width:fit-content; min-height:54px; border-radius:28px; background:#ff6b35; color:#161616; }
.world-newsletter__field input:disabled,.world-newsletter__field button:disabled { opacity:.72; cursor:not-allowed; }
.world-newsletter form small { color:#68645d; font-size:12px; line-height:1.45; }
@keyframes footer-light-breathe {
  0%,100% { opacity:.1; }
  50% { opacity:.45; }
}
@media (max-width:800px) {
  .footer-atmosphere { margin-inline:7px; }
  .site-footer__content { grid-template-columns:1fr 1fr; gap:20px 18px; padding:22px 20px; }
  .site-footer__brand { grid-column:1/-1; display:flex; align-items:center; gap:16px; }
  .site-footer__logo { flex:0 0 112px; }
  .site-footer__brand p { margin:0 0 4px; }
  .site-footer__brand small { grid-column:2; }
  .site-footer__links { gap:6px; }
  .site-footer__links h2 { margin-bottom:4px; }
  .site-footer__links a { font-size:12px; }
  .site-footer__newsletter { margin-top:16px; gap:8px; }
  .site-footer__newsletter-form { display:none; }
  .site-footer nav.site-footer__links .site-footer__newsletter-link { display:inline-block; }
}
@media (prefers-reduced-motion:reduce) {
  .footer-atmosphere__rim { animation:none; opacity:.3; transition:none; }
  .footer-atmosphere__pointer,.footer-atmosphere__side,.site-footer__links a { transition:none; }
}
