.tn-projects{--project-green:#0c7166;--project-paper:#f3faf8;--project-border:#d9e9e6;background:linear-gradient(140deg,#f2faf7,#f3f9fc);margin-block:0 48px;border-block:1px solid var(--project-border);padding-block:44px}
.tn-projects-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:28px}.tn-projects-heading .eyebrow{margin-bottom:10px}.tn-projects-heading>p{max-width:420px;font-size:15px;line-height:1.9}.tn-projects h2{font-size:clamp(28px,3vw,39px)}
.tn-project-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;margin:0 0 22px;padding:0}.tn-project-index li{min-width:0;border:1px solid var(--project-border);border-radius:14px;background:#fff;display:flex;gap:13px;align-items:center;padding:15px 17px}.tn-project-index .tn-project-current{padding:0;border-color:var(--project-green);box-shadow:inset 0 -3px var(--project-green)}.tn-project-current>a{display:flex;align-items:center;gap:13px;width:100%;padding:15px 17px;min-height:90px;border-radius:14px}.tn-project-current>a:hover{background:#edf8f3}.tn-project-number{display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:10px;background:var(--project-paper);color:var(--project-green);font-size:16px;font-weight:850}.tn-project-index strong,.tn-project-index small{display:block}.tn-project-index strong{font-size:16px}.tn-project-index small{font-size:12px;color:var(--muted);margin-top:3px}.tn-project-state{margin-inline-start:auto;white-space:nowrap;color:var(--muted);font-size:11px}.tn-project-current .tn-project-state{color:var(--project-green);font-weight:800}.tn-project-pending{background:rgba(255,255,255,.6)!important}.tn-project-pending .tn-project-number{background:#eaf0f2;color:#536b76}
.tn-project-feature{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.16fr);gap:36px;background:var(--paper);border:1px solid var(--project-border);border-radius:23px;padding:30px;box-shadow:0 16px 40px #10374e06;scroll-margin-top:120px}.tn-project-copy{align-self:center;min-width:0}.tn-project-category{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750;color:var(--project-green);margin-bottom:14px}.tn-project-category>span{width:7px;height:7px;border-radius:50%;background:var(--project-green)}.tn-project-feature h3{font-size:clamp(21px,2vw,28px);line-height:1.65;font-weight:850;text-wrap:pretty}.tn-project-description{font-size:14px;line-height:2.05;margin-top:16px}.tn-project-facts{display:grid;grid-template-columns:.8fr .8fr 1.4fr;padding:19px 0;margin:20px 0 16px;border-block:1px solid var(--project-border);gap:12px}.tn-project-facts>div+div{border-inline-start:1px solid var(--project-border);padding-inline-start:15px}.tn-project-facts dt{font-size:12px;color:var(--muted);margin-bottom:6px}.tn-project-facts dd{margin:0;font-size:24px;line-height:1.6;white-space:nowrap;color:var(--ink);font-weight:850}.tn-project-facts dd span{font-size:12px;font-weight:600}.tn-project-facts>div:last-child dd{font-size:20px}.tn-project-deliverables{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:23px}.tn-project-deliverables span{background:var(--project-paper);color:#285e54;padding:4px 9px;border-radius:6px;font-size:11px}.tn-project-cta{background:var(--project-green);white-space:normal;text-align:center;min-height:48px;font-size:13px}
.tn-project-visuals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:center;min-width:0}.tn-project-photo{margin:0;min-width:0}.tn-project-photo figcaption{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:800;margin-bottom:10px}.tn-photo-dot{width:7px;height:7px;border-radius:50%;background:#6d7e85}.tn-project-after .tn-photo-dot{background:var(--project-green)}.tn-project-after figcaption{color:var(--project-green)}.tn-project-photo>a{display:block;position:relative;overflow:hidden;border-radius:13px;background:#eaf0f2;border:1px solid var(--project-border);aspect-ratio:3/4}.tn-project-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.tn-photo-zoom{position:absolute;bottom:9px;inset-inline-end:9px;display:flex;align-items:center;gap:6px;padding:6px 9px;background:#10374ee8;color:#fff;border:1px solid #ffffff36;border-radius:7px;font-size:10px;min-height:32px}.tn-project-photo>a:hover .tn-photo-zoom{background:#0c7166}.tn-project-photo>a:focus-visible{outline-offset:3px}.tn-project-image-note{grid-column:1/-1;text-align:center;font-size:11px;color:var(--muted);margin-top:1px}
.tn-project-dialog{width:min(100% - 24px,1050px);max-height:94dvh;border:1px solid var(--project-border);border-radius:18px;padding:16px;background:#fff;color:var(--ink);overscroll-behavior:contain}.tn-project-dialog::backdrop{background:#082637d9}.tn-project-dialog:not([open]){display:none}.tn-project-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:12px}.tn-project-dialog-header h2{font-size:16px;line-height:1.6}.tn-project-dialog-header button{display:flex;align-items:center;gap:12px;flex:none;min-height:44px;padding:5px 13px;border:1px solid var(--project-border);border-radius:9px;background:var(--project-paper);color:var(--ink);font-size:13px}.tn-project-dialog-header button span{font-size:24px}.tn-project-dialog>img{display:block;width:100%;height:auto;max-height:calc(90dvh - 85px);object-fit:contain;background:#f2f5f6;border-radius:10px}
@media(max-width:1120px){.tn-project-index li,.tn-project-current>a{padding:13px 12px;gap:9px}.tn-project-current .tn-project-state{display:none}.tn-project-feature{gap:24px;padding:23px}.tn-project-facts{gap:8px}.tn-project-facts>div+div{padding-inline-start:10px}}
@media(max-width:1000px){.tn-project-feature{grid-template-columns:1fr}.tn-project-visuals{max-width:720px;width:100%;margin-inline:auto}.tn-project-copy{max-width:760px}.tn-project-feature h3{font-size:25px}.tn-project-facts{max-width:520px}.tn-project-index strong{font-size:15px}.tn-project-index small{font-size:11px}.tn-project-index .tn-project-state{display:none}}
@media(max-width:600px){.tn-projects{padding-block:38px;margin-block:15px 40px}.tn-projects-heading{display:block;margin-bottom:20px}.tn-projects-heading>p{margin-top:12px;font-size:13px}.tn-projects-heading .eyebrow{font-size:12px}.tn-project-index{gap:7px;margin-bottom:14px}.tn-project-index li,.tn-project-current>a{padding:12px 5px;gap:5px;flex-direction:column;text-align:center;min-height:87px}.tn-project-number{width:26px;height:26px;font-size:12px;border-radius:7px}.tn-project-index strong{font-size:12px}.tn-project-index small{display:none}.tn-project-feature{padding:17px;gap:22px;border-radius:17px}.tn-project-feature h3{font-size:21px;line-height:1.75}.tn-project-description{font-size:13px;margin-top:12px}.tn-project-facts{margin-top:17px;gap:6px}.tn-project-facts dt{font-size:10px}.tn-project-facts dd{font-size:22px}.tn-project-facts>div:last-child dd{font-size:17px}.tn-project-facts dd span{font-size:10px}.tn-project-deliverables{gap:5px;margin-bottom:18px}.tn-project-deliverables span{font-size:10px;padding:4px 7px}.tn-project-cta{width:100%;font-size:12px}.tn-project-visuals{gap:8px}.tn-project-photo figcaption{font-size:12px}.tn-photo-zoom{font-size:9px;padding:4px 6px;bottom:6px;inset-inline-end:6px}.tn-photo-zoom svg{width:13px;height:13px}.tn-project-image-note{font-size:10px}.tn-project-dialog{padding:12px}.tn-project-dialog-header h2{font-size:13px}}

/* Keep comparison photos compact; the dialog retains the complete images. */
.tn-project-feature{grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);gap:30px;padding:25px}
.tn-project-visuals{width:100%;max-width:400px;justify-self:end;align-self:center}
.tn-project-feature h3{font-size:24px;line-height:1.65}
.tn-project-current>a{min-height:76px}
.tn-project-index{margin-bottom:18px}
.tn-project-index li{padding-block:12px}
.tn-project-index .tn-project-current{padding:0}
.tn-project-facts{padding-block:14px;margin-block:16px 13px}
.tn-project-deliverables{margin-bottom:18px}
@media(max-width:1000px){.tn-project-feature{grid-template-columns:1fr;gap:22px}.tn-project-visuals{justify-self:center}.tn-project-feature h3{font-size:23px}}
@media(max-width:600px){.tn-projects{padding-block:30px;margin-block:0 32px}.tn-project-feature{padding:17px;gap:20px}.tn-project-feature h3{font-size:20px}.tn-project-current>a{min-height:76px}.tn-project-index li{min-height:76px}}

/* Home summaries; complete project content lives on its own page. */
.tn-project-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tn-project-card{display:flex;flex-direction:column;min-width:0;background:var(--paper);border:1px solid var(--project-border);border-radius:18px;overflow:hidden}
.tn-project-card-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px 12px 0}
.tn-project-card-photos figure{position:relative;margin:0;min-width:0}
.tn-project-card-photos a{display:block;border-radius:10px;overflow:hidden;background:#edf2f3;height:210px}
.tn-project-card-photos img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 38%;transition:filter .16s}
.tn-project-card-photos a:hover img{filter:brightness(1.06)}
.tn-project-card-photos figcaption{position:absolute;top:9px;inset-inline-start:9px;border-radius:6px;padding:4px 8px;background:#10374ee8;color:#fff;font-size:10px;font-weight:750;pointer-events:none}
.tn-project-card-photos figure:nth-child(2) figcaption{background:#0c7166}
.tn-project-card-body{display:flex;flex-direction:column;align-items:start;flex:1;padding:19px 22px 17px}
.tn-project-card-kind{font-size:11px;font-weight:750;color:var(--project-green);margin-bottom:9px}
.tn-project-card-kind span{color:#9ab5b0;margin-inline:7px}
.tn-project-card h3{font-size:20px;font-weight:850;line-height:1.7;margin:0 0 9px}
.tn-project-card h3 a:hover{color:var(--project-green)}
.tn-project-card-description{font-size:13px;line-height:1.95;margin-bottom:15px}
.tn-project-card-facts{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0 0 16px;padding:0}
.tn-project-card-facts li{font-size:10px;font-weight:650;color:#305e54;background:var(--project-paper);padding:4px 7px;border-radius:5px;white-space:nowrap}
.tn-project-card-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding-top:10px;margin-top:auto;border-top:1px solid var(--project-border);font-size:13px;font-weight:800;color:var(--project-green)}
.tn-project-card-link:hover{text-decoration:underline;text-underline-offset:4px}
.tn-project-card-link .icon{width:18px;height:18px}
.tn-project-card-placeholder{position:relative;display:grid;place-items:center;align-content:center;gap:12px;height:210px;margin:12px 12px 0;border-radius:10px;overflow:hidden;color:#739e99;background-color:#eaf5f2;background-image:linear-gradient(#a2c9bf30 1px,transparent 1px),linear-gradient(90deg,#a2c9bf30 1px,transparent 1px);background-size:25px 25px}
.tn-project-card-pending:last-child .tn-project-card-placeholder{background-color:#edf4f9;color:#769aaa;background-image:linear-gradient(#a4c2d330 1px,transparent 1px),linear-gradient(90deg,#a4c2d330 1px,transparent 1px)}
.tn-placeholder-number{position:absolute;top:10px;inset-inline-start:13px;font-size:17px;font-weight:850;opacity:.65}
.tn-placeholder-label{font-size:11px;color:#496b65}
.tn-project-card-placeholder svg{opacity:.8}
.tn-project-card-pending:last-child .tn-placeholder-label{color:#496878}
.tn-project-card-pending h3{color:#45636c}
.tn-project-card-pending .tn-project-card-description{max-width:290px}
.tn-project-coming-soon{display:flex;align-items:center;min-height:46px;width:100%;border-top:1px solid var(--project-border);padding-top:10px;margin-top:auto;color:var(--muted);font-size:12px}
.tn-projects-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px}
.tn-projects-footer p{font-size:13px}.tn-projects-footer a{font-size:13px;white-space:nowrap}
.tn-project-detail{--project-green:#0c7166;--project-paper:#f3faf8;--project-border:#d9e9e6;background:linear-gradient(140deg,#f2faf7,#f3f9fc)}
.tn-project-detail-heading{max-width:860px;margin-bottom:30px}
.tn-project-detail-heading h1{font-size:clamp(28px,4vw,46px);line-height:1.6;font-weight:900;margin-bottom:12px}
.tn-project-detail-heading>p:last-child{font-size:15px}
.tn-project-return{margin-top:25px;font-size:14px}
.tn-project-detail .tn-project-feature h2{font-size:24px;line-height:1.65;font-weight:850;text-wrap:pretty}
@media(max-width:1100px){.tn-project-cards{gap:14px}.tn-project-card-body{padding-inline:17px}.tn-project-card h3{font-size:18px}.tn-project-card-photos a,.tn-project-card-placeholder{height:185px}}
@media(max-width:800px){.tn-project-cards{grid-template-columns:1fr;max-width:520px;margin-inline:auto}.tn-project-card-photos a,.tn-project-card-placeholder{height:210px}.tn-project-card-pending{display:grid;grid-template-columns:110px minmax(0,1fr)}.tn-project-card-placeholder{height:auto;min-height:165px;margin:10px 0 10px 10px;border-radius:10px}.tn-project-card-placeholder svg{width:65px;height:65px}.tn-project-card-placeholder .tn-placeholder-label{display:none}.tn-placeholder-number{font-size:12px}.tn-project-card-pending .tn-project-card-body{padding:18px 14px}.tn-projects-footer{align-items:start;flex-direction:column;gap:5px}}
@media(max-width:400px){.tn-project-card-photos a{height:180px}.tn-project-card h3{font-size:17px}.tn-project-card-body{padding:16px}.tn-project-card-pending{grid-template-columns:90px minmax(0,1fr)}.tn-project-card-photos figcaption{font-size:9px;padding-inline:6px}}
@media(max-width:600px){.tn-project-detail .tn-project-feature h2{font-size:20px}}

/* One project at a time; navigation is manual and keyboard accessible. */
.tn-project-carousel{max-width:980px;margin-inline:auto}
.tn-project-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:15px}
.tn-project-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;border:1px solid var(--project-border);border-radius:11px;background:#ffffffb3;color:var(--muted);font-weight:750;font-size:14px;padding:9px 12px;transition:background .16s,border-color .16s,color .16s}
.tn-project-tabs button>span{display:grid;place-items:center;width:26px;height:26px;background:#eaf1f2;border-radius:7px;font-size:11px}
.tn-project-tabs button[aria-selected="true"]{border-color:var(--project-green);background:#fff;color:var(--project-green);box-shadow:inset 0 -3px var(--project-green)}
.tn-project-tabs button[aria-selected="true"]>span{background:#e6f5ee}
.tn-project-tabs button:hover{background:#fff;border-color:#9dbfb5}
.tn-project-carousel .tn-project-stage{display:block;max-width:none;margin:0;min-height:310px;transform-origin:50% 50%}
.tn-project-carousel .tn-project-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);min-height:310px;padding:12px;align-items:center;gap:10px}
.tn-project-carousel .tn-project-card[hidden]{display:none!important}
.tn-project-carousel .tn-project-card-body{order:1;min-height:270px;padding:18px 22px}
.tn-project-carousel .tn-project-card-photos{order:2;padding:0;gap:8px}
.tn-project-carousel .tn-project-card-photos a{height:235px}
.tn-project-carousel .tn-project-card-placeholder{order:2;height:235px;min-height:0;margin:0}
.tn-project-carousel .tn-project-card-placeholder svg{width:108px;height:108px}
.tn-project-carousel .tn-project-card-placeholder .tn-placeholder-label{display:block}
.tn-project-carousel .tn-project-card-pending .tn-project-card-body{padding:18px 22px}
.tn-project-carousel .tn-project-card-pending .tn-project-card-description{max-width:370px}
.tn-project-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:16px}
.tn-project-arrow{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:98px;padding:7px 13px;border:1px solid var(--project-border);border-radius:9px;background:#fff;color:var(--project-green);font-size:12px;font-weight:800}
.tn-project-arrow:hover{background:#e7f5ed;border-color:#a1c9b8}
.tn-project-pager{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:var(--muted)}
.tn-project-pager bdi{color:var(--project-green);font-weight:850;font-size:14px;white-space:nowrap}
@media(max-width:700px){.tn-project-tabs{gap:7px}.tn-project-tabs button{gap:6px;font-size:12px;padding:9px 5px}.tn-project-tabs button>span{width:23px;height:23px;font-size:10px}.tn-project-carousel .tn-project-card{display:flex;padding:12px;gap:0;min-height:475px}.tn-project-carousel .tn-project-card-photos{order:0;width:100%}.tn-project-carousel .tn-project-card-photos a{height:205px}.tn-project-carousel .tn-project-card-body{order:1;width:100%;min-height:245px;padding:16px 9px 4px}.tn-project-carousel .tn-project-card-placeholder{order:0;width:100%;height:205px;flex:none}.tn-project-carousel .tn-project-card-pending .tn-project-card-body{padding:16px 9px 4px}.tn-project-carousel .tn-project-stage{min-height:475px}.tn-project-pager{flex-direction:column;gap:0;font-size:10px}.tn-project-arrow{min-width:78px;padding-inline:10px}}
@media(max-width:374px){.tn-project-tabs button{font-size:11px;gap:4px}.tn-project-tabs button>span{display:none}.tn-project-carousel .tn-project-card-photos a{height:185px}.tn-project-carousel .tn-project-card-placeholder{height:185px}.tn-project-arrow{min-width:72px}}
@media(min-width:1100px){.tn-projects-heading>p{max-width:none;white-space:nowrap;flex-shrink:0}}

/* Four real projects; single photos retain their own caption. */
.tn-project-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.tn-project-tabs button{font-size:13px;gap:7px}
.tn-project-card-photos-single{grid-template-columns:1fr}
.tn-project-card-photos-single img{object-position:50% 48%}
.tn-project-photo-borna img{object-position:50% 68%}
.tn-project-visuals-single{grid-template-columns:1fr;max-width:320px}
.tn-project-visuals-single .tn-project-photo>a{max-height:390px}
.tn-project-visuals-single img{object-fit:contain}
.tn-project-facts-flex{display:flex;flex-wrap:wrap;gap:18px}
.tn-project-facts-flex dd{font-size:20px!important;white-space:normal}
.tn-project-tabs button:focus-visible,.tn-project-arrow:focus-visible{outline:3px solid var(--project-green);outline-offset:3px}
@media(max-width:700px){.tn-project-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.tn-project-tabs button{min-height:48px;font-size:12px}.tn-project-visuals-single{max-width:280px}.tn-project-facts-flex{gap:12px}}

/* Match the gentle lift used by the other home cards. */
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .tn-project-tabs button,.tn-project-carousel .tn-project-card{transition:transform .2s ease,box-shadow .2s ease,border-color .16s,background .16s,color .16s}
  .tn-project-tabs button:hover,.tn-project-carousel .tn-project-card:hover{transform:translateY(-4px);box-shadow:var(--float-raised,0 12px 28px #10374e14)}
}

/* Give the full desktop introduction its own line; let smaller screens wrap naturally. */
.tn-projects-heading{display:block}.tn-projects-heading>p{max-width:none;margin-top:12px}
@media(max-width:1099px){.tn-projects-heading>p{white-space:normal}}
@media(prefers-reduced-motion:reduce){.tn-project-tabs button,.tn-project-carousel .tn-project-card,.tn-project-stage{transition:none!important;animation:none!important;transform:none!important}}
