/* Nessa - editorial portfolio. Ivory + ink + warm brass. */
:root {
  --bg:        #f4ede2;
  --bg-card:   #fffdf8;
  --ink:       #1a1714;
  --ink-soft:  #443a30;
  --ink-faint: #8a7e6f;
  --brass:     #b88845;
  --brass-deep:#8a6230;
  --brass-light:#e7d4ad;
  --line:      #e6dcc9;
  --shadow:    0 1px 2px rgba(26,23,20,0.04), 0 12px 32px rgba(26,23,20,0.08);
  --shadow-lg: 0 24px 64px rgba(26,23,20,0.16);
  --radius:    14px;
  --radius-sm: 8px;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--brass) var(--bg); }
html::-webkit-scrollbar { width: 10px; height: 10px; }
html::-webkit-scrollbar-track { background: var(--bg); }
html::-webkit-scrollbar-thumb { background: var(--brass); border-radius: 6px; border: 2px solid var(--bg); }
html::-webkit-scrollbar-thumb:hover { background: var(--brass-deep); }
html::-webkit-scrollbar-corner { background: var(--bg); }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--brass-deep); }
img { display: block; max-width: 100%; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(244,237,226,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  transition: background 0.18s, border-color 0.18s;
}
.nav-toggle:hover { border-color: var(--brass); background: rgba(184,136,69,0.06); }
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.28s cubic-bezier(0.22,0.61,0.36,1), opacity 0.18s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: var(--ink);
}
.brand-logo {
  width: 64px; height: 64px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--ink);
  padding: 4px;
  transition: transform 0.22s;
}
.brand:hover .brand-logo { transform: scale(1.04); }
@media (max-width: 640px) {
  .brand-logo { width: 50px; height: 50px; padding: 3px; border-radius: 8px; }
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px; font-weight: 500;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { font-weight: 600; }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 9px 18px; border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--brass-deep); color: #fff !important; }
.nav-ext { font-size: 11px; opacity: 0.6; }
@media (max-width: 760px) {
  .nav-inner { padding: 12px 20px; }
  .nav-toggle { display: inline-flex; }
  /* Hide the inline link row; turn it into a full-screen overlay menu */
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--ink);    /* solid, NOT rgba(...,0.98) per CATALOG-STANDARDS */
    z-index: 210;              /* above nav (200) so the X is reachable */
    display: flex;
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 28px;
    padding: 80px 24px 40px;
    transform: translateY(-100%);
    transition: transform 0.32s cubic-bezier(0.22,0.61,0.36,1);
    pointer-events: none;
  }
  body.nav-open .nav-links {
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    color: var(--brass-light);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.01em;
  }
  .nav-links a.active { color: #fff; }
  .nav-links a:hover { color: #fff; }
  .nav-cta {
    margin-top: 8px;
    background: var(--brass);
    color: var(--ink) !important;
    padding: 12px 28px !important;
    font-size: 14px !important;
    font-family: var(--sans) !important;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .nav-cta:hover { background: var(--brass-light); color: var(--ink) !important; }
  /* The toggle has to sit ABOVE the open overlay so the user can close it */
  .nav-toggle { position: relative; z-index: 220; }
  body.nav-open .nav-toggle { border-color: rgba(231,212,173,0.4); }
  body.nav-open .nav-toggle span { background: var(--brass-light); }
  /* Prevent body scroll when menu is open */
  body.nav-open { overflow: hidden; }
}

/* ============ HERO ============ */
.hero {
  padding: 80px 0 70px;
  text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; padding: 0 32px; }
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--brass-deep); margin-bottom: 22px; font-weight: 600;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500; line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--brass-deep); }
.hero-sub {
  font-size: 17px; color: var(--ink-soft);
  max-width: 580px; margin: 0 auto;
}
.hero-sub a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .hero { padding: 50px 0 40px; }
  .hero-sub { font-size: 15px; }
}

/* ============ TILES (hub) ============ */
.tiles { padding: 24px 0 80px; }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .tile-grid { grid-template-columns: 1fr; gap: 18px; } }

