/* =========================================================
   jaxlee digital — a field notebook
   Palette: rose-gold & warm cream, pulled from the logo.
   ========================================================= */

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

:root {
  /* palette — pulled from the jaxlee digital logo */
  --ink:        #25262c;   /* near-black, from the logo */
  --ink-soft:   #3e3e3e;
  --ink-muted:  #737373;
  --ink-faint:  #a9a9a9;
  --rule:       #ece3d6;   /* hairlines, toned to paper */
  --paper:      #fcf2e8;   /* warm cream, from the logo bg */
  --paper-alt:  #f5e8d8;   /* inline code bg, slightly darker cream */
  --accent:     #db997c;   /* rose-gold, the brand accent */
  --accent-soft:#ddb49e;   /* lighter rose-gold for hovers/states */
  --accent-ink: #ffffff;

  /* type */
  --font-display: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Urbanist', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* scale */
  --measure: 68ch;
  --gutter:  clamp(1.25rem, 3vw, 2rem);
  --rhythm:  clamp(3rem, 7vw, 5.5rem);
}

/* ---------- skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  border: 0;
  z-index: 9999;
  transition: top 0.1s ease;
}
.skip-link:focus {
  top: 0;
  border: 0;
  color: var(--accent-ink);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
a:hover { color: var(--accent); border-bottom-color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 500; }
p  { margin: 0 0 1em; }
time { font-size: 0.85rem; color: var(--ink-faint); letter-spacing: 0.04em; text-transform: uppercase; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--rhythm) 0; }

/* ---------- layout ---------- */
.site-header,
.site-main,
.site-footer { padding-left: var(--gutter); padding-right: var(--gutter); }

.site-main { max-width: 1200px; margin: 0 auto; padding-top: var(--rhythm); padding-bottom: var(--rhythm); }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  border: 0;
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}
.brand__name { line-height: 1; }
.brand:hover { color: var(--accent); border: 0; }
.site-nav {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.site-nav a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 0;
  padding-bottom: 2px;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a.is-current { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--rhythm);
}
.hero__title {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 0.35em;
  line-height: 0.95;
}
/* signature period removed per brand update (2026-04-22) */
.hero__tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink-muted);
  max-width: 60ch;
  margin: 0;
}

/* ---------- sections grid ---------- */
.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem) 2rem;
  margin-bottom: var(--rhythm);
}
.section-card h2 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
  margin-bottom: 1.25rem;
}
.section-card h2 a { border: 0; color: inherit; }
.section-card h2 a:hover { color: var(--accent); }
.section-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.section-card li a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  border: 0;
  display: block;
  padding: 0.15rem 0;
}
.section-card li a:hover { color: var(--accent); }

/* ---------- recent posts ---------- */
.recent-posts h2 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
  margin-bottom: 1.25rem;
}
.recent-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.recent-posts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.recent-posts li a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  border: 0;
  flex: 1;
}
.recent-posts li a:hover { color: var(--accent); }

/* ---------- archive (collection pages) ---------- */
.archive h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 0.5em;
}
/* archive title period removed per brand update (2026-04-22) */
.archive__intro {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--ink-muted);
  max-width: var(--measure);
  margin-bottom: var(--rhythm);
}
.archive__empty {
  font-style: italic;
  color: var(--ink-faint);
}
.archive__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem 2rem;
}
.archive__list li a {
  display: block;
  border: 0;
}
.archive__list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1rem;
  filter: saturate(0.95);
  transition: filter .3s ease, transform .3s ease;
}
.archive__list li a:hover img {
  filter: saturate(1.1);
}
.archive__list h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35em;
}
.archive__list p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}
.archive__list li a:hover h3 { color: var(--accent); }

/* ---------- item (individual entries) ---------- */
.item,
.post {
  max-width: var(--measure);
  margin: 0 auto;
}
.item__header,
.post__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.item__section {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.item__section a { color: inherit; border: 0; }
.item__cover {
  margin: 0 0 2.5rem;
}
.item__cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.item__body,
.post__body {
  font-size: 1.08rem;
  line-height: 1.75;
}
.item__body h2,
.post__body h2 {
  margin-top: 2em;
  font-size: 1.5rem;
}
.item__body blockquote,
.post__body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5em 0;
  color: var(--ink-soft);
  font-style: italic;
}
.item__body code,
.post__body code {
  font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
  font-size: 0.9em;
  background: var(--paper-alt);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}
.item__body pre,
.post__body pre {
  background: var(--ink);
  color: var(--paper);
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.55;
}
.item__body pre code,
.post__body pre code { background: transparent; color: inherit; padding: 0; }

