@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

/* ===== TOKENS ===== */
:root {
  --green: #87ff71;
  --yellow: #ffce5c;
  --ink: #192617;
  --ink2: #2a3d27;
  --ink-light: #3d5438;
  --off: #f5fdf3;
  --white: #ffffff;
  --radius-pill: 999px;
  --radius-card: 28px;
  --nav-h: 64px;
  --font-title: 'Bodoni Moda', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--ink);
  color: var(--off);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol, menu { list-style: none; }
dl, dt, dd { margin: 0; padding: 0; }

/* ===== PAGE WRAP ===== */
.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 8px);
}

/* ===== SITE NAV — details > summary + menu > li > a ===== */
.site-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
.site-nav[open] .nav-dropdown-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: var(--ink2);
  border-top: 2px solid var(--green);
}
.nav-dropdown-menu { display: none; }
.nav-dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--green);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  min-height: 40px;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--green);
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a:focus {
  background: var(--green);
  color: var(--ink);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--nav-h);
  padding: 0 12px;
  background: var(--ink2);
  border-top: 2px solid var(--green);
  cursor: pointer;
  list-style: none;
}
.nav-bar::-webkit-details-marker { display: none; }

.nav-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.nav-icon-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
}
.nav-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-pills {
  display: flex;
  gap: 6px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}
.nav-pills::-webkit-scrollbar { display: none; }

.pill-nav-link {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 14px;
  height: 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--off);
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pill-nav-link:hover,
.pill-nav-link.is-active {
  background: var(--green);
  color: var(--ink);
  border-color: var(--green);
}

.nav-cta {
  flex-shrink: 0;
  margin-left: auto;
}

/* ===== PILL BUTTONS ===== */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  height: 44px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--yellow);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.15s;
  white-space: nowrap;
}
.pill-btn:hover, .pill-btn:focus {
  background: var(--ink);
  color: var(--yellow);
  transform: translateY(-2px);
}
.pill-btn--primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}
.pill-btn--primary:hover, .pill-btn--primary:focus {
  background: var(--ink);
  color: var(--green);
}
.pill-btn--ghost {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}
.pill-btn--ghost:hover, .pill-btn--ghost:focus {
  background: var(--green);
  color: var(--ink);
}

/* ===== EYEBROW / SMALL ===== */
.eyebrow,
small.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}

/* ===== SECTION HEADS ===== */
.section-head {
  margin-bottom: 28px;
}
.section-head h2 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.15;
}

/* ===== MEMPHIS DECORATIVE ELEMENTS ===== */
.memphis-tri {
  width: 0;
  height: 0;
  position: absolute;
  pointer-events: none;
}
.tri-1 {
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid var(--yellow);
  top: 20px;
  right: 30px;
  transform: rotate(15deg);
  opacity: 0.7;
}
.tri-2 {
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid var(--green);
  bottom: 20px;
  left: 20px;
  transform: rotate(-20deg);
  opacity: 0.6;
}
.tri-cat {
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid var(--yellow);
  top: 10px;
  left: 10px;
  transform: rotate(30deg);
  opacity: 0.55;
}
.tri-entry {
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid var(--green);
  top: 0;
  right: 10px;
  transform: rotate(-12deg);
  opacity: 0.5;
}
.tri-about {
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-bottom: 78px solid var(--yellow);
  bottom: 10px;
  right: 20px;
  transform: rotate(25deg);
  opacity: 0.6;
}

.memphis-dot-grid {
  position: absolute;
  pointer-events: none;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, var(--green) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.35;
}
.dg-sm { width: 80px; height: 80px; }
.dg-lg { width: 180px; height: 180px; opacity: 0.2; }

.memphis-circle {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  border: 4px solid;
  width: 80px;
  height: 80px;
}
.c-yellow { border-color: var(--yellow); opacity: 0.6; }
.c-green { border-color: var(--green); opacity: 0.5; }

