/* OFA — Referanslar page (page-referanslar.php). A corporate directory on the light canvas of pages.css:
   an ink band with the real figures, then a dense full-width grid of names: the name only, no logo
   or icon. Surfaces are told apart by tone; a name with the client's address links to the live site. */

/* ---------- ink band: title and the three figures ---------- */
.refs-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 76px); background: var(--pg-ink); color: #fff; }
.refs-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px clamp(32px, 6vw, 96px); }
.refs-hero .crumbs, .refs-hero .crumbs a { color: #9ea3ae; }
.refs-hero .crumbs a:hover { color: #fff; }
.refs-hero h1 { margin: 14px 0 0; font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 780; line-height: 1; letter-spacing: -.04em; color: #fff; }
.refs-hero__lead { max-width: 54ch; margin: 18px 0 0; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.6; color: #c9ccd4; }
.refs-hero__facts { display: flex; gap: clamp(24px, 4vw, 56px); margin: 0; }
.refs-hero__facts dt { font-size: .88rem; color: #9ea3ae; }
.refs-hero__facts dd { margin: 4px 0 0; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 760; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }

/* ---------- directory: one grid of names ---------- */
.refs { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 96px); }
.refs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }

/* ---------- a client: the name only ---------- */
.ref__in {
	display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 100%; min-height: 60px; padding: 12px 16px;
	border-radius: 12px; background: var(--pg-card); color: var(--pg-ink); text-decoration: none; transition: background-color .2s, color .2s;
}
.ref__name { font-size: 1rem; font-weight: 650; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ref__in .icon { flex: none; color: var(--pg-muted); }
a.ref__in:hover { background: var(--pg-sky); color: var(--pg-accent); }
a.ref__in:hover .icon { color: var(--pg-accent); }
a.ref__in:focus-visible { outline: 2px solid var(--pg-accent); outline-offset: 2px; }

/* ---------- closing call ---------- */
.refs-next { padding: clamp(40px, 6vw, 72px) 0; background: var(--pg-sky); }
.refs-next__in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 40px; }
.refs-next h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 740; letter-spacing: -.03em; color: var(--pg-ink); }
.refs-next p { margin: 8px 0 0; max-width: 56ch; font-size: 1.02rem; line-height: 1.6; color: var(--pg-ink); }
.refs-next__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }

@media (max-width: 960px) {
	.refs-hero__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.refs-hero__facts { gap: 22px; }
	.refs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.ref__in { min-height: 54px; padding: 10px 12px; }
	.ref__name { font-size: .94rem; }
	.refs-next__actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.ref__in { transition: none; }
}