/* ---------- footer ---------- */
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--rule);
}
.site-footer p {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ---------- about / prose pages ---------- */
.about, .prose {
  max-width: var(--measure);
  margin: 0 auto;
}
.about h1, .prose h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 1rem;
}
.accent-dot { color: var(--accent); }

.about__portrait {
  margin: 0 0 2.5rem;
  max-width: 320px;
}
.about__portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.95);
}
.about__body p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1.3em;
}
.about__links {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.about__links h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.about__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.about__links a {
  font-family: var(--font-display);
  font-weight: 500;
  border: 0;
}

.prose__cover {
  margin: 0 0 2.5rem;
}
.prose__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.prose p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.prose .lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.5em;
}
.prose h2 {
  font-size: 1.6rem;
  margin-top: 2.25em;
  margin-bottom: 0.5em;
}
.pullquote {
  border: 0;
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0 2.5rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
}
.pullquote p { margin: 0 0 0.4em; }
.pullquote cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.resume {
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
  display: grid;
  gap: 1rem;
}
.resume li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.resume li strong { color: var(--ink); font-weight: 600; }

/* ---------- photo grid (used in gallery items) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.photo-grid figure {
  margin: 0;
  overflow: hidden;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
  filter: saturate(0.95);
}
.photo-grid figure:hover img {
  transform: scale(1.02);
  filter: saturate(1.1);
}

/* ---------- home page ---------- */
.home-hero {
  position: relative;
  /* Bleed to viewport edges regardless of ancestor padding/max-width */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: calc(var(--rhythm) * -1 + 2rem);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  max-width: none;
  height: clamp(420px, 62vh, 640px); /* capped height, fills width */
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper-alt);
}
.home-hero__track {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 0;
}
.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}
.home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.home-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.96);
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__slide { transition: none; }
}
.home-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.30) 60%,
      rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.home-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 40rem;
  padding: 0 var(--gutter);
  color: #fff;
}
.home-hero__mark {
  width: clamp(96px, 14vw, 148px);
  height: auto;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: block;
  box-shadow: 0 6px 28px -10px rgba(0, 0, 0, 0.45);
}
.home-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.3em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.home-hero__tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.home-hero__byline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  margin: 0.4rem 0 0;
  opacity: 0.85;
}

/* Home gallery — large-scale mosaic */
.home-gallery {
  margin: clamp(2rem, 5vw, 4rem) calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}
.home-gallery .section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  border-top: 2px solid var(--ink);
  padding-top: 0.6rem;
  display: inline-block;
  margin: 0 0 1.25rem;
}
/* Home carousel buttons: overlay the hero image, translucent coral
   so they're visible on any photo. Centered vertically on each edge. */
@media (prefers-reduced-motion: reduce) {
  .home-carousel__btn { transition: none; }
  .neka-peek { transition: none; }
}
.home-carousel__btn {
  appearance: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 1.5px solid transparent;
  background: transparent; /* invisible at rest; coral pill appears on hover/focus */
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); /* arrow stays legible on any photo */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
  font-family: var(--font-display);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.home-carousel__btn--prev { left: 0.75rem; }
.home-carousel__btn--next { right: 0.75rem; }
.home-carousel__btn:hover,
.home-carousel__btn:focus-visible {
  background: rgba(219, 153, 124, 0.88);
  border-color: rgba(var(--paper-rgb, 252, 242, 232), 0.9);
  transform: translateY(-50%) scale(1.05);
  outline: none;
}
.home-hero:hover .home-carousel__btn,
.home-hero:focus-within .home-carousel__btn {
  background: rgba(219, 153, 124, 0.88);
  border-color: rgba(var(--paper-rgb, 252, 242, 232), 0.9);
}
/* Touch devices: no hover state, so keep a faint pill visible at rest */
@media (hover: none) {
  .home-carousel__btn {
    background: rgba(219, 153, 124, 0.35);
    border-color: rgba(var(--paper-rgb, 252, 242, 232), 0.6);
  }
}
.home-carousel__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.home-carousel__btn:active { transform: translateY(-50%) scale(0.98); }

