.reference-showcase,.reference-project,.reference-story,.reference-gallery{--ref-ink:#0b1821;--ref-muted:#53616a;--ref-line:#dce2e4;--ref-orange:#d9360b;color:var(--ref-ink)}
.reference-showcase{padding:170px 0 42px;background:#eef0ed}
.reference-eyebrow{display:block;color:var(--ref-orange);font:600 11px/1.6 Inter,sans-serif;letter-spacing:.18em;text-transform:uppercase;margin-bottom:18px}
.reference-intro,.reference-project-heading{display:grid;grid-template-columns:1.15fr 1fr;gap:70px;align-items:end;margin-bottom:44px}
.reference-intro h1,.reference-project h1{font:700 clamp(40px,5vw,70px)/1.08 Poppins,sans-serif;letter-spacing:-.055em;margin:0;max-width:700px}
.reference-intro>p,.reference-project-heading>p{font-size:17px;line-height:1.85;margin:0;color:var(--ref-muted);max-width:460px;justify-self:end}
.reference-project-link{margin-top:auto;display:flex;width:100%;align-items:center;justify-content:space-between;border-top:1px solid var(--ref-line);padding-top:20px;font-size:14px;font-weight:600;color:var(--ref-ink);text-decoration:none;gap:12px}
.reference-project-link span{width:40px;height:40px;border-radius:50%;background:var(--ref-ink);color:white;display:grid;place-items:center;font-size:22px;transition:background .2s}
.reference-project-link:hover span{background:var(--ref-orange)}
.reference-lightbox-stage button{width:46px;height:46px;display:grid;place-items:center;border:1px solid #bac5c5;border-radius:50%;background:transparent;font-size:23px;color:var(--ref-ink);cursor:pointer}
.reference-lightbox-stage button:disabled{opacity:.3;cursor:default}
.reference-footer-note{display:flex;justify-content:space-between;gap:20px;padding-top:18px;border-top:1px solid #cdd5d2;font-size:11px;color:var(--ref-muted)}
.reference-footer-note>span{letter-spacing:.1em}
.reference-footer-note a{color:var(--ref-ink);text-decoration:none;font-size:12px;font-weight:600}
.reference-footer-note a span{margin-left:12px}
.reference-story{padding:90px 0;background:#fff}
.reference-section-heading{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:end;margin-bottom:38px}
.reference-section-heading h2,.reference-brief h2{font:700 clamp(28px,3.1vw,42px)/1.2 Poppins,sans-serif;letter-spacing:-.04em;margin:0}
.reference-section-heading>p{font-size:15px;line-height:1.9;color:var(--ref-muted);margin:0;max-width:480px;justify-self:end}
.reference-chapter{border-top:1px solid var(--ref-line);padding:0}
.reference-chapter:last-child{border-bottom:1px solid var(--ref-line)}
.reference-chapter summary{list-style:none;display:flex;gap:24px;align-items:center;padding:23px 0;cursor:pointer}
.reference-chapter summary::-webkit-details-marker{display:none}
.reference-chapter-number{font-size:11px;color:var(--ref-muted);font-variant-numeric:tabular-nums;flex:0 0 28px}
.reference-chapter h3{font:600 19px/1.5 Inter,sans-serif;margin:0;letter-spacing:-.02em}
.reference-chapter-toggle{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;margin-left:auto;border:1px solid var(--ref-line);border-radius:50%;font-size:22px;transition:transform .2s}
.reference-chapter[open] .reference-chapter-toggle{transform:rotate(45deg);background:var(--ref-ink);color:white;border-color:var(--ref-ink)}
.reference-chapter-content{display:grid;grid-template-columns:1fr 1.2fr;gap:50px;padding:8px 0 35px 52px;align-items:start}
.reference-chapter-content figure{margin:0;background:#edf0ee;border-radius:14px;overflow:hidden;position:sticky;top:115px}
.reference-chapter-content img{width:100%;height:auto;aspect-ratio:1.5;object-fit:contain;display:block}
.reference-chapter-content p{font-size:15px;line-height:1.95;color:var(--ref-muted);margin:0 0 19px}
.reference-chapter-content p:last-child{margin:0}
.reference-project{padding:142px 0 76px;background:#f5f5f0}
.reference-back{display:inline-flex;font-size:12px;color:var(--ref-muted);text-decoration:none;margin-bottom:38px;padding:7px 0}
.reference-project-heading{margin-bottom:32px}
.reference-project h1{font-size:clamp(42px,5.5vw,78px)}
.reference-meta{display:flex;align-items:center;gap:25px;border-top:1px solid #d4dad5;padding-top:21px;margin-bottom:35px;font-size:12px;color:var(--ref-muted);flex-wrap:wrap}
.reference-meta a{margin-left:auto;color:var(--ref-ink);text-decoration:none;font-weight:600}
.reference-project-cover{margin:0;border-radius:20px;overflow:hidden;background:#dde3df;display:grid;place-items:center;padding:36px}
.reference-project-cover img{display:block;max-width:900px;width:100%;height:auto;border-radius:8px}
.reference-brief{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-top:70px;scroll-margin-top:125px}
.reference-brief>div>p{font-size:16px;line-height:1.95;color:var(--ref-muted);margin:24px 0 0}
.reference-tasks h3{font:600 14px Inter,sans-serif;margin:4px 0 20px}
.reference-tasks ol{list-style:none;margin:0;padding:0}
.reference-tasks li{display:flex;gap:22px;border-top:1px solid #d4dad5;padding:21px 0}
.reference-tasks li>span{font-size:11px;color:var(--ref-orange);padding-top:5px}
.reference-tasks h4{font:600 17px/1.5 Inter,sans-serif;margin:0}
.reference-tasks p{font-size:14px;line-height:1.85;color:var(--ref-muted);margin:9px 0 0}
.reference-gallery{padding:76px 0;background:#101f29;color:#fff}
.reference-gallery .reference-eyebrow{color:#ff916e}
.reference-gallery .reference-section-heading>p{color:#bac6cc}
.reference-image-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.reference-image-grid--single{grid-template-columns:minmax(0,850px);justify-content:center}
.reference-image-grid figure{margin:0;min-width:0}
.reference-image-grid a{display:block;position:relative;border-radius:14px;overflow:hidden;background:#233640;outline-offset:5px}
.reference-image-grid img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:contain;transition:transform .4s}
.reference-image-grid a:hover img{transform:scale(1.02)}
.reference-image-grid a>span{position:absolute;bottom:18px;right:18px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:white;color:#14232d;font-size:22px}
.reference-image-grid figcaption{font-size:12px;line-height:1.7;color:#bdc8ce;padding-top:12px}
.reference-lightbox{padding:22px;border:0;border-radius:16px;background:#12222d;color:white;width:min(1100px,94vw);max-width:94vw;max-height:94dvh;overflow:auto}
.reference-lightbox::backdrop{background:#02090eea;backdrop-filter:blur(7px)}
.reference-lightbox-toolbar{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:16px}
.reference-lightbox-toolbar button{border:1px solid #627580;border-radius:30px;background:transparent;color:white;min-height:44px;padding:8px 17px;cursor:pointer}
.reference-lightbox-stage{display:flex;gap:16px;align-items:center;justify-content:center;min-height:140px}
.reference-lightbox-stage img{display:block;max-width:calc(100% - 124px);max-height:68dvh;object-fit:contain;min-width:0}
.reference-lightbox-stage button{flex-shrink:0;color:white;border-color:#637582}
.reference-lightbox-stage button[hidden]{display:none}
.reference-lightbox:has([data-gallery-prev][hidden]) .reference-lightbox-stage img{max-width:100%}
.reference-lightbox>p{margin:16px 62px 0;font-size:13px;line-height:1.7;color:#d0d9dd;text-align:center}
html:has(.reference-lightbox[open]){overflow:hidden}
@media(max-width:820px){
 .reference-showcase{padding-top:130px}.reference-intro,.reference-project-heading{grid-template-columns:1fr;gap:22px;margin-bottom:30px}.reference-intro>p,.reference-project-heading>p{justify-self:start;max-width:600px;font-size:15px}.reference-project-link{font-size:13px;padding-top:14px}.reference-section-heading{grid-template-columns:1fr;gap:18px;margin-bottom:28px}.reference-section-heading>p{justify-self:start}.reference-story,.reference-gallery{padding:58px 0}.reference-chapter-content{gap:26px;padding-left:0;grid-template-columns:.85fr 1fr}.reference-chapter h3{font-size:17px}.reference-chapter summary{gap:14px}.reference-chapter-number{flex-basis:20px}.reference-project{padding:122px 0 55px}.reference-project-cover{padding:20px}.reference-brief{gap:35px;margin-top:48px}.reference-meta{gap:15px}.reference-meta a{margin-left:0}.reference-back{margin-bottom:26px}
}
@media(max-width:560px){
 .reference-intro h1,.reference-project h1{font-size:40px}.reference-eyebrow{font-size:10px;margin-bottom:12px}.reference-footer-note{flex-direction:column;gap:13px}.reference-section-heading h2,.reference-brief h2{font-size:29px}.reference-chapter-content{grid-template-columns:1fr;gap:24px}.reference-chapter-content figure{position:static}.reference-chapter-content p{font-size:14px}.reference-chapter summary{padding:19px 0;gap:10px}.reference-chapter h3{font-size:16px}.reference-chapter-toggle{width:30px;height:30px}.reference-project-cover{padding:12px;border-radius:13px}.reference-brief{grid-template-columns:1fr;gap:35px}.reference-brief>div>p{font-size:15px}.reference-meta{font-size:11px;gap:12px 22px}.reference-image-grid{grid-template-columns:1fr}.reference-lightbox{padding:14px}.reference-lightbox-stage{flex-wrap:wrap;gap:12px}.reference-lightbox-stage img{order:-1;max-width:100%;max-height:60dvh;width:100%}.reference-lightbox>p{margin:14px 0 0}
}
@media(prefers-reduced-motion:reduce){.reference-image-grid img,.reference-chapter-toggle{transition:none}}
.reference-tags{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 22px}
.reference-tags span{border:1px solid var(--ref-line);padding:6px 9px;color:var(--ref-muted);font-size:11px;line-height:1.2}
.reference-chapter-heading{display:flex;gap:24px;align-items:baseline;padding:28px 0 18px}
.reference-chapter-content{padding-top:0;padding-bottom:42px}
.reference-chapter-content figure{border-radius:4px}
.reference-meta a{margin-left:0}
.reference-meta a:last-child{margin-left:auto}
.reference-project-cover{border-radius:6px}
.reference-project-cover img{max-width:1100px}
.reference-image-grid a{border-radius:4px}
.reference-showcase button:focus-visible,.reference-project a:focus-visible,.reference-gallery a:focus-visible,.reference-gallery button:focus-visible{outline:3px solid #ec603b;outline-offset:4px}
@media(max-width:560px){.reference-chapter-heading{gap:12px}.reference-chapter-content{padding-bottom:30px}.reference-meta a:last-child{margin-left:0}}
.reference-filters{display:grid;gap:12px;margin-bottom:26px}
.reference-filters[hidden],.reference-filter-group button[hidden]{display:none}
.reference-filter-group{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.reference-filter-group>span{min-width:58px;font-size:11px;font-weight:700;color:var(--ref-muted);text-transform:uppercase}
.reference-filter-group button{min-height:40px;border:1px solid #b7c4c0;border-radius:4px;padding:8px 12px;background:transparent;color:var(--ref-ink);font:600 12px Inter,sans-serif;cursor:pointer}
.reference-filter-group button span{margin-left:5px;color:var(--ref-muted);font-size:10px;font-variant-numeric:tabular-nums}
.reference-filter-group button[aria-pressed=true]{background:var(--ref-ink);border-color:var(--ref-ink);color:#fff}
.reference-filter-group button[aria-pressed=true] span{color:#cad7d8}
.reference-collection{scroll-margin-top:112px}
.reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.reference-card{display:grid;grid-template-columns:41% minmax(0,1fr);min-width:0;min-height:276px;overflow:hidden;border:1px solid #d1dcd9;border-radius:4px;background:#fff;scroll-margin-top:112px;transition:border-color .2s}
.reference-card:hover{border-color:#91aaa4}
.reference-card[hidden]{display:none}
.reference-card .reference-cover{display:block;position:relative;min-width:0;min-height:0;background:#e5eae8;border-right:1px solid #d1dcd9;overflow:hidden}
.reference-card .reference-cover img{position:absolute;inset:14px;width:calc(100% - 28px);height:calc(100% - 28px);min-height:0;aspect-ratio:auto;object-fit:contain;object-position:center;transition:none}
.reference-card .reference-cover:hover img{transform:none}
.reference-card .reference-cover-label{position:absolute;left:14px;bottom:14px;border-radius:3px;padding:6px 8px;font-size:10px;font-weight:600;background:#fff;color:var(--ref-ink)}
.reference-card-body{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:22px 23px 18px}
.reference-card-meta{display:flex;align-items:center;gap:12px;color:var(--ref-muted);font-size:11px;margin-bottom:11px}
.reference-card-meta span:first-child{font-variant-numeric:tabular-nums;color:var(--ref-orange);font-weight:700}
.reference-card-body h2{font:700 23px/1.25 Poppins,sans-serif;margin:0 0 10px;overflow-wrap:anywhere}
.reference-card-body>p{font-size:13px;line-height:1.65;color:var(--ref-muted);margin:0 0 14px}
.reference-card .reference-tags{gap:5px;margin-bottom:15px}
.reference-card .reference-tags span{font-size:10px;padding:5px 7px}
.reference-card .reference-project-link{font-size:12px;padding-top:12px}
.reference-card .reference-project-link span{width:32px;height:32px;font-size:18px;flex-shrink:0}
.reference-pagination{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 0 16px}
.reference-pagination[hidden],.reference-pagination button[hidden]{display:none}
.reference-pagination>span{font-size:12px;font-weight:600;color:var(--ref-muted);font-variant-numeric:tabular-nums}
.reference-pagination-actions{display:flex;gap:10px;margin-left:auto}
.reference-pagination button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:52px;padding:11px 18px;border:1px solid var(--ref-ink);border-radius:4px;font:700 13px Inter,sans-serif;cursor:pointer;white-space:nowrap}
.reference-page-prev{background:transparent;color:var(--ref-ink)}
.reference-page-next{background:var(--ref-ink);color:#fff}
.reference-pagination button:hover{border-color:var(--ref-orange);background:var(--ref-orange);color:#fff}
.reference-pagination button span{font-size:20px;line-height:1}
@media(max-width:1100px){.reference-card{grid-template-columns:38% minmax(0,1fr)}.reference-card-body{padding:18px}.reference-card-body h2{font-size:20px}}
@media(max-width:900px){.reference-grid{grid-template-columns:1fr}.reference-card{grid-template-columns:40% minmax(0,1fr);min-height:250px}}
@media(max-width:560px){.reference-filter-group>span{width:100%}.reference-grid{gap:14px}.reference-card{grid-template-columns:1fr;min-height:0}.reference-card .reference-cover{height:220px;border-right:0;border-bottom:1px solid #d1dcd9}.reference-card-body{padding:18px}.reference-card-body h2{font-size:22px}.reference-pagination{flex-direction:column;align-items:stretch}.reference-pagination-actions{width:100%;margin:0;display:grid;grid-template-columns:1fr}.reference-pagination button{width:100%}}
