/* ───────────────────────────────────────────────────────────
   Dave's Wave Cave — shell stylesheet
   amplify the cave: dark teal, bioluminescent green, fraunces
   ─────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink-deep: #050d1a;
  --ink: #0a1628;
  --bio: #61ff8b;
  --bio-warm: #d4ffa8;
  --pearl: #e4fff0;
  --algae: #4ecc76;
  --depth-line: rgba(97, 255, 139, 0.18);
  --depth-line-soft: rgba(97, 255, 139, 0.10);

  --serif-display: 'Fraunces', 'Georgia', serif;
  --serif-body: 'Georgia', 'Times New Roman', serif;
}

/* ── body + atmospheric layers ─────────────────────────── */

body {
  font-family: var(--serif-body);
  background: var(--ink);
  color: var(--pearl);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* caustics — slow underwater light drift */
body::before {
  content: '';
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(circle at 18% 28%, rgba(97, 255, 139, 0.07), transparent 45%),
    radial-gradient(circle at 78% 68%, rgba(212, 255, 168, 0.05), transparent 50%),
    radial-gradient(circle at 52% 50%, rgba(97, 255, 139, 0.04), transparent 60%),
    radial-gradient(circle at 8% 82%, rgba(212, 255, 168, 0.03), transparent 40%);
  pointer-events: none;
  z-index: 0;
  animation: caustics-drift 36s ease-in-out infinite alternate;
}

/* bio dust — small phosphorescent specks */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 14% 22%, rgba(97, 255, 139, 0.45), transparent 50%),
    radial-gradient(1px 1px at 38% 64%, rgba(212, 255, 168, 0.30), transparent 50%),
    radial-gradient(1.2px 1.2px at 64% 18%, rgba(97, 255, 139, 0.40), transparent 50%),
    radial-gradient(1px 1px at 82% 56%, rgba(97, 255, 139, 0.30), transparent 50%),
    radial-gradient(1.5px 1.5px at 28% 88%, rgba(212, 255, 168, 0.28), transparent 50%),
    radial-gradient(1.1px 1.1px at 92% 92%, rgba(97, 255, 139, 0.32), transparent 50%),
    radial-gradient(1px 1px at 6% 46%, rgba(97, 255, 139, 0.25), transparent 50%),
    radial-gradient(1.3px 1.3px at 48% 8%, rgba(212, 255, 168, 0.22), transparent 50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
  animation: dust-pulse 9s ease-in-out infinite alternate;
}

@keyframes caustics-drift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(2%, -1.5%, 0) rotate(0.4deg) scale(1.02); }
  100% { transform: translate3d(-1.5%, 2%, 0) rotate(-0.3deg) scale(0.98); }
}

@keyframes dust-pulse {
  0% { opacity: 0.45; }
  100% { opacity: 0.85; }
}

/* lift body content above the atmospheric pseudo-layers */
body > * { position: relative; z-index: 2; }

/* ── site nav ──────────────────────────────────────────── */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  border-bottom: 1px solid var(--depth-line);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 5;
}

.site-nav-brand {
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 36;
  font-weight: 500;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--bio);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.site-nav-brand::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bio);
  box-shadow: 0 0 12px var(--bio);
  animation: brand-pulse 3.5s ease-in-out infinite alternate;
}

@keyframes brand-pulse {
  0%   { opacity: 0.55; box-shadow: 0 0 8px var(--bio); }
  100% { opacity: 1;    box-shadow: 0 0 16px var(--bio); }
}

.site-nav-links {
  display: flex;
  gap: 1.85rem;
  flex-wrap: wrap;
}

.site-nav-links a {
  position: relative;
  color: rgba(228, 255, 240, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.1rem;
  transition: color 0.3s ease;
}

.site-nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--bio), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-nav-links a:hover { color: var(--pearl); }
.site-nav-links a:hover::after { transform: scaleX(1); }
.site-nav-links a.active { color: var(--bio); }
.site-nav-links a.active::after { transform: scaleX(0.9); opacity: 0.6; }

/* ── search ─────────────────────────────────────────────── */

.site-search {
  position: relative;
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
  z-index: 4;
}

.site-search-input-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  background: rgba(10, 22, 40, 0.55);
  border: 1px solid var(--depth-line);
  border-radius: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-search-input-row:focus-within {
  border-color: rgba(97, 255, 139, 0.55);
  box-shadow: 0 0 0 3px rgba(97, 255, 139, 0.10), 0 6px 22px rgba(0, 0, 0, 0.35);
  background: rgba(10, 22, 40, 0.75);
}

.site-search-icon {
  color: rgba(228, 255, 240, 0.55);
  flex: 0 0 auto;
}

.site-search-input-row:focus-within .site-search-icon {
  color: var(--bio);
}

