.article-page{
  background:
    radial-gradient(circle at 92% 10%,rgba(0,216,255,.055),transparent 22%),
    radial-gradient(circle at 8% 34%,rgba(255,47,146,.035),transparent 18%),
    var(--paper);
}

.article-page main{
  display:block;
}

.article-hero{
  width:min(var(--max),calc(100% - 32px));
  margin:0 auto;
  padding:58px 0 86px;
}

.article-breadcrumbs{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:46px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.article-breadcrumbs a{
  color:inherit;
}

.article-breadcrumbs a:hover{
  color:var(--ink);
}

.article-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(300px,.66fr);
  gap:clamp(38px,6vw,82px);
  align-items:end;
}

.article-hero-copy h1{
  max-width:820px;
  margin:0;
  font-family:ui-serif,Georgia,"Times New Roman",serif;
  font-size:clamp(44px,6vw,76px);
  line-height:.94;
  letter-spacing:-.065em;
  font-weight:500;
}

.article-deck{
  max-width:760px;
  margin:30px 0 0;
  color:rgba(17,17,15,.72);
  font-size:clamp(18px,2vw,23px);
  line-height:1.5;
}

.article-byline{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  max-width:760px;
  margin-top:38px;
  padding-top:24px;
  border-top:1px solid var(--line);
}

.article-byline div{
  display:grid;
  gap:5px;
}

.article-byline strong{
  color:var(--ink);
  font-size:15px;
}

.article-byline span,
.article-byline time{
  color:var(--muted);
  font-size:13px;
}

.article-byline time{
  white-space:nowrap;
}

.article-portrait{
  margin:0;
  width:min(100%,430px);
  justify-self:end;
  align-self:center;
}

.article-portrait img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 18px 48px rgba(35,31,24,.1);
}

