/* Project cards (.hub-card and friends) live in styles.css: the home page uses them too. */
/* ============================================================
   WORK HUB (/work/): demo projects with their numbers, the studies,
   one door to the method page. Everything else from styles.css.
   ============================================================ */
.page-hub main { padding-top: 0; }
.page-hub section { position: relative; }
.hub-eyebrow { display: inline-flex; flex-wrap: wrap; gap: 6px 0; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--electric-text); }
.hub-eyebrow span:not(:last-child)::after { content: "\00B7"; margin-inline: 10px; opacity: 0.6; }
.hub-hero { padding-top: clamp(130px, 20vh, 200px); padding-bottom: clamp(40px, 7vh, 80px); overflow: clip; }
.hub-hero .glow-hero { left: -24vw; bottom: -30vw; }
.hub-hero .container { position: relative; z-index: 1; }
.hub-hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 6.4vw, 5.8rem); font-weight: 700; font-stretch: 108%; line-height: 0.98; letter-spacing: -0.035em; max-width: 14ch; }
.hub-dek { margin-top: 22px; color: var(--muted); max-width: 60ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); }
.hub-h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 640; font-stretch: 112%; line-height: 1.02; letter-spacing: -0.03em; }
.hub-lede { color: var(--muted); max-width: 58ch; margin-top: 14px; font-size: 1.05rem; }
.hub-head { margin-bottom: clamp(28px, 4.5vh, 48px); }
.hub-section { padding-block: clamp(56px, 9vh, 120px); }
.hub-section + .hub-section { border-top: 1px solid var(--line); }

.hub-study h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 640; font-stretch: 110%; letter-spacing: -0.01em; }
.hub-studies { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.hub-study picture { display: block; aspect-ratio: 3 / 4; overflow: clip; border-radius: var(--r-card); background: var(--bg-2); margin-bottom: 14px; }
.hub-study img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 0.9s var(--ease-out); }
.hub-study:hover img { transform: scale(1.12); }
.hub-study h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
.hub-study .hub-line { margin-top: 4px; font-size: 0.95rem; }
.hub-study .hub-tags { margin-top: 8px; }
.hub-note { margin-top: 6px; color: var(--muted); font-size: 0.84rem; font-style: italic; }

.hub-method-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hub-method-cta { justify-self: end; }
.hub-close { padding-block: clamp(72px, 11vh, 140px); border-top: 1px solid var(--line); }
.hub-cta { margin-top: clamp(22px, 3.6vh, 36px); display: flex; flex-wrap: wrap; gap: 12px 14px; }

@media (max-width: 1099px) { .hub-studies { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) {
  .hub-hero { padding-top: clamp(110px, 16vh, 150px); }
  .hub-grid { grid-template-columns: minmax(0, 1fr); }
  .hub-method-grid { grid-template-columns: 1fr; }
  .hub-method-cta { justify-self: start; }
}
@media (max-width: 599px) { .hub-studies { grid-template-columns: 1fr; } }