.home-carousel__counter {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #fff;
  text-transform: uppercase;
  background: rgba(37, 38, 44, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.home-gallery__more {
  margin: 1.5rem 0 0;
  text-align: right;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.home-gallery__more a {
  color: var(--ink-muted);
  border: 0;
}
.home-gallery__more a:hover { color: var(--accent); border: 0; }

@media (max-width: 600px) {
  .home-carousel__btn { width: 40px; height: 40px; font-size: 1.05rem; }
  .home-carousel__btn--prev { left: 0.5rem; }
  .home-carousel__btn--next { right: 0.5rem; }
  .home-carousel__track { aspect-ratio: 4 / 3; }
}

.home-manifesto {
  max-width: 44ch;
  margin: clamp(2rem, 5vw, 4rem) auto;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-soft);
}
.home-manifesto__ornament {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  margin: 0 0 1.5rem;
}
.home-manifesto__sub {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.95em;
  font-style: italic;
}
.home-manifesto p { margin: 0 0 0.5em; }

.home-index {
  max-width: 680px;
  margin: clamp(2.5rem, 6vw, 5rem) auto;
  padding: 0 0.5rem;
}
.home-index .section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  border-top: 2px solid var(--ink);
  padding-top: 0.6rem;
  display: inline-block;
  margin: 0 0 1.5rem;
}
.home-index__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.home-index__list li {
  border-top: 1px solid var(--rule);
}
.home-index__list li:last-child { border-bottom: 1px solid var(--rule); }
.home-index__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0.25rem;
  border: 0;
  color: var(--ink);
}
.home-index__list a:hover { background: var(--paper-alt); border: 0; }
.home-index__list a:hover .home-index__name { color: var(--accent); }
.home-index__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  transition: color .2s ease;
}
.home-index__note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-align: right;
  max-width: 28ch;
}

.home-latest {
  max-width: 680px;
  margin: clamp(2.5rem, 6vw, 5rem) auto;
  padding: 0 0.5rem;
}
.home-latest .section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  border-top: 2px solid var(--ink);
  padding-top: 0.6rem;
  display: inline-block;
  margin: 0 0 1.5rem;
}
.home-latest__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.home-latest__row {
  border-top: 1px solid var(--rule);
}
.home-latest__row:last-child { border-bottom: 1px solid var(--rule); }
.home-latest__row a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.85rem 0.25rem;
  border: 0;
  color: var(--ink);
}
.home-latest__row a:hover { color: var(--accent); background: var(--paper-alt); border: 0; }
.home-latest__row time {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: none;
  width: 6.5rem;
}
.home-latest__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
}

@media (max-width: 640px) {
  .home-index__list a,
  .home-latest__row a {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }
  .home-index__note { text-align: left; max-width: none; }
  .home-latest__row time { width: auto; }
}

/* ---------- resume list ---------- */
.resume-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}
.resume-list__item a {
  display: block;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  transition: border-color .2s ease, background .2s ease;
}
.resume-list__item a:hover {
  border-color: var(--accent);
  background: var(--paper-alt);
  border-bottom-color: var(--accent);
}
.resume-list__item h2 { margin: 0 0 0.35em; font-size: 1.25rem; }
.resume-list__item p   { margin: 0; color: var(--ink-soft); }

.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--ink-muted); border: 0; }
.breadcrumb a:hover { color: var(--accent); border: 0; }

.section-card__empty {
  color: var(--ink-muted);
  font-style: italic;
  font-size: 0.95rem;
}

/* ---------- byline & authors ---------- */
.byline {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0.5rem 0 0;
  line-height: 1.55;
}
.byline__label { color: var(--ink-faint); }
.byline__author {
  color: var(--ink);
  border: 0;
  font-weight: 500;
}
.byline__author:hover { color: var(--accent); border: 0; }
.byline__author--ai .byline__sig { color: var(--accent); margin-left: 0.1em; }
.byline__sep {
  color: var(--ink-faint);
  margin: 0 0.1em;
  font-weight: 300;
}
.byline time {
  color: var(--ink-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: inherit;
}
.byline__ai-note {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0.4rem 0 0;
  font-style: italic;
}
.byline__ai-note a { color: var(--ink-muted); border-bottom: 1px dotted var(--ink-faint); }
.byline__ai-note a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- AI contributions footer ----------
   Light, italic, low-emphasis. Sits at end of post body.
   Use: <div class="ai-contrib"> ... </div>
*/
.ai-contrib {
  margin: 1.25rem 0 0;
  padding: 0.5rem 0 0;
  border-top: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink-muted);
}
.ai-contrib__label {
  display: inline-block;
  margin: 0 0 0.15rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}
.ai-contrib ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-contrib li {
  margin: 0.05rem 0;
  padding: 0;
  font-weight: 300;
}
.ai-contrib strong {
  font-weight: 500;
  font-style: italic;
  color: var(--ink-soft);
}
.ai-contrib a { color: var(--ink-muted); border-bottom: 1px dotted var(--ink-faint); }
.ai-contrib a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.author-page__head {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.author-page__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-page__head h1 { margin: 0.1em 0 0.3em; }
.author-page__head .lede { color: var(--ink-soft); margin: 0; }
.author-page__bio {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.author-page__posts { margin-top: 2rem; }
@media (max-width: 640px) {
  .author-page__head { flex-direction: column; text-align: center; }
  .author-page__avatar { margin: 0 auto; }
}

/* ---------- tags ---------- */
.tag-list {
  font-family: var(--font-display);
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  margin: 0 0.25rem 0.25rem 0;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.tag:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--paper-alt);
  border-bottom-color: var(--accent);
}

/* ---------- utilities ---------- */
::selection { background: var(--accent); color: var(--accent-ink); }

/* Hamburger toggle: hidden on desktop, shown on mobile */
.site-nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.site-nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.site-nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
  .site-nav-toggle__bar { transition: none; }
}