.site-search-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--pearl);
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'opsz' 24;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.1rem 0;
}

.site-search-input::placeholder {
  color: rgba(228, 255, 240, 0.42);
  font-style: italic;
}

.site-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.site-search-kbd,
.site-search-hint kbd {
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--depth-line);
  border-radius: 4px;
  color: rgba(228, 255, 240, 0.6);
  background: rgba(0, 0, 0, 0.25);
  line-height: 1;
}

.site-search-input-row:focus-within .site-search-kbd {
  opacity: 0.35;
}

.site-search-results {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0.35rem 0;
  background: rgba(5, 13, 26, 0.96);
  border: 1px solid var(--depth-line);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  max-height: 60vh;
  overflow-y: auto;
}

.site-search-result {
  margin: 0;
}

.site-search-result a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.7rem 1rem;
  color: inherit;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.site-search-result.is-active a,
.site-search-result a:hover {
  background: rgba(97, 255, 139, 0.06);
  border-left-color: var(--bio);
}

.site-search-result-cats {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(97, 255, 139, 0.7);
}

.site-search-result-title {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: 'opsz' 48;
  font-size: 1rem;
  font-weight: 500;
  color: var(--pearl);
  line-height: 1.25;
}

.site-search-result-dek {
  font-size: 0.82rem;
  color: rgba(228, 255, 240, 0.62);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-search-results mark {
  background: transparent;
  color: var(--bio);
  font-weight: 600;
}

.site-search-empty {
  padding: 1rem 1rem;
  color: rgba(228, 255, 240, 0.55);
  font-style: italic;
  font-size: 0.9rem;
}

.site-search-hint {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(228, 255, 240, 0.45);
  letter-spacing: 0.03em;
}

.site-search-hint kbd { margin: 0 0.15rem; }

@media (max-width: 600px) {
  .site-search { padding: 0 1rem; margin-top: 1rem; }
  .site-search-kbd { display: none; }
  .site-search-hint { display: none; }
}

/* ── hero (landing) ────────────────────────────────────── */

header.hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

header.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(97, 255, 139, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

h1.hero-title {
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 144;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--bio) 0%, var(--pearl) 50%, var(--bio-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.12;
  filter: drop-shadow(0 0 36px rgba(97, 255, 139, 0.22));
  position: relative;
  z-index: 1;
}

.tagline {
  margin-top: 1rem;
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 14;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--bio-warm);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.hero-glyph {
  display: block;
  margin: 1.75rem auto 0;
  color: var(--bio);
  opacity: 0.6;
  position: relative;
  z-index: 1;
}

/* ── wave SVG divider ──────────────────────────────────── */

.wave {
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(97, 255, 139, 0.035) 55%,
    rgba(97, 255, 139, 0.06) 100%
  );
}

.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── surfacing (featured spread) ───────────────────────── */

.featured-spread {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(97, 255, 139, 0.05) 25%,
    rgba(97, 255, 139, 0.075) 60%,
    rgba(97, 255, 139, 0.03) 100%
  );
  border-bottom: 1px solid var(--depth-line-soft);
  padding: 3.5rem 1.5rem 3.5rem;
  position: relative;
}

.featured-spread-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}

.featured-spread-eyebrow::before,
.featured-spread-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 90px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(97, 255, 139, 0.45), transparent);
}

.featured-spread-eyebrow span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--bio);
}

.featured-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease;
}

.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(97, 255, 139, 0.07) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.feature:hover { background-color: rgba(97, 255, 139, 0.04); }
.feature:hover::before { transform: translateX(110%); }

.feature-lead {
  grid-column: 1;
  grid-row: 1 / 3;
  border-right: 1px solid var(--depth-line-soft);
  justify-content: center;
  gap: 1.1rem;
  padding: 2.75rem 2.75rem;
  position: relative;
}

.feature-lead::before,
.feature-lead::after {
  /* keep ::before for shimmer (already styled above) */
}

.feature-lead-marker {
  width: 28px;
  height: 1px;
  background: linear-gradient(to right, var(--bio), transparent);
  margin-bottom: -0.2rem;
  align-self: flex-start;
}

.feature-side {
  grid-column: 2;
  border-bottom: 1px solid var(--depth-line-soft);
  padding: 2rem 2rem;
}

.featured-grid > .feature-side:last-child {
  border-bottom: none;
}

.feature-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--bio);
  opacity: 0.85;
  font-family: var(--serif-body);
  transition: color 0.4s ease, opacity 0.4s ease;
}

.feature:hover .feature-kicker {
  color: var(--bio-warm);
  opacity: 1;
}

.feature-title {
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 96;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--pearl);
  line-height: 1.2;
  letter-spacing: -0.005em;
  transition: color 0.4s ease;
}

.feature-lead .feature-title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-variation-settings: 'opsz' 144;
  line-height: 1.1;
  letter-spacing: 0.005em;
}

