
/* Alterra Editions self-host shell: deliberately minimal. Framer retains the
   authored layout/motion; this only handles loading + removal of platform UI. */
#__framer-badge-container,[data-framer-name="Made in Framer"],a[href*="framer.com"]:has(img[alt*="Framer"]){display:none!important}
#ae-loader{position:fixed;inset:0;z-index:2147483646;background:#050505;display:grid;place-items:center;opacity:1;visibility:visible;transition:opacity .30s cubic-bezier(.16,.37,.22,1),visibility .30s;pointer-events:all}
#ae-loader.ae-out{opacity:0;visibility:hidden;pointer-events:none}
#ae-loader-inner{width:min(220px,42vw);display:flex;flex-direction:column;align-items:center;gap:25px;transform:translateY(4px)}
#ae-loader-logo{width:158px;max-width:100%;filter:brightness(0) invert(1);opacity:.96}
#ae-loader-track{width:100%;height:1px;background:rgba(255,255,255,.13);overflow:hidden;position:relative}
#ae-loader-track:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#2f7189,#dff4f8,transparent);transform:translateX(-115%);animation:ae-load-line .72s cubic-bezier(.16,.37,.22,1) .06s forwards}
@keyframes ae-load-line{to{transform:translateX(115%)}}
html.ae-preload,html.ae-preload body{overflow:hidden!important}
html.ae-preload #main{opacity:0;transform:translateY(6px)}
#main{transition:opacity .38s ease,transform .48s cubic-bezier(.16,.37,.22,1)}
@media (prefers-reduced-motion:reduce){#ae-loader{display:none!important}html.ae-preload,html.ae-preload body{overflow:auto!important}html.ae-preload #main{opacity:1;transform:none}#main{transition:none!important}}

/* --------------------------------------------------------------------------
   Alterra Editions editorial-image system
   -------------------------------------------------------------------------- */
.ae-editorial-image{opacity:0!important;transition:opacity .28s ease,filter .32s ease!important;background:#0a0a0a!important}
.ae-editorial-image.ae-editorial-loaded{opacity:1!important}
.ae-editorial-image[data-ae-tone="history"]{filter:grayscale(.9) contrast(1.06) brightness(.96)!important}
.ae-editorial-image[data-ae-tone="history-dark"]{filter:grayscale(.72) saturate(.35) contrast(1.08) brightness(.88)!important}
.ae-editorial-image[data-ae-tone="science"]{filter:saturate(.6) contrast(1.08) brightness(.94)!important}
.ae-editorial-image[data-ae-tone="science-dark"]{filter:saturate(.48) contrast(1.09) brightness(.88)!important}
.ae-editorial-image[data-ae-tone="science-paper"]{filter:grayscale(.72) saturate(.28) contrast(1.04) brightness(.98)!important}
.ae-editorial-image[data-ae-tone="geo"]{filter:saturate(.5) contrast(1.06) brightness(.93)!important}
.ae-editorial-image.ae-editorial-error{opacity:1!important;filter:grayscale(1) contrast(.9) brightness(.55)!important}

/* A slight institutional wash keeps disparate archives coherent without
   flattening them into the same image treatment. */
.ae-editorial-library img.ae-editorial-image{color-scheme:dark}

/* --------------------------------------------------------------------------
   Browser Back / Forward motion. Framer remains responsible for its normal
   route motion; these classes only run when a history entry is restored.
   -------------------------------------------------------------------------- */
html.ae-history-enter #main{will-change:transform,opacity,filter}
html.ae-history-enter[data-ae-history-direction="back"] #main{animation:ae-history-back-in .46s cubic-bezier(.16,.73,.24,1) both}
html.ae-history-enter[data-ae-history-direction="forward"] #main{animation:ae-history-forward-in .46s cubic-bezier(.16,.73,.24,1) both}
@keyframes ae-history-back-in{from{opacity:.45;transform:translate3d(-16px,0,0);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
@keyframes ae-history-forward-in{from{opacity:.45;transform:translate3d(16px,0,0);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
@media (prefers-reduced-motion:reduce){html.ae-history-enter #main{animation:none!important}.ae-editorial-image{transition:none!important}}
/* v14 editorial archive grading */
.ae-editorial-image{object-fit:cover!important;object-position:center!important}
.ae-editorial-image[data-ae-tone="history-paper"]{filter:grayscale(.88) sepia(.08) contrast(1.05) brightness(.98)!important}
.ae-editorial-image[data-ae-tone="science-paper"]{filter:grayscale(.72) sepia(.04) contrast(1.08) brightness(.97)!important}
.ae-editorial-image[data-ae-tone="geo-dark"]{filter:saturate(.32) contrast(1.1) brightness(.74)!important}

/* Alterra menu focus treatment. Removes the browser's bright default ring
   after pointer activation while preserving a restrained keyboard-visible cue. */
[data-framer-name="Menu"]:focus{outline:none!important;box-shadow:none!important}
[data-framer-name="Menu"]:focus-visible{outline:1px solid rgba(46,103,125,.58)!important;outline-offset:4px!important;box-shadow:none!important}

/* --------------------------------------------------------------------------
   v16 — Responsive homepage hero
   The authored desktop composition is retained, but its display type now
   scales with the viewport instead of assuming a 1920px canvas. Tablet/mobile
   receive an intentional stacked composition rather than a squeezed desktop.
   -------------------------------------------------------------------------- */
@media (min-width:810px){
  html.ae-home [data-framer-name="Main content"]{
    min-height:100svh!important;
    height:max(100svh,720px)!important;
    padding-top:clamp(92px,8vh,124px)!important;
    padding-bottom:clamp(72px,8vh,110px)!important;
  }
  html.ae-home [data-framer-name="Title - Overlay blending"]{
    width:100%!important;
    padding-inline:clamp(18px,2.25vw,48px)!important;
    overflow:visible!important;
  }
  html.ae-home [data-framer-name="Title - Overlay blending"] h1.framer-text{
    --framer-font-size:clamp(68px,7vw,142px)!important;
    font-size:clamp(68px,7vw,142px)!important;
    line-height:.96!important;
  }
  html.ae-home [data-framer-name="Row 2"]{
    width:100%!important;
    max-width:100%!important;
    gap:clamp(10px,1.35vw,28px)!important;
    justify-content:center!important;
    overflow:visible!important;
  }
  html.ae-home .framer-1hqae1t,
  html.ae-home .framer-1yp60rz,
  html.ae-home .framer-8y6dlm,
  html.ae-home .framer-18ekqsx{width:auto!important;max-width:none!important}
  html.ae-home [data-framer-name="Blank space"]{
    flex:0 0 clamp(120px,13.5vw,245px)!important;
    width:clamp(120px,13.5vw,245px)!important;
    height:auto!important;
    aspect-ratio:1.75!important;
  }
}

/* Purpose-built mobile hero. The Framer shader stays behind it; only the
   typography/image arrangement changes. */
#ae-mobile-hero{display:none}
@media (max-width:809.98px){
  html.ae-home [data-framer-name="Main content"]{
    min-height:max(100svh,700px)!important;
    height:auto!important;
    padding:112px 16px 76px!important;
    justify-content:center!important;
  }
  html.ae-home [data-framer-name="Title - Overlay blending"]{display:none!important}
  #ae-mobile-hero{
    display:flex;
    width:100%;
    min-height:calc(100svh - 188px);
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:0;
    position:relative;
    z-index:3;
    mix-blend-mode:overlay;
    color:#fff;
    text-align:center;
    pointer-events:none;
  }
  #ae-mobile-hero .ae-hero-line{
    font-family:"Instrument Serif","Instrument Serif Placeholder",serif;
    font-size:clamp(54px,16.5vw,82px);
    font-weight:400;
    letter-spacing:-.025em;
    line-height:.88;
    white-space:nowrap;
    opacity:0;
    transform:translateY(28px) rotateX(-24deg);
    transform-origin:50% 100%;
    animation:ae-mobile-hero-in .85s cubic-bezier(.16,.73,.24,1) forwards;
  }
  #ae-mobile-hero .ae-hero-line:nth-child(2){animation-delay:.08s}
  #ae-mobile-hero .ae-hero-line:nth-child(4){animation-delay:.16s}
  #ae-mobile-hero .ae-hero-line:nth-child(5){animation-delay:.24s}
  #ae-mobile-hero .ae-hero-mid{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:4px 0 7px;
  }
  #ae-mobile-hero .ae-hero-mid .ae-hero-line{font-size:clamp(47px,13.8vw,69px)}
  #ae-mobile-hero .ae-hero-eye{
    width:clamp(82px,25vw,118px);
    aspect-ratio:1.75;
    object-fit:cover;
    border-radius:5px;
    opacity:0;
    transform:scale(.88);
    animation:ae-mobile-eye-in .72s cubic-bezier(.16,.73,.24,1) .18s forwards;
    filter:saturate(.68) contrast(1.08) brightness(.88);
  }
  @keyframes ae-mobile-hero-in{to{opacity:1;transform:none}}
  @keyframes ae-mobile-eye-in{to{opacity:1;transform:none}}
}
@media (max-width:430px){
  #ae-mobile-hero .ae-hero-line{font-size:clamp(48px,15.8vw,68px)}
  #ae-mobile-hero .ae-hero-mid .ae-hero-line{font-size:clamp(41px,12.7vw,55px)}
  #ae-mobile-hero .ae-hero-mid{gap:8px}
  #ae-mobile-hero .ae-hero-eye{width:22vw;min-width:74px}
}
@media (max-width:375px){
  #ae-mobile-hero .ae-hero-line{font-size:56px}
  #ae-mobile-hero .ae-hero-mid .ae-hero-line{font-size:44px}
  #ae-mobile-hero .ae-hero-eye{width:76px}
}

/* Then & Theory editorial insert */
#ae-tt-editorial-note{max-width:1440px;margin:0 auto;padding:clamp(72px,9vw,150px) clamp(20px,4vw,64px);display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(40px,8vw,140px);background:#f3f2ed;color:#111}
#ae-tt-editorial-note .ae-tt-kicker{font:500 13px/1.2 "Geist",sans-serif;letter-spacing:.08em;text-transform:uppercase}
#ae-tt-editorial-note h2{font:400 clamp(46px,6vw,92px)/.95 "Instrument Serif",serif;letter-spacing:-.04em;max-width:900px}
#ae-tt-editorial-note p{font:400 clamp(17px,1.35vw,21px)/1.48 "Geist",sans-serif;letter-spacing:-.02em;max-width:760px;margin-top:32px}
#ae-tt-editorial-note .ae-tt-topics{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:36px;padding-top:22px;border-top:1px solid rgba(0,0,0,.2);font:500 13px/1.4 "Geist",sans-serif;text-transform:uppercase;letter-spacing:.04em}
@media(max-width:809.98px){#ae-tt-editorial-note{grid-template-columns:1fr;padding:76px 20px;gap:28px}#ae-tt-editorial-note p{margin-top:24px}}


/* --------------------------------------------------------------------------
   v17 — mobile integrity + editorial cleanup
   -------------------------------------------------------------------------- */
.ae-serif-em{font-family:"Instrument Serif","Instrument Serif Placeholder",serif!important;font-style:italic!important;font-weight:400!important}

/* Framer's fixed 64px header must never share the same paint area as opening
   page content on narrow viewports. */
@media (max-width:809.98px){
  header[data-framer-name="Header"]{height:72px!important;padding:0 16px!important;z-index:1000!important}
  header[data-framer-name="Header"] [data-framer-name="Logo"]{max-width:148px!important}

  html.ae-then-theory [data-framer-name="Hero"]{overflow:visible!important}
  html.ae-then-theory [data-framer-name="Overvierw"]{
    box-sizing:border-box!important;
    min-height:auto!important;
    height:auto!important;
    padding:128px 20px 40px!important;
    gap:36px!important;
    overflow:visible!important;
  }
  html.ae-then-theory [data-framer-name="Title"]{width:100%!important;max-width:100%!important;overflow:visible!important}
  html.ae-then-theory [data-framer-name="Title"] h2{
    font-size:clamp(48px,14vw,70px)!important;
    line-height:.95!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
  html.ae-then-theory [data-framer-name="Project information"]{width:100%!important;max-width:100%!important}
  html.ae-then-theory p{overflow-wrap:normal!important;word-break:normal!important}

  /* Network's display headline remains editorial, but no longer assumes a
     desktop canvas or allows glyphs to clip at the viewport edges. */
  html.ae-network h1{
    max-width:100%!important;
    font-size:clamp(42px,11.6vw,58px)!important;
    line-height:1.02!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}

@media (max-width:430px){
  html.ae-then-theory [data-framer-name="Overvierw"]{padding-top:116px!important}
  html.ae-then-theory [data-framer-name="Title"] h2{font-size:clamp(44px,13vw,58px)!important}
}

/* Keep editorial archive images visually coherent without generic tech-blue
   gloss. Paper sources stay paper; satellite/space sources retain restrained
   natural color. */
.ae-editorial-image[data-ae-tone="history-paper"]{filter:grayscale(.78) sepia(.05) contrast(1.06) brightness(.98)!important}
.ae-editorial-image[data-ae-tone="history"]{filter:grayscale(.82) contrast(1.07) brightness(.95)!important}
.ae-editorial-image[data-ae-tone="history-dark"]{filter:grayscale(.58) saturate(.45) contrast(1.09) brightness(.84)!important}
.ae-editorial-image[data-ae-tone="science-paper"]{filter:grayscale(.68) saturate(.28) contrast(1.07) brightness(.98)!important}
.ae-editorial-image[data-ae-tone="science-dark"]{filter:saturate(.52) contrast(1.08) brightness(.86)!important}
.ae-editorial-image[data-ae-tone="geo"],.ae-editorial-image[data-ae-tone="geo-dark"]{filter:saturate(.48) contrast(1.08) brightness(.86)!important}


/* --------------------------------------------------------------------------
   v19 — optically centered opening composition
   Keep the metadata rail anchored to the bottom while centering the editorial
   headline/video group in the usable viewport rather than pinning it high.
   -------------------------------------------------------------------------- */
@media (min-width:810px){
  html.ae-home [data-framer-name="Main content"]{
    justify-content:flex-end!important;
    padding-top:72px!important;
    padding-bottom:64px!important;
  }
  html.ae-home [data-framer-name="Title - Overlay blending"]{
    position:absolute!important;
    top:50%!important;
    left:0!important;
    right:0!important;
    transform:translateY(-52%)!important;
    z-index:3!important;
    margin:0!important;
  }
  html.ae-home [data-framer-name=" Text Bottom "]{
    position:relative!important;
    z-index:4!important;
    margin-top:auto!important;
  }
}
@media (max-width:809.98px){
  html.ae-home [data-framer-name="Main content"]{
    justify-content:flex-end!important;
    position:relative!important;
  }
  #ae-mobile-hero{
    position:absolute!important;
    top:50%!important;
    left:16px!important;
    right:16px!important;
    width:auto!important;
    min-height:0!important;
    transform:translateY(-50%)!important;
  }
}

/* Homepage showreel now uses NASA Earth observation footage. Keep it subtle,
   cropped, and visually integrated with the headline rather than reading as a
   generic agency reel. */
html.ae-home [data-framer-name="Showreel component"] video{
  object-fit:cover!important;
  object-position:center!important;
  filter:saturate(.72) contrast(1.06) brightness(.82)!important;
}
