:root {
  --bg: #e5edef;
  --accent: #9e7555;
  --dark: #2a282f;
  /* one design pixel at the 1512px reference width */
  --u: calc(min(100vw, 1800px) / 1512);
  --gutter: clamp(20px, 4vw, 60px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, .btn, .pager a, .marquee span {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
}
p { letter-spacing: -0.01em; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { opacity: 0.7; }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px var(--gutter);
}
.site-header .logo img { width: 200px; height: 100px; object-fit: contain; }
.site-nav { display: flex; gap: 15px; }
.site-nav a {
  color: #000; text-decoration: none; letter-spacing: -0.01em;
  font-size: clamp(16px, 1.286vw, 19.44px); line-height: 1.5;
  background: linear-gradient(#000, #000) no-repeat 0 100% / 0 1px;
}
.site-nav a:hover, .site-nav a.active { background-size: 100% 1px; opacity: 1; }

/* ---------- Home: intro ---------- */
.intro {
  display: grid; grid-template-columns: 573fr 690fr; column-gap: calc(128 * var(--u));
  align-items: start;
  max-width: 1800px; margin: 0 auto; padding: 40px var(--gutter) 0;
}
.intro h1 { font-size: clamp(44px, 4.526vw, 68.43px); line-height: 1.232; margin: 0 0 38px; }
.intro p { font-size: clamp(17px, 1.526vw, 23.07px); line-height: 1.5; margin: 0 0 14px; }
.intro .hero { margin-top: 82px; }
.tile img, .intro .hero img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.intro .hero img { aspect-ratio: 690 / 439; }

/* ---------- Marquee ---------- */
.marquee {
  margin: calc(50 * var(--u)) 0 0; border: 1px solid var(--accent);
  height: max(96px, calc(190 * var(--u)));
}
.marquee-mask {
  height: 100%; display: flex; align-items: center; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { white-space: nowrap; padding-right: 0.45em; font-size: clamp(36px, 4.526vw, 68.43px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Home: collage ---------- */
.collage-wrap { background: #fff; }
.collage { position: relative; max-width: 1800px; margin: 0 auto; height: calc(var(--ch, 1988) * var(--u)); }
.tile {
  position: absolute; margin: 0; z-index: var(--z, 1);
  left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u));
}
.tile a { display: block; width: 100%; height: 100%; }
.tile a:hover { opacity: 1; }
.tile.quote { height: auto; color: var(--accent); padding: calc(36 * var(--u)) calc(24 * var(--u)) 0; }
.tile.quote blockquote { margin: 0; font-size: max(13px, calc(23.07 * var(--u))); line-height: 1.5; letter-spacing: -0.01em; }
.tile.quote figcaption { text-align: right; font-size: max(10px, calc(12.19 * var(--u))); margin-top: 6px; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Home: closing ---------- */
.closing-wrap { background: var(--accent); }
.closing {
  background: var(--dark); text-align: center;
  padding: calc(100 * var(--u)) var(--gutter) calc(100 * var(--u) + 7.9vw);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7.9vw), 50% 100%, 0 calc(100% - 7.9vw));
}
.closing h2 {
  color: #fff; margin: 0 auto; max-width: 1041px;
  font-size: clamp(26px, 2.846vw, 43.03px); line-height: 1.31;
}
.closing a { color: var(--bg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--accent); color: #fff; text-align: center; padding: 52px 20px 56px; }
.site-footer p { font-size: 14px; margin: 0 0 26px; letter-spacing: 0; }
.site-footer .mail { display: inline-block; color: #fff; margin-bottom: 22px; }
.site-footer .mail svg { display: block; width: 20px; height: 20px; }
.btn {
  display: inline-block; background: #fff; color: var(--accent);
  font-size: 14px; letter-spacing: 0.02em; text-decoration: none;
  padding: 21px 30.8px; border-radius: 300px;
}

/* ---------- Post ---------- */
.post { width: min(69vw, 1242px); margin: 0 auto; padding: 59px 0 106px; }
.post h1 { font-size: clamp(40px, 4.526vw, 68.43px); line-height: 1.4; margin: 0; }
.post .meta { font-size: 12px; margin: 26px 0 50px; display: flex; flex-wrap: wrap; gap: 0 9px; letter-spacing: 0; }
.post .meta a { color: #000; text-decoration: none; }
.post .meta .by::before { content: "|"; margin-right: 6px; }
.post .body p { font-size: clamp(16px, 1.286vw, 19.44px); line-height: 1.5; margin: 0 0 14px; }
.post .body p.gap { margin-top: 29px; }
.post .body p.source { margin-top: 36px; }
.pager { display: flex; justify-content: space-between; gap: 24px; padding: 45px var(--gutter); }
.pager a {
  display: flex; align-items: center; gap: 26px; color: #000; text-decoration: none;
  font-size: clamp(18px, 1.886vw, 28.5px); line-height: 1;
}
.pager svg { width: 14px; height: 30px; flex: none; }
.pager .next { text-align: right; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .site-header .logo img { width: 130px; height: 65px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 14px; }
  .intro { grid-template-columns: 1fr; padding-top: 24px; }
  .intro .hero { margin-top: 18px; }
  .marquee { margin-top: 36px; }
  .collage { height: auto; display: grid; gap: 28px; padding: 40px var(--gutter); }
  .tile { position: static; width: 100%; height: auto; aspect-ratio: calc(var(--w) / var(--h)); }
  .tile.quote { aspect-ratio: auto; padding: 8px 0; }
  .tile.quote blockquote { font-size: 19px; }
  .tile.quote figcaption { font-size: 12px; }
  .closing { padding-top: 64px; padding-bottom: calc(64px + 7.9vw); }
  .post { width: auto; padding: 32px var(--gutter) 64px; }
  .post h1 { line-height: 1.2; }
}
@media (max-width: 480px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   Additions for the full site (About, Writing, Collaboration, Contact)
   ===================================================================== */
.rounded { border-radius: 10px; object-fit: cover; width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn:hover { opacity: 0.85; }
.page-h1 { font-size: clamp(40px, 4.526vw, 68.43px); line-height: 1.232; margin: 0; }
.lead p, p.lead { font-size: clamp(17px, 1.526vw, 23.07px); line-height: 1.5; margin: 0 0 14px; }
.wrap { max-width: 1800px; margin: 0 auto; }

/* ---------- Marquee variants ---------- */
.marquee.thick { border-width: 3px; }
.marquee.dark { border: 0; color: #fff; margin-top: 0; }

/* ---------- Dark band ---------- */
.dark-band { background: var(--dark); color: #fff; text-align: center; padding: calc(41 * var(--u)) var(--gutter); }
.dark-band h2 { margin: 0 auto; max-width: 1274px; font-size: clamp(24px, 2.846vw, 43.03px); line-height: 1.31; }
.dark-band h2.accent { color: var(--accent); }
.dark-band.tall { padding: calc(202 * var(--u)) 0; }

/* ---------- Accordion ---------- */
.acc-list { border-bottom: 1px solid rgba(0, 0, 0, 0.25); }
.acc { border-top: 1px solid rgba(0, 0, 0, 0.25); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 500;
  font-size: clamp(18px, 1.526vw, 23.07px); line-height: 1.3; padding: 17px 0;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 2px;
  background: linear-gradient(#000, #000) center / 100% 1px no-repeat, linear-gradient(#000, #000) center / 1px 100% no-repeat;
  transition: transform 0.2s ease;
}
.acc[open] summary::after { background: linear-gradient(#000, #000) center / 100% 1px no-repeat; }
.acc-body { padding: 0 0 18px; }
.acc-body p, .acc-body li { font-size: clamp(16px, 1.286vw, 19.44px); line-height: 1.5; }
.acc-body p { margin: 0 0 14px; }
.acc-body ul { margin: 0 0 14px; padding-left: 1.6em; }
.acc-body li p { margin: 0; }
.acc-list.large .acc summary { font-size: clamp(20px, 1.886vw, 28.52px); padding: 31px 0; }

/* ---------- About ---------- */
.about-hero {
  display: grid; grid-template-columns: calc(573 * var(--u)) calc(456 * var(--u)); column-gap: calc(186 * var(--u));
  align-items: start; padding: calc(99 * var(--u)) 0 calc(140 * var(--u)) calc(119 * var(--u));
}
.about-hero img { aspect-ratio: 573 / 521; }
.about-hero-text { margin-top: calc(123 * var(--u)); }
.about-hero-text h1 { margin-bottom: 38px; }
.about-specifics { background: #fff; border-top: 1px solid var(--accent); }
.about-specifics .wrap {
  display: grid; grid-template-columns: calc(573 * var(--u)) calc(515 * var(--u)); column-gap: calc(187 * var(--u));
  align-items: start; padding: calc(100 * var(--u)) var(--gutter) calc(141 * var(--u));
}
.about-specifics h1 { margin-bottom: 38px; }
.about-specifics img { aspect-ratio: 515 / 485; }

/* ---------- Writing: top ---------- */
.writing-hero {
  display: grid; grid-template-columns: calc(632 * var(--u)) calc(456 * var(--u)); column-gap: calc(69 * var(--u));
  align-items: start; padding: calc(99 * var(--u)) 0 calc(141 * var(--u)) calc(119 * var(--u));
}
.writing-hero .lead { min-height: calc(163 * var(--u)); margin: 0; }
.wh-art { position: relative; width: calc(573 * var(--u)); aspect-ratio: 573 / 685; }
.wh-art img { position: absolute; height: 82.04%; object-fit: cover; border-radius: 10px; }
.wh-art .a { left: 0; top: 0; width: 89.88%; }
.wh-art .b { left: 50.96%; top: 17.96%; width: 49.04%; z-index: 2; }
.wh-art .btn { position: absolute; left: 10.6%; top: 87.4%; z-index: 3; white-space: nowrap; }
.wh-right { margin-top: calc(163 * var(--u)); }
.wh-right h1 { margin-bottom: 30px; }

/* ---------- Writing: note + newsletter ---------- */
.writing-note { padding: calc(40 * var(--u)) var(--gutter) calc(41 * var(--u)); }
.writing-note > p { max-width: 690px; margin: 0 auto 52px; font-size: clamp(16px, 1.286vw, 19.44px); line-height: 1.5; }
.newsletter { max-width: 456px; margin: 0 auto; }
.newsletter h2 { font-size: clamp(22px, 1.886vw, 28.52px); line-height: 1.2; margin: 0 0 14px; }
.newsletter p { font-size: clamp(16px, 1.286vw, 19.44px); line-height: 1.5; margin: 0 auto; max-width: 390px; }
.newsletter .nl-row { display: flex; justify-content: center; align-items: center; gap: 11px; margin: 36px 0 35px; }
.newsletter input {
  width: 261px; max-width: 60vw; height: 63px; padding: 0 19.6px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 0;
  font: 16px Arial, Helvetica, sans-serif; background: #fff; color: #000;
}
.newsletter button, .contact-form button {
  border: 0; cursor: pointer; background: var(--accent); color: #fff; border-radius: 300px;
  font: 500 14px "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.02em; padding: 19.6px 28px;
}
.newsletter .footnote { font-size: 14px; }
.form-msg { font-size: 14px; margin-top: 12px; min-height: 1.4em; }

/* ---------- Writing: post list ---------- */
.post-list { max-width: 1800px; margin: 0 auto; padding: calc(106 * var(--u)) var(--gutter) calc(90 * var(--u)); }
.post-list-title { text-align: center; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 40px; }
.post-item { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-bottom: 5px; }
.post-thumb { display: block; }
.post-thumb:hover { opacity: 1; }
.post-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.post-item.flip .post-thumb { order: 2; }
.post-summary { text-align: center; width: min(100%, max(300px, calc(403 * var(--u)))); margin: 0 auto; }
.post-summary h2 { font-size: clamp(26px, 2.846vw, 43.03px); line-height: 1.4; margin: 0 0 5px; }
.post-summary h2 a { color: #000; text-decoration: none; }
.post-summary .teaser { font-size: clamp(16px, 1.286vw, 19.44px); line-height: 1.5; margin: 14px 0; }
.post-summary time { display: block; font-size: 12.19px; margin-top: 10px; }
.post-summary .more { display: inline-block; margin-top: 5px; font-size: clamp(16px, 1.286vw, 19.44px); line-height: 1.5; }

/* ---------- Post body extras ---------- */
.post .body blockquote { margin: 14px 0 14px 1.5em; font-size: clamp(16px, 1.286vw, 19.44px); line-height: 1.5; }

/* ---------- Collaboration ---------- */
.collab {
  display: grid; grid-template-columns: calc(690 * var(--u)) calc(632 * var(--u)); column-gap: calc(70 * var(--u));
  align-items: start; max-width: 1800px; margin: 0 auto; padding: calc(99 * var(--u)) var(--gutter) 0;
}
.collab h1 { margin-bottom: 39px; white-space: nowrap; }
.collab-left img { width: calc(632 * var(--u)); aspect-ratio: 632 / 398; }
.big-pill {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: calc(515 * var(--u)); height: calc(112 * var(--u)); min-height: 56px; padding: 0 20px;
  margin: calc(11 * var(--u)) 0 0 calc(59 * var(--u));
  font-size: clamp(17px, 1.526vw, 23.07px); letter-spacing: 0;
}
.collab-text { margin-top: calc(41 * var(--u)); }
.collab + .marquee { margin-top: calc(133 * var(--u)); }
.after-marquee { height: calc(100 * var(--u)); }

/* ---------- Contact ---------- */
.contact { padding-top: calc(99 * var(--u)); padding-bottom: calc(157 * var(--u)); }
.contact h1 { margin-bottom: 32px; }
.contact-form label { display: block; font-size: clamp(16px, 1.286vw, 19.44px); line-height: 33px; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; border: 1px solid transparent; background: #fff; border-radius: 29px;
  font: clamp(16px, 1.286vw, 19.44px) Arial, Helvetica, sans-serif; padding: 10px 20px; margin-bottom: 20px; color: #000;
}
.contact-form input { height: 51px; }
.contact-form textarea { height: 100px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .newsletter input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-form button { padding: 21px 30.8px; }
.hp { position: absolute; left: -5000px; }

/* ---------- 404 ---------- */
.notfound { padding: 12vh var(--gutter) 20vh; text-align: center; }
.notfound p { font-size: clamp(17px, 1.526vw, 23.07px); }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .about-hero, .about-specifics .wrap, .writing-hero, .collab { grid-template-columns: 1fr; padding: 24px var(--gutter) 56px; row-gap: 28px; }
  .about-hero-text, .wh-right, .collab-text { margin-top: 0; }
  .about-hero-text h1, .about-specifics h1 { margin-bottom: 20px; }
  .about-specifics img { order: -1; }
  .writing-hero .lead { min-height: 0; margin-bottom: 24px; }
  .wh-art { width: 100%; }
  .collab { padding-bottom: 0; }
  .collab h1 { white-space: normal; margin-bottom: 20px; }
  .collab-left img { width: 100%; }
  .big-pill { width: 100%; margin: 16px 0 0; }
  .collab + .marquee { margin-top: 48px; }
  .after-marquee { height: 48px; }
  .dark-band { padding: 40px var(--gutter); }
  .dark-band.tall { padding: 90px 0; }
  .contact { padding-top: 24px; padding-bottom: 64px; row-gap: 28px; }
  .post-list { padding-top: 40px; }
  .post-item, .post-item.flip { grid-template-columns: 1fr; margin-bottom: 48px; }
  .post-item.flip .post-thumb { order: 0; }
  .post-thumb { padding: 0 0 20px; }
  .newsletter .nl-row { flex-wrap: wrap; }
}

/* Poems: keep blank lines between stanzas */
.post .body p { white-space: pre-wrap; }
.post .body p:empty::before { content: "\200b"; }

/* ---------- Writing: category filter row ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 0 0 calc(70 * var(--u)); }
.filters a {
  color: var(--accent); text-decoration: none; letter-spacing: -0.01em;
  font-size: clamp(16px, 1.286vw, 19.44px); line-height: 1.5;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 1px;
}
.filters a:hover, .filters a.active { background-size: 100% 1px; opacity: 1; }
#posts { scroll-margin-top: 12px; }
@media (max-width: 860px) { .filters { margin-bottom: 32px; gap: 6px 20px; } }

/* ---------- Phone menu (hamburger) ---------- */
.menu-btn, .logo-mark { display: none; }
@media (max-width: 860px) {
  .site-header { flex-direction: row; align-items: center; padding: 14px var(--gutter); gap: 0; }
  .site-header .logo { position: relative; z-index: 30; }
  .site-header .logo .logo-full { display: none; }
  .site-header .logo .logo-mark { display: block; width: 64px; height: 64px; }
  .menu-btn {
    display: block; position: relative; z-index: 30; width: 44px; height: 44px; margin-right: -6px;
    padding: 0; border: 0; background: none; cursor: pointer;
  }
  .menu-btn span {
    position: absolute; left: 7px; right: 7px; height: 1.5px; background: #000;
    transition: transform 0.25s ease, top 0.25s ease;
  }
  .menu-btn span:first-child { top: 17px; }
  .menu-btn span:last-child { top: 26px; }
  .menu-open .menu-btn span:first-child { top: 21.5px; transform: rotate(45deg); }
  .menu-open .menu-btn span:last-child { top: 21.5px; transform: rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: 20; background: var(--bg);
    flex-direction: column; align-items: center; justify-content: center; gap: 26px;
    opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open, .menu-open body { overflow: hidden; }
  .site-nav a { font: 500 34px/1.2 "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
}

/* Writing page, phones: keep the button clear of the second image */
@media (max-width: 860px) {
  .wh-art .btn { left: 25.5%; transform: translateX(-50%); padding: 16px 22px; }
}

/* ---------- Post: lead image and subscribe band ---------- */
.post-hero { margin: 0 0 50px; }
.post-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-subscribe { padding: calc(60 * var(--u) + 20px) var(--gutter); }
.pager + .post-subscribe { margin-top: 0; }
@media (max-width: 860px) {
  .post-hero { margin-bottom: 32px; }
}

/* ---------- Home: handwritten margin notes ---------- */
.mnote { position: absolute; z-index: 20; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); pointer-events: none; color: var(--accent); }
.mtext { display: block; font-family: "Nanum Brush Script", "Bradley Hand", cursive; letter-spacing: .12em; font-size: max(20px, calc(36 * var(--u))); line-height: 1.05; white-space: nowrap; transform: rotate(-4deg);
         clip-path: inset(0 100% 0 0); transition: clip-path .9s steps(14, end) .2s; }
.marrow { display: block; width: max(70px, calc(120 * var(--u))); height: auto; margin-top: 2px; overflow: visible; }
.marrow path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s ease-out 1.1s; }
.marrow path + path { transition-delay: 1.55s; transition-duration: .2s; }
.mnote.in .mtext { clip-path: inset(0 0 0 0); }
.mnote.in .marrow path { stroke-dashoffset: 0; }
.mnote.dir-left .marrow { transform: rotate(-12deg); }
.mnote.dir-left-down .marrow { transform: rotate(14deg); }
.mnote.dir-right-down .marrow { transform: scaleX(-1); margin-left: 45%; }
@media (max-width: 860px) { .mnote { display: none; } }
@media (prefers-reduced-motion: reduce) { .mtext, .marrow path { transition: none; clip-path: none; stroke-dashoffset: 0; } }

/* ---------- Writing: category cards (replace the old filter row) ---------- */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: calc(28 * var(--u) + 8px); max-width: 1500px; margin: 0 auto calc(70 * var(--u)); }
.ccard { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px 26px; border: 1px solid rgba(158,117,85,.45); border-radius: 10px; color: #000; text-decoration: none; background: rgba(255,255,255,.3); transition: background .25s, border-color .25s; }
.ccard:hover { opacity: 1; background: rgba(255,255,255,.65); }
.ccard.active { background: #fff; border-color: var(--accent); }
.cdraw { width: 132px; height: 99px; margin: 0 0 12px; overflow: visible; }
.cdraw path { fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cdraw path.sheet { fill: #fbfcfc; }
.cdraw path.sticky { fill: #f1e4d5; }
.ccard:hover .cdraw path { animation: cc-redraw .9s ease-out both; }
@keyframes cc-redraw { from { stroke-dasharray: 220; stroke-dashoffset: 220; } to { stroke-dasharray: 220; stroke-dashoffset: 0; } }
.ctitle { position: relative; font: 500 clamp(20px, 1.886vw, 28.52px)/1.2 "Helvetica Neue", Arial, sans-serif; }
.cscrib { position: absolute; left: 0; bottom: -7px; width: 100%; height: 8px; overflow: visible; }
.cscrib path { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .38s cubic-bezier(.3,.7,.4,1); vector-effect: non-scaling-stroke; }
.ccard:hover .cscrib path, .ccard.active .cscrib path { stroke-dashoffset: 0; }
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
  .ccard { padding: 14px 10px 18px; }
  .ccard:last-child { grid-column: 1 / -1; }
  .cdraw { width: 96px; height: 72px; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .ccard:hover .cdraw path { animation: none; } .cscrib path { transition: none; } }

/* =====================================================================
   PENCIL SYSTEM: hand-drawn lines, boxes and icons used across the site.
   Every line is a small inline SVG with a little wobble and grain.
   ===================================================================== */

/* Current page in the nav: a permanent pencil scribble (all devices). Hover scribbles come from pencil.js. */
.site-nav a { background: none; }
.site-nav a.active { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M-1,4.6 C28,3.2 60,5.6 101,3.4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke' filter='url(%23g)'/%3E%3C/svg%3E") left bottom / 100% 7px no-repeat; }

/* Marquee boxes: hand-drawn like the logo */
.marquee { border: 1px solid transparent; border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M2,6.4 C30,5.6 70,7 98,5.8 M94.2,2 C95,30 93.6,70 94.5,98 M98,94.1 C70,95 30,93.4 2,94.6 M6,98 C5.2,70 6.7,30 5.7,2' fill='none' stroke='%239e7555' stroke-opacity='1' stroke-width='1.3' stroke-linecap='round' filter='url(%23g)'/%3E%3C/svg%3E") 16 / 16px / 8px stretch; }
.marquee.thick { border-width: 1px; border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M2,6.4 C30,5.6 70,7 98,5.8 M94.2,2 C95,30 93.6,70 94.5,98 M98,94.1 C70,95 30,93.4 2,94.6 M6,98 C5.2,70 6.7,30 5.7,2' fill='none' stroke='%239e7555' stroke-opacity='1' stroke-width='2.8' stroke-linecap='round' filter='url(%23g)'/%3E%3C/svg%3E"); }
.marquee.dark { border: 0; border-image: none; }

/* Featured Writing: pencil rules instead of ruler lines, and a drawn + / – */
.acc-list { border-bottom: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 6' preserveAspectRatio='none'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M1,3.2 C80,2.3 160,3.9 240,2.9 S360,3.7 399,2.7' fill='none' stroke='%23000' stroke-opacity='0.3' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke' filter='url(%23g)'/%3E%3C/svg%3E") left bottom / 100% 6px no-repeat; padding-bottom: 3px; }
.acc { border-top: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 6' preserveAspectRatio='none'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M1,3.2 C80,2.3 160,3.9 240,2.9 S360,3.7 399,2.7' fill='none' stroke='%23000' stroke-opacity='0.3' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke' filter='url(%23g)'/%3E%3C/svg%3E") left top / 100% 6px no-repeat; padding-top: 3px; }
.acc:nth-child(3n+2) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 6' preserveAspectRatio='none'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M1,2.8 C90,3.7 170,2.4 250,3.3 S350,2.6 399,3.4' fill='none' stroke='%23000' stroke-opacity='0.3' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke' filter='url(%23g)'/%3E%3C/svg%3E"); }
.acc:nth-child(3n) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 6' preserveAspectRatio='none'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M1,3.4 C70,2.9 150,3.2 230,2.5 S340,3.6 399,3.0' fill='none' stroke='%23000' stroke-opacity='0.3' stroke-width='1.3' stroke-linecap='round' vector-effect='non-scaling-stroke' filter='url(%23g)'/%3E%3C/svg%3E"); }
.acc summary::after { width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.8,8.3 C6,7.6 10,8.7 14.3,7.9 M8.3,1.7 C7.6,6 8.7,10 7.8,14.4' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }
.acc[open] summary::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.8,8.3 C6,7.6 10,8.7 14.3,7.9' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat; }

/* About: pencil rule above the details section */
.about-specifics { border-top: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 6' preserveAspectRatio='none'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M1,3.2 C80,2.3 160,3.9 240,2.9 S360,3.7 399,2.7' fill='none' stroke='%239e7555' stroke-opacity='1' stroke-width='1.4' stroke-linecap='round' vector-effect='non-scaling-stroke' filter='url(%23g)'/%3E%3C/svg%3E") left top / 100% 6px no-repeat, #fff; }

/* Category cards: drawn outlines */
.ccard { border: 1px solid transparent; border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M2,6.4 C30,5.6 70,7 98,5.8 M94.2,2 C95,30 93.6,70 94.5,98 M98,94.1 C70,95 30,93.4 2,94.6 M6,98 C5.2,70 6.7,30 5.7,2' fill='none' stroke='%239e7555' stroke-opacity='0.5' stroke-width='1.3' stroke-linecap='round' filter='url(%23g)'/%3E%3C/svg%3E") 16 / 16px / 6px stretch; }
.ccard.active { border-color: transparent; border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M2,6.4 C30,5.6 70,7 98,5.8 M94.2,2 C95,30 93.6,70 94.5,98 M98,94.1 C70,95 30,93.4 2,94.6 M6,98 C5.2,70 6.7,30 5.7,2' fill='none' stroke='%239e7555' stroke-opacity='1' stroke-width='1.5' stroke-linecap='round' filter='url(%23g)'/%3E%3C/svg%3E"); }

/* Newsletter email box: drawn outline (pale on dark bands) */
.newsletter input { border: 1px solid transparent; border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M2,6.4 C30,5.6 70,7 98,5.8 M94.2,2 C95,30 93.6,70 94.5,98 M98,94.1 C70,95 30,93.4 2,94.6 M6,98 C5.2,70 6.7,30 5.7,2' fill='none' stroke='%232a282f' stroke-opacity='0.45' stroke-width='1.3' stroke-linecap='round' filter='url(%23g)'/%3E%3C/svg%3E") 16 / 16px / 6px stretch; }
.dark-band .newsletter input { border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M2,6.4 C30,5.6 70,7 98,5.8 M94.2,2 C95,30 93.6,70 94.5,98 M98,94.1 C70,95 30,93.4 2,94.6 M6,98 C5.2,70 6.7,30 5.7,2' fill='none' stroke='%23e5edef' stroke-opacity='0.7' stroke-width='1.3' stroke-linecap='round' filter='url(%23g)'/%3E%3C/svg%3E"); }

/* Post attribution: a short pencil stroke in place of the old "__" */
.attr-rule { display: inline-block; width: 56px; height: 8px; vertical-align: middle; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M-1,4.6 C28,3.2 60,5.6 101,3.4' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' vector-effect='non-scaling-stroke' filter='url(%23g)'/%3E%3C/svg%3E") center / 100% 8px no-repeat; }

/* Previous / next: hand-drawn arrows */
.pager svg { width: 38px; height: 20px; overflow: visible; }
.pager svg path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Footer envelope */
.site-footer .mail svg { width: 24px; height: 24px; overflow: visible; }

@media (max-width: 860px) {
  /* Phone menu: two pencil strokes that cross into an X */
  .menu-btn span { height: 5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 6' preserveAspectRatio='none'%3E%3Cfilter id='g' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='1.2'/%3E%3C/filter%3E%3Cpath d='M1,3.2 C80,2.3 160,3.9 240,2.9 S360,3.7 399,2.7' fill='none' stroke='%23000' stroke-opacity='1' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke' filter='url(%23g)'/%3E%3C/svg%3E") center / 100% 5px no-repeat; }
  .menu-btn span:first-child { top: 15px; }
  .menu-btn span:last-child { top: 24px; }
  .menu-open .menu-btn span:first-child, .menu-open .menu-btn span:last-child { top: 19.5px; }
  .site-nav a.active { background-size: 100% 9px; }
}