.memphis-squiggle {
  position: absolute;
  pointer-events: none;
  width: 60px;
  height: 30px;
  border: 3px solid var(--yellow);
  border-radius: 50%;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  opacity: 0.5;
}
.sq-tag { border-color: var(--green); }

.memphis-block {
  position: absolute;
  pointer-events: none;
  border-radius: 6px;
}
.memphis-block--sm {
  width: 60px;
  height: 60px;
  background: var(--yellow);
  transform: rotate(12deg);
  opacity: 0.3;
  top: 10px;
  left: 10px;
}
.memphis-block--tag {
  width: 100px;
  height: 100px;
  background: var(--yellow);
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  opacity: 0.18;
  top: 0;
  right: 0;
}
.memphis-block--about {
  width: 140px;
  height: 140px;
  background: var(--green);
  clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
  opacity: 0.15;
  bottom: 0;
  left: 0;
}
.memphis-block--priv {
  width: 80px;
  height: 80px;
  background: var(--yellow);
  transform: rotate(20deg);
  opacity: 0.2;
  top: 20px;
  right: 20px;
}

/* ===== HERO — HOME ===== */
.hero-section {
  position: relative;
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink2);
  padding: 48px 24px 32px;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 2;
  align-items: flex-end;
  text-align: right;
}
.hero-collage {
  display: flex;
  gap: 10px;
  margin-bottom: 4px;
}
.collage-a {
  width: 120px;
  height: 140px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
  transform: rotate(-4deg);
  opacity: 0.85;
}
.collage-b {
  width: 90px;
  height: 110px;
  background: var(--yellow);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
  transform: rotate(6deg);
  margin-top: 20px;
  opacity: 0.8;
}
.hero-text-wrap {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.hero-h1 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--green);
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--off);
  opacity: 0.85;
  max-width: 420px;
}
.hero-slash {
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 120%;
  height: 40px;
  background: var(--ink);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.hero-aside-deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  pointer-events: none;
  z-index: 1;
}

/* ===== CAT GRID ===== */
.cat-grid-section {
  position: relative;
  padding: 56px 24px;
  overflow: hidden;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-card);
  background: var(--ink2);
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.cat-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
}
.cat-card-accent {
  height: 6px;
  background: linear-gradient(90deg, var(--green) 50%, var(--yellow) 100%);
}
.cat-card-body {
  padding: 20px;
  border-top: 2px solid var(--green);
}
.cat-card-body h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 8px;
  line-height: 1.3;
}
.cat-card-body h3 a:hover { text-decoration: underline; }
.cat-card-body p {
  font-size: 0.9rem;
  color: var(--off);
  opacity: 0.75;
  margin-bottom: 12px;
  line-height: 1.55;
}
.cat-count {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--yellow);
  background: rgba(255,206,92,0.12);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.section-aside {
  position: absolute;
  top: 20px;
  right: 20px;
  pointer-events: none;
}
.section-fig-label {
  position: absolute;
  top: 56px;
  left: 0;
  pointer-events: none;
}
.fig-tag-v {
  writing-mode: vertical-rl;
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--green);
  opacity: 0.3;
  padding-left: 6px;
  border-left: 2px solid var(--green);
}

/* ===== RECENT ENTRIES ===== */
.recent-section {
  position: relative;
  padding: 40px 24px 56px;
  background: var(--ink2);
  overflow: hidden;
}
.slash-divider {
  position: absolute;
  top: -30px;
  left: -5%;
  width: 110%;
  height: 50px;
  background: var(--ink2);
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.recent-aside {
  position: absolute;
  bottom: 30px;
  right: 20px;
  pointer-events: none;
}
.entry-list { display: flex; flex-direction: column; gap: 2px; }
.entry-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1.5px solid rgba(135,255,113,0.15);
  transition: background var(--transition);
  border-radius: 8px;
}
.entry-strip:hover { background: rgba(135,255,113,0.06); }
.entry-strip-num {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--yellow);
  opacity: 0.5;
  min-width: 42px;
  line-height: 1;
}
.entry-strip-info { flex: 1; min-width: 0; }
.entry-strip-info h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 4px;
  line-height: 1.3;
}
.entry-strip-info h3 a:hover { text-decoration: underline; }
.entry-strip-info p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.5;
}
.entry-date {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--yellow);
  opacity: 0.8;
  margin-bottom: 4px;
}
.entry-modified {
  display: block;
  font-size: 0.75rem;
  color: var(--yellow);
  opacity: 0.6;
  margin-top: 2px;
}
.strip-arrow {
  font-size: 1.2rem;
  color: var(--green);
  opacity: 0.6;
  flex-shrink: 0;
  padding: 8px;
  transition: opacity var(--transition), transform var(--transition);
}
.entry-strip:hover .strip-arrow { opacity: 1; transform: translateX(4px); }

