:root { color: #17201f; background: #ffffff; font-family: Poppins, Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; color: #17201f; background: #ffffff; }
a { color: inherit; }
.site-header { height: 64px; border-bottom: 1px solid #dce5e0; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1240px) / 2)); font-size: 14px; color: #5a6863; }
.brand { font-size: 22px; font-weight: 800; text-decoration: none; color: #00785a; }
main { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.intro { max-width: 660px; padding: 72px 0 46px; }
.eyebrow { margin: 0 0 12px; color: #00785a; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
h1 { max-width: 620px; margin: 0; font-size: 48px; line-height: 1.05; letter-spacing: 0; }
.intro > p:last-child { margin: 16px 0 0; font-size: 19px; line-height: 1.55; color: #52615b; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 64px; }
.project-card { border: 1px solid #dce5e0; border-radius: 8px; overflow: hidden; background: #ffffff; transition: box-shadow .18s ease, transform .18s ease; }
.project-card:hover { box-shadow: 0 14px 32px rgba(18, 53, 42, .12); transform: translateY(-2px); }
.visual { display: block; position: relative; height: 220px; overflow: hidden; background: #f2f6f3; text-decoration: none; }
.desktop-shot { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.mobile-shot { position: absolute; right: 18px; bottom: 0; width: 78px; max-height: 172px; object-fit: cover; object-position: top; border: 3px solid #ffffff; border-bottom: 0; border-radius: 12px 12px 0 0; box-shadow: 0 8px 24px rgba(0,0,0,.24); background: #ffffff; }
.shot-placeholder { height: 100%; display: grid; place-items: center; color: #64736d; font-size: 14px; }
.project-info { padding: 18px; }
.project-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo { width: 48px; height: 48px; flex: 0 0 auto; border: 1px solid #dce5e0; border-radius: 8px; padding: 5px; object-fit: contain; }
h2 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: 0; }
.project-title a { display: inline-block; margin-top: 5px; color: #00785a; font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.project-info > p { min-height: 44px; margin: 16px 0; color: #52615b; font-size: 14px; line-height: 1.5; }
.visit { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 7px; color: #ffffff; background: #00785a; font-weight: 700; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.visit:hover { background: #005f47; transform: translateY(-1px); }
footer { border-top: 1px solid #dce5e0; padding: 28px 24px; color: #68746f; text-align: center; font-size: 13px; }
.empty { border: 1px dashed #c9d7d0; padding: 40px 24px; color: #64736d; text-align: center; margin-bottom: 64px; }
.showcase-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.search { display: block; width: min(380px, 100%); }
.search input { width: 100%; min-height: 42px; padding: 0 14px; border: 1px solid #bfcfc7; border-radius: 7px; color: #17201f; background: #ffffff; font: inherit; outline: none; }
.search input:focus { border-color: #00785a; box-shadow: 0 0 0 3px rgba(0, 120, 90, .13); }
.result-count { color: #68746f; font-size: 14px; white-space: nowrap; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 0 8px; color: #52615b; font-size: 14px; }
.page-button { min-width: 86px; min-height: 38px; padding: 0 12px; border: 1px solid #bfcfc7; border-radius: 7px; color: #00785a; background: #ffffff; font: inherit; font-weight: 700; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.page-button:hover:not(:disabled) { border-color: #00785a; background: #edf8f4; }
.page-button:disabled { color: #9aa8a2; border-color: #dce5e0; cursor: default; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.is-embed { background: transparent; }
.is-embed .embed-main { width: 100%; margin: 0; }
.is-embed .showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0 0 20px; }
.is-embed .visual { height: 164px; }
.is-embed .mobile-shot { right: 12px; width: 58px; max-height: 126px; }
.is-embed .project-info { padding: 14px; }
.is-embed h2 { font-size: 17px; }
.is-embed .logo { width: 40px; height: 40px; }
.is-embed .project-title { gap: 10px; }
.is-embed .project-title a { font-size: 13px; }
.is-embed .visit { min-height: 38px; font-size: 14px; }
.is-embed .project-info > p { min-height: 0; }
.is-embed .empty { margin: 0; }
@media (max-width: 1180px) { .is-embed .showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 920px) { .showcase-grid, .is-embed .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .site-header { padding: 0 20px; } main { width: min(100% - 32px, 1240px); } .intro { padding: 48px 0 32px; } h1 { font-size: 36px; } .showcase-grid, .is-embed .showcase-grid { grid-template-columns: 1fr; } .visual { height: 245px; } .is-embed .visual { height: 220px; } .mobile-shot { right: 18px; width: 88px; max-height: 190px; } .showcase-controls { align-items: stretch; flex-direction: column; } .search { width: 100%; } .result-count { white-space: normal; } }
