/* SELENE / НАА 23 — v7: seamless scene, early news, refined controls. */
:root{--v7-accent:#a9d2ff;--v7-deep:#070b13}
.page-top-anchor{position:absolute;top:0;left:0;width:1px;height:1px;pointer-events:none}
/* Replace transparent moving photo strips with a single composited image. */
.earthrise{height:140svh!important;min-height:700px;overflow:clip;isolation:isolate}
.hero-sticky{height:100svh;min-height:0;background:#080d16;overflow:hidden;isolation:isolate}
.hero-layers{position:absolute;inset:0;overflow:hidden;transform:none!important;isolation:auto}
.earthrise .hero-composite{display:block;position:absolute;inset:0;overflow:hidden}
.earthrise .hero-composite img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.035);transform-origin:center center;will-change:transform;max-width:none}
.hero-sticky:after{z-index:3;background:linear-gradient(180deg,rgba(4,8,15,.33),transparent 38%,rgba(3,6,14,.16) 68%,rgba(7,11,19,.58));pointer-events:none}
.hero-veil{z-index:4;opacity:.26;pointer-events:none;background:radial-gradient(ellipse at 50% 47%,transparent 44%,rgba(3,7,16,.68) 100%)}
.hero-exit{z-index:5;opacity:0;background:#070b13;pointer-events:none}
.hero-title{z-index:8;top:48%;text-shadow:0 5px 40px #000e;max-width:1280px}
.hero-title h1{font-size:clamp(2.1rem,6.1vw,7rem);line-height:1.2}
.hero-scroll,.hero-hud{z-index:9}
.hero-scroll{right:24px}
/* Upcoming calendar and news follow the hero directly. */
.sky-calendar.sky-calendar-front{display:block;padding:clamp(55px,5.5vw,90px) clamp(20px,6vw,120px) clamp(55px,5vw,85px);background:linear-gradient(145deg,#13263d 0%,#0b1526 35%,#080d17 100%);border-top:1px solid rgba(178,213,252,.18)}
.sky-calendar-front .sky-calendar-head{max-width:1350px;display:grid;grid-template-columns:1fr minmax(170px,330px);align-items:end;gap:12px 50px;margin-bottom:35px}
.sky-calendar-front .sky-calendar-head .eyebrow{grid-column:1/-1}
.sky-calendar-front .sky-calendar-head h2{margin:4px 0;font-size:clamp(1.7rem,3.3vw,3.5rem);line-height:1.22}
.sky-calendar-front .sky-calendar-head p{margin:0;font-size:.94rem;max-width:320px}
.sky-calendar-front .sky-calendar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;border:0;background:none}
.sky-calendar-front .sky-date{min-width:0;min-height:180px;border:1px solid rgba(168,208,255,.19);background:linear-gradient(160deg,#15253a 0%,#0d1624 100%);padding:clamp(17px,1.45vw,25px);border-radius:5px}
.sky-calendar-front .sky-date-day{font-size:clamp(.73rem,.83vw,.89rem);line-height:1.5}
.sky-calendar-front .sky-date p{font-size:.86rem;line-height:1.65;overflow-wrap:anywhere}
.sky-calendar-front .sky-date:hover{border-color:#a4caff;box-shadow:0 16px 38px #0005}
.news-section.astro-news{padding-top:clamp(64px,5.5vw,95px);padding-bottom:clamp(70px,7vw,105px)}
.astro-news .section-head{margin-bottom:34px}
.astro-news .section-head h2{font-size:clamp(1.85rem,3.7vw,4rem)}
.news-grid-home{gap:20px}
/* Button language: clean aerospace controls; good touch targets & focus. */
.button,.button-light,.button-outline{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;min-height:58px;min-width:min(100%,245px);border:1px solid rgba(214,233,255,.35);border-radius:6px;padding:9px 10px 9px 23px;font:800 .71rem/1.45 var(--body);letter-spacing:.10em;text-transform:uppercase;text-decoration:none;box-shadow:0 12px 35px rgba(0,0,0,.19);transition:transform .25s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease}
.button-light{background:linear-gradient(125deg,#f8fbff,#cde6ff);color:#08121f;border-color:#eaf5ff}
.button-outline{background:rgba(140,192,247,.06);color:#e7f3ff;border-color:rgba(168,211,255,.55)}
.button>span:last-child{width:36px;height:36px;flex:0 0 36px;border-radius:4px;display:grid;place-items:center;background:#10253a;color:#e1f2ff;font-size:1.2rem;line-height:1;font-weight:500;transition:transform .25s ease,background .25s ease}
.button-outline>span:last-child{background:rgba(163,210,255,.16);color:#d5ebff}
.button:hover,.button:focus-visible{transform:translateY(-3px);box-shadow:0 19px 46px rgba(42,107,182,.29);border-color:#e5f6ff}
.button-light:hover{background:linear-gradient(125deg,#fff,#b8deff)}
.button-outline:hover{background:#203e60}
.button:hover>span:last-child{transform:translate(2px,-2px);background:#1a4670}
.button-contact{min-width:min(100%,300px);font-size:.76rem;margin-inline:auto}
.button-contact span:first-child{max-width:230px;text-align:left}
.text-link{display:inline-flex;align-items:center;min-height:44px;color:#bfddff;border-bottom:1px solid #8abcf0;transition:color .2s,border-color .2s}
.text-link:hover{color:#fff;border-color:#fff}
.news-card-foot a,.editorial-end a{transition:color .2s ease;text-underline-offset:4px}
.news-card-foot a:hover,.editorial-end a:hover{color:#fff;text-decoration:underline}
/* Back to top fixed action. Top target is page start, not position:fixed header. */
.back-top{border-radius:6px;min-height:48px;right:22px;bottom:22px;background:linear-gradient(135deg,#162d49,#0b1627);border-color:rgba(173,212,255,.48);box-shadow:0 10px 38px #0009;cursor:pointer}
.back-top:hover{background:#274e78;border-color:#c3e2ff}
.footer-bottom a[href="#page-top"]{display:inline-flex;align-items:center;min-height:44px;color:#c9e6ff}
.footer-bottom a[href="#page-top"]:hover{color:white}
@media (max-width:1150px){.sky-calendar-front .sky-calendar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:780px){.earthrise{height:125svh!important;min-height:0}.hero-title h1{font-size:clamp(1.95rem,8vw,4.7rem)}.sky-calendar-front .sky-calendar-head{grid-template-columns:1fr}.sky-calendar-front .sky-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sky-calendar-front .sky-date{min-height:150px}.news-section.astro-news{padding-top:65px}}
@media (max-width:480px){.sky-calendar-front .sky-calendar-grid{grid-template-columns:1fr}.sky-calendar-front .sky-date{min-height:110px;padding:20px}.sky-calendar-front .sky-date p{margin-top:8px}.hero-title{top:47%}.hero-title h1{font-size:clamp(1.8rem,8.3vw,3.3rem)}.hero-hud{bottom:23px}.button{width:auto;max-width:100%;min-width:0}.outro .button{width:min(100%,335px)}.back-top{bottom:15px;right:14px}}
@media (prefers-reduced-motion:reduce){.earthrise .hero-composite img{transform:none!important;will-change:auto}.hero-exit{opacity:0!important}.button,.back-top{transition:none!important}}
