/* The blog: /blog/ and /blog/<post>/. Light pages that sit on the homepage's type, colors and photos. */
body.blog{background:var(--frost);color:var(--navy)}
body.blog h1,body.blog h2,body.blog h3{text-shadow:none}
body.blog .nav{background:rgba(247,249,252,.9);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding-top:16px;padding-bottom:16px;border-bottom:1px solid rgba(16,33,57,.08)}
body.blog .nav nav a[aria-current]{opacity:1}
body.blog .nav nav a[aria-current]::after{transform:scaleX(1)}
.wrap{max-width:1240px;margin:0 auto;padding:0 var(--gutter);width:100%}
.meta{font-size:.8125rem;font-weight:500;letter-spacing:.02em;color:var(--muted)}
.rise{animation:rise 1.1s var(--ease) both}
.rise.d1{animation-delay:.12s}.rise.d2{animation-delay:.24s}
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}

/* index */
.blog-head{padding-top:clamp(140px,22vh,230px);padding-bottom:clamp(40px,7vh,80px)}
.blog-head h1{font-size:clamp(3rem,7vw,6.6rem);margin-top:.9rem}
.blog-head .lede{margin-top:1.6rem;color:var(--ink);max-width:36rem}

.feature{position:relative;display:grid;border-radius:6px;overflow:hidden;color:var(--frost);background:var(--navy);width:100%;box-shadow:0 50px 90px -50px rgba(16,33,57,.55)}
/* the card is at least the photo's shape and grows when the title needs more room */
.feature::before{content:"";grid-area:1/1;aspect-ratio:16/8.2;max-height:82vh;width:100%}
.feature img,.blog-cta img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.feature img{transition:transform 2.4s var(--ease)}
.feature:hover img{transform:scale(1.035)}
.feature::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,20,38,.78) 0%,rgba(9,20,38,.42) 38%,rgba(9,20,38,0) 66%),linear-gradient(0deg,rgba(9,20,38,.45) 0%,rgba(9,20,38,0) 45%)}
.feature-copy{position:relative;z-index:1;grid-area:1/1;align-self:end;padding:clamp(40px,6vw,80px) clamp(22px,4.2vw,64px) clamp(24px,4.2vw,60px);max-width:calc(35rem + 2 * clamp(22px,4.2vw,64px))}
.feature-copy.long{max-width:calc(44rem + 2 * clamp(22px,4.2vw,64px))}
.feature-copy.long h2{font-size:clamp(1.55rem,2.7vw,2.5rem);line-height:1.06}
.posts h3.long{font-size:clamp(1.35rem,2.1vw,1.9rem);line-height:1.1}
.post-head h1.long{font-size:clamp(2rem,3.7vw,3.3rem);line-height:1.04}
.feature-copy .meta{color:rgba(247,249,252,.85)}
.feature-copy h2{font-size:clamp(1.9rem,3.7vw,3.5rem);line-height:1.02;margin-top:.8rem;text-shadow:0 2px 40px rgba(9,20,38,.45)!important}
.feature-copy p.sum{margin-top:1.1rem;color:rgba(247,249,252,.9);max-width:30rem}
.more{display:inline-flex;align-items:center;gap:.6em;margin-top:1.5rem;font-size:.875rem;font-weight:500;padding-bottom:5px;border-bottom:1px solid currentColor}
.more i{font-style:normal;transition:transform .6s var(--ease)}
a:hover .more i{transform:translateX(6px)}

.posts{list-style:none;padding:0;margin-top:clamp(50px,9vh,110px)}
.posts li{border-top:1px solid var(--line)}
.posts li:last-child{border-bottom:1px solid var(--line)}
.posts a{display:grid;grid-template-columns:minmax(0,1fr) clamp(180px,24vw,340px);gap:clamp(24px,5vw,80px);align-items:center;padding:clamp(26px,4vw,48px) 0}
.posts h3{font-size:clamp(1.6rem,2.8vw,2.6rem);font-weight:300;letter-spacing:-.032em;line-height:1.05;margin-top:.7rem}
.posts p.sum{margin-top:.9rem;color:var(--ink);max-width:36rem}
.posts figure{aspect-ratio:16/10;border-radius:4px;overflow:hidden;background:var(--line)}
.posts figure img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.8s var(--ease)}
.posts a:hover figure img{transform:scale(1.05)}

/* the way back to the main site */
.blog-cta{position:relative;margin-top:clamp(70px,13vh,150px);color:var(--frost);background:var(--navy);overflow:hidden;min-height:min(78vh,760px);display:flex;align-items:center}
.blog-cta::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,20,38,.74) 0%,rgba(9,20,38,.36) 42%,rgba(9,20,38,0) 70%)}
.blog-cta .wrap{position:relative;z-index:1;padding-top:90px;padding-bottom:90px}
.blog-cta h2{text-shadow:0 2px 40px rgba(9,20,38,.45)!important}
.blog-cta p{margin-top:1.35rem;max-width:28rem;color:rgba(247,249,252,.9)}
.blog-cta .cta-row{margin-top:2rem}
.blog-foot{margin-top:0}