.tile {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: transform 0.28s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.28s;
  min-height: 460px;
  color: var(--ink);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tile-art {
  flex: 1; min-height: 280px;
  background: var(--line) center/cover no-repeat;
  position: relative;
}
.tile-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,23,20,0) 40%, rgba(26,23,20,0.45) 100%);
  pointer-events: none;
}
/* Bags tile: the cover image is already composed as 16:9 landscape with
   cream margins around the bag, so cover (default) works without
   chopping the handle. Cream background only shows during the brief
   moment before the JS sets background-image. */
.tile-bags .tile-art {
  background-color: #fffdf8;
}
.tile-bags .tile-art::after {
  /* Lighter gradient over the landscape composite (the photo is bright) */
  background: linear-gradient(180deg, rgba(26,23,20,0) 60%, rgba(26,23,20,0.30) 100%);
}
.tile-body { padding: 26px 28px 28px; }
.tile-eyebrow {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-deep); margin-bottom: 12px; font-weight: 600;
}
.tile-title {
  font-family: var(--serif);
  font-size: 32px; font-weight: 500;
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.tile-sub { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.5; }
.tile-cta {
  display: inline-block;
  font-size: 13.5px; font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--brass);
  padding-bottom: 2px;
  transition: color 0.18s, border-color 0.18s;
}
.tile:hover .tile-cta { color: var(--brass-deep); border-color: var(--brass-deep); }
.tile-cta .ext { font-size: 11px; opacity: 0.6; }

