/* Antonio Velardo — editorial theme */
:root{
  --ink:#14202e;
  --ink-soft:#3d4c5e;
  --muted:#6b7789;
  --paper:#fdfcf9;
  --card:#ffffff;
  --line:#e6e2d8;
  --accent:#0f4c81;
  --accent-2:#b98a2f;
  --serif:"Newsreader",Georgia,"Times New Roman",serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --maxw:1080px;
  --textw:720px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--sans);font-size:1.0625rem;line-height:1.7;color:var(--ink);background:var(--paper)}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 1.25rem}
.textwrap{max-width:var(--textw);margin:0 auto;padding:0 1.25rem}

/* header */
.site-header{border-bottom:1px solid var(--line);background:var(--paper);position:sticky;top:0;z-index:50;backdrop-filter:blur(8px)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px}
.brand{font-family:var(--serif);font-weight:600;font-size:1.35rem;letter-spacing:.01em;color:var(--ink)}
.brand:hover{text-decoration:none;color:var(--accent)}
.nav{display:flex;align-items:center;gap:1.4rem;font-size:.95rem}
.nav a{color:var(--ink-soft);font-weight:500}
.nav a:hover{color:var(--accent);text-decoration:none}
.langs{display:flex;gap:.35rem;margin-left:.6rem}
.langs a{padding:.15rem .5rem;border:1px solid var(--line);border-radius:999px;font-size:.78rem;font-weight:600;color:var(--muted);letter-spacing:.05em}
.langs a.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.langs a:hover{text-decoration:none;border-color:var(--accent);color:var(--accent)}
.nav-toggle{display:none}

/* hero */
.hero{padding:4.5rem 0 3.5rem;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#f7f4ec 0%,var(--paper) 100%)}
.hero .kicker{font-size:.8rem;letter-spacing:.22em;text-transform:uppercase;color:var(--accent-2);font-weight:700;margin-bottom:1rem}
.hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(2.1rem,5vw,3.4rem);line-height:1.12;max-width:820px;letter-spacing:-.01em}
.hero p.lead{margin-top:1.25rem;max-width:640px;font-size:1.15rem;color:var(--ink-soft)}
.hero .social{margin-top:1.75rem;display:flex;gap:.75rem;flex-wrap:wrap}
.social a{display:inline-flex;align-items:center;gap:.45rem;padding:.5rem 1rem;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:.9rem;font-weight:600;color:var(--ink-soft)}
.social a:hover{border-color:var(--accent);color:var(--accent);text-decoration:none}

/* sections */
.section{padding:3.25rem 0}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1.75rem}
.section-head h2{font-family:var(--serif);font-weight:500;font-size:1.7rem}
.section-head a{font-size:.9rem;font-weight:600}

