.cn-project-references{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr);gap:clamp(28px,6vw,90px);margin-top:clamp(36px,6vw,76px);padding-top:clamp(26px,4vw,48px);border-top:1px solid var(--line)}
.cn-project-references .eyebrow{color:var(--muted);margin-bottom:12px}
.cn-project-references h3{font-size:clamp(26px,3vw,42px);max-width:11ch}
.cn-project-references ul{list-style:none;padding:0;margin:0}
.cn-project-references li{display:flex;align-items:baseline;justify-content:space-between;gap:10px 18px;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line)}
.cn-project-references h4{font-size:clamp(17px,1.5vw,22px);letter-spacing:-.025em}
.cn-ref-links{display:flex;flex-wrap:wrap;gap:0 18px}
.cn-ref-links a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--muted);font-size:13px}
.cn-ref-links a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.cn-ref-links svg{width:15px;height:15px;color:var(--orange)}
@media(max-width:720px){.cn-project-references{grid-template-columns:1fr;gap:18px}.cn-project-references h3{max-width:none}}

.cn-ref-dialog{box-sizing:border-box;max-width:calc(100% - 32px);width:780px;max-height:calc(100% - 32px);margin:auto;padding:0;border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--ink);box-shadow:0 22px 85px #10202735;overflow:auto}
.cn-ref-dialog[open]{animation:cn-ref-enter .28s cubic-bezier(.2,.65,.3,1) both}
.cn-ref-dialog::backdrop{background:#10202782}
.cn-ref-window>header,.cn-ref-window>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px clamp(16px,4vw,30px);min-height:60px;background:var(--paper);color:var(--muted);font-size:13px}
.cn-ref-window>header button{width:44px;height:44px;border-radius:50%;font-size:26px;line-height:1}
.cn-ref-window>header button:hover{background:var(--line);color:var(--ink)}
.cn-ref-dots{display:flex;gap:5px}.cn-ref-dots i{width:6px;height:6px;border-radius:50%;background:var(--muted)}
.cn-ref-dots i:first-child{background:var(--orange)}
.cn-ref-preview{background:var(--ink);color:var(--paper);padding:clamp(32px,8vw,84px) clamp(20px,6vw,62px)}
.cn-ref-preview .eyebrow{color:var(--orange)}
.cn-ref-preview h2{font-size:clamp(35px,6.5vw,72px);margin:14px 0;overflow-wrap:anywhere}
.cn-ref-preview [data-cn-ref-location]{color:var(--paper);margin-top:12px}
.cn-ref-preview [data-cn-ref-choices]:not(:empty){display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.cn-ref-preview [data-cn-ref-choices] button{min-height:44px;padding:0 14px;border:1px solid #f4f5f273;border-radius:24px;font-size:13px;color:var(--paper)}
.cn-ref-preview [data-cn-ref-choices] button[aria-pressed="true"]{background:var(--paper);color:var(--ink)}
@keyframes cn-ref-enter{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.cn-ref-dialog[open]{animation:none}}
body.motion-paused .cn-ref-dialog[open]{animation:none}
.cn-project-references h4 a:hover{text-decoration:underline;text-underline-offset:4px}
.cn-ref-dialog{width:1000px}
.cn-ref-preview{padding:clamp(16px,3vw,28px);background:var(--paper);color:var(--ink)}
.cn-ref-preview h2{font-size:clamp(21px,3vw,33px);margin:7px 0 12px}
.cn-ref-preview [data-cn-ref-choices]:not(:empty){margin:0 0 14px}
.cn-ref-preview [data-cn-ref-choices] button{color:var(--ink);border-color:var(--line)}
.cn-ref-preview [data-cn-ref-choices] button[aria-pressed="true"]{background:var(--ink);color:var(--paper)}
.cn-ref-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);align-items:center;gap:clamp(18px,4vw,44px);padding:clamp(20px,4vw,48px);border-radius:12px;background:#111a24;color:#fff;min-height:clamp(240px,31vw,400px)}
.cn-ref-hero:has(img[hidden]){grid-template-columns:minmax(0,1fr)}
.cn-ref-hero[data-theme="cavusoglu"]{background:#171719}.cn-ref-hero[data-theme="bodrum"]{background:#071d37}.cn-ref-hero[data-theme="hobitek"]{background:#090a0d}
.cn-ref-hero h3{font-size:clamp(29px,4.8vw,62px);line-height:1.03;letter-spacing:-.045em;margin:10px 0 16px}
.cn-ref-hero [data-cn-ref-location]{margin:0;color:#f8ac7d;font-size:13px;font-weight:600}
.cn-ref-hero [data-cn-ref-summary]{color:#d4dde3;max-width:43ch;font-size:clamp(13px,1.5vw,16px);line-height:1.55}
.cn-ref-hero img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;border-radius:9px}
.cn-ref-hero img[hidden]{display:none}
.cn-ref-hero[data-theme="cavusoglu"] img{object-fit:contain}
@media(max-width:620px){.cn-ref-hero{grid-template-columns:minmax(0,1fr)}.cn-ref-hero img{aspect-ratio:16/9}}