/* ===== PROSE / CONTENT ===== */
.prose-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 24px;
  position: relative;
}
.prose-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--off);
  max-width: 720px;
}
.prose-body h2, .prose-body h3 {
  font-family: var(--font-title);
  color: var(--green);
  margin: 1.6em 0 0.6em;
  line-height: 1.25;
}
.prose-body h2 { font-size: 1.4rem; }
.prose-body h3 { font-size: 1.15rem; }
.prose-body p { margin-bottom: 1.1em; }
.prose-body a { color: var(--yellow); text-decoration: underline; }
.prose-body a:hover { color: var(--green); }
.prose-body ul, .prose-body ol {
  margin: 0.8em 0 0.8em 1.4em;
  list-style: revert;
}
.prose-body li { margin-bottom: 0.4em; }
.prose-body blockquote {
  border-left: 3px solid var(--green);
  padding-left: 16px;
  opacity: 0.8;
  margin: 1.2em 0;
}
.prose-deco {
  position: absolute;
  top: 20px;
  left: 20px;
  pointer-events: none;
}
.prose-aside {
  width: 100%;
}

/* ===== ASIDE SHARED ===== */
.aside-inner {
  background: var(--ink2);
  border: 1.5px solid rgba(135,255,113,0.2);
  border-radius: var(--radius-card);
  padding: 22px;
}
.aside-inner h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
  line-height: 1.3;
}
.aside-inner p {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 14px;
}
.aside-link-list { display: flex; flex-direction: column; gap: 6px; }
.aside-link-list li a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.87rem;
  color: var(--off);
  border-left: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.aside-link-list li a:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(135,255,113,0.06);
}
.aside-cat-links { margin-top: 20px; }

/* ===== CATEGORY PAGE ===== */
.cat-hero-section {
  position: relative;
  padding: 56px 24px 32px;
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink2);
}
.cat-hero-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  pointer-events: none;
}
.cat-hero-fig {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}
.cat-slash-block {
  height: 36px;
  background: var(--ink);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}
.cat-hero-inner { position: relative; z-index: 2; }
.cat-h1 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.15;
  margin-bottom: 12px;
}
.cat-desc {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.cat-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(135,255,113,0.12);
  border: 1.5px solid var(--green);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
}
.cat-list-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 24px;
  position: relative;
}
.cat-list-aside {
  width: 100%;
}
.cat-list-fig {
  position: absolute;
  top: 20px;
  right: 20px;
  pointer-events: none;
}
.cat-list-body { min-width: 0; }
.cat-content { margin-top: 32px; padding-top: 24px; border-top: 1.5px solid rgba(135,255,113,0.15); }