.article-portrait figcaption{
  margin-top:12px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

.article-layout{
  width:min(1050px,calc(100% - 32px));
  margin:0 auto;
  padding:0 0 112px;
  display:grid;
  grid-template-columns:minmax(0,720px) minmax(220px,270px);
  gap:clamp(44px,7vw,88px);
  align-items:start;
}

.article-body{
  min-width:0;
}

.article-body p,
.article-body li{
  color:rgba(17,17,15,.76);
  font-size:18px;
  line-height:1.72;
}

.article-body p{
  margin:0 0 24px;
}

.article-body a{
  color:var(--ink);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}

.article-body a:hover{
  text-decoration-thickness:2px;
}

.article-opening{
  font-family:ui-serif,Georgia,"Times New Roman",serif;
  color:var(--ink)!important;
  font-size:clamp(27px,3.4vw,38px)!important;
  line-height:1.22!important;
  letter-spacing:-.035em;
}

.article-thesis,
.article-closing{
  margin:38px 0!important;
  padding:28px 0 28px 26px;
  border-left:3px solid var(--ink);
  color:var(--ink)!important;
  font-family:ui-serif,Georgia,"Times New Roman",serif;
  font-size:clamp(25px,3vw,34px)!important;
  line-height:1.28!important;
  letter-spacing:-.035em;
}

.article-body section{
  margin-top:74px;
  scroll-margin-top:128px;
}

.article-body h2{
  margin:0 0 28px;
  font-family:ui-serif,Georgia,"Times New Roman",serif;
  font-size:clamp(32px,4.5vw,49px);
  line-height:1;
  letter-spacing:-.052em;
  font-weight:500;
}

.article-body h3{
  margin:38px 0 12px;
  font-family:ui-serif,Georgia,"Times New Roman",serif;
  color:var(--ink);
  font-size:25px;
  line-height:1.18;
  letter-spacing:-.035em;
  font-weight:500;
}

.article-tests{
  margin:34px 0 0;
  padding:0;
  list-style:none;
  counter-reset:operational-tests;
  border-top:1px solid var(--line);
}

.article-tests li{
  position:relative;
  counter-increment:operational-tests;
  padding:30px 0 24px 66px;
  border-bottom:1px solid var(--soft-line);
}

.article-tests li::before{
  content:"0" counter(operational-tests);
  position:absolute;
  left:0;
  top:33px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}

.article-tests h3{
  margin:0 0 10px;
}

.article-tests p{
  margin:0;
}

.article-characteristics{
  margin:28px 0 34px;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.article-characteristics li{
  position:relative;
  padding:16px 18px 16px 46px;
  border:1px solid var(--soft-line);
  border-radius:16px;
  background:rgba(255,252,246,.42);
}

.article-characteristics li::before{
  content:"";
  position:absolute;
  left:20px;
  top:27px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ink);
  box-shadow:-2px 0 0 var(--cyan),2px 0 0 var(--magenta);
}

.article-sources{
  padding-top:34px;
  border-top:1px solid var(--line);
}

.article-sources h2{
  font-size:31px;
}

.article-sources ul{
  margin:0;
  padding-left:22px;
}

.article-sources li{
  margin:8px 0;
}

.article-author-box{
  display:grid;
  grid-template-columns:130px 1fr;
  gap:26px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:
    radial-gradient(circle at 0 0,rgba(0,216,255,.08),transparent 28%),
    rgba(255,252,246,.54);
  box-shadow:0 18px 52px rgba(35,31,24,.08);
}

.article-author-box img{
  width:130px;
  height:160px;
  object-fit:cover;
  border-radius:22px;
  filter:grayscale(1);
}

.article-author-label{
  margin:0 0 8px!important;
  color:var(--muted)!important;
  font-size:11px!important;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.article-author-box h2{
  margin-bottom:14px;
  font-size:32px;
}

.article-author-box p{
  margin-bottom:16px;
  font-size:16px;
}

.article-author-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px 20px;
}

.article-author-links a{
  font-size:14px;
  font-weight:800;
}

.article-related{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:56px;
}

.article-related a{
  display:grid;
  gap:8px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  background:rgba(255,252,246,.46);
  text-decoration:none;
}

.article-related span{
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.article-related strong{
  font-family:ui-serif,Georgia,"Times New Roman",serif;
  color:var(--ink);
  font-size:25px;
  font-weight:500;
  letter-spacing:-.035em;
}

.article-aside{
  position:sticky;
  top:118px;
  display:grid;
  gap:16px;
}

.article-aside-card{
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  background:rgba(255,252,246,.5);
}

.article-aside-label{
  margin:0 0 16px;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.article-aside-card nav{
  display:grid;
  gap:3px;
}

.article-aside-card nav a{
  padding:9px 0;
  border-bottom:1px solid var(--soft-line);
  color:rgba(17,17,15,.68);
  font-size:13px;
  line-height:1.35;
}

.article-aside-card nav a:last-child{
  border-bottom:0;
}

.article-aside-author img{
  display:block;
  width:74px;
  height:74px;
  border-radius:18px;
  object-fit:cover;
  filter:grayscale(1);
}

.article-aside-author p{
  display:grid;
  gap:4px;
  margin:16px 0;
}

.article-aside-author strong{
  font-family:ui-serif,Georgia,"Times New Roman",serif;
  font-size:19px;
  font-weight:500;
}

.article-aside-author span{
  color:var(--muted);
  font-size:12px;
  line-height:1.4;
}

.article-aside-author > a{
  display:inline-flex;
  color:var(--ink);
  font-size:13px;
  font-weight:800;
  border-bottom:1px solid currentColor;
}

@media(max-width:980px){
  .article-hero-grid{
    grid-template-columns:1fr;
  }
  .article-portrait{
    width:min(100%,430px);
    justify-self:start;
  }
  .article-layout{
    grid-template-columns:1fr;
  }
  .article-aside{
    position:static;
    grid-template-columns:repeat(2,1fr);
    order:-1;
  }
}

@media(max-width:640px){
  .article-hero,
  .article-layout{
    width:calc(100% - 22px);
  }
  .article-hero{
    padding:42px 0 62px;
  }
  .article-breadcrumbs{
    margin-bottom:34px;
  }
  .article-hero-copy h1{
    font-size:clamp(39px,12vw,54px);
  }
  .article-deck{
    font-size:18px;
  }
  .article-byline{
    align-items:flex-start;
    flex-direction:column;
  }
  .article-layout{
    padding-bottom:82px;
  }
  .article-body p,
  .article-body li{
    font-size:17px;
  }
  .article-body section{
    margin-top:58px;
  }
  .article-tests li{
    padding-left:48px;
  }
  .article-author-box{
    grid-template-columns:1fr;
  }
  .article-author-box img{
    width:108px;
    height:108px;
  }
  .article-related,
  .article-aside{
    grid-template-columns:1fr;
  }
}
