/* Launch & Last holding page. Flat grounds, no gradients, no shadows. */
@font-face{font-family:"Manrope";src:url("/assets/fonts/manrope-var.woff2") format("woff2");font-weight:200 800;font-style:normal;font-display:swap}

:root{
  color-scheme:dark;
  --ground:#0F0F10;   /* night */
  --fg:#F2F0EA;       /* chalk */
  --mut:#A8A49C;      /* guide caption tint on night */
  --line:#2A2A2D;
  --gold:#BD7700;
  --pad:clamp(1.25rem,4.45vw,4.5rem);
  --ease:cubic-bezier(.22,.8,.28,1);
}
@media (prefers-color-scheme:light){
  :root{
    color-scheme:light;
    --ground:#F3EFE6; /* bone */
    --fg:#1B1A17;     /* ink */
    --mut:#6E685E;    /* guide caption tint on bone */
    --line:#DAD5CB;
  }
}
/* From 1920 px up the whole page scales with the screen, so 4K keeps the same composition */
@media (min-width:1920px){html{font-size:.8334vw}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  --w:clamp(14.5rem,30vw,27rem);   /* lockup width; the Gate height G is 0.312 of it */
  margin:0;min-height:100vh;min-height:100svh;
  display:grid;grid-template-rows:1fr auto;
  padding:0 var(--pad);
  padding-left:max(var(--pad),env(safe-area-inset-left));
  padding-right:max(var(--pad),env(safe-area-inset-right));
  background:var(--ground);color:var(--fg);
  font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:1rem;font-weight:500;line-height:1.5;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
::selection{background:var(--gold);color:#0F0F10}
h1,p{margin:0}
img{display:block}
a{color:inherit}
:focus-visible{outline:2px solid var(--gold);outline-offset:.25rem}

/* the one piece: the lockup, centred, with one quiet line half a Gate below it */
main{display:grid;place-content:center;justify-items:center;text-align:center;padding:calc(var(--w) * .16) 0}
h1{font-size:1rem;line-height:1}
h1 a{display:block}
h1 img{width:var(--w);height:auto}
.line{margin-top:calc(var(--w) * .16);color:var(--mut);font-size:clamp(.9375rem,1.1vw,1.0625rem);letter-spacing:.01em}

/* foot: the email and the copyright, small */
footer{
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.75rem 2rem;
  padding:0 0 clamp(1.5rem,4.5vh,2.75rem);
  color:var(--mut);font-size:.875rem;
}
footer a{text-decoration:none;color:var(--fg);padding:.2em 0;border-bottom:1px solid var(--line);transition:border-color .2s var(--ease)}
footer a:hover{border-bottom-color:var(--gold)}
.links{display:flex;gap:1.75rem}

/* quiet entrance, only when motion is welcome; the page is fully visible without it */
@media (prefers-reduced-motion:no-preference){
  @keyframes show{from{opacity:0}to{opacity:1}}
  h1,.line,footer{animation:show .9s var(--ease) backwards}
  .line{animation-delay:.2s}
  footer{animation-delay:.4s}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

@media (max-width:36rem){
  footer{flex-direction:column-reverse;align-items:center;text-align:center;gap:1.1rem}
}
