.catalog-hero{background:#0b0b0b;color:#fff;padding:105px 0 90px}.catalog-hero h1{font-size:clamp(2.6rem,6vw,5rem);line-height:1.1;max-width:820px;margin:18px 0}.catalog-hero em{font-style:normal;color:var(--coral-soft)}.catalog-hero .eyebrow{color:var(--coral-soft)}.catalog-hero p:not(.eyebrow){max-width:720px;color:#d1d1d1;line-height:1.7}.catalog{padding-top:70px;padding-bottom:100px}.catalog-top{display:flex;gap:24px;justify-content:space-between;align-items:end;flex-wrap:wrap}.catalog-top h2{margin:0}.search-label{font-size:.82rem;font-weight:600;display:grid;gap:8px}.search-label input{font:inherit;min-width:min(320px,80vw);padding:14px;border:1px solid #bbb;background:#fff;border-radius:4px;color:#111}.filters{display:flex;flex-wrap:wrap;gap:10px;margin:32px 0 22px}.filter{border:1px solid var(--coral-deep);background:#fff;color:#111;padding:12px 16px;border-radius:3px;cursor:pointer;font:inherit}.filter.active,.filter:hover{background:var(--coral);color:#111;border-color:var(--coral)}.filter:focus-visible,.search-label input:focus-visible,.catalog-button:focus-visible{outline:3px solid var(--coral);outline-offset:3px}#result-count{color:#555;margin:0 0 24px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.project{border:1px solid var(--line);padding:28px;background:#fff;display:flex;flex-direction:column;gap:12px;min-height:320px}.project .status{font-size:.75rem;letter-spacing:.04em;text-transform:uppercase;color:var(--coral-deep);font-weight:700}.project h3{margin:0;font-size:1.35rem}.project p{line-height:1.6;margin:0}.project .skills{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto}.project .skills span{font-size:.75rem;border:1px solid rgba(242,107,94,.35);padding:6px 8px}.project a{color:var(--coral-deep);font-weight:700;text-decoration:underline;text-underline-offset:4px}.project .pending{font-weight:600;color:#666}.catalog-cta{background:#111;color:white;padding:70px 0}.catalog-cta p{color:#ddd}.catalog-button{display:inline-block;margin-top:18px;padding:14px 22px;background:var(--coral);color:#111;font-weight:700;text-decoration:none}@media(max-width:960px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.catalog-grid{grid-template-columns:1fr}.catalog-hero{padding:75px 0}.project{min-height:0}.filters{gap:8px}.filter{flex:1 1 45%}}
/* Preserve established Kalii AI warm-cream / coral identity. */
.catalog{background:var(--soft)}.catalog-cta{background:#111}.project{border-radius:18px;transition:box-shadow .2s ease,transform .2s ease}.project:hover{box-shadow:0 14px 34px rgba(17,17,17,.08);transform:translateY(-2px)}.project a:focus-visible,.filter:focus-visible{outline:3px solid var(--coral);outline-offset:3px}

/* Consistent, accessible image treatment for each selected-work entry. */
.project{overflow:hidden}
.project-image-link{display:block;margin:-28px -28px 12px;overflow:hidden;background:#17151b;aspect-ratio:16/9}
.project-cover{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .25s ease}
.project-image-link:hover .project-cover{transform:scale(1.025)}
.project-image-link:focus-visible{outline:3px solid var(--coral);outline-offset:-5px}
@media(prefers-reduced-motion:reduce){.project-cover{transition:none}.project-image-link:hover .project-cover{transform:none}}

.project-screenshot-pending{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;margin:-28px -28px 12px;padding:28px;background:#f4f0ed;color:#65585f;border-bottom:1px solid var(--line);font-size:.9rem;text-align:center;line-height:1.6;font-weight:600}

/* 2026-11-05: editorial portfolio gallery. Genuine captures only. */
.catalog{padding-top:64px}
.catalog-hero{padding:92px 0 84px}
.catalog-hero p:not(.eyebrow){font-size:1.07rem}
.catalog-top h2{font-size:clamp(2rem,3.5vw,3.3rem)}
.filters{gap:8px}
.filters .filter{padding:11px 14px;border-radius:100px;border-color:#d7c6bf;font-size:.87rem}
.filters .filter.active{background:#171416;color:#fff;border-color:#171416}
#project-grid.catalog-grid{display:block}
.portfolio-section{margin:38px 0 70px}
.portfolio-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 22px}
.portfolio-section-heading h3{font-size:clamp(1.65rem,2.5vw,2.35rem);letter-spacing:-.04em;line-height:1.15}
.portfolio-section-heading p{color:#6d6561;font-size:.9rem;max-width:540px;line-height:1.55}
.portfolio-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.portfolio-section .project{padding:0;min-height:0;display:flex;flex-direction:column;gap:0;background:#fff;border:1px solid #ded8d2;border-radius:16px;overflow:hidden;box-shadow:0 4px 18px rgba(17,17,17,.025)}
.portfolio-section .project:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(17,17,17,.08)}
.portfolio-section .project-image-link{display:block;aspect-ratio:16/9;margin:0;background:#17171b;overflow:hidden;color:#fff;text-decoration:none}
.portfolio-section .project-cover{width:100%;height:100%;display:block;object-fit:cover;object-position:top center;transform:none;transition:none}
.portfolio-section .project-image-link:hover .project-cover{transform:none}
.portfolio-section .project-copy{padding:26px 28px 28px;display:flex;flex-direction:column;gap:12px;flex:1}
.portfolio-section .project .status{font-size:.7rem;letter-spacing:.12em}
.portfolio-section .project h3{font-size:clamp(1.4rem,2.1vw,1.85rem);letter-spacing:-.035em;line-height:1.16}
.portfolio-section .project p{font-size:.94rem;color:#494442;line-height:1.65}
.portfolio-section .project .skills{margin-top:6px;gap:6px}
.portfolio-section .project .skills span{border:1px solid #e4d8d2;border-radius:50px;color:#59504e;padding:5px 10px;font-size:.72rem}
.portfolio-section .project-cta-link{margin-top:auto;padding-top:8px;font-size:.9rem;color:#a23b32;font-weight:700}
.portfolio-section.without-images{padding:34px;background:#eee9e3;border-radius:22px}
.portfolio-section.without-images .portfolio-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.portfolio-section.without-images .project{border-radius:13px;box-shadow:none}
.portfolio-section.without-images .project-copy{padding:26px}
.portfolio-section.without-images .project h3{font-size:1.42rem}
.portfolio-section.without-images .project p{font-size:.9rem}
.portfolio-section.without-images .project .skills span{font-size:.67rem}
.portfolio-section.without-images .project-cta-link{margin-top:auto}
@media(max-width:950px){.portfolio-section.without-images .portfolio-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.portfolio-cards,.portfolio-section.without-images .portfolio-cards{grid-template-columns:1fr}.portfolio-section.without-images{padding:18px}.portfolio-section{margin:32px 0 48px}.portfolio-section .project-copy{padding:22px}.catalog{padding-top:44px}.filters .filter{flex:1 1 42%}.portfolio-section-heading{display:block}.portfolio-section-heading p{margin-top:8px}}

/* Option A: preserve the editorial two-column catalog while displaying real
   screenshots without cropping, zoom effects, or distortion. */
.portfolio-section .portfolio-cards{align-items:start;gap:22px}
.portfolio-section .project{height:auto;min-width:0}
.portfolio-section .project-image-link{
  aspect-ratio:auto;
  height:auto;
  margin:0;
  background:#eae8e6;
}
.portfolio-section .project-cover{
  box-sizing:border-box;
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:contain;
  object-position:center;
  background:#eceae7;
  transform:none;
  image-rendering:auto;
}
.portfolio-section .project-copy{
  flex:initial;
  gap:9px;
  padding:20px 23px 22px;
}
.portfolio-section .project h3{font-size:clamp(1.3rem,1.8vw,1.65rem);line-height:1.22}
.portfolio-section .project p{line-height:1.52;font-size:.9rem}
.portfolio-section .project .skills{margin-top:2px}
.portfolio-section .project-cta-link{margin-top:0;padding-top:4px}
.portfolio-section .project-cta-link + .project-cta-link{padding-top:0}
.portfolio-section.without-images{padding:24px;background:#eee9e3}
.portfolio-section.without-images .portfolio-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.portfolio-section.without-images .project-copy{padding:22px 23px}
.portfolio-section.without-images .project{align-self:start}
@media(max-width:700px){
 .portfolio-section .portfolio-cards,
 .portfolio-section.without-images .portfolio-cards{grid-template-columns:minmax(0,1fr)}
 .portfolio-section.without-images{padding:16px}
 .portfolio-section .project-copy{padding:19px 20px 21px}
 .portfolio-section .project h3{font-size:1.38rem}
}
