:root{
  --ink:#f2f1ec;
  --ink-70:rgba(242,241,236,.7);
  --ink-62:rgba(242,241,236,.62);
  --ink-60:rgba(242,241,236,.6);
  --ink-55:rgba(242,241,236,.55);
  --ink-40:rgba(242,241,236,.4);
  --canvas:#0e1012;
  --danger:#e08b84;
  --display:'Newsreader',serif;
  --ui:'IBM Plex Mono',ui-monospace,monospace;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  background:var(--canvas);
  color:var(--ink);
  font-family:var(--ui);
  -webkit-font-smoothing:antialiased;
}
a{color:var(--ink-60);text-decoration:none}
a:hover{color:var(--ink)}

.landing{
  position:relative;
  width:100%;
  min-height:100vh;
  overflow:hidden;
  background:var(--canvas);
}

/* hero photograph */
.hero{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  /* the vertical value only bites on ultrawide viewports, where the image is
     wider than the frame and gets cropped top and bottom */
  object-position:32% 62%;
  display:block;
}
/* Five stops rather than three: the extra weight through the middle is what
   holds the headline against the hillside. */
.scrim{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,
    rgba(10,12,14,.34) 0%,
    rgba(10,12,14,.14) 22%,
    rgba(10,12,14,.40) 44%,
    rgba(10,12,14,.44) 62%,
    rgba(10,12,14,.72) 100%);
}

/* sky-only cool scrim: deepens sky + distant ridges, fades out before the
   foreground so the ground and cairn keep their exposure */
.landing::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:58%;
  background:linear-gradient(180deg,
    rgba(14,22,34,.30) 0%,
    rgba(14,22,34,.34) 42%,
    rgba(14,22,34,.26) 72%,
    rgba(14,22,34,0) 100%);
  pointer-events:none;
}

.content{
  position:relative;
  /* above .landing::after, which is the last child and would otherwise paint
     over the type */
  z-index:1;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:40px;
  padding:100px 32px 190px;
}

.lockup{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}
h1{
  font-family:var(--display);
  font-weight:300;
  font-size:clamp(30px,4.4vw,52px);
  line-height:1.14;
  letter-spacing:-.02em;
  text-align:center;
  text-wrap:pretty;
  text-shadow:0 1px 30px rgba(0,0,0,.45);
}
.eyebrow{
  font-family:var(--ui);
  font-size:clamp(13px,1.35vw,17px);
  font-weight:400;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(242,241,236,.92);
  text-align:center;
}

/* signup */
#signup-block{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  width:min(400px,100%);
}
#signup-block[hidden]{display:none}

form#signup{
  display:flex;
  width:100%;
  border-bottom:1px solid var(--ink-40);
  transition:border-color .18s ease;
}
form#signup:focus-within{border-bottom-color:var(--ink)}
form#signup input[type=email]{
  flex:1;
  min-width:0;
  background:transparent;
  border:0;
  outline:none;
  padding:11px 2px;
  color:var(--ink);
  font-family:var(--ui);
  font-size:12.5px;
}
form#signup input::placeholder{color:rgba(242,241,236,.72);opacity:1}
form#signup button{
  background:transparent;
  border:0;
  cursor:pointer;
  color:var(--ink);
  font-family:var(--ui);
  font-size:10px;
  letter-spacing:.2em;
  text-transform:uppercase;
  padding:0 2px;
  transition:opacity .18s ease;
}
form#signup button:hover{opacity:.6}
form#signup button:disabled{opacity:.45;cursor:default}

/* honeypot — off-screen rather than display:none, which bots skip */
.hp{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* min-height reserves the line so success and error messages don't shift the
   form when they appear */
.formmsg{
  min-height:14px;
  font-family:var(--ui);
  font-size:10.5px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--ink-70);
  text-align:center;
}
.formmsg.is-error{color:var(--danger)}

.region-notice{
  font-family:var(--ui);
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-70);
  text-align:center;
}
.region-notice[hidden]{display:none}

.foot{
  position:absolute;
  z-index:1;
  bottom:30px;
  left:0;
  right:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:0 32px;
  text-align:center;
}
.foot-row{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  font-family:var(--ui);
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-55);
}
.foot-desc{
  max-width:62ch;
  font-family:var(--display);
  font-weight:300;
  font-size:14px;
  line-height:1.55;
  color:var(--ink-62);
  text-wrap:pretty;
}
