/*
Theme Name:  İpek Binnaz Ünsal
Theme URI:   https://ipekbinnazunsal.com
Author:      İpek Binnaz Ünsal
Description: Personal website theme — linguist turned marketer. CV, Weird Stuff blog, Serious Stuff portfolio. Warm cream palette, coral accents, Caveat handwriting, syntax tree easter egg.
Version:     1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ipek-theme
*/

/* ═══════════════════════════════════════
   İpek Binnaz Ünsal Theme — main.css
═══════════════════════════════════════ */

:root {
  --cream: #F8F3EB;
  --coral: #E05C42;
  --coral-light: #F2A590;
  --blush: #F7DDD6;
  --ink: #1C1712;
  --muted: #8A7E76;
  --sage: #7A9E79;
  --sage-light: #C4D9C3;
  --yellow: #F2D060;
  --yellow-light: #FBF0C0;
  --lavender: #BFB8DC;
  --paper: #FFFDF8;
  --nav-h: 66px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Instrument Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── CURSOR ── */
#cur {
  width: 12px; height: 12px;
  background: var(--coral);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .18s ease, height .18s ease, background .18s;
}
#cur-ring {
  width: 32px; height: 32px;
  border: 1.5px solid var(--coral);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  opacity: .45;
  transform: translate(-50%,-50%);
}
.hovered #cur { width: 44px; height: 44px; background: rgba(224,92,66,.15); }
.hovered #cur-ring { opacity: 0; }

/* ── READING PROGRESS BAR (single posts) ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--coral);
  z-index: 600;
  width: 0%;
  border-radius: 0 2px 2px 0;
  transition: width .08s linear;
}

/* ── NAV ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 48px;
  height: var(--nav-h);
  background: rgba(248,243,235,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28,23,18,.07);
}
.nav-logo {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--coral);
  text-decoration: none;
  transition: transform .2s;
}
.nav-logo:hover { transform: rotate(-2deg) scale(1.05); }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding: 7px 18px;
  border-radius: 100px;
  transition: all .22s ease;
}
.nav-links a:hover { color: var(--coral); background: var(--blush); }
.nav-links a.active { background: var(--coral); color: white; }

/* ── SITE MAIN ── */
#site-main { padding-top: var(--nav-h); min-height: 100vh; }

/* ── FOOTER ── */
#site-footer {
  border-top: 1px solid rgba(28,23,18,.08);
  padding: 40px 48px;
  background: var(--paper);
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.footer-logo { font-family: 'Caveat', cursive; font-size: 1.4rem; font-weight: 700; color: var(--coral); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: .82rem; color: var(--muted); text-decoration: none; font-weight: 600; transition: color .18s; }
.footer-links a:hover { color: var(--coral); }
.footer-copy { display: flex; gap: 16px; font-size: .75rem; color: var(--muted); font-weight: 500; flex-wrap: wrap; }

/* ═══════════════════════════════
   CV / FRONT PAGE
═══════════════════════════════ */
.cv-hero {
  padding: 60px 52px 52px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(28,23,18,.08);
}
.squiggle { position: absolute; pointer-events: none; z-index: 0; opacity: .55; }
.sq-1 { top: 20px; right: 120px; width: 180px; opacity: .3; }
.sq-2 { bottom: 30px; left: 40%; width: 120px; opacity: .2; transform: rotate(8deg); }
.sq-sage { top: 30px; right: 80px; width: 140px; opacity: .2; transform: rotate(10deg); }
.sq-wavy { bottom: 20px; right: 10%; width: 160px; opacity: .25; transform: rotate(-5deg); }

