/* Portfolio family: big hero, image-led card grids */
.cover-hero { position: relative; min-height: clamp(26rem, 72vh, 44rem); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #111; }
.cover-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 5%) 0%, rgb(0 0 0 / 25%) 45%, rgb(0 0 0 / 72%) 100%); }
.cover-hero__overlay { position: relative; z-index: 1; padding-block: clamp(2rem, 6vw, 4rem); }
.cover-hero__kicker { display: inline-block; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; font-weight: 700; color: #fff; text-decoration: none; margin-bottom: 0.75rem; opacity: .95; }
.cover-hero__title { color: #fff; font-size: clamp(2.1rem, 6vw, var(--font-size-heading)); max-width: 16em; line-height: 1.05; text-shadow: 0 2px 24px rgb(0 0 0 / 30%); }
.cover-hero__story { display: inline-flex; gap: 0.6rem; align-items: baseline; flex-wrap: wrap; color: #fff; text-decoration: none; font-weight: 600; margin-top: 0.5rem; border-bottom: 1px solid rgb(255 255 255 / 60%); padding-bottom: 0.2rem; }
.cover-hero__story span { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; opacity: .85; }
.cover-hero .post-meta, .cover-hero .post-meta a { color: rgb(255 255 255 / 90%); }
.cover-hero--post { min-height: clamp(24rem, 68vh, 40rem); }
.intro-hero { padding-block: clamp(3rem, 9vw, 6.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.intro-hero__avatar { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 1.5rem; }
.intro-hero__hello { font-size: 1.1rem; color: var(--color-muted); margin-bottom: 0.5rem; }
.intro-hero__title { font-size: clamp(2.2rem, 6.5vw, var(--font-size-heading)); line-height: 1.04; letter-spacing: -0.035em; max-width: 17em; }
.intro-hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.family-portfolio .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.card--overlay { border-radius: var(--radius); overflow: hidden; background: #111; }
.card--overlay .card__media { border-radius: 0; }
.card--overlay .card__media img { aspect-ratio: 4 / 5; }
.card--overlay .card__body { position: absolute; inset: auto 0 0 0; padding: 1.25rem; color: #fff; background: linear-gradient(180deg, transparent, rgb(0 0 0 / 78%)); }
.card--overlay .card__title { color: #fff; font-size: 1.4rem; }
.card--overlay .card__title a:hover { color: #fff; text-decoration: underline; }
.card--overlay .card__kicker { color: #fff; opacity: .9; }
.card--overlay .post-meta { color: rgb(255 255 255 / 85%); }
.card--case .card__media img { aspect-ratio: 4 / 3; }
.card--case .card__body { padding-top: 1rem; }
.card--case .card__title { font-size: 1.45rem; letter-spacing: -0.02em; }
.post-header--case { padding-top: clamp(2.5rem, 7vw, 5rem); max-width: 60rem; }
.post-header--case .post-header__title { font-size: clamp(2.2rem, 6vw, var(--font-size-heading)); letter-spacing: -0.03em; }
.post-header__dek--lead { font-size: 1.35rem; margin-top: 2rem; color: var(--color-text); }
