/* Split gateway: the dark community side, the newsprint side. */

:root{
  --gold:#cdb35a;
  --gold-bright:#e2c878;
  --dark:#16181d;
  --darker:#0e1012;
  --paper:#faf7f0;
  --ink:#1f1b16;
  --crimson:#7a1f2b;
  --gold-dark:#6e5518;
}

*{box-sizing:border-box;}

html,body{height:100%;}
body{
  margin:0;
  background:var(--darker);
  color:#fff;
  font-family:'Helvetica Neue',Arial,sans-serif;
}

.gateway{min-height:100vh;display:flex;flex-direction:column;}

.gateway-head{
  text-align:center;
  padding:30px 20px 22px;
  border-bottom:1px solid #2a2d33;
}
.gateway-head img{width:62px;height:62px;object-fit:contain;}
.gateway-head h1{
  font-family:Georgia,serif;
  font-size:clamp(1.6rem,4.4vw,2.35rem);
  font-weight:700;
  margin:10px 0 6px;
  letter-spacing:.02em;
}
.gateway-head p{
  margin:0;
  color:#9a9a9a;
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.16em;
}

.choices{flex:1;display:grid;grid-template-columns:1fr 1fr;}

.choice{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:58px 46px;
  text-decoration:none;
  position:relative;
  transition:background .25s ease;
  border:0;
}

/* Left: the community site */
.choice.site{background:var(--dark);color:#d6d6d6;border-right:1px solid #2a2d33;}
.choice.site:hover{background:#1b1e24;}
.choice.site .eyebrow{color:var(--gold);}
.choice.site h2{color:#fff;}
.choice.site .go{color:var(--gold-bright);border-color:var(--gold);}
.choice.site:hover .go{background:var(--gold);color:var(--darker);}

/* Right: the newspaper */
.choice.paper{background:var(--paper);color:#4a443a;}
.choice.paper:hover{background:#fffdf8;}
.choice.paper .eyebrow{color:var(--crimson);}
.choice.paper h2{color:var(--ink);font-family:Georgia,'Times New Roman',serif;}
.choice.paper .go{color:var(--ink);border-color:var(--ink);}
.choice.paper:hover .go{background:var(--ink);color:var(--paper);}

.eyebrow{
  font-size:.7rem;
  text-transform:uppercase;
  letter-spacing:.2em;
  font-weight:700;
  margin:0 0 14px;
}

.choice h2{
  font-family:Georgia,serif;
  font-size:clamp(1.55rem,3.6vw,2.5rem);
  line-height:1.12;
  margin:0 0 14px;
  font-weight:700;
}

.choice p.blurb{
  margin:0 0 26px;
  font-size:.96rem;
  line-height:1.6;
  max-width:34ch;
}

.go{
  align-self:flex-start;
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.11em;
  font-weight:700;
  padding:10px 20px;
  border:1px solid;
  transition:background .2s ease,color .2s ease;
}

.choice:focus-visible{outline:3px solid var(--gold);outline-offset:-3px;}

.gateway-foot{
  text-align:center;
  padding:16px 20px;
  font-size:.74rem;
  color:#7d7d7d;
  background:var(--darker);
  border-top:1px solid #2a2d33;
}
.gateway-foot a{color:#9a9a9a;}

@media (max-width:780px){
  .choices{grid-template-columns:1fr;}
  .choice{padding:40px 26px;}
  .choice.site{border-right:0;border-bottom:1px solid #2a2d33;}
  .choice p.blurb{max-width:none;}
}