/* ===== CHILD DL LIST ===== */
.child-dl { display: flex; flex-direction: column; gap: 0; }
.child-dl dt {
  padding: 14px 12px 4px;
  border-left: 3px solid var(--green);
  margin-top: 12px;
}
.child-dl dt a {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green);
  transition: opacity var(--transition);
}
.child-dl dt a:hover { opacity: 0.75; text-decoration: underline; }
.child-dl dd {
  padding: 4px 12px 12px 15px;
  font-size: 0.88rem;
  opacity: 0.72;
  line-height: 1.55;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  border-left: 3px solid rgba(135,255,113,0.2);
}
.child-dl dd time {
  color: var(--yellow);
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* ===== TAG PAGE ===== */
.tag-hero-section {
  position: relative;
  padding: 56px 24px 32px;
  min-height: 36vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink2);
}
.tag-hero-fig {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  pointer-events: none;
}
.tag-hero-aside {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
  z-index: 2;
}
.tag-hero-aside .aside-inner { padding: 16px; }
.tag-h1 {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.2;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.tag-desc {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 560px;
  position: relative;
  z-index: 2;
  line-height: 1.65;
}
.tag-entries-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 24px;
  position: relative;
}
.tag-entries-fig {
  position: absolute;
  bottom: 20px;
  left: 20px;
  pointer-events: none;
}
.tag-entries-aside { width: 100%; }
.tag-entries-body { min-width: 0; }
.tag-content { margin-bottom: 24px; }
.tag-dl { border-top: 1.5px solid rgba(135,255,113,0.15); padding-top: 16px; margin-top: 16px; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  margin: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255,206,92,0.12);
  border: 1.5px solid var(--yellow);
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.tag-pill:hover {
  background: var(--yellow);
  color: var(--ink);
}
.entry-tags { margin-top: 12px; display: flex; flex-wrap: wrap; }

/* ===== ENTRY PAGE ===== */
.entry-hero-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--ink2);
  overflow: hidden;
}
.entry-hero-fig {
  position: relative;
  width: 100%;
  min-height: 220px;
  background: var(--ink);
  overflow: hidden;
}
.entry-collage {
  display: flex;
  gap: 8px;
  padding: 20px;
  min-height: 220px;
  align-items: center;
  justify-content: center;
}
.entry-hero-img {
  width: 48%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
}
.entry-hero-img--b { transform: translateY(20px); }
.entry-collage--placeholder {
  justify-content: center;
  align-items: center;
  background: rgba(135,255,113,0.05);
}
.entry-collage--placeholder .memphis-block {
  width: 120px;
  height: 120px;
  background: var(--green);
  clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
  opacity: 0.25;
  position: relative;
}
.entry-hero-slash {
  height: 32px;
  background: var(--ink2);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
.entry-hero-meta {
  padding: 24px;
  background: var(--ink2);
}
.entry-h1 {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.15;
  margin-bottom: 10px;
}
.entry-desc {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.65;
  margin-bottom: 14px;
}
.breadcrumb-link {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--yellow);
  opacity: 0.8;
  margin-bottom: 8px;
  transition: opacity var(--transition);
}
.breadcrumb-link:hover { opacity: 1; }
.entry-body-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 24px;
  position: relative;
}
.entry-body-fig {
  position: absolute;
  top: 10px;
  right: 10px;
  pointer-events: none;
}
.entry-body-aside { width: 100%; }
.entry-gallery-section {
  padding: 32px 24px;
  background: var(--ink2);
  position: relative;
  overflow: hidden;
}
.gallery-fig {
  position: absolute;
  top: 10px;
  left: 10px;
  pointer-events: none;
}
.gallery-aside { margin-bottom: 20px; }
.entry-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(135,255,113,0.2);
  transition: border-color var(--transition);
}
.gallery-item:hover { border-color: var(--green); }
.gallery-img { width: 100%; height: 140px; object-fit: cover; }

/* ===== ABOUT PAGE ===== */
.about-hero-section {
  position: relative;
  padding: 56px 24px 32px;
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink2);
}
.about-hero-fig {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.about-hero-aside {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
  z-index: 2;
}
.about-hero-aside .aside-inner { padding: 16px; }
.about-h1 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1.15;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}
.about-desc {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 560px;
  position: relative;
  z-index: 2;
  line-height: 1.65;
}
.about-body-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 24px;
  position: relative;
}
.about-body-fig {
  position: absolute;
  bottom: 20px;
  right: 20px;
  pointer-events: none;
}
.about-body-aside { width: 100%; }
.about-content { min-width: 0; }