.cv-hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.cv-eyebrow { font-family: 'Caveat', cursive; font-size: 1.1rem; color: var(--coral); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.cv-name { font-family: 'Fraunces', serif; font-size: clamp(3.2rem, 6vw, 5.4rem); font-weight: 900; line-height: .94; letter-spacing: -.03em; }
.cv-name em { font-style: italic; color: var(--coral); }
.cv-role { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: 'Caveat', cursive; font-size: 1.6rem; color: var(--muted); position: relative; }
.cv-role::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 3px; background: var(--yellow); border-radius: 2px; transform: rotate(-.5deg); }
.cv-tagline { margin-top: 28px; font-size: 1rem; color: var(--muted); line-height: 1.8; max-width: 500px; font-weight: 500; }
.anno { position: relative; display: inline; }
.anno::before { content: ''; position: absolute; bottom: 1px; left: -2px; right: -2px; height: 8px; background: var(--yellow); opacity: .45; z-index: 0; border-radius: 2px; transform: rotate(-.3deg); }
.anno span { position: relative; z-index: 1; }
.cv-contacts { margin-top: 22px; display: flex; flex-direction: column; gap: 5px; }
.cv-contacts a { font-size: .78rem; color: var(--muted); text-decoration: none; font-weight: 500; transition: color .2s; }
.cv-contacts a:hover { color: var(--coral); }

