/* IntentHaus V49.6B: Work gallery visual system. Overrides V49.5 in-place, not global CSS. */
.ih-work-collection { background:#f6f7f5; color:#13252a; border-top:1px solid #e1e9e5; border-bottom:1px solid #d7e2dc; }
.ih-work-collection *, .ih-work-collection *::before, .ih-work-collection *::after { box-sizing:border-box; }
.ih-work-collection .ih-work-collection-heading { display:flex; align-items:end; justify-content:space-between; gap:2rem; margin-bottom:clamp(28px,4vw,48px); }
.ih-work-collection-heading .eyebrow { color:#26776f; margin:0 0 10px; }
.ih-work-collection-heading h2 { margin:0; color:#142126; font-size:clamp(34px,4vw,56px); letter-spacing:-.045em; line-height:1.1; }
.ih-work-collection-heading > p { color:#4e6769; font-size:clamp(16px,1.3vw,19px); line-height:1.6; max-width:430px; margin:0; }
.ih-work-project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(18px,2vw,28px); margin:0; padding:0; list-style:none; }
.ih-work-project-item { min-width:0; margin:0; padding:0; list-style:none; }
.ih-work-project-item:only-child { grid-column:1 / -1; }
.ih-work-project-card { display:grid; grid-template-columns:minmax(0,1.02fr) minmax(0,1fr); min-height:425px; height:100%; overflow:hidden; background:#fff; border:1px solid #c6dbd3; border-radius:17px; box-shadow:0 12px 38px rgba(11,31,33,.055); }
.ih-work-project-item:not(:only-child) .ih-work-project-card { grid-template-columns:1fr; }
.ih-work-project-cover { min-width:0; position:relative; display:flex; flex-direction:column; justify-content:space-between; background:linear-gradient(135deg,#eff5f1 0%,#f9faf7 58%,#e5eeea 100%); border-right:1px solid #cbdad3; padding:clamp(22px,2.6vw,38px); min-height:310px; overflow:hidden; }
.ih-work-cover-top { display:flex; justify-content:space-between; align-items:center; gap:14px; color:#4d7a72; font-size:10px; font-weight:750; letter-spacing:.14em; text-transform:uppercase; }
.ih-work-cover-featured { display:inline-flex; align-items:center; gap:8px; }
.ih-work-cover-featured::before { content:""; width:6px; height:6px; flex:none; background:#75b4a6; border-radius:50%; }
.ih-work-cover-year { border:1px solid #c5d9d2; background:rgba(255,255,255,.55); color:#527d74; font-variant-numeric:tabular-nums; font-size:10px; letter-spacing:.12em; line-height:1; padding:9px 10px; border-radius:5px; white-space:nowrap; }
.ih-work-cover-logo-frame { display:flex; justify-content:center; align-items:center; flex:1; min-height:190px; padding:24px 5px; }
.ih-work-cover-logo { display:block; width:min(100%,470px); height:auto; object-fit:contain; }
.ih-work-cover-bottom { border-top:1px solid #cadbd4; padding-top:15px; color:#5d7b73; font-size:10px; font-weight:690; letter-spacing:.115em; text-transform:uppercase; }
.ih-work-project-body { min-width:0; padding:clamp(28px,3.1vw,51px); display:flex; flex-direction:column; align-items:start; }
.ih-work-project-kicker { width:100%; display:flex; flex-wrap:wrap; gap:10px 14px; align-items:center; justify-content:space-between; text-transform:uppercase; font-size:10px; font-weight:750; letter-spacing:.11em; color:#35746d; }
.ih-work-project-status { border-radius:100px; padding:7px 10px; border:1px solid #b5d5ce; color:#246860; background:#edf6f3; letter-spacing:.07em; }
.ih-work-project-body h3 { color:#12252a; font-size:clamp(30px,3.1vw,45px); line-height:1.12; letter-spacing:-.055em; margin:28px 0 19px; max-width:520px; }
.ih-work-project-body > p { color:#52666c; font-size:clamp(16px,1.27vw,19px); line-height:1.65; margin:0 0 20px; max-width:52ch; }
.ih-work-project-tags { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0 0 32px; }
.ih-work-project-tags li { margin:0; padding:8px 11px; background:#f2f6f4; border:1px solid #e1e9e5; border-radius:5px; color:#48625c; font-size:12px; line-height:1.2; }
.ih-work-project-actions { display:flex; align-items:center; flex-wrap:wrap; gap:13px 22px; margin-top:auto; }
.ih-work-project-actions a { text-decoration:none; display:inline-flex; align-items:center; justify-content:center; min-height:46px; gap:8px; font-size:14px; font-weight:700; }
.ih-work-project-actions a:hover { text-decoration:none; }
.ih-work-project-primary { border-radius:5px; background:#12282c; color:#fff !important; padding:12px 17px; border:1px solid #12282c; }
.ih-work-project-primary:hover { background:#22484b; }
.ih-work-project-secondary { color:#176a61 !important; border-bottom:1px solid #94b8b0; }
.ih-work-project-actions a:focus-visible { outline:3px solid #299889; outline-offset:3px; }
@media (max-width:1060px) {
  .ih-work-project-card { grid-template-columns:1fr; }
  .ih-work-project-cover { border-right:0; border-bottom:1px solid #cbdad3; min-height:265px; }
  .ih-work-cover-logo-frame { min-height:155px; }
  .ih-work-collection .ih-work-collection-heading { align-items:start; flex-direction:column; gap:18px; }
  .ih-work-collection-heading > p { max-width:650px; }
}
@media (max-width:760px) {
  .ih-work-project-grid { grid-template-columns:1fr; }
  .ih-work-project-item:only-child { grid-column:auto; }
  .ih-work-project-card { border-radius:13px; }
  .ih-work-project-cover { padding:20px 22px; min-height:240px; }
  .ih-work-cover-logo-frame { min-height:150px; padding:12px 4px; }
  .ih-work-project-body { padding:29px 25px 34px; }
  .ih-work-project-body h3 { margin-top:22px; }
}
@media (max-width:350px) {
  .ih-work-project-cover { padding:17px 14px; }
  .ih-work-project-body { padding:25px 19px 28px; }
  .ih-work-project-actions { align-items:start; flex-direction:column; }
  .ih-work-cover-bottom { font-size:9px; }
}
