/* Patricia Eugenia — minimal stylesheet. */
@font-face{font-family:"Lux";src:url("/assets/fonts/lux-light.woff2") format("woff2");font-weight:300;font-display:swap}
@font-face{font-family:"Lux";src:url("/assets/fonts/lux-regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Lux";src:url("/assets/fonts/lux-medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Lux";src:url("/assets/fonts/lux-semibold.woff2") format("woff2");font-weight:600;font-display:swap}

:root{
  --paper:#ffffff;
  --ink:#22243a;
  --soft:#6a6d82;
  --line:#e8e9f0;
  --indigo:#3a44a0;
  --indigo-deep:#252b75;
  --font:"Lux","Avenir Next","Segoe UI",system-ui,-apple-system,sans-serif;
  --read:38rem;
  --article:44rem;
  --bar:66rem;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:1.125rem;line-height:1.75;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--indigo);text-decoration:none;transition:color .15s}
a:hover{color:var(--indigo-deep)}
:focus-visible{outline:2px solid var(--indigo);outline-offset:3px;border-radius:2px}
h1,h2,h3{line-height:1.2;margin:0 0 .6em;font-weight:300}
h1{font-size:clamp(2rem,4.6vw,3rem);letter-spacing:-.015em}
h2{font-size:1.45rem}
h3{font-size:1.15rem}
h4,h5,h6{font-size:1.05rem;font-weight:600}
p{margin:0 0 1.15em}
ul{margin:0;padding:0}
.bar{max-width:var(--bar);margin:0 auto;padding:0 1.5rem}
.read{max-width:var(--read);margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:.5rem 1rem;z-index:10}
.skip:focus{left:1rem}
.meta,.fine{font-size:.88rem;color:var(--soft)}
.meta{margin:0}

/* header & footer */
.site-header .bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:1.25rem;padding-bottom:1.25rem}
.brand{font-size:.82rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;color:var(--ink)}
.brand:hover{color:var(--ink)}
.site-header nav{display:flex;gap:1.6rem}
.site-header nav a{font-size:.95rem;color:var(--soft)}
.site-header nav a:hover,.site-header nav a[aria-current]{color:var(--indigo)}
.site-footer{margin-top:7rem;padding-bottom:3rem}
.site-footer .bar{padding-top:2rem;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:.75rem 2rem;align-items:baseline;font-size:.88rem;color:var(--soft)}
.site-footer p{margin:0}
.site-footer nav{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;flex:1}
.site-footer a{color:var(--soft)}
.site-footer a:hover{color:var(--indigo)}

/* home */
.home main{text-align:center}
.hero{max-width:52rem;margin:0 auto;padding:clamp(5rem,17vh,10rem) 1.5rem 4.5rem}
.hero h1{font-size:clamp(2.5rem,7.2vw,4.6rem);letter-spacing:-.03em;line-height:1.05;margin-bottom:.45em;text-wrap:balance}
.hero-sub{font-size:clamp(1.15rem,2.2vw,1.4rem);font-weight:300;color:var(--soft);margin-bottom:0}
.home main{min-height:calc(100vh - 16rem);display:flex;align-items:center;justify-content:center}
.home .hero{padding-top:4rem;padding-bottom:4rem}
.recent h2,.related h2{font-size:.9rem;font-weight:400;color:var(--soft);letter-spacing:.02em;margin-bottom:1.25rem}
.titles{list-style:none}
.titles li{padding:.55rem 0}
.titles a{display:block;font-size:1.15rem;color:var(--ink)}
.titles a:hover{color:var(--indigo)}
.titles .meta{display:block}
.class-line{margin-top:3.5rem;font-size:.98rem;color:var(--soft)}