/* ============ ABOUT strip ============ */
.about-strip {
  padding: 70px 0 50px;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
}
.about-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.section-title {
  font-family: var(--serif); font-size: 36px; font-weight: 500;
  margin-bottom: 18px; letter-spacing: -0.01em;
}
.about-strip p { color: var(--ink-soft); margin-bottom: 14px; font-size: 16px; }
.about-strip p a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ============ CLIENTS strip (cards) ============ */
.clients-strip {
  padding: 30px 0 80px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
}
.clients-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.clients-header .section-title { margin-bottom: 6px; }
.clients-hint {
  font-size: 13px; color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .client-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.client-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.28s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.28s, border-color 0.22s;
  position: relative;
}
.client-card:hover, .client-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brass);
  color: var(--ink);
}
.client-thumb {
  aspect-ratio: 1 / 1;
  background: var(--line) center/cover no-repeat;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.22,0.61,0.36,1);
}
.client-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,23,20,0) 60%, rgba(26,23,20,0.45) 100%);
  pointer-events: none;
}
.client-card:hover .client-thumb { transform: scale(1.05); }
.client-info {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.client-card .client-name {
  font-family: var(--serif);
  font-size: 17px; font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.client-card .client-note {
  font-size: 12.5px; color: var(--ink-faint);
  line-height: 1.35;
}
/* Small IG glyph in top-right of the thumbnail */
.client-card::after {
  content: '';
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(255,253,248,0.92) center/14px 14px no-repeat;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1714' stroke-width='2'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4'/><circle cx='17.5' cy='6.5' r='1' fill='%231a1714' stroke='none'/></svg>");
  opacity: 0;
  transition: opacity 0.22s, background-color 0.22s;
  z-index: 2;
}
.client-card:hover::after, .client-card:focus-visible::after {
  opacity: 1;
  background-color: #fff;
}

/* Kalasha pull-out so the headline credential reads as the centrepiece */
.kalasha-callout {
  display: block;
  margin: 24px 0 8px;
  padding: 18px 22px;
  border-left: 3px solid var(--brass);
  background: linear-gradient(90deg, rgba(184,136,69,0.10), rgba(184,136,69,0));
  border-radius: 0 8px 8px 0;
}
.kalasha-callout .kalasha-eyebrow {
  display: block;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-deep); font-weight: 600;
  margin-bottom: 6px;
}
.kalasha-callout .kalasha-title {
  font-family: var(--serif);
  font-size: 19px; font-weight: 500; line-height: 1.3;
  color: var(--ink);
}

/* ============ PAGE HEADER (gallery pages) ============ */
.page-header {
  padding: 72px 0 44px;
  text-align: center;
}
.page-eyebrow {
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass-deep); margin-bottom: 18px; font-weight: 600;
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.page-sub {
  font-size: 16px; color: var(--ink-soft);
  max-width: 640px; margin: 0 auto;
}
@media (max-width: 640px) {
  .page-header { padding: 48px 0 28px; }
  .page-sub { font-size: 14.5px; }
}

/* ============ GALLERY ============ */
.gallery-section { padding: 0 0 80px; }
.gallery-meta {
  font-size: 13px; color: var(--ink-faint);
  margin-bottom: 18px; padding-left: 4px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.post-card {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  box-shadow: 0 1px 3px rgba(26,23,20,0.06);
  transition: transform 0.22s, box-shadow 0.22s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,0.61,0.36,1);
}
.post-card:hover .post-img { transform: scale(1.04); }
.post-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,23,20,0) 50%, rgba(26,23,20,0.78) 100%);
  opacity: 0; transition: opacity 0.22s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px;
}
.post-card:hover .post-overlay,
.post-card:focus-within .post-overlay { opacity: 1; }
.post-title {
  font-family: var(--serif);
  font-size: 18px; font-weight: 500;
  color: #fff; line-height: 1.25;
  margin-bottom: 10px;
}
.post-actions {
  display: flex; gap: 8px;
}
.post-btn {
  flex: 1;
  font-size: 12px; font-weight: 600;
  padding: 8px 10px; border-radius: 999px;
  text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff; background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.post-btn:hover {
  background: #fff; color: var(--ink);
  border-color: #fff;
}
.post-btn-wa { background: #25D366; border-color: #25D366; color: #fff; }
.post-btn-wa:hover { background: #1eb858; color: #fff; border-color: #1eb858; }
.post-btn svg { width: 13px; height: 13px; fill: currentColor; }

/* Single IG-only CTA on portfolio cards: paint the official IG gradient on
   hover so the action reads as instantly familiar (per CATALOG-STANDARDS). */
.post-btn-ig:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #fff;
}

@media (max-width: 560px) {
  /* On mobile, always show overlay since hover isn't reliable */
  .post-overlay { opacity: 1; background: linear-gradient(180deg, rgba(26,23,20,0) 40%, rgba(26,23,20,0.85) 100%); }
  .post-title { font-size: 16px; }
}

/* Category tag badge in top-left of card (small, subtle) */
.post-tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255,253,248,0.92); color: var(--brass-deep);
  padding: 4px 9px; border-radius: 999px;
  font-weight: 600;
  z-index: 2;
}
.post-tag.both { background: rgba(184,136,69,0.95); color: #fff; }

/* ============ PAGINATION ============ */
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 38px; height: 38px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink-soft);
  font-family: var(--sans); font-weight: 500; font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.page-btn:hover { border-color: var(--brass); color: var(--ink); }