.feature:hover .feature-title { color: var(--bio); }

.feature-dek {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(228, 255, 240, 0.72);
}

.feature-lead .feature-dek {
  font-size: 1rem;
  max-width: 52ch;
}

.feature-cta {
  margin-top: 0.55rem;
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 14;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--bio);
  opacity: 0.7;
  letter-spacing: 0.04em;
  align-self: flex-start;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature:hover .feature-cta {
  opacity: 1;
  transform: translateX(6px);
}

@media (max-width: 700px) {
  .featured-spread { padding: 2.5rem 1rem 3rem; }
  .featured-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .feature-lead {
    grid-column: 1;
    grid-row: auto;
    border-right: none;
    border-bottom: 1px solid var(--depth-line-soft);
    padding: 1.85rem 1.25rem;
  }
  .feature-side {
    grid-column: 1;
    padding: 1.85rem 1.25rem;
  }
}

/* single-piece spotlight (used when there's only one feature) */
.feature-single {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
  border: none;
  padding: 2rem 1.5rem 2.5rem;
  gap: 1rem;
}

.feature-single .feature-lead-marker {
  align-self: center;
  width: 36px;
  background: linear-gradient(to right, transparent, var(--bio), transparent);
}

.feature-single .feature-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-variation-settings: 'opsz' 144;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

.feature-single .feature-dek {
  font-size: 1rem;
  max-width: 54ch;
  margin: 0 auto;
}

.feature-single .feature-cta {
  align-self: center;
  margin-top: 0.6rem;
}

@media (max-width: 700px) {
  .feature-single { padding: 1.75rem 1rem 2rem; }
  .feature-single .feature-dek { font-size: 0.95rem; }
}

/* ── main spacer ───────────────────────────────────────── */

main { flex: 1; }

/* ── three tides (categories on landing) ───────────────── */

.categories {
  max-width: 1100px;
  width: 100%;
  margin: 4.5rem auto 3rem;
  padding: 0 1.25rem;
}

.categories-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}

.categories-eyebrow::before,
.categories-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 90px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(97, 255, 139, 0.45), transparent);
}

.categories-eyebrow span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--bio);
}

.category-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
  padding: 2.4rem 1.75rem;
  border-top: 1px solid var(--depth-line);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: background-color 0.45s ease;
  opacity: 0;
  transform: translateY(18px);
  animation: tide-rise 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.category-band:nth-of-type(1) { animation-delay: 0.05s; }
.category-band:nth-of-type(2) { animation-delay: 0.15s; }
.category-band:nth-of-type(3) { animation-delay: 0.25s; }
.categories .category-band:last-child { border-bottom: 1px solid var(--depth-line); }

@keyframes tide-rise {
  to { opacity: 1; transform: translateY(0); }
}

.category-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(97, 255, 139, 0.10) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.category-band::after {
  content: '';
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--bio) 50%, transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.7;
  pointer-events: none;
}

.category-band:hover { background-color: rgba(97, 255, 139, 0.045); }
.category-band:hover::before { transform: translateX(110%); }
.category-band:hover::after { transform: scaleX(1); }

.category-numeral {
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 144;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  line-height: 1;
  color: rgba(97, 255, 139, 0.32);
  letter-spacing: 0.01em;
  min-width: 2.2em;
  text-align: center;
  transition: color 0.45s ease, transform 0.45s ease;
}

.category-band:hover .category-numeral {
  color: var(--bio-warm);
  transform: translateY(-2px);
}

