/* ============================================================
   THE NORSE PATH — parchment & ink
   Palette
     --vellum      aged page base
     --vellum-lit  raised highlight
     --edge        aged shadow at the margins
     --ink         body text (warm near-black brown)
     --ink-box     dark inked label boxes (category headers)
     --rubric      oxblood red — manuscript rubrication (links, runes)
     --muted       faded ink for meta
   ============================================================ */
:root{
  --vellum:#e4d5b7;
  --vellum-lit:#efe3c8;
  --edge:#c8b48a;
  --ink:#2a2018;
  --ink-box:#1c1610;
  --rubric:#7c2e22;
  --rubric-lit:#9a3b2b;
  --muted:#6b5d48;
  --rule:#bda77e;
  --maxw:1180px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background-color:var(--vellum);
  /* layered vellum texture: soft mottling + fine grain, all CSS/SVG, no image files */
  background-image:
    radial-gradient(120% 80% at 15% 10%, rgba(255,250,235,.55), rgba(255,250,235,0) 60%),
    radial-gradient(120% 90% at 85% 100%, rgba(120,95,55,.18), rgba(120,95,55,0) 55%),
    radial-gradient(90% 70% at 50% 50%, rgba(196,170,120,.10), rgba(196,170,120,0) 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  color:var(--ink);
  font-family:"EB Garamond",Georgia,"Times New Roman",serif;
  font-size:1.18rem;
  line-height:1.7;
  min-height:100vh;
}
/* aged vignette at the page edges */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  box-shadow:inset 0 0 160px 40px rgba(60,42,20,.28);
}
.wrap{position:relative;z-index:1;max-width:var(--maxw);margin:0 auto;padding:0 1.6rem}

a{color:var(--rubric);text-decoration:none;border-bottom:1px solid rgba(124,46,34,.3)}
a:hover{color:var(--rubric-lit);border-bottom-color:var(--rubric-lit)}

h1,h2,h3,h4{font-family:"Cormorant Garamond",Georgia,serif;font-weight:700;line-height:1.08;color:var(--ink);margin:0 0 .4em}
h1{font-size:clamp(2.6rem,6vw,4.6rem);letter-spacing:-.01em}
h2{font-size:clamp(1.8rem,3.4vw,2.6rem)}
h3{font-size:1.5rem}
p{margin:0 0 1.1rem}
img{max-width:100%;height:auto;display:block}

/* ---------- header ---------- */
.site-head{border-bottom:2px solid var(--rule);margin-bottom:2.2rem}
.site-head .wrap{display:flex;align-items:baseline;justify-content:space-between;
  padding-top:1.2rem;padding-bottom:1.1rem;flex-wrap:wrap;gap:.6rem}
.brand{font-family:"Cormorant Garamond",serif;font-weight:700;font-size:1.7rem;color:var(--ink);border:0}
.brand:hover{color:var(--rubric)}
.nav{display:flex;gap:1.3rem;flex-wrap:wrap;font-size:1.02rem}
.nav a{color:var(--ink);border:0;letter-spacing:.02em}
.nav a:hover{color:var(--rubric)}

/* ---------- rune divider (signature element) ---------- */
.rune-rule{display:flex;align-items:center;gap:1rem;margin:2.4rem 0;color:var(--rule)}
.rune-rule::before,.rune-rule::after{content:"";flex:1;height:1px;
  background:linear-gradient(90deg,transparent,var(--rule),transparent)}
.rune-rule span{font-size:1.3rem;color:var(--rubric);letter-spacing:.5rem;opacity:.85}

/* ---------- home hero ---------- */
.hero-title{margin-top:.4rem}
.hero-tagline{font-style:italic;font-size:1.4rem;color:var(--muted);margin:-.2rem 0 1.8rem}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:2.4rem;align-items:start}
.hero-figure{margin:0;border:1px solid var(--edge);
  box-shadow:0 2px 0 rgba(60,42,20,.15),0 10px 30px rgba(60,42,20,.18)}
.hero-figure img{width:100%;aspect-ratio:1/1;object-fit:cover}
.hero-intro :first-child{margin-top:0}

/* ---------- category grid ---------- */
.cats{margin:1.4rem 0 3rem}
.cat-card{display:grid;grid-template-columns:170px 1fr;gap:1.5rem;align-items:start;
  padding:1.5rem 0;border-bottom:1px solid var(--rule)}
.cat-card:last-child{border-bottom:0}
.cat-thumb{margin:0;border:1px solid var(--edge);background:var(--vellum-lit);
  box-shadow:0 6px 16px rgba(60,42,20,.16)}
.cat-thumb img{width:170px;height:170px;object-fit:cover;display:block}
.cat-label{display:inline-block;background:var(--ink-box);color:var(--vellum-lit);
  font-family:"Cormorant Garamond",serif;font-weight:700;font-size:1.5rem;
  padding:.25rem 1rem;margin:0 0 .7rem;border:0}
