body{
  margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-weight:300;
  font-size:clamp(1rem,.94rem + .28vw,1.0625rem);line-height:1.78;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
  display:flex;flex-direction:column;min-height:100vh;
}
[id]{scroll-margin-top:6.5rem}
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gutter);width:100%}
.eyebrow{
  font-family:var(--cond);font-weight:400;font-size:clamp(.8125rem,.765rem + .2vw,.875rem);
  letter-spacing:.18em;text-transform:uppercase;color:var(--ink-soft);line-height:1;
}
.btn:hover::before,.btn:focus-visible::before{transform:translateY(0)}
.btn:hover,.btn:focus-visible{color:var(--ink-deep);border-color:var(--apricot)}

/* ============================ NAV ============================ */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:100;padding:1.6rem 0;
  transition:background .5s var(--ease),box-shadow .5s var(--ease),padding .5s var(--ease);
}
.nav__sublink[aria-current="page"]{color:var(--terracotta)}

/* ========================= PAGE HEAD ========================= */
main{flex:1 0 auto}
.phead{background:var(--dune);padding:clamp(8.5rem,15vh,11rem) 0 clamp(3rem,6vw,5rem)}
.phead__t{
  font-family:var(--serif);font-size:clamp(2.6rem,1.4rem + 5.4vw,6rem);
  line-height:.94;letter-spacing:-.04em;margin-top:1.4rem;
}
.phead__t em{font-style:italic;color:var(--terracotta)}
.phead__sub{
  margin-top:clamp(1.2rem,2.4vw,1.8rem);max-width:52ch;
  font-family:var(--serif);font-size:clamp(1.1rem,.98rem + .6vw,1.45rem);
  line-height:1.4;color:var(--ink-soft);
}

/* ========================= PAGE BODY ========================= */
.pbody{padding:clamp(3.5rem,7vw,6rem) 0 clamp(5rem,10vw,8rem)}
/* .fill — the dashed box round the card's stand-in date and reading time — went
   with them; the card carries the real 1 August 2026 / 3 min read now. */

/* ========================= POST GRID =========================
   auto-fill, not auto-fit: with a single article the card keeps a
   readable column width instead of stretching across the whole
   1320px wrap, and the empty tracks are where the next posts land. */
.posts{
  display:grid;gap:clamp(1.8rem,3.5vw,2.6rem);
  grid-template-columns:repeat(auto-fill,minmax(20rem,1fr));
}
.post{display:flex}
.post__link{
  display:flex;flex-direction:column;width:100%;text-decoration:none;
  background:var(--paper);border:1px solid var(--hairline);border-radius:4px;overflow:hidden;
  transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .5s var(--ease);
}
.post__link:hover,.post__link:focus-visible{
  transform:translateY(-4px);border-color:rgba(196,99,60,.4);
  box-shadow:0 34px 60px -42px rgba(38,34,31,.6);
}
/* Cover slot. The <span> alone sizes the box; drop an <img> inside it for a
   photo. The image is taken out of flow on purpose — otherwise a portrait
   photo brings its own height along and stretches the whole card. */
.post__cover{
  display:block;aspect-ratio:3/2;width:100%;position:relative;overflow:hidden;
  background:
    radial-gradient(80% 90% at 22% 18%,rgba(237,165,125,.85) 0%,rgba(237,165,125,0) 70%),
    radial-gradient(70% 80% at 82% 76%,rgba(196,99,60,.42) 0%,rgba(196,99,60,0) 72%),
    var(--blush);
}
/* object-position keeps the face in frame when a portrait photo is cropped
   into the landscape slot */
.post__cover img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:50% 26%;
}
.post__in{padding:clamp(1.4rem,2.6vw,1.9rem);display:flex;flex-direction:column;flex:1}
.post__meta{
  font-family:var(--cond);font-weight:500;font-size:.8125rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-faint);display:block;
}
.post__t{
  font-family:var(--serif);font-size:clamp(1.3rem,1.15rem + .7vw,1.6rem);
  line-height:1.16;letter-spacing:-.03em;margin:.9rem 0 0;
  transition:color .45s var(--ease);
}
.post__link:hover .post__t,.post__link:focus-visible .post__t{color:var(--terracotta)}
.post__x{margin:.9rem 0 0;font-size:.9375rem;line-height:1.75;color:var(--ink-soft)}
.post__more{
  display:inline-flex;align-items:center;gap:.6em;margin-top:auto;padding-top:1.5rem;
  font-family:var(--cond);font-weight:500;font-size:.875rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--terracotta);
}
.post__more .arw{transition:transform .45s var(--ease)}
.post__link:hover .post__more .arw,.post__link:focus-visible .post__more .arw{transform:translateX(4px)}

/* ---------- lead card ----------
   In a single 20rem track one article reads as a stray thumbnail. The lead card
   takes the whole row instead and turns horizontal — cover left, copy right.
   Give it to the newest post; everything after it keeps the tracks below. */
.post--lead{grid-column:1/-1}
.post--lead .post__link{flex-direction:row;align-items:stretch}
/* no aspect-ratio here: the cover stretches to whatever height the copy sets */
.post--lead .post__cover{flex:0 0 44%;aspect-ratio:auto;min-height:clamp(19rem,28vw,25rem)}
.post--lead .post__in{padding:clamp(2rem,4vw,3.4rem);justify-content:center;flex:1}
.post--lead .post__t{font-size:clamp(1.7rem,1.25rem + 1.8vw,2.65rem);margin-top:1.1rem}
.post--lead .post__x{max-width:54ch;font-size:1rem;margin-top:1.1rem}
/* margin-top:auto would drop it to the bottom, away from the centred copy */
.post--lead .post__more{margin-top:clamp(1.8rem,3vw,2.4rem);padding-top:0}

.posts__note{
  margin:clamp(2.6rem,5vw,3.6rem) 0 0;padding-top:1.5rem;border-top:1px solid var(--hairline);
  font-family:var(--cond);font-weight:400;font-size:.875rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--ink-faint);
}

/* ========================= FOOTER ============================ */
.foot{background:var(--ink-deep);color:#FFFFFF;padding:clamp(2.75rem,5.5vw,4.25rem) 0 1.75rem;flex-shrink:0}

/* ====================== RESPONSIVE =========================== */
@media (max-width:1080px){
  .nav__links{
    position:fixed;inset:0 0 auto;top:0;background:var(--cream);
    flex-direction:column;justify-content:center;gap:2rem;height:100dvh;
    clip-path:inset(0 0 100% 0);transition:clip-path .7s var(--ease);margin-bottom:0;
  }
  .nav.is-open .nav__links{clip-path:inset(0 0 0 0)}
  .nav__link{font-size:1.5rem;font-family:var(--serif);letter-spacing:.04em;text-transform:none}
  .burger{display:block;position:relative;z-index:2}
}
@media (max-width:860px){
  .foot__grid{grid-template-columns:1fr 1fr}
  .foot__brand{grid-column:1/-1}
  /* side by side the two halves get too narrow to read: back to the stacked card */
  .post--lead .post__link{flex-direction:column}
  .post--lead .post__cover{flex:0 0 auto;aspect-ratio:3/2;min-height:0}
  .post--lead .post__in{padding:clamp(1.4rem,2.6vw,1.9rem)}
}
@media (max-width:640px){
  .foot__grid{grid-template-columns:1fr}
  /* one column below 640px, whatever the minmax would allow */
  .posts{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}