/* ===== PRIVACY PAGE ===== */
.privacy-hero-section {
  position: relative;
  padding: 56px 24px 32px;
  min-height: 32vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink2);
}
.privacy-fig {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
}
.privacy-aside {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
  z-index: 2;
}
.privacy-aside .aside-inner { padding: 16px; }
.privacy-h1 {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.2;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.privacy-desc {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 560px;
  position: relative;
  z-index: 2;
  line-height: 1.65;
  margin-bottom: 10px;
}
.privacy-body-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 24px;
  position: relative;
}
.privacy-body-fig {
  position: absolute;
  bottom: 20px;
  left: 20px;
  pointer-events: none;
}
.privacy-body-aside { width: 100%; }
.privacy-content { min-width: 0; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  border-top: 2px dashed rgba(135,255,113,0.25);
  padding: 40px 24px 20px;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand-big {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--green);
  opacity: 0.18;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--off);
  border: 1.5px solid rgba(135,255,113,0.2);
  min-height: 40px;
  transition: border-color var(--transition), color var(--transition);
}
.footer-nav a:hover {
  border-color: var(--green);
  color: var(--green);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(135,255,113,0.1);
}
.footer-copy {
  font-size: 0.78rem;
  opacity: 0.5;
}
.footer-links {
  display: flex;
  gap: 12px;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--yellow);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.footer-links a:hover { opacity: 1; }

/* ===== SCROLL REVEAL ANIMATION ===== */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ===== EMPTY NOTE ===== */
.empty-note {
  padding: 20px;
  opacity: 0.5;
  font-style: italic;
}

/* ===== DESKTOP BREAKPOINT ===== */
@media (min-width: 768px) {
  .hero-section { padding: 60px 48px 40px; }
  .hero-inner { flex-direction: row; align-items: flex-end; gap: 40px; }
  .hero-h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }

  .cat-grid-section { padding: 64px 48px; }
  .recent-section { padding: 48px 48px 64px; }
  .prose-section {
    grid-template-columns: 1fr 300px;
    padding: 56px 48px;
  }
  .prose-aside { order: 2; }
  .prose-body { order: 1; }

  .cat-list-section {
    grid-template-columns: 280px 1fr;
    padding: 48px 48px;
  }
  .cat-list-aside { order: 2; }
  .cat-list-body { order: 1; }
  .cat-hero-section { padding: 64px 48px 36px; }

  .entry-hero-section { flex-direction: row; min-height: 45vh; }
  .entry-hero-fig { width: 55%; min-height: 360px; flex-shrink: 0; }
  .entry-hero-slash {
    display: none;
  }
  .entry-hero-meta { padding: 40px 36px; display: flex; align-items: center; }
  .entry-hero-meta .aside-inner { width: 100%; }
  .entry-hero-img { height: 280px; }
  .entry-body-section {
    grid-template-columns: 1fr 280px;
    padding: 48px 48px;
  }
  .entry-body-aside { order: 2; }
  .entry-content { order: 1; }

  .tag-hero-section { padding: 64px 48px 36px; }
  .tag-entries-section {
    grid-template-columns: 280px 1fr;
    padding: 48px 48px;
  }
  .tag-entries-aside { order: 2; }
  .tag-entries-body { order: 1; }

  .about-hero-section { padding: 64px 48px 36px; }
  .about-body-section {
    grid-template-columns: 1fr 280px;
    padding: 48px 48px;
  }
  .about-body-aside { order: 2; }
  .about-content { order: 1; }

  .privacy-hero-section { padding: 64px 48px 36px; }
  .privacy-body-section {
    grid-template-columns: 1fr 280px;
    padding: 48px 48px;
  }
  .privacy-body-aside { order: 2; }
  .privacy-content { order: 1; }

  .footer-inner { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
  .footer-brand-big { flex: 0 0 100%; }
  .footer-nav { flex: 1; }
  .footer-bottom { flex: 0 0 100%; }

  .nav-pills { overflow: visible; }
  .entry-gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (min-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-section { padding: 72px 80px 48px; }
}