.cat-label:hover{color:#fff;background:#000}
.cat-card .cat-desc{margin:.2rem 0 .4rem}
.soon{display:inline-block;font-style:italic;color:var(--muted);
  border-top:1px solid var(--rule);padding-top:.5rem;margin-top:.3rem}
.cat-count{font-style:italic;color:var(--muted);font-size:.98rem}

/* ---------- section (category) page ---------- */
.page-head{display:grid;grid-template-columns:380px 1fr;gap:1.8rem;
  align-items:center;margin-bottom:1.8rem}
.page-head h1{margin:0}
.page-cover{margin:0;border:1px solid var(--edge);background:var(--vellum-lit);
  box-shadow:0 6px 16px rgba(60,42,20,.16)}
.page-cover img{width:380px;height:380px;object-fit:cover;display:block;max-height:none}
.page-intro{font-size:1.22rem;color:var(--ink)}
.article-list{list-style:none;padding:0;margin:1.6rem 0 0}
.article-list li{padding:1.1rem 0;border-bottom:1px solid var(--rule)}
.article-list li:first-child{border-top:1px solid var(--rule)}
.article-list .a-title{font-family:"Cormorant Garamond",serif;font-weight:700;font-size:1.5rem;border:0;color:var(--ink)}
.article-list .a-title:hover{color:var(--rubric)}
.article-list .a-meta{display:block;color:var(--muted);font-style:italic;font-size:.95rem;margin-top:.15rem}
.article-list .a-sum{margin:.4rem 0 0}

/* ---------- single article ---------- */
.article{max-width:760px;margin:0 auto}
.article .a-meta{color:var(--muted);font-style:italic;margin:-.3rem 0 1.4rem}
.article-cover{margin:0 0 1.8rem;border:1px solid var(--edge);box-shadow:0 10px 30px rgba(60,42,20,.18)}
.article-cover img{width:100%;max-height:460px;object-fit:cover}
.article blockquote{border-left:3px solid var(--rubric);margin:1.4rem 0;padding:.2rem 1.2rem;
  color:#43352a;font-style:italic;background:rgba(124,46,34,.05)}
.article hr{border:0;height:1px;background:var(--rule);margin:2rem 0}
.article code{background:rgba(60,42,20,.08);padding:.1em .35em;border-radius:3px;font-size:.92em}

.backlink{display:inline-block;margin:2.4rem 0 0;font-style:italic}

/* ---------- footer ---------- */
.site-foot{border-top:2px solid var(--rule);margin-top:3.5rem}
.site-foot .wrap{padding:1.4rem 1.6rem 2.4rem;color:var(--muted);font-style:italic;
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.98rem}

/* ---------- responsive ---------- */
@media (max-width:760px){
  body{font-size:1.1rem}
  .hero-grid{grid-template-columns:1fr;gap:1.4rem}
  .cat-card{grid-template-columns:110px 1fr;gap:1rem}
  .cat-thumb img{width:110px;height:110px}
  .page-head{grid-template-columns:120px 1fr;gap:1.1rem}
  .page-cover img{width:120px;height:120px}
}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
:focus-visible{outline:2px solid var(--rubric);outline-offset:3px}

/* ============================================================
   Wheel-of-the-Year calendar
   ============================================================ */
.np-cal{margin:1.5rem 0 1rem;border:1px solid var(--edge);background:rgba(239,227,200,.45);
  box-shadow:0 8px 26px rgba(60,42,20,.14);padding:1.1rem 1.2rem 1.3rem}
.np-cal-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.6rem}
.np-cal-title{font-family:"Cormorant Garamond",serif;font-size:1.9rem;margin:0;color:var(--ink);text-align:center;flex:1}
.np-cal-nav{background:var(--ink-box);color:var(--vellum-lit);border:0;cursor:pointer;
  font-size:1.1rem;line-height:1;padding:.35rem .8rem;font-family:inherit}
.np-cal-nav:hover{background:#000;color:#fff}
.np-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.np-dow{text-align:center;font-style:italic;color:var(--muted);font-size:.85rem;padding:.3rem 0;
  border-bottom:1px solid var(--rule)}
.np-cell{min-height:62px;padding:.25rem .3rem;border:1px solid rgba(189,167,126,.35);
  background:rgba(255,250,235,.30);position:relative;font-size:.9rem;overflow:hidden}
.np-cell.np-empty{background:transparent;border-color:transparent}
.np-num{font-weight:600;color:var(--ink)}
.np-today{outline:2px solid var(--rubric);outline-offset:-2px}
.np-today .np-num{color:var(--rubric)}
.np-glyphs{position:absolute;top:.2rem;right:.3rem;font-size:.85rem;line-height:1}
.np-feast-name{display:block;margin-top:.15rem;font-family:"Cormorant Garamond",serif;
  font-weight:700;font-size:.82rem;color:var(--rubric);line-height:1.05}
.np-feast-name.np-astro{color:var(--muted);font-style:italic;font-weight:500;font-size:.74rem}
.np-cell.np-has-feast{background:rgba(124,46,34,.08);border-color:rgba(124,46,34,.35)}
.np-feast-link{display:block;border:0;color:inherit;text-decoration:none;height:100%}
.np-feast-link:hover .np-feast-name{text-decoration:underline}
.np-feast-link:hover .np-num{color:var(--rubric-lit)}
.np-cal-legend{display:flex;flex-wrap:wrap;gap:1.1rem;list-style:none;padding:0;
  margin:.9rem 0 .2rem;font-size:.86rem;color:var(--muted);font-style:italic}
.np-cal-legend li{display:flex;align-items:center;gap:.35rem}
.np-dot{width:.7rem;height:.7rem;display:inline-block;border-radius:2px}
.np-dot.np-feast{background:rgba(124,46,34,.55);border:1px solid var(--rubric)}
.np-glyph{font-style:normal}
.np-cal-upcoming{margin:.6rem 0 0;font-style:italic;color:var(--ink);font-size:.96rem}
.np-cal-upcoming a{font-weight:600}
@media (max-width:640px){
  .np-cell{min-height:48px;font-size:.8rem}
  .np-feast-name{font-size:.66rem}
  .np-cal-title{font-size:1.5rem}
}

/* ===== Fresh-content badges (added 2026-07-17) ===== */
.new-pill{
  display:inline-block; margin-left:.45rem; padding:.08rem .55rem .12rem;
  font-family:"EB Garamond",serif; font-variant:small-caps; letter-spacing:.06em;
  font-size:.72em; font-weight:600; color:#2a1f0e; vertical-align:middle;
  background:linear-gradient(180deg,#d4b05e,#a9822f);
  border-radius:999px; border:1px solid #8a6a24;
  box-shadow:0 2px 10px rgba(201,164,74,.55), 0 0 18px rgba(201,164,74,.35);
}
.cat-card.cat-fresh{
  box-shadow:0 3px 16px rgba(201,164,74,.4), 0 0 26px rgba(201,164,74,.22);
  border-radius:10px;
}
nav .nav-fresh{
  text-shadow:0 0 10px rgba(201,164,74,.75);
  border-bottom:2px solid rgba(201,164,74,.65);
}

/* ===== Subscribe box (added 2026-07-17) ===== */
.subscribe-box{border-top:1px solid #d8c9a8;margin-top:3rem;padding:2.2rem 0;
  background:linear-gradient(180deg,rgba(212,176,94,.07),transparent);text-align:center}
.subscribe-box h3{font-family:"Cormorant Garamond",serif;font-size:1.5rem;margin:0 0 .3rem}
.subscribe-box p{margin:.2rem 0 1rem;font-style:italic}
.subscribe-box form{display:flex;gap:.6rem;justify-content:center;flex-wrap:wrap}
.subscribe-box input[type=email]{padding:.55rem .9rem;border:1px solid #b99d5f;
  border-radius:8px;background:#fffdf7;font-family:"EB Garamond",serif;min-width:16rem}
.subscribe-box button{padding:.55rem 1.4rem;border:1px solid #8a6a24;border-radius:8px;
  background:linear-gradient(180deg,#d4b05e,#a9822f);color:#2a1f0e;font-weight:600;cursor:pointer}

/* ---------- article-list thumbnails (2026-07-18) ---------- */
.article-list li.a-row{display:flex;gap:1.1rem;align-items:flex-start}
.a-thumb{flex:0 0 128px;margin:0;border:1px solid var(--edge);background:var(--vellum-lit);
  border-radius:6px;overflow:hidden;box-shadow:0 1px 4px rgba(42,32,24,.18)}
.a-thumb img{display:block;width:128px;height:128px;object-fit:cover}
.a-thumb a{border:0}
.a-body{flex:1;min-width:0}
@media (max-width:520px){
  .a-thumb{flex-basis:88px}
  .a-thumb img{width:88px;height:88px}
}

/* ---------- contact form (2026-07-18) ---------- */
.contact-form{max-width:44rem;display:grid;gap:1.1rem;position:relative}
.contact-form label{display:grid;gap:.35rem;font-weight:700;color:var(--ink)}
.contact-form input,.contact-form textarea{font:inherit;padding:.6rem .8rem;
  background:var(--vellum-lit);border:1px solid var(--edge);border-radius:6px;color:var(--ink)}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--rubric);outline-offset:1px}
.contact-form button{justify-self:start;font:inherit;font-weight:700;cursor:pointer;
  padding:.65rem 1.5rem;border-radius:8px;border:1px solid var(--edge);
  background:var(--rubric);color:var(--vellum-lit)}
.contact-form button:hover{background:var(--rubric-lit)}
.cf-trap{position:absolute;left:-5000px;top:auto;height:1px;width:1px;overflow:hidden;margin:0}
