.agency-credit-wrap { padding-top: 14px; padding-bottom: 14px; }
.agency-credit {
  --agency-mark-size: 72px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 72px minmax(190px, 1fr) 112px;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  border: 1px solid #d9d9c5;
  border-radius: 5px;
  background: #fffdf7;
  color: #0b3442;
  text-decoration: none;
}
.agency-credit:hover { border-color: #a77922; }
.agency-credit:focus-visible { outline: 3px solid #9a6410; outline-offset: 4px; }
.agency-founder { display: flex; align-items: center; gap: 14px; min-width: 0; }
.agency-photo { position:relative; display:block; box-sizing:border-box; flex:0 0 var(--agency-mark-size); width:var(--agency-mark-size); height:var(--agency-mark-size); overflow:hidden; border:2px solid #dfb654; border-radius:8px; background:#e7e1d4; }
.agency-photo img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:50% 50%; transform:scale(1.8); transform-origin:52% 61%; }
.agency-founder-copy, .agency-credit-copy { display: grid; gap: 5px; min-width: 0; }
.agency-founder-copy strong { font-size: 20px; line-height: 1.2; }
.agency-founder-copy small { color: #506264; font-size: 12px; line-height: 1.5; }
.agency-photo-note { color: #506264; font-size: 10px; line-height: 1.4; }
.agency-credit .agency-logo {
  box-sizing: border-box;
  width: var(--agency-mark-size);
  height: var(--agency-mark-size);
  padding: 2px;
  border-radius: 4px;
  background: #0b111a;
  object-fit: contain;
}
.agency-credit-copy small { font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.agency-credit-copy strong { font-size: 18px; line-height: 1.2; }
.agency-credit-copy > span { font-size: 11px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.agency-site-thumb { display: block; overflow: hidden; border: 1px solid #0b111a; border-radius: 3px; }
.agency-site-thumb img { display: block; width: 100%; aspect-ratio: 1.45; height: auto; object-fit: cover; object-position: top; }
@media (max-width: 900px) {
  .agency-credit { --agency-mark-size: 64px; grid-template-columns: minmax(240px, 1fr) 64px minmax(160px, 1fr); gap: 12px; }
  .agency-site-thumb { display: none; }
}
@media (max-width: 600px) {
  .agency-credit-wrap { padding: 12px 20px; }
  .agency-credit { grid-template-columns: 64px minmax(0, 1fr); padding: 14px; }
  .agency-founder { grid-column: 1 / -1; padding-bottom: 14px; margin-bottom: 2px; border-bottom: 1px solid #d9ded6; }
  .agency-founder-copy strong { font-size: 21px; }
  .agency-credit-copy strong { font-size: 17px; }
}

/* Visible founder attribution and touch-friendly agency destination. */
.agency-credit{border:2px solid #123e31;color:#101820;box-shadow:0 3px 12px #123e3110}
.agency-founder-copy strong,.agency-founder-copy small,.agency-photo-note,.agency-credit-copy strong,.agency-credit-copy small{color:#101820!important;text-transform:uppercase;font-weight:800}
.agency-founder-copy small{font-size:12px}.agency-photo-note{font-size:11px;line-height:1.5}
.agency-credit-copy>.agency-tap-link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;margin-top:7px;padding:12px 14px;border:2px solid #101820;border-radius:6px;background:#101820;color:#fff;font-size:12px;font-weight:800;line-height:1.4;text-align:center;text-decoration:none}
.agency-credit:hover .agency-tap-link{background:#193f31;border-color:#193f31}
@media(max-width:600px){.agency-credit-copy>.agency-tap-link{width:100%;min-height:52px;font-size:12px}.agency-founder-copy strong{font-size:22px}.agency-founder-copy small{font-size:12px}.agency-photo-note{font-size:11px}.agency-credit-copy{min-width:0}.agency-credit-copy strong{font-size:18px}.agency-credit{gap:14px}}