/* Currently box */
.currently-box { background: var(--paper); border: 1.5px solid rgba(28,23,18,.08); border-radius: 20px; padding: 24px 26px; min-width: 240px; box-shadow: 3px 4px 0 rgba(224,92,66,.12); position: relative; }
.currently-box::before { content: '📌'; position: absolute; top: -12px; right: 18px; font-size: 1.2rem; }
.currently-title { font-family: 'Caveat', cursive; font-size: 1rem; color: var(--coral); font-weight: 700; margin-bottom: 14px; }
.currently-item { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.currently-item:last-of-type { margin-bottom: 0; }
.c-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.c-dot.coral { background: var(--coral-light); }
.c-dot.sage  { background: var(--sage); }
.c-dot.yellow{ background: var(--yellow); }
.c-dot.lav   { background: var(--lavender); }
.currently-item-text { font-size: .78rem; line-height: 1.5; font-weight: 500; }
.currently-item-text strong { display: block; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 1px; }
.avail-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 100px; background: var(--sage-light); color: #3a6939; font-size: .72rem; font-weight: 700; letter-spacing: .04em; margin-top: 14px; }
.avail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: blink 1.8s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* Syntax tree */
.tree-section { padding: 64px 52px 72px; border-bottom: 1px solid rgba(28,23,18,.08); background: var(--paper); position: relative; overflow: hidden; }
.tree-section-label { font-family: 'Caveat', cursive; font-size: 1.2rem; color: var(--muted); margin-bottom: 10px; }
.tree-section-headline { font-family: 'Fraunces', serif; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; font-style: italic; color: var(--ink); margin-bottom: 44px; max-width: 700px; line-height: 1.2; letter-spacing: -.02em; }
.syntax-tree-wrap { display: flex; justify-content: center; overflow: visible; }

/* CV body */
.cv-body { display: grid; grid-template-columns: 3fr 2fr; }
.cv-main { padding: 44px 52px; border-right: 1px solid rgba(28,23,18,.08); }
.cv-side  { padding: 44px 36px; background: rgba(242,208,96,.05); }

/* Section labels */
.s-label { font-family: 'Caveat', cursive; font-size: 1.2rem; color: var(--coral); font-weight: 700; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.s-label::after { content: ''; flex: 1; height: 1.5px; background: rgba(224,92,66,.18); }

/* Experience */
.exp-item { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1.5px dashed rgba(28,23,18,.08); }
.exp-item:last-child { border-bottom: none; margin-bottom: 0; }
.exp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 3px; }
.exp-title { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 700; }
.exp-date { font-family: 'Caveat', cursive; font-size: 1rem; color: var(--coral); white-space: nowrap; flex-shrink: 0; }
.exp-co { font-size: .85rem; color: var(--sage); font-weight: 600; margin-bottom: 8px; }
.exp-desc { font-size: .88rem; color: #6a5f58; line-height: 1.8; }

/* Skills */
.skill-wrap { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 32px; }
.chip { font-size: .71rem; font-weight: 600; padding: 5px 13px; border-radius: 100px; border: 1.5px solid rgba(28,23,18,.1); cursor: default; transition: all .18s ease; }
.chip:hover { background: var(--coral); border-color: var(--coral); color: white; transform: translateY(-2px); }
.chip.h { background: var(--blush); border-color: var(--coral-light); color: var(--coral); }
.chip.g { background: var(--sage-light); border-color: var(--sage); color: #3a6939; }
.chip.y { background: var(--yellow-light); border-color: var(--yellow); color: #7a6010; }
.chip.l { background: #ebe8f5; border-color: var(--lavender); color: #4e4880; }

/* Stat grid */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 30px; }
.stat-card { background: var(--paper); border-radius: 14px; padding: 14px 16px; border: 1.5px solid rgba(28,23,18,.06); }
.stat-num { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 900; color: var(--coral); line-height: 1; }
.stat-lbl { font-size: .62rem; font-weight: 700; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; margin-top: 3px; }

/* Edu cards */
.edu-card { background: var(--paper); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px; border: 1.5px solid rgba(28,23,18,.06); transition: transform .2s, box-shadow .2s; }
.edu-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(224,92,66,.08); }
.edu-card-title { font-family: 'Fraunces', serif; font-size: .92rem; font-weight: 700; margin-bottom: 4px; }
.edu-card-sub { font-size: .73rem; color: var(--muted); font-weight: 500; line-height: 1.5; }
.edu-year { display: inline-block; margin-top: 7px; font-family: 'Caveat', cursive; font-size: .85rem; color: var(--coral); }

/* ═══════════════════════════════
   WEIRD STUFF PAGE
═══════════════════════════════ */
.weird-hero { padding: 60px 52px 50px; position: relative; overflow: hidden; border-bottom: 1px solid rgba(28,23,18,.08); }
.doodle-arrow { position: absolute; right: 80px; top: 55px; z-index: 1; opacity: .18; }
.weird-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.weird-title { font-family: 'Fraunces', serif; font-size: clamp(3.5rem, 9vw, 7.5rem); font-weight: 900; line-height: .88; letter-spacing: -.04em; position: relative; z-index: 2; }
.wt2 { font-style: italic; color: var(--coral); display: block; padding-left: 48px; }
.weird-subtext { margin-top: 26px; max-width: 520px; font-size: .9rem; color: var(--muted); line-height: 1.8; font-weight: 500; position: relative; z-index: 2; }
.weird-redirect { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: 'Caveat', cursive; font-size: 1rem; color: var(--muted); background: var(--paper); padding: 8px 16px; border-radius: 100px; border: 1.5px dashed rgba(28,23,18,.15); }
.weird-redirect a { color: var(--coral); font-weight: 700; text-decoration: none; }
.weird-redirect a:hover { text-decoration: underline; }

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; padding: 44px 52px; }
.blog-card { background: var(--paper); border-radius: 22px; padding: 28px 26px; border: 1.5px solid rgba(28,23,18,.07); transition: transform .22s ease, box-shadow .22s ease; position: relative; overflow: hidden; }
.blog-card:hover { transform: translateY(-5px) rotate(.3deg); box-shadow: 0 14px 36px rgba(28,23,18,.1); }
.blog-card.feat { grid-column: span 2; background: var(--coral); color: white; border-color: var(--coral); }
.blog-card.feat .b-cat { background: rgba(255,255,255,.2); color: white; }
.blog-card.feat .b-excerpt { color: rgba(255,255,255,.75); }
.blog-card.feat .b-meta { color: rgba(255,255,255,.5); }
.blog-card.feat .b-read { color: white; border-color: rgba(255,255,255,.4); }
.blog-card.feat .b-title { font-size: 1.9rem; }
.blog-card.feat .b-title a { color: white; }
.blog-card.feat:hover { transform: translateY(-5px) rotate(-.3deg); }
.b-cat { display: inline-block; font-family: 'Caveat', cursive; font-size: .88rem; font-weight: 600; color: var(--coral); background: var(--blush); padding: 3px 12px; border-radius: 100px; margin-bottom: 12px; }
.b-title { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.b-title a { text-decoration: none; transition: color .18s; }
.b-title a:hover { color: var(--coral); }
.b-excerpt { font-size: .86rem; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.b-footer { display: flex; justify-content: space-between; align-items: center; }
.b-meta { font-size: .66rem; color: var(--muted); font-weight: 600; }
.b-read { font-family: 'Caveat', cursive; font-size: .9rem; font-weight: 700; color: var(--coral); text-decoration: none; padding: 4px 13px; border-radius: 100px; border: 1.5px solid rgba(224,92,66,.3); transition: all .18s ease; }
.b-read:hover { background: var(--coral); color: white; border-color: var(--coral); }

/* Pagination */
.pagination { padding: 20px 52px 48px; display: flex; gap: 8px; }
.pagination a, .pagination span { font-size: .8rem; font-weight: 600; padding: 7px 16px; border-radius: 100px; border: 1.5px solid rgba(28,23,18,.12); text-decoration: none; color: var(--ink); transition: all .18s; }
.pagination a:hover { background: var(--coral); border-color: var(--coral); color: white; }
.pagination .current { background: var(--coral); border-color: var(--coral); color: white; }

/* ═══════════════════════════════
   SINGLE POST
═══════════════════════════════ */
.post-wrap { max-width: 1200px; margin: 0 auto; padding: 60px 48px 100px; display: grid; grid-template-columns: 1fr 260px; gap: 80px; align-items: start; }
.post-cat { display: inline-flex; align-items: center; gap: 7px; font-family: 'Caveat', cursive; font-size: 1rem; color: var(--coral); background: var(--blush); padding: 4px 14px; border-radius: 100px; margin-bottom: 20px; }
.post-title { font-family: 'Fraunces', serif; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 24px; }
.post-title em { font-style: italic; color: var(--coral); }
.struck { position: relative; display: inline-block; }
.struck::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 4px; background: var(--coral); border-radius: 2px; transform: rotate(-1.5deg); }
.post-meta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1.5px dashed rgba(28,23,18,.1); flex-wrap: wrap; }
.post-author { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--coral); display: flex; align-items: center; justify-content: center; font-family: 'Caveat', cursive; font-size: 1rem; color: white; font-weight: 700; flex-shrink: 0; }
.author-name { font-size: .82rem; font-weight: 600; }
.author-name span { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
.post-meta-divider { width: 1px; height: 24px; background: rgba(28,23,18,.12); }
.post-meta-item { font-size: .75rem; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 5px; }

/* Post body typography */
.post-body p { font-size: 1.05rem; line-height: 1.85; color: #3a342e; margin-bottom: 1.6em; }
.post-body p:first-child { font-size: 1.18rem; font-weight: 500; color: var(--ink); line-height: 1.75; }
.post-body h2 { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; margin: 2.2em 0 .7em; }
.post-body h3 { font-family: 'Caveat', cursive; font-size: 1.4rem; font-weight: 700; color: var(--coral); margin: 1.8em 0 .5em; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin-bottom: 1.6em; }
.post-body li { font-size: 1rem; line-height: 1.8; color: #3a342e; margin-bottom: .4em; }
.post-body a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote { border-left: 4px solid var(--coral); padding: 16px 24px; margin: 2em 0; background: var(--paper); border-radius: 0 12px 12px 0; }
.post-body blockquote p { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.15rem; color: var(--ink); margin: 0; }

/* Inline highlight classes (apply in editor with Custom HTML or Classic Editor) */
.hl      { background: var(--yellow); padding: 1px 3px; border-radius: 3px; font-weight: 600; }
.hl-pink { background: var(--blush); padding: 1px 3px; border-radius: 3px; color: var(--coral); font-weight: 600; }
.hl-green{ background: var(--sage-light); padding: 1px 3px; border-radius: 3px; color: #3a6939; font-weight: 600; }

/* Pull quote */
.pull-quote { margin: 2.5em -20px; padding: 28px 36px; background: var(--paper); border-left: 4px solid var(--coral); border-radius: 0 16px 16px 0; position: relative; }
.pull-quote::before { content: '"'; position: absolute; top: -10px; left: 28px; font-family: 'Fraunces', serif; font-size: 5rem; color: var(--coral); opacity: .15; line-height: 1; }
.pull-quote p { font-family: 'Fraunces', serif !important; font-size: 1.4rem !important; font-style: italic; font-weight: 700 !important; color: var(--ink) !important; line-height: 1.4 !important; margin: 0 !important; }

/* Callout boxes */
.callout { margin: 2em 0; padding: 22px 24px; border-radius: 16px; border: 1.5px solid; display: flex; gap: 14px; align-items: flex-start; }
.callout.yellow { background: var(--yellow-light); border-color: var(--yellow); }
.callout.pink   { background: var(--blush); border-color: var(--coral-light); }
.callout.sage   { background: var(--sage-light); border-color: var(--sage); }
.callout-icon   { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.callout-text   { font-size: .88rem; line-height: 1.7; font-weight: 500; color: var(--ink); margin: 0 !important; }
.callout-text strong { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; color: var(--muted); font-weight: 700; }

/* Sticky note */
.sticky { background: var(--yellow-light); border: 1.5px solid var(--yellow); border-radius: 4px 16px 16px 4px; padding: 14px 18px; margin: 1.8em 0; font-family: 'Caveat', cursive; font-size: 1.1rem; color: var(--ink); line-height: 1.5; position: relative; transform: rotate(.4deg); box-shadow: 2px 3px 0 rgba(242,208,96,.4); }
.sticky::before { content: '📎'; position: absolute; top: -10px; left: 12px; font-size: 1rem; }

/* Section break */
.section-break { display: flex; align-items: center; gap: 12px; margin: 2.5em 0; color: var(--muted); font-family: 'Caveat', cursive; font-size: 1.1rem; }
.section-break::before, .section-break::after { content: ''; flex: 1; height: 1.5px; background: rgba(28,23,18,.1); }

/* Death cert */
.death-cert { margin: 2.5em 0; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 28px 32px; text-align: center; }
.death-cert::before { content: '🪦'; font-size: 2.5rem; display: block; margin-bottom: 10px; }
.death-cert-title { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.death-cert-word { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 900; font-style: italic; color: var(--ink); text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 4px; margin-bottom: 8px; }
.death-cert-dates { font-family: 'Caveat', cursive; font-size: 1rem; color: var(--muted); margin-bottom: 12px; }
.death-cert-cause { font-size: .8rem; color: var(--muted); font-weight: 500; border-top: 1px dashed rgba(28,23,18,.15); padding-top: 12px; margin-top: 4px; }
.death-cert-cause span { color: var(--coral); font-weight: 700; }

/* Brand list */
.brand-list { margin: 1.5em 0 2em; display: flex; flex-direction: column; gap: 10px; list-style: none !important; padding: 0 !important; }
.brand-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; line-height: 1.6; color: #3a342e; padding: 12px 16px; background: var(--paper); border-radius: 12px; border: 1.5px solid rgba(28,23,18,.06); margin: 0 !important; }
.brand-emoji { font-size: 1.1rem; flex-shrink: 0; }
.brand-quote { font-family: 'Caveat', cursive; font-size: 1rem; color: var(--coral); display: block; margin-top: 2px; }

/* Post footer */
.post-footer { margin-top: 64px; padding-top: 40px; border-top: 1.5px dashed rgba(28,23,18,.1); }
.post-footer-label { font-family: 'Caveat', cursive; font-size: 1rem; color: var(--muted); margin-bottom: 20px; }
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tag { font-size: .75rem; font-weight: 600; padding: 5px 14px; border-radius: 100px; border: 1.5px solid rgba(28,23,18,.12); color: var(--muted); transition: all .18s; text-decoration: none; }
.tag:hover { border-color: var(--coral); color: var(--coral); background: var(--blush); }
.author-card { background: var(--paper); border-radius: 20px; padding: 28px; border: 1.5px solid rgba(28,23,18,.07); display: flex; gap: 18px; align-items: flex-start; margin-bottom: 40px; }
.author-card-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--coral); display: flex; align-items: center; justify-content: center; font-family: 'Caveat', cursive; font-size: 1.4rem; color: white; font-weight: 700; flex-shrink: 0; }
.author-card-name { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.author-card-bio { font-size: .8rem; color: var(--muted); line-height: 1.6; font-weight: 500; margin-bottom: 10px; }
.author-card-link { font-family: 'Caveat', cursive; font-size: .95rem; color: var(--coral); text-decoration: none; font-weight: 600; }
.author-card-link:hover { color: var(--sage); }
.next-post { background: var(--coral); border-radius: 20px; padding: 28px; color: white; text-decoration: none; display: block; transition: transform .2s ease, box-shadow .2s ease; }
.next-post:hover { transform: translateY(-4px) rotate(.3deg); box-shadow: 0 12px 36px rgba(224,92,66,.3); }
.next-post-label { font-family: 'Caveat', cursive; font-size: .9rem; opacity: .7; margin-bottom: 8px; }
.next-post-title { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700; line-height: 1.3; color: white; }
.next-post-arrow { display: inline-block; margin-top: 12px; font-family: 'Caveat', cursive; font-size: 1rem; opacity: .8; }

/* Sidebar */
.sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.sidebar-card { background: var(--paper); border-radius: 18px; padding: 20px 22px; border: 1.5px solid rgba(28,23,18,.07); }
.sidebar-label { font-family: 'Caveat', cursive; font-size: .95rem; color: var(--coral); font-weight: 700; margin-bottom: 14px; }
.reading-ring { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 0 8px; }
.reading-ring svg { transform: rotate(-90deg); }
.reading-ring-num { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 900; color: var(--coral); line-height: 1; }
.reading-ring-label { font-family: 'Caveat', cursive; font-size: .9rem; color: var(--muted); text-align: center; }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { font-size: .72rem; font-weight: 600; padding: 6px 14px; border-radius: 100px; border: 1.5px solid rgba(28,23,18,.12); cursor: pointer; background: none; color: var(--muted); transition: all .18s; font-family: 'Instrument Sans', sans-serif; text-decoration: none; display: inline-block; }
.share-btn:hover { background: var(--coral); border-color: var(--coral); color: white; }
.sidebar-doodle { text-align: center; padding: 16px; opacity: .6; }
.related-item { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; border-bottom: 1px dashed rgba(28,23,18,.08); text-decoration: none; color: var(--ink); transition: color .18s; }
.related-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-cat { font-family: 'Caveat', cursive; font-size: .78rem; color: var(--muted); }
.related-title { font-family: 'Fraunces', serif; font-size: .88rem; font-weight: 700; line-height: 1.3; transition: color .18s; }
.related-item:hover .related-title { color: var(--coral); }

/* ═══════════════════════════════
   SERIOUS STUFF PAGE
═══════════════════════════════ */
.serious-hero { padding: 60px 52px 50px; border-bottom: 1px solid rgba(28,23,18,.08); position: relative; overflow: hidden; }
.serious-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.serious-title { font-family: 'Fraunces', serif; font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 900; line-height: .9; letter-spacing: -.03em; position: relative; z-index: 2; }
.serious-title em { font-style: italic; color: var(--sage); }
.serious-desc { margin-top: 22px; font-size: .9rem; color: var(--muted); max-width: 500px; line-height: 1.8; font-weight: 500; position: relative; z-index: 2; }
.serious-body { display: grid; grid-template-columns: 2fr 1fr; }
.ser-main { padding: 44px 52px; border-right: 1px solid rgba(28,23,18,.08); }
.ser-side { padding: 44px 36px; background: rgba(122,158,121,.05); }
.case-card { background: var(--paper); border-radius: 22px; padding: 28px; margin-bottom: 18px; border: 1.5px solid rgba(28,23,18,.07); transition: transform .2s ease, box-shadow .2s ease; position: relative; }
.case-card::after { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px; background: var(--sage); border-radius: 0 3px 3px 0; opacity: 0; transition: opacity .2s ease; }
.case-card:hover { transform: translateX(4px); box-shadow: 0 8px 28px rgba(28,23,18,.08); }
.case-card:hover::after { opacity: 1; }
.c-tag { display: inline-block; font-family: 'Caveat', cursive; font-size: .9rem; font-weight: 600; background: var(--sage-light); color: #3a6939; padding: 3px 12px; border-radius: 100px; margin-bottom: 12px; }
.c-title { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.c-title a { text-decoration: none; transition: color .18s; }
.c-title a:hover { color: var(--sage); }
.c-desc { font-size: .78rem; color: var(--muted); line-height: 1.75; margin-bottom: 14px; }
.c-metrics { display: flex; gap: 18px; flex-wrap: wrap; }
.c-met { display: flex; flex-direction: column; gap: 1px; }
.c-num { font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 900; color: var(--sage); line-height: 1; }
.c-lbl { font-size: .6rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.wr-card { background: var(--paper); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px; border: 1.5px solid rgba(28,23,18,.06); transition: transform .18s ease; }
.wr-card:hover { transform: translateX(4px); }
.wr-title { font-family: 'Fraunces', serif; font-size: .9rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.wr-title a { text-decoration: none; transition: color .18s; }
.wr-title a:hover { color: var(--sage); }
.wr-body { font-size: .74rem; color: var(--muted); line-height: 1.6; font-weight: 500; }
.wr-link { display: inline-block; margin-top: 8px; font-family: 'Caveat', cursive; font-size: .95rem; color: var(--sage); text-decoration: none; transition: color .18s; }
.wr-link:hover { color: var(--coral); }
.cta-card { background: var(--sage); border-radius: 22px; padding: 26px 22px; margin-top: 18px; color: white; }
.cta-card h3 { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 900; line-height: 1.2; margin-bottom: 8px; }
.cta-card p { font-size: .78rem; color: rgba(255,255,255,.78); line-height: 1.65; font-weight: 500; margin-bottom: 16px; }
.cta-btn { display: inline-block; background: white; color: var(--sage); font-family: 'Caveat', cursive; font-size: 1rem; font-weight: 700; padding: 8px 22px; border-radius: 100px; text-decoration: none; transition: transform .18s ease; }
.cta-btn:hover { transform: translateY(-2px) rotate(-1deg); }

/* ═══════════════════════════════
   404 PAGE
═══════════════════════════════ */
.not-found-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 60px 48px; }
.nf-inner { text-align: center; max-width: 500px; }
.nf-tree { margin-bottom: 24px; opacity: .7; }
.nf-title { font-family: 'Fraunces', serif; font-size: 5rem; font-weight: 900; font-style: italic; color: var(--coral); line-height: 1; margin-bottom: 16px; }
.nf-desc { font-size: .95rem; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.nf-btn { display: inline-block; background: var(--coral); color: white; font-family: 'Caveat', cursive; font-size: 1.1rem; font-weight: 700; padding: 10px 28px; border-radius: 100px; text-decoration: none; transition: transform .18s ease; }
.nf-btn:hover { transform: translateY(-3px); }

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .post-wrap { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .cv-body, .serious-body { grid-template-columns: 1fr; }
  .cv-main, .ser-main { border-right: none; border-bottom: 1px solid rgba(28,23,18,.08); }
}
@media (max-width: 768px) {
  #site-nav { padding: 14px 22px; }
  .nav-links a { padding: 6px 12px; font-size: .75rem; }
  .cv-hero, .weird-hero, .serious-hero { padding: 48px 22px 36px; }
  .cv-hero-grid { grid-template-columns: 1fr; }
  .cv-main, .cv-side, .ser-main, .ser-side { padding: 32px 22px; }
  .tree-section { padding: 40px 22px 48px; }
  .blog-grid { padding: 28px 22px; gap: 14px; }
  .blog-card.feat { grid-column: span 1; }
  .post-wrap { padding: 44px 22px 60px; }
  #site-footer { padding: 32px 22px; }
}