/* blog listing */
.listing{display:grid;gap:4rem;padding-top:3.5rem}
@media(min-width:60rem){.listing{grid-template-columns:minmax(0,1fr) 14rem;gap:5rem}}
.listing h1{margin-bottom:1.5rem}
.rows{list-style:none}
.row{display:grid;grid-template-columns:14rem minmax(0,1fr);gap:1.75rem;padding:1.75rem 0;border-top:1px solid var(--line);align-items:start}
.row:first-child{border-top:0;padding-top:.5rem}
.row-img img{width:100%;aspect-ratio:2/1;object-fit:cover;border-radius:4px;background:var(--line)}
.row h2{font-size:1.3rem;font-weight:400;margin:0 0 .3rem}
.row h2 a{color:var(--ink)}
.row h2 a:hover{color:var(--indigo)}
.row-desc{margin:.6rem 0 0;font-size:1rem;color:var(--soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.side h2{font-size:.95rem;font-weight:600;margin:0 0 .75rem}
.side h2+ul{margin-bottom:2.5rem}
.side ul{list-style:none}
.side li{padding:.3rem 0;font-size:.98rem}
.side li a{color:var(--ink)}
.side li a:hover,.side li a[aria-current]{color:var(--indigo)}
.side li span{color:var(--soft);font-size:.88rem}
@media(min-width:60rem){.side{padding-top:4.6rem}.listing:has(.crumbs) .side{padding-top:6.4rem}}
@media(max-width:47.99rem){
  .row{grid-template-columns:7rem minmax(0,1fr);gap:1rem;padding:1.25rem 0}
  .row h2{font-size:1.05rem;line-height:1.35}
  .row-desc{display:none}
  .side{border-top:1px solid var(--line);padding-top:2.5rem}
}

/* article & pages */
.post-head{padding-top:4rem}
.post-head .meta{margin-bottom:1rem}
.post-head .meta a{color:var(--soft)}
.post-head .meta a:hover{color:var(--indigo)}
.post-figure{max-width:var(--article);margin:2rem auto 2.75rem;padding:0 1.5rem}
.post-figure img{width:100%;border-radius:4px}
.page{padding-top:4rem}
.prose h2{margin-top:2.4em;font-weight:400}
.prose h3,.prose h4{margin-top:2em;font-weight:600;font-size:1.08rem}
.prose strong{font-weight:600}
.prose a{font-weight:500}
.prose ul,.prose ol{padding-left:1.3rem;margin:0 0 1.15em}
.prose li{margin-bottom:.4em}
.prose blockquote{margin:2.5rem 0;padding-left:1.25rem;border-left:2px solid var(--indigo);font-size:1.2rem;font-weight:300}
.prose img{border-radius:4px;margin:1.5rem 0}
.related{margin-top:5rem}
.about .portrait{width:10rem;height:10rem;border-radius:50%;object-fit:cover;margin-bottom:2.5rem}
.yt{position:relative;aspect-ratio:16/9;margin:2.5rem 0;border-radius:4px;overflow:hidden;background:#000}
.yt img,.yt iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0;margin:0;border-radius:0}
.yt-play{position:absolute;left:50%;top:50%;width:4rem;height:4rem;margin:-2rem 0 0 -2rem;border-radius:50%;background:rgba(255,255,255,.92)}
.yt-play::after{content:"";position:absolute;left:1.55rem;top:1.2rem;border-style:solid;border-width:.8rem 0 .8rem 1.25rem;border-color:transparent transparent transparent var(--indigo)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* forms */
button{font:inherit;font-size:.98rem;background:var(--indigo);color:#fff;border:0;border-radius:4px;padding:.7rem 1.4rem;cursor:pointer}
button:hover{background:var(--indigo-deep)}
label{display:block;margin-bottom:1rem}
label span{display:block;font-size:.88rem;color:var(--soft);margin-bottom:.3rem}
input{width:100%;font:inherit;font-size:1rem;color:var(--ink);background:#fff;border:1px solid #cfd1dc;border-radius:4px;padding:.65rem .8rem}
input:focus{border-color:var(--indigo);outline:none}
.signup{margin:3rem 0;padding-top:2rem;border-top:1px solid var(--line)}
.signup .fine{margin:1rem 0 0}
.signup-form{display:grid;gap:0 1rem}
@media(min-width:40rem){.signup-form{grid-template-columns:1fr 1fr auto;align-items:end}.signup-form label{margin-bottom:0}}
@media(max-width:40rem){.site-footer .bar{flex-direction:column;gap:1rem}.site-footer nav{flex:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* end-of-post subscribe */
.subscribe{margin-top:4.5rem}
.subscribe p:first-child{padding-top:2.5rem;border-top:1px solid var(--line);margin-bottom:1rem;font-size:1.05rem}
.subscribe form{display:flex;gap:.6rem}
.subscribe input{flex:1;min-width:0}
.subscribe .fine{margin:.8rem 0 0}
.subscribe .fine a{color:var(--soft)}
.subscribe .fine a:hover{color:var(--indigo)}
@media(max-width:30rem){.subscribe form{flex-direction:column}.subscribe button{width:100%}}

/* article width, titles, breadcrumbs (D19) */
.post .read,.post~.subscribe,.post~.related{max-width:var(--article)}
.post-head{padding-top:3rem}
.post-head h1{font-size:clamp(1.7rem,3.2vw,2.3rem);line-height:1.2;margin-bottom:.5rem}
.post-head .meta{margin:0}
.prose h2{font-size:1.3rem}
.prose h3,.prose h4{font-size:1.05rem}
.listing h1{font-size:clamp(1.8rem,3.4vw,2.4rem)}
.page h1{font-size:clamp(1.8rem,3.4vw,2.4rem)}
.crumbs ol{list-style:none;margin:0 0 1.25rem;padding:0;display:flex;flex-wrap:wrap;font-size:.85rem;color:var(--soft)}
.crumbs li+li::before{content:"/";margin:0 .55rem;color:#b9bccb}
.crumbs a{color:var(--soft)}
.crumbs a:hover{color:var(--indigo)}
.listing .crumbs ol{margin-bottom:.75rem}