.category-text {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.category-name {
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 144;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--bio) 0%, var(--pearl) 60%, var(--bio-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.category-desc {
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 14;
  font-style: italic;
  font-weight: 400;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--bio-warm);
  opacity: 0.78;
  max-width: 58ch;
}

.category-arrow {
  font-family: var(--serif-display);
  font-size: 1.6rem;
  color: var(--bio);
  opacity: 0.45;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category-band:hover .category-arrow {
  opacity: 1;
  transform: translateX(10px);
}

@media (max-width: 700px) {
  .category-band {
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding: 1.7rem 1rem;
  }
  .category-arrow { display: none; }
  .category-numeral { font-size: 2.4rem; min-width: 1.6em; }
}

/* ── category page hero ────────────────────────────────── */

header.category {
  text-align: center;
  padding: 5.5rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

header.category::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(97, 255, 139, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 25% at 50% 100%, rgba(212, 255, 168, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.category-kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: var(--bio);
  margin-bottom: 1.1rem;
  display: inline-block;
  position: relative;
  z-index: 1;
}

h1.category-title {
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 144;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--bio) 0%, var(--pearl) 60%, var(--bio-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(97, 255, 139, 0.20));
  position: relative;
  z-index: 1;
}

.category-page-desc {
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 18;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--pearl);
  opacity: 0.82;
  max-width: 56ch;
  margin: 1.4rem auto 0;
  position: relative;
  z-index: 1;
}

.category-glyph {
  display: block;
  margin: 1.6rem auto 0;
  color: var(--bio);
  opacity: 0.55;
  position: relative;
  z-index: 1;
}

/* ── editorial entries (category pages) ────────────────── */

.entries {
  max-width: 1000px;
  width: 100%;
  margin: 1.5rem auto 4rem;
  padding: 0 2rem;
}

.entry {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  align-items: start;
  gap: 2.5rem;
  padding: 2.4rem 0.5rem;
  border-top: 1px solid var(--depth-line);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: background-color 0.45s ease, padding 0.4s ease;
  opacity: 0;
  transform: translateY(14px);
  animation: entry-rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.entry:nth-of-type(1) { animation-delay: 0.05s; }
.entry:nth-of-type(2) { animation-delay: 0.1s; }
.entry:nth-of-type(3) { animation-delay: 0.15s; }
.entry:nth-of-type(4) { animation-delay: 0.2s; }
.entry:nth-of-type(5) { animation-delay: 0.25s; }
.entry:nth-of-type(6) { animation-delay: 0.3s; }
.entry:nth-of-type(7) { animation-delay: 0.35s; }
.entry:nth-of-type(8) { animation-delay: 0.4s; }
.entry:nth-of-type(9) { animation-delay: 0.45s; }
.entry:nth-of-type(10) { animation-delay: 0.5s; }
.entry:nth-of-type(11) { animation-delay: 0.55s; }
.entry:nth-of-type(12) { animation-delay: 0.6s; }
.entry:nth-of-type(13) { animation-delay: 0.65s; }

.entries .entry:last-of-type { border-bottom: 1px solid var(--depth-line); }

.entries-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 3.25rem auto 0.5rem;
  padding: 0 0.5rem;
}

.entries-divider::before,
.entries-divider::after {
  content: '';
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(97, 255, 139, 0.45), transparent);
}

.entries-divider span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--bio);
}

@keyframes entry-rise {
  to { opacity: 1; transform: translateY(0); }
}

.entry::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(97, 255, 139, 0.07) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.entry:hover {
  background-color: rgba(97, 255, 139, 0.038);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.entry:hover::before { transform: translateX(110%); }

.entry-num {
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 144;
  font-style: italic;
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--bio);
  opacity: 0.55;
  letter-spacing: 0.04em;
  line-height: 1;
  padding-top: 0.55rem;
  transition: opacity 0.4s ease, color 0.4s ease;
  white-space: nowrap;
}

.entry:hover .entry-num {
  opacity: 1;
  color: var(--bio-warm);
}

.entry-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.entry-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--bio);
  opacity: 0.85;
  font-family: var(--serif-body);
  transition: color 0.4s ease, opacity 0.4s ease;
}

.entry:hover .entry-kicker {
  color: var(--bio-warm);
  opacity: 1;
}

.entry-title {
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 96;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--pearl);
  line-height: 1.15;
  letter-spacing: -0.005em;
  transition: color 0.4s ease;
}

.entry:hover .entry-title { color: var(--bio); }

.entry-dek {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 0.97rem;
  line-height: 1.55;
  color: rgba(228, 255, 240, 0.72);
  max-width: 60ch;
}

.entry-arrow {
  font-family: var(--serif-display);
  font-size: 1.6rem;
  color: var(--bio);
  opacity: 0.4;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding-top: 0.5rem;
}

.entry:hover .entry-arrow {
  opacity: 1;
  transform: translateX(10px);
}

@media (max-width: 700px) {
  .entries { padding: 0 1.25rem; }
  .entry {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    padding: 1.85rem 0.25rem;
  }
  .entry:hover { padding-left: 0.75rem; padding-right: 0.75rem; }
  .entry-arrow { display: none; }
  .entry-num { font-size: 1.2rem; padding-top: 0.4rem; }
}

/* ── footer ────────────────────────────────────────────── */

footer {
  text-align: center;
  padding: 3rem 2rem 2.25rem;
  font-size: 0.78rem;
  color: var(--algae);
  background: var(--ink-deep);
  border-top: 1px solid var(--depth-line);
  letter-spacing: 0.06em;
  position: relative;
}

.footer-ornament {
  display: block;
  margin: 0 auto 1.1rem;
  color: var(--bio);
  opacity: 0.55;
}

footer .copy {
  display: block;
  font-family: var(--serif-display);
  font-variation-settings: 'opsz' 14;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--algae);
}

/* ── reduced motion ────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  body::before, body::after,
  .site-nav-brand::before { animation: none !important; }

  .category-band, .entry {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .category-band::before,
  .entry::before { display: none; }
}