/* a post */
.post-head{padding-top:clamp(130px,19vh,200px);max-width:calc(54rem + 2 * var(--gutter))}
.back{display:inline-flex;gap:.6em;font-size:.875rem;font-weight:500;opacity:.8}
.back:hover{opacity:1}
.post-head .meta{margin-top:2.2rem}
.post-head h1{font-size:clamp(2.4rem,5vw,4.7rem);line-height:1;margin-top:1rem}
.post-head .lede{margin-top:1.6rem;color:var(--ink);max-width:38rem}
.post-hero{margin-top:clamp(36px,6vh,70px)}
.post-hero figure{aspect-ratio:16/8.2;max-height:80vh;border-radius:6px;overflow:hidden;background:var(--line);box-shadow:0 50px 90px -50px rgba(16,33,57,.55);width:100%}
.post-hero img{width:100%;height:100%;object-fit:cover;display:block}

.post-body{max-width:calc(40rem + 2 * var(--gutter));margin:clamp(44px,8vh,90px) auto 0;padding:0 var(--gutter);font-size:1.125rem;line-height:1.75;color:var(--ink)}
.post-body>*+*{margin-top:1.4rem}
.post-body h2{font-size:clamp(1.6rem,2.3vw,2.1rem);font-weight:400;letter-spacing:-.028em;line-height:1.12;color:var(--navy);margin-top:3.2rem}
.post-body h3{font-size:1.2rem;font-weight:600;color:var(--navy);margin-top:2.4rem}
.post-body a{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.post-body strong{font-weight:600;color:var(--navy)}
.post-body ul,.post-body ol{padding-left:0;display:grid;gap:.7rem}
.post-body ul{list-style:none}
.post-body ul li{position:relative;padding-left:2.2rem}
.post-body ul li::before{content:"";position:absolute;left:0;top:.86em;width:22px;height:1px;background:var(--blue)}
.post-body ol{padding-left:1.4rem}
.post-body blockquote{font-size:clamp(1.7rem,2.9vw,2.5rem);line-height:1.14;color:var(--navy);border-left:1px solid var(--navy);padding-left:clamp(18px,2.4vw,30px);margin:3rem 0}
.post-body blockquote p+p{margin-top:.8rem}

.byline{display:flex;align-items:center;gap:18px;max-width:calc(40rem + 2 * var(--gutter));margin:clamp(50px,8vh,90px) auto 0;padding:0 var(--gutter)}
.byline>div{display:flex;align-items:center;gap:18px;border-top:1px solid var(--line);padding-top:28px;width:100%}
.byline img{width:60px;height:60px;border-radius:50%;object-fit:cover;object-position:50% 18%;flex:none}
.byline b{display:block;font-family:var(--serif);font-style:italic;font-weight:400;font-size:1.55rem;line-height:1.1}
.byline span{font-size:.8125rem;color:var(--muted)}
.byline a{margin-left:auto;font-size:.875rem;font-weight:500;border-bottom:1px solid currentColor;padding-bottom:3px;white-space:nowrap}

.next{margin-top:clamp(70px,12vh,130px)}
.next>h2{font-size:clamp(1.7rem,2.6vw,2.4rem)}
.next .posts{margin-top:28px}

@media (max-width:860px){
  .feature::before{aspect-ratio:4/5;max-height:none}
  .feature::after{background:linear-gradient(0deg,rgba(9,20,38,.86) 0%,rgba(9,20,38,.5) 44%,rgba(9,20,38,0) 74%)}
  .feature img{object-position:72% 50%}
  .posts a{grid-template-columns:1fr}
  .posts figure{order:-1;aspect-ratio:16/9}
  .post-hero figure{aspect-ratio:4/3}
  .post-hero img,.blog-cta img{object-position:72% 50%}
  .blog-cta::after{background:linear-gradient(0deg,rgba(9,20,38,.84) 0%,rgba(9,20,38,.45) 55%,rgba(9,20,38,.15) 100%)}
  .blog-cta{align-items:flex-end;min-height:88vh}
  .blog-cta .wrap{padding-bottom:60px}
  .byline>div{flex-wrap:wrap}.byline a{margin-left:78px}
}
@media (prefers-reduced-motion:reduce){
  .rise{animation:none}
  .feature img,.posts figure img,.more i{transition:none}
}

/* posts from the Drive queue: long source addresses, topic tags */
.post-body a{overflow-wrap:anywhere}
.post-tags{list-style:none;display:flex;flex-wrap:wrap;gap:8px;max-width:calc(40rem + 2 * var(--gutter));margin:clamp(36px,6vh,60px) auto 0;padding:0 var(--gutter)}
.post-tags li{font-size:.8125rem;font-weight:500;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:6px 14px}