.page-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-ellipsis { color: var(--ink-faint); padding: 0 6px; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(26,23,20,0.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox-figure {
  max-width: 1100px;
  max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-figure figcaption {
  color: rgba(255,253,248,0.85);
  font-family: var(--serif);
  font-size: 18px;
  text-align: center;
  max-width: 760px;
  line-height: 1.4;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,253,248,0.1);
  color: #fff;
  border: 1px solid rgba(255,253,248,0.3);
  width: 44px; height: 44px;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.lightbox-close:hover { background: var(--brass); border-color: var(--brass); }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: #d6cbb8;
  padding: 60px 0 32px;
  margin-top: 60px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-logo {
  width: 88px; height: 88px;
  border-radius: 12px;
  display: block;
  margin-bottom: 14px;
  object-fit: contain;
}
.footer-mark {
  font-family: var(--serif); font-size: 32px; font-weight: 500;
  color: var(--brass-light); margin-bottom: 6px; letter-spacing: 0.02em;
}
.footer-brand p { color: #a09686; font-size: 14px; }
@media (max-width: 700px) { .footer-logo { width: 72px; height: 72px; } }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a { color: #d6cbb8; }
.footer-links a:hover { color: var(--brass-light); }
.footer-fine {
  grid-column: 1 / -1;
  padding-top: 28px;
  margin-top: 16px;
  border-top: 1px solid rgba(184,136,69,0.2);
  font-size: 12px;
  color: #a09686;
  text-align: center;
}
.footer-credit { color: var(--brass); transition: color 0.18s; }
.footer-credit:hover { color: var(--brass-light); }

/* ============ FADE-IN-UP (per CATALOG-STANDARDS) ============ */
@media (prefers-reduced-motion: no-preference) {
  /* Hero + page-header copy auto-fires on load (always above the fold) */
  .hero-eyebrow, .hero-title, .hero-sub, .page-eyebrow, .page-title, .page-sub {
    opacity: 0;
    transform: translateY(22px);
    animation: fadeInUp 0.7s cubic-bezier(0.22,0.61,0.36,1) forwards;
  }
  .hero-title { animation-delay: 0.12s; }
  .hero-sub { animation-delay: 0.22s; }
  .page-title { animation-delay: 0.08s; }
  .page-sub { animation-delay: 0.16s; }

  /* Tiles also auto-fire (hub is short, tiles are above the fold) */
  .tile {
    opacity: 0;
    transform: translateY(22px);
    animation: fadeInUp 0.7s cubic-bezier(0.22,0.61,0.36,1) forwards;
    animation-delay: 0.18s;
  }
  .tile:nth-child(2) { animation-delay: 0.26s; }
  .tile:nth-child(3) { animation-delay: 0.34s; }

  /* Gallery cards + About strip use IntersectionObserver in main.js to flip .in-view */
  .post-card, .section-title, .about-copy, .client-card, .footer-brand, .footer-links {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.22,0.61,0.36,1), transform 0.65s cubic-bezier(0.22,0.61,0.36,1);
  }
  .post-card.in-view, .section-title.in-view, .about-copy.in-view, .client-card.in-view,
  .footer-brand.in-view, .footer-links.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  /* HUB page has no IntersectionObserver (no main.js loaded), so auto-fire
     these. Page is short enough that the user sees the final state by the
     time they scroll there. */
  body.page-hub .section-title,
  body.page-hub .about-copy,
  body.page-hub .clients-hint,
  body.page-hub .client-card,
  body.page-hub .footer-brand,
  body.page-hub .footer-links {
    animation: fadeInUp 0.7s cubic-bezier(0.22,0.61,0.36,1) 0.5s forwards;
  }
  /* Stagger client cards (capped at :nth-child(n+8) per CATALOG-STANDARDS) */
  body.page-hub .client-card:nth-child(2) { animation-delay: 0.56s; }
  body.page-hub .client-card:nth-child(3) { animation-delay: 0.62s; }
  body.page-hub .client-card:nth-child(4) { animation-delay: 0.68s; }
  body.page-hub .client-card:nth-child(5) { animation-delay: 0.74s; }
  body.page-hub .client-card:nth-child(6) { animation-delay: 0.80s; }
  body.page-hub .client-card:nth-child(7) { animation-delay: 0.86s; }
  body.page-hub .client-card:nth-child(n+8) { animation-delay: 0.92s; }
  /* Per-card stagger (capped at :nth-child(n+10)) */
  .post-card:nth-child(2) { transition-delay: 0.04s; }
  .post-card:nth-child(3) { transition-delay: 0.08s; }
  .post-card:nth-child(4) { transition-delay: 0.12s; }
  .post-card:nth-child(5) { transition-delay: 0.16s; }
  .post-card:nth-child(6) { transition-delay: 0.20s; }
  .post-card:nth-child(7) { transition-delay: 0.24s; }
  .post-card:nth-child(8) { transition-delay: 0.28s; }
  .post-card:nth-child(9) { transition-delay: 0.32s; }
  .post-card:nth-child(n+10) { transition-delay: 0.36s; }
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