/* post cards */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.card{background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.card:hover{box-shadow:0 10px 30px rgba(20,32,46,.08);transform:translateY(-2px)}
.card .thumb{aspect-ratio:16/9;overflow:hidden;background:#eceae2}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .body{padding:1.1rem 1.2rem 1.3rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.card .cat{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--accent-2)}
.card h3{font-family:var(--serif);font-weight:500;font-size:1.18rem;line-height:1.35}
.card h3 a{color:var(--ink)}
.card h3 a:hover{color:var(--accent);text-decoration:none}
.card time{font-size:.82rem;color:var(--muted);margin-top:auto}

/* list page */
.post-list{display:flex;flex-direction:column;gap:0}
.post-row{display:flex;gap:1.5rem;align-items:flex-start;padding:1.5rem 0;border-bottom:1px solid var(--line)}
.post-row .thumb{flex:0 0 200px;aspect-ratio:16/10;border-radius:8px;overflow:hidden;background:#eceae2}
.post-row .thumb img{width:100%;height:100%;object-fit:cover}
.post-row h3{font-family:var(--serif);font-weight:500;font-size:1.35rem;line-height:1.3}
.post-row h3 a{color:var(--ink)}
.post-row h3 a:hover{color:var(--accent);text-decoration:none}
.post-row .meta{font-size:.82rem;color:var(--muted);margin:.35rem 0 .4rem}
.post-row p{color:var(--ink-soft);font-size:.95rem}

/* article */
.article-header{padding:3.5rem 0 2rem;text-align:left}
.article-header .cat{font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;font-weight:700;color:var(--accent-2)}
.article-header h1{font-family:var(--serif);font-weight:500;font-size:clamp(1.9rem,4.5vw,2.9rem);line-height:1.15;margin:.75rem 0 1rem;letter-spacing:-.01em}
.article-header .meta{color:var(--muted);font-size:.92rem;display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
.article-header .meta .author{color:var(--ink-soft);font-weight:600}
.article-content{padding-bottom:3rem}
.article-content>p,.article-content>h2,.article-content>h3,.article-content>h4,.article-content>ul,.article-content>ol,.article-content>blockquote{margin-bottom:1.35rem}
.article-content h2{font-family:var(--serif);font-weight:500;font-size:1.65rem;margin-top:2.5rem;line-height:1.25}
.article-content h3{font-family:var(--serif);font-weight:500;font-size:1.3rem;margin-top:2rem}
.article-content ul,.article-content ol{padding-left:1.4rem}
.article-content li{margin-bottom:.4rem}
.article-content blockquote{border-left:3px solid var(--accent-2);padding:.25rem 0 .25rem 1.25rem;color:var(--ink-soft);font-style:italic}
.article-content figure{margin:2rem 0}
.article-content img{border-radius:8px;margin:0 auto}
.article-content figcaption{font-size:.85rem;color:var(--muted);margin-top:.6rem;text-align:center}
.article-content .tablewrap{overflow-x:auto;margin:2rem 0}
.article-content table{border-collapse:collapse;width:100%;font-size:.92rem;background:var(--card)}
.article-content th,.article-content td{border:1px solid var(--line);padding:.6rem .8rem;text-align:left;vertical-align:top}
.article-content thead th{background:#f2efe6;font-weight:600}
.article-content em{color:inherit}
.article-content a{text-decoration:underline;text-underline-offset:2px}
.article-footer{border-top:1px solid var(--line);padding:2rem 0 3rem}
.author-box{display:flex;gap:1.25rem;align-items:flex-start;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:1.5rem}
.author-box img{width:72px;height:72px;border-radius:50%;object-fit:cover;flex-shrink:0}
.author-box .name{font-family:var(--serif);font-size:1.15rem;font-weight:600;margin-bottom:.3rem}
.author-box p{font-size:.92rem;color:var(--ink-soft)}
.author-box .links{margin-top:.5rem;font-size:.88rem;display:flex;gap:1rem}

/* prose pages */
.prose{padding:1rem 0 3.5rem}
.prose h2{font-family:var(--serif);font-weight:500;font-size:1.65rem;margin:2.4rem 0 1rem}
.prose p{margin-bottom:1.3rem;color:var(--ink-soft)}
.prose p strong{color:var(--ink)}

/* about layout */
.about-hero{display:flex;gap:3rem;align-items:flex-start;padding:3.5rem 0 1rem}
.about-hero .portrait{flex:0 0 260px;width:260px;height:260px;border-radius:50%;overflow:hidden;border:4px solid var(--card);box-shadow:0 8px 30px rgba(20,32,46,.14)}
.about-hero .portrait img{width:100%;height:100%;object-fit:cover;object-position:center top}
.about-hero h1{font-family:var(--serif);font-weight:500;font-size:2.4rem;margin-bottom:1rem}
.about-hero p{color:var(--ink-soft);font-size:1.08rem}

/* footer */
.site-footer{border-top:1px solid var(--line);background:#14202e;color:#c6cdd6;margin-top:2rem}
.site-footer .wrap{padding:2.75rem 1.25rem;display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.site-footer .col h4{color:#fff;font-family:var(--serif);font-weight:500;font-size:1.05rem;margin-bottom:.8rem}
.site-footer a{color:#c6cdd6}
.site-footer a:hover{color:#fff}
.site-footer ul{list-style:none;display:flex;flex-direction:column;gap:.45rem;font-size:.92rem}
.site-footer .legal{border-top:1px solid rgba(255,255,255,.12);padding:1rem 1.25rem;text-align:center;font-size:.82rem;color:#8b96a5}

/* breadcrumbs */
.crumbs{font-size:.82rem;color:var(--muted);padding-top:1.5rem}
.crumbs a{color:var(--muted)}

/* responsive */
@media(max-width:900px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .about-hero{flex-direction:column;align-items:center;text-align:center}
  .about-hero .portrait{flex-basis:auto}
  .about-hero .social{justify-content:center}
}
@media(max-width:640px){
  .grid{grid-template-columns:1fr}
  .post-row{flex-direction:column;gap:.8rem}
  .post-row .thumb{flex-basis:auto;width:100%}
  .nav{gap:.9rem;font-size:.88rem;flex-wrap:wrap;justify-content:flex-end}
  .hero{padding:3rem 0 2.5rem}
}

/* press */
.press{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:.9rem 2rem}
.press li{display:flex;flex-direction:column;gap:.15rem;padding:.9rem 1rem;background:var(--card);border:1px solid var(--line);border-radius:8px}
.press .outlet{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--accent-2)}
.press a{color:var(--ink);font-weight:500;font-size:.98rem}
.press a:hover{color:var(--accent)}
@media(max-width:700px){.press{grid-template-columns:1fr}}

/* embeds */
.embedwrap{position:relative;aspect-ratio:16/9;margin:2rem 0}
.embedwrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:8px}

/* press marquee (cintillo) */
.press-section{padding-top:0;overflow:hidden}
.marquee{position:relative;overflow:hidden;padding:.5rem 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.marquee-track{display:flex;gap:1.1rem;width:max-content;animation:marquee 55s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.marquee-track{animation:none;flex-wrap:wrap;width:auto;justify-content:center}}
.press-card{flex:0 0 300px;display:flex;flex-direction:column;gap:.6rem;padding:1.25rem 1.35rem;
  background:var(--card);border:1px solid var(--line);border-radius:12px;transition:box-shadow .2s,transform .2s}
.press-card:hover{text-decoration:none;box-shadow:0 12px 30px rgba(20,32,46,.10);transform:translateY(-3px)}
.wm{font-family:var(--serif);font-weight:600;font-size:1.4rem;line-height:1;color:var(--wm);display:inline-flex;align-items:baseline;gap:.28em;letter-spacing:-.01em}
.wm-sub{font-family:var(--sans);font-weight:600;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.press-card .press-title{color:var(--ink-soft);font-size:.92rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
