/* end of a case study: other projects */
.d3 .rel{padding-bottom:140px}
.d3 .rel h2{max-width:620px}
.d3 .rel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:48px}
.d3 .rel-card{position:relative;display:flex;flex-direction:column;height:100%;padding:8px;border-radius:18px;background:var(--card);transition:background-color .35s}
.d3 .rel-card:hover{background:#1d1d1d}
.d3 .rel-card:focus-within{outline:2px solid var(--dot);outline-offset:2px}
.d3 .rel-cover{position:relative;overflow:hidden;border-radius:12px;aspect-ratio:4/3}
.d3 .rel-cover img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.d3 .rel-card:hover .rel-cover img{transform:scale(1.05)}
.d3 .rel-flag{position:absolute;left:12px;top:12px;padding:3px 11px;border-radius:99px;background:rgba(0,0,0,.78);color:#fff;font-size:14px;font-weight:500}
.d3 .rel-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:16px;padding:18px 14px 14px}
.d3 .rel-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;width:100%;padding-bottom:16px;border-bottom:1px solid var(--card2)}
.d3 .rel-head h3{font-size:21px;letter-spacing:-.015em}
.d3 .rel-head h3 a::after{content:"";position:absolute;inset:0}
.d3 .rel-tag{padding:4px 12px;border-radius:99px;background:var(--card2);color:var(--g1);font-size:14px}
.d3 .rel-body p{color:var(--g2);font-size:16px;line-height:1.55}
.d3 .rel-more{display:inline-flex;align-items:center;gap:10px;margin-top:auto;padding-bottom:3px;border-bottom:1px solid var(--g4);font-size:15px;font-weight:600}
.d3 .rel-more .ico,.d3 .rel-links .ico{color:var(--dot);transition:transform .35s var(--ease)}
.d3 .rel-card:hover .rel-more{border-bottom-color:var(--dot)}
.d3 .rel-card:hover .rel-more .ico,.d3 .rel-links a:hover .ico{transform:translateX(5px)}
.d3 .rel-links{display:flex;flex-wrap:wrap;gap:18px 40px;margin-top:40px}
.d3 .rel-links a{display:inline-flex;align-items:center;gap:10px;padding-bottom:3px;border-bottom:1px solid var(--g4);font-size:16px;font-weight:600;transition:border-color .3s}
.d3 .rel-links a:hover{border-bottom-color:var(--dot)}
@media (max-width:1080px){.d3 .rel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.d3 .rel{padding-bottom:96px}.d3 .rel-grid{grid-template-columns:minmax(0,1fr);margin-top:32px}}

/* case study */
.d3 .cs-head{padding-top:150px;text-align:center}
.d3 .cs-crumb{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;color:var(--g3);font-size:14px}
.d3 .cs-crumb a{color:var(--g1);transition:color .3s}.d3 .cs-crumb a:hover{color:var(--text)}
.d3 .cs-crumb em{margin-left:6px;padding:3px 11px;border:1px solid var(--g4);border-radius:99px;color:var(--g1);font-family:var(--font);font-size:14px;font-style:normal;font-weight:600;letter-spacing:0}
.d3 .cs-head h1{max-width:960px;margin:26px auto 0;font-size:clamp(34px,4.6vw,64px);line-height:1.08;letter-spacing:-.03em;text-wrap:balance}
.d3 .cs-head p{max-width:640px;margin:22px auto 0;color:var(--g2);font-size:18px;line-height:1.6;text-wrap:pretty}
.d3 .cs-hero{margin-top:56px;padding:44px 44px 0;overflow:hidden;border-radius:20px;background:var(--card)}
.d3 .cs-screen{overflow:hidden;background:#fff}
.d3 .cs-screen img{display:block;width:100%;height:auto}
.d3 .cs-quote{max-width:800px;margin:112px auto 0;text-align:center}
.d3 .cs-quote blockquote{margin:0}
.d3 .cs-quote blockquote p{font-size:clamp(24px,2.6vw,34px);line-height:1.35;letter-spacing:-.02em;text-wrap:balance}
.d3 .cs-quote figcaption{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:28px;text-align:left}
.d3 .cs-face{display:flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--about);color:#fff;font-size:14px;font-weight:600}
.d3 .cs-quote figcaption strong,.d3 .cs-quote figcaption>span>span{display:block}
.d3 .cs-quote figcaption>span>span{color:var(--g3);font-size:14px}
.d3 .cs-body{padding-top:112px}
.d3 .cs-grid{display:grid;grid-template-columns:320px minmax(0,1fr);align-items:start;gap:72px;max-width:1150px}
.d3 .cs-facts{position:sticky;top:96px;padding:28px;border-radius:16px;background:var(--card)}
.d3 .cs-logo{color:var(--g1);font-size:18px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}
.d3 .cs-facts dl{margin:22px 0 0}
.d3 .cs-facts dl>div{padding:14px 0 0;margin-top:14px;border-top:1px solid var(--card2)}
.d3 .cs-facts dt{color:var(--g3);font-size:14px}
.d3 .cs-facts dd{margin:4px 0 0;font-size:16px;line-height:1.45}
.d3 .cs-text>div{margin-top:56px;padding-top:48px;border-top:1px solid var(--card2)}
.d3 .cs-intro{font-size:clamp(20px,1.9vw,24px);line-height:1.5;letter-spacing:-.01em}
.d3 .cs-text h2{margin-bottom:18px;font-size:28px;letter-spacing:-.02em}
.d3 .cs-text>div p{margin-top:12px;color:var(--g2);font-size:17px;line-height:1.7}
.d3 .cs-text ul{display:grid;gap:12px}
.d3 .cs-text li{position:relative;padding-left:22px;color:var(--g1);font-size:17px;line-height:1.55}
.d3 .cs-text li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--dot)}
.d3 .cs-scroll{padding-top:140px}
.d3 .cs-scroll h2{max-width:860px;margin:0 auto 48px;text-align:center}
@media (max-width:1080px){.d3 .cs-grid{grid-template-columns:minmax(0,1fr);gap:48px}.d3 .cs-facts{position:static}}
@media (max-width:700px){
  .d3 .cs-head{padding-top:116px}
  .d3 .cs-head p{font-size:16px}
  .d3 .cs-hero{margin-top:36px;padding:14px 14px 0}
  .d3 .cs-quote{margin-top:72px}
  .d3 .cs-body{padding-top:72px}
  .d3 .cs-text h2{font-size:23px}
  .d3 .cs-scroll{padding-top:88px}
  .d3 .cs-scroll h2{margin-bottom:28px}
}