@media (max-width: 640px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .site-nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 0.5rem;
  }
  .site-nav.is-open { display: flex; }

  /* Submenu inside the mobile hamburger inlines under its button */
  .site-nav__menu { width: 100%; }
  .site-nav__menu-btn { padding: 0.35rem 0; width: 100%; justify-content: flex-start; gap: 0.5rem; }
  .site-nav__submenu {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    margin: 0.25rem 0 0.25rem 0.5rem;
    padding: 0.25rem 0 0.25rem 0.75rem;
    min-width: 0;
    background: transparent;
  }
  .site-nav > a, .site-nav__menu-btn { padding: 0.35rem 0; }

  .recent-posts li { flex-direction: column; align-items: flex-start; gap: 0.25rem; }

  /* Hero: adjust height on mobile; full-bleed already inherited */
  .home-hero {
    height: clamp(380px, 75vh, 560px);
  }
}

/* ----- Log section ----- */
.log-index h1 { margin-bottom: 0.25rem; }
.log-index__intro { color: var(--muted, #6a6a6a); margin-bottom: 1.25rem; }
.log-map {
  width: 100%;
  height: 420px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 2rem;
  background: #eee;
}
.log-index__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.log-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-alt, #F5E8D8);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.log-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.log-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.log-card > a > div {
  padding: 0.9rem 1rem 1.1rem;
}
.log-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.log-card time { color: var(--muted, #6a6a6a); font-size: 0.85rem; }
.log-card__loc { color: var(--muted, #6a6a6a); font-size: 0.85rem; }
.log-card p { margin: 0.5rem 0 0; font-size: 0.9rem; }

/* ----- Log entry ----- */
.log-entry__header { margin-bottom: 1.5rem; }
.log-entry__section a {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--accent, #DB997C);
  text-decoration: none;
}
.log-entry__meta { color: var(--muted, #6a6a6a); margin: 0.25rem 0 0; }
.log-entry__cover img {
  width: 100%;
  border-radius: 6px;
  display: block;
  margin-bottom: 1.5rem;
}
.log-entry__body { max-width: 40rem; }
.log-entry__facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.25rem;
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--paper-alt, #F5E8D8);
  border-radius: 6px;
  max-width: 40rem;
}
.log-entry__facts dt {
  font-weight: 600;
  color: var(--ink, #25262C);
}
.log-entry__facts dd { margin: 0; }
.log-entry__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem;
  margin-top: 2rem;
}
.log-entry__gallery figure { margin: 0; }
.log-entry__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* ----- House section ----- */
.house-entry__header { margin-bottom: 1.5rem; }
.house-entry__section a {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--accent, #DB997C);
  text-decoration: none;
}
.house-entry__meta { color: var(--muted, #6a6a6a); margin: 0.25rem 0 0; }
.house-entry__body { max-width: 40rem; margin-bottom: 2rem; }
.house-entry__ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.house-entry__ba figure { margin: 0; }
.house-entry__ba img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.house-entry__ba figcaption {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--muted, #6a6a6a);
  margin-top: 0.4rem;
  text-align: center;
}
.house-entry__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem;
  margin-top: 2rem;
}
.house-entry__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

@media (max-width: 600px) {
  .house-entry__ba { grid-template-columns: 1fr; }
}

/* ----- Log recurring visits ----- */
.log-entry__visits {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.log-visit {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.log-visit:last-child { border-bottom: none; }
.log-visit__header {
  margin-bottom: 0.75rem;
}
.log-visit__header time {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--accent, #DB997C);
  font-weight: 600;
}
.log-visit__header h3 {
  margin: 0.25rem 0 0;
  font-size: 1.15rem;
}
.log-visit__note {
  max-width: 40rem;
  margin: 0.5rem 0 1rem;
}
.log-visit__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
}
.log-visit__gallery figure { margin: 0; }
.log-visit__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* ----- Before/After pair inside post body ----- */
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.ba-pair > div { margin: 0; }
.ba-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.ba-pair figcaption {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--muted, #6a6a6a);
  margin-top: 0.4rem;
  text-align: center;
}
@media (max-width: 600px) {
  .ba-pair { grid-template-columns: 1fr; }
}

/* ----- Home Latest Log badge ----- */
.home-latest__kind {
  margin-left: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--accent, #DB997C);
  font-weight: 600;
}
.home-latest__more {
  margin-top: 1.25rem;
  text-align: right;
  font-family: var(--font-display);
  font-size: 0.88rem;
}

/* ----- Social links (footer) ----- */
.social-links {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--muted, #6a6a6a);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}
.social-links a:hover {
  color: var(--accent, #DB997C);
  transform: translateY(-1px);
}
.social-links i {
  font-size: 1.15rem;
  line-height: 1;
}
.social-links__img {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.social-links a:hover .social-links__img { opacity: 1; }

/* ----- Neka sticky chatbot widget (home only) ----- */
.neka-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
}
.neka-widget__avatar {
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.neka-widget__avatar:hover {
  transform: translateY(-1px) scale(1.05);
}
.neka-widget__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.18));
}
.neka-widget__bubble {
  position: relative;
  margin: 0 0 2px 0;
  background: var(--paper-alt, #F5E8D8);
  color: var(--ink, #25262C);
  padding: 0.45rem 0.7rem;
  border-radius: 12px 12px 2px 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  font-size: 0.8rem;
  line-height: 1.3;
  max-width: 11rem;
}

/* Bubble content lives in CSS, not the DOM */
.neka-widget__bubble::before {
  content: "Hello, my name is Neka. Would you like to take a walk?";
}

@media (max-width: 600px) {
  .neka-widget { right: 0.75rem; bottom: 0.75rem; }
  .neka-widget__avatar { width: 48px; height: 48px; }
  .neka-widget__bubble { max-width: 9.5rem; font-size: 0.75rem; padding: 0.4rem 0.6rem; }
}

/* ----- Neka peek-outs (subtle background appearances) ----- */
.neka-peek {
  display: block;
  position: absolute;
  pointer-events: none;
  opacity: 0.88;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.08));
  z-index: 1;
}

/* Log page: Neka stands near the top-right corner, slightly off-edge,
   "watching" the map below. */
.log-index { position: relative; }
.neka-peek--log {
  top: -10px;
  right: 4%;
  width: 110px;
  transform: scaleX(-1); /* face the content */
}

/* Writing archive: sitting Neka at the end of the list, like
   "that's all for now, good sit." Right margin, below the list. */
.writing + .neka-peek, body.page--root .neka-peek--writing,
.neka-peek--writing {
  position: relative;
  margin: 2rem auto 0;
  width: 160px;
  right: auto; top: auto;
  opacity: 0.9;
}

/* About page: profile Neka trotting into the right margin. */
.about { position: relative; }
.neka-peek--about {
  bottom: 0;
  right: -20px;
  width: 130px;
  opacity: 0.8;
}

@media (max-width: 720px) {
  .neka-peek--log { width: 80px; right: 2%; }
  .neka-peek--about { width: 90px; right: -10px; }
  .neka-peek--writing { width: 120px; }
}

/* ----- Nav dropdown (disclosure pattern) ----- */
.site-nav__menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.site-nav__menu-btn {
  appearance: none;
  background: transparent;
  border: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0 0 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.site-nav__menu-btn:hover,
.site-nav__menu-btn.is-current {
  color: var(--accent);
}
.site-nav__menu-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.site-nav__chevron {
  font-size: 0.7em;
  transition: transform 0.15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .site-nav__chevron { transition: none; }
}
.site-nav__menu-btn[aria-expanded="true"] .site-nav__chevron {
  transform: rotate(180deg);
}
.site-nav__submenu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 10rem;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
}
.site-nav__submenu[hidden] { display: none; }
.site-nav__submenu li { display: block; }
.site-nav__submenu a {
  display: block;
  padding: 0.45rem 1rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-nav__submenu a:hover,
.site-nav__submenu a:focus-visible,
.site-nav__submenu a.is-current {
  background: var(--paper-alt);
  color: var(--accent);
  outline: none;
}

/* ----- Post cards (tag-section + field-notes landings) ----- */
.post-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.post-cards__empty {
  color: var(--ink-faint);
  font-style: italic;
  padding: 1rem 0;
}
.post-card {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.post-card:last-child { border-bottom: none; }
.post-card__link {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 0.75rem 0;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.post-card--no-cover .post-card__link {
  grid-template-columns: 1fr;
}
.post-card__link:hover,
.post-card__link:focus-visible {
  transform: translateX(2px);
  outline: none;
}
.post-card__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .post-card__link { transition: none; }
}
.post-card__cover {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: var(--paper-alt);
}
.post-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: saturate(0.94);
}
.post-card__link:hover .post-card__cover img {
  transform: scale(1.03);
  filter: saturate(1.06);
}
@media (prefers-reduced-motion: reduce) {
  .post-card__cover img { transition: none; }
  .post-card__link:hover .post-card__cover img { transform: none; }
}
.post-card__body { min-width: 0; }
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.35rem;
  flex-wrap: wrap;
}
.post-card__date {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.post-card__badge {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent, #DB997C);
  border-radius: 999px;
  line-height: 1.4;
  font-weight: 600;
}
.post-card__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}
.post-card__link:hover .post-card__title { color: var(--accent); }
.post-card__excerpt {
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.post-card__tags {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.post-card__tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 600px) {
  .post-card__link {
    grid-template-columns: 110px 1fr;
    gap: 0.9rem;
  }
  .post-card__title { font-size: 1.1rem; }
  .post-card__excerpt {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 0.9rem;
  }
}

/* ---------- post body figures ----------
   Break out of the 68ch text measure so images get more width,
   while staying capped on phones so the title remains visible. */
.post__body figure {
  margin: 2rem auto;
  max-width: min(100%, 900px);
  width: 100%;
}
.post__body figure img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
}
@media (min-width: 720px) {
  .post__body figure {
    max-width: min(calc(100% + 8rem), 900px);
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/* Optional post hero (set via `hero:` in frontmatter) */
.post__hero {
  margin: 1.5rem auto 2rem;
  max-width: min(100%, 1100px);
  width: 100%;
}
.post__hero img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: 4px;
}
.post__hero figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted, #666);
  text-align: center;
}
@media (min-width: 720px) {
  .post__hero {
    max-width: min(calc(100% + 8rem), 1100px);
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/* ---------- Apps / Appslets ---------- */

.appslet {
  max-width: 900px;
  margin: 0 auto;
}
.appslet__header {
  margin-bottom: 2rem;
}
.appslet__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}
.appslet__eyebrow a {
  color: var(--muted, #666);
  text-decoration: none;
}
.appslet__eyebrow a:hover { text-decoration: underline; }
.appslet__description {
  color: var(--muted, #666);
  margin-top: 0.25rem;
}

.appslet-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.appslet-list__item a {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.appslet-list__item a:hover {
  border-color: var(--accent, #888);
  transform: translateY(-1px);
}
.appslet-list__item h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}
.appslet-list__item p {
  margin: 0;
  color: var(--muted, #666);
  font-size: 0.95rem;
}

.appslet-meta,
.appslet-note {
  color: var(--muted, #666);
  margin: 0.25rem 0 1rem;
}

.meals-section {
  margin: 2rem 0;
}
.meals-section h2 {
  margin-bottom: 1rem;
}
.meals-section__sub {
  font-size: 0.85rem;
  color: var(--muted, #666);
  font-weight: normal;
}

.meals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .meals-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

.meal-card {
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 6px;
  padding: 1rem 1.25rem;
}
.meal-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.meal-card__header h3 {
  margin: 0;
  font-size: 1.05rem;
}
.meal-card__time {
  font-size: 0.85rem;
  color: var(--muted, #666);
  white-space: nowrap;
}
.meal-card__details {
  margin: 0.5rem 0;
}
.meal-card__details summary {
  cursor: pointer;
  color: var(--muted, #666);
  font-size: 0.9rem;
}
.meal-card__details ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.95rem;
}
.meal-card__method,
.meal-card__lunch,
.meal-card__kid {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.breakfast-list {
  padding-left: 1.25rem;
}
.breakfast-list li {
  margin-bottom: 0.5rem;
}

/* ---- Recipe index ---- */
.recipe-index {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.recipe-index__item a {
  display: block;
  padding: 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}
.recipe-index__item a:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.recipe-index__item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.recipe-tags {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.recipe-tags li {
  font-size: 0.78rem;
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.1rem 0.45rem;
  color: var(--ink-muted);
}

/* ---- Single recipe ---- */
.recipe {
  max-width: 720px;
}
.recipe__header {
  margin-bottom: 2rem;
}
.recipe__title {
  margin: 0 0 0.25rem;
}
.recipe__attribution {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.recipe__notes {
  color: var(--ink-soft);
  margin: 0.5rem 0 1rem;
  font-style: italic;
}
.recipe__body {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .recipe__body {
    grid-template-columns: 1fr 2fr;
  }
}
.recipe__ingredients ul,
.recipe__instructions ol {
  margin: 0.5rem 0 0;
  padding-left: 1.5rem;
}
.recipe__ingredients li,
.recipe__instructions li {
  margin-bottom: 0.4rem;
  line-height: 1.55;
}
.recipe__instructions li {
  margin-bottom: 0.75rem;
}
.recipe__original {
  margin: 2.5rem 0 0;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  max-width: 480px;
}
.recipe__original img {
  width: 100%;
  display: block;
}
.recipe__original figcaption {
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: var(--paper-alt);
}
.appslet-eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

.todo-section {
  margin: 2rem 0;
}
.todo-section h2 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.todo-section__count {
  font-size: 0.8rem;
  color: var(--muted, #666);
  font-weight: normal;
}
.todo-section__empty {
  color: var(--muted, #666);
  font-style: italic;
  margin: 0.5rem 0;
}

.todo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.todo-item {
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
}
.todo-item__title {
  flex: 1 1 auto;
  min-width: 0;
}
.todo-item__due {
  font-size: 0.8rem;
  color: var(--muted, #666);
  white-space: nowrap;
}
.todo-item__note {
  flex: 1 0 100%;
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted, #666);
}
.todo-item--done .todo-item__title {
  text-decoration: line-through;
  color: var(--muted, #666);
}
.todo-list--done .todo-item {
  border-style: dashed;
}
.todo-done {
  margin-top: 1rem;
}
.todo-done > summary {
  cursor: pointer;
  color: var(--muted, #666);
  font-size: 0.9rem;
}

.site-footer__nav {
  margin-bottom: 0.75rem;
}
.site-footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  font-size: 0.9rem;
}
.site-footer__nav a {
  color: var(--muted, #666);
  text-decoration: none;
}
.site-footer__nav a:hover {
  text-decoration: underline;
}
.site-footer__feeds {
  margin-top: 1rem;
}
.site-footer__feeds-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.35rem;
}
.site-footer__feeds ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  justify-content: center;
  font-size: 0.8rem;
}
.site-footer__feeds a {
  color: var(--ink-muted);
  border: 0;
}
.site-footer__feeds a:hover {
  color: var(--accent);
}

/* ── Exercise app ────────────────────────────────────────────────────────── */

.exercises-app .appslet__body {
  max-width: 900px;
}

/* Controls section */
.ex-controls {
  margin-bottom: 2.5rem;
}

/* Body maps */
.ex-body-maps {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.ex-body-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.ex-body-map__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin: 0;
}

.ex-body-map svg {
  width: 130px;
  height: auto;
  display: block;
}

/* SVG regions */
.bm-region {
  fill: var(--paper-alt);
  stroke: var(--ink-muted);
  stroke-width: 1;
  cursor: pointer;
  transition: fill 0.15s ease, stroke 0.15s ease;
}

.bm-region:hover,
.bm-region:focus-visible {
  fill: var(--accent-soft);
  stroke: var(--accent);
  outline: none;
}

.bm-region.is-active {
  fill: var(--accent);
  stroke: var(--accent);
}

.bm-head,
.bm-neck,
.bm-forearm,
.bm-foot {
  fill: var(--paper-alt);
  stroke: var(--ink-faint);
  stroke-width: 0.8;
}

.bm-label {
  font-size: 6px;
  fill: var(--ink-muted);
  text-anchor: middle;
  pointer-events: none;
  font-family: 'Urbanist', sans-serif;
}

/* Equipment filters */
/* Push / Pull filter */
.ex-pushpull-filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ex-pushpull-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.ex-pp-btn {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: 'Urbanist', sans-serif;
  font-size: 0.82rem;
  padding: 0.35rem 0.8rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 44px;
  line-height: 1;
}

.ex-pp-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--ink);
}

.ex-pp-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ex-pp-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Area filter */
.ex-area-filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ex-area-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.ex-area-btn {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: 'Urbanist', sans-serif;
  font-size: 0.82rem;
  padding: 0.35rem 0.8rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 44px;
  line-height: 1;
}

.ex-area-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--ink);
}

.ex-area-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ex-area-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Core moves toggle */
.ex-core-move-filter {
  display: flex;
  justify-content: center;
}

.ex-core-btn {
  background: var(--paper-alt);
  border: 1px solid #f0d070;
  color: #8a6a00;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.82rem;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 44px;
  line-height: 1;
}

.ex-core-btn:hover {
  background: #fff8e1;
}

.ex-core-btn[aria-pressed="true"] {
  background: #fff8e1;
  border-color: #d4a800;
  color: #6a4f00;
  font-weight: 600;
}

.ex-core-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ex-equipment-filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ex-filter-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin: 0;
}

.ex-equipment-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.ex-eq-btn {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: 'Urbanist', sans-serif;
  font-size: 0.82rem;
  padding: 0.35rem 0.8rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 44px;
  line-height: 1;
}

.ex-eq-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--ink);
}

.ex-eq-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.ex-eq-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Status / empty */
.ex-filter-status {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin: 0.75rem 0 0;
  min-height: 1.2em;
}

.ex-empty-msg {
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
  padding: 2rem;
}

/* Exercise grid */
.ex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Exercise card */
.ex-card {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease;
}

.ex-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.ex-card__illustration {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
}

.ex-card__illustration img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.95);
}

.ex-card__illustration-placeholder {
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    var(--rule) 8px,
    var(--rule) 9px
  );
}

.ex-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.ex-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

/* Tags */
.ex-card__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.ex-tag {
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
  border-radius: 2rem;
  text-transform: capitalize;
  line-height: 1.4;
}

.ex-tag--eq {
  background: var(--accent);
  color: #fff;
}

.ex-tag--muscle {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-muted);
}

/* Push / pull type tag */
.ex-tag--pp {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.65rem;
  padding: 0.15rem 0.6rem;
}

.ex-tag--pp-push  { background: #e8f4fd; color: #1a6fa8; border: 1px solid #b3d7f0; }
.ex-tag--pp-pull  { background: #fdf0e8; color: #a84f1a; border: 1px solid #f0ccb3; }

/* Area tag */
.ex-tag--area {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-muted);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.6rem;
}

/* Core move badge */
.ex-tag--core-move {
  background: #fff8e1;
  color: #8a6a00;
  border: 1px solid #f0d070;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
}

/* Meta row (push/pull + core move badges) */
.ex-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

/* Description */
.ex-card__description {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
  white-space: pre-line;
}

/* Core note */
.ex-card__core {
  font-size: 0.8rem;
  color: var(--ink-muted);
  background: var(--paper);
  border-left: 2px solid var(--accent);
  padding: 0.4rem 0.6rem;
  border-radius: 0 4px 4px 0;
  line-height: 1.45;
}

.ex-card__core-label {
  font-weight: 600;
  color: var(--accent);
  margin-right: 0.25rem;
}

/* Video link */
.ex-card__video-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.ex-card__video-link:hover {
  text-decoration: underline;
}

/* Variations */
.ex-card__variations {
  border-top: 1px solid var(--rule);
  padding-top: 0.6rem;
  margin-top: 0.2rem;
}

.ex-card__variations-toggle {
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  list-style: none;
  user-select: none;
}

.ex-card__variations-toggle::-webkit-details-marker { display: none; }

.ex-card__variations-toggle::before {
  content: '+';
  display: inline-block;
  margin-right: 0.35rem;
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1;
}

.ex-card__variations[open] .ex-card__variations-toggle::before {
  content: '−';
}

.ex-card__variations-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ex-variation {
  padding: 0.5rem 0.6rem;
  background: var(--paper);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ex-variation__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.ex-variation__eq {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.ex-tag--sm {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
}

.ex-variation__note {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 640px) {
  .ex-body-maps {
    gap: 1rem;
  }

  .ex-body-map svg {
    width: 100px;
  }

  .ex-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact form ---------- */
.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
  margin: 2rem 0 1.5rem;
}
.contact-form__field { display: grid; gap: 0.4rem; }
.contact-form label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.contact-form__optional { font-weight: 400; color: var(--ink-muted); }
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  width: 100%;
  box-sizing: border-box;
}
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.contact-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__submit {
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--accent-ink);
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  padding: 0.75rem 1.75rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.contact-form__submit:hover { background: var(--accent-soft); }
.contact-form__submit:disabled { opacity: 0.6; cursor: wait; }
.contact-form__status { min-height: 1.5em; margin: 0; }
.contact-form__status.is-success { color: #2f6b3a; }
.contact-form__status.is-error { color: #a33a2a; }
.contact-form__fallback { font-size: 0.95rem; color: var(--ink-muted); }

.contact-inline {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.contact-inline .contact-form { margin-top: 1rem; }

/* ---------- Following (feed reader appslet) ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.following {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 2.5rem;
  align-items: start;
}
.following__day {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted, #737373);
  margin: 2rem 0 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule, #ece3d6);
}
.following__day:first-of-type { margin-top: 0; }
.following__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.following__item {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule, #ece3d6);
}
.following__item:last-child { border-bottom: 0; }
.following__title {
  display: block;
  color: var(--ink, #25262c);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
}
.following__title:hover,
.following__title:focus-visible { text-decoration: underline; text-decoration-color: var(--accent, #db997c); }
.following__source {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-muted, #737373);
  margin-top: 0.15rem;
}
.following__feeds {
  position: sticky;
  top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--rule, #ece3d6);
  border-radius: 6px;
  font-size: 0.95rem;
}
.following__feeds h2 { font-size: 1rem; margin: 0 0 0.5rem; }
.following__feeds h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted, #737373);
  margin: 0.9rem 0 0.3rem;
}
.following__feeds ul { list-style: none; padding: 0; margin: 0; }
.following__feeds li { margin: 0.2rem 0; }
.following__errors { font-size: 0.85rem; color: var(--ink-muted, #737373); margin-top: 1rem; }
@media (max-width: 720px) {
  .following { grid-template-columns: 1fr; gap: 1.5rem; }
  .following__feeds { position: static; order: -1; }
}
