/* Authored artifacts and an actual results ledger in the rooftop palette. */
.ctf-credits-strip{display:grid;grid-template-columns:154px minmax(0,1fr) 164px;align-items:center;gap:30px;padding:20px 0 28px;margin-bottom:30px;border-bottom:1px solid var(--work-line)}
.ctf-credits-cover{display:block;padding:5px;border:1px solid #4a5942;background:#202b20;border-radius:10px;transform:rotate(-2deg)}
.ctf-credits-cover img{display:block;width:100%;height:auto;border-radius:5px}
.ctf-credit-list{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0}
.ctf-credit-list dt{font-family:var(--display);font-size:20px;font-weight:500;letter-spacing:-.02em;line-height:1.3}
.ctf-credit-list dd{margin:6px 0 0;color:#b4c3ac;font-size:12px;line-height:1.65}
.ctf-announcement{line-height:1.6;align-items:center}
.ctf-announcement svg{align-self:center}
.work-page .challenge-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;column-gap:20px}
.challenge-card{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;min-height:280px;padding:28px;border:1px solid #3b4a34;border-radius:14px;background:#141e17;overflow:hidden;transition:background-color 240ms ease-out,border-color 240ms ease-out,transform 360ms cubic-bezier(.16,1,.3,1)}
.challenge-card-wide{grid-column:span 2;background:#1c291c}
.challenge-card:nth-child(2),.challenge-card:nth-child(6){background:#24251c;border-color:#4d513e}
.challenge-card::before{content:"";position:absolute;z-index:-1;width:76px;height:76px;right:-40px;top:-40px;border:1px solid #7d9467;transform:rotate(45deg) translateX(30px);opacity:0;transition:transform 420ms cubic-bezier(.16,1,.3,1),opacity 200ms ease-out}
.challenge-card h3{margin:0 0 16px;font-family:var(--display);font-size:24px;font-weight:550;line-height:1.25;letter-spacing:-.025em}
.challenge-card-wide h3{font-size:30px}
.challenge-title{display:flex;justify-content:space-between;align-items:start;gap:18px;color:var(--ink);text-decoration:none}
.challenge-title::after{content:"";position:absolute;inset:0;z-index:1}
.work-page .challenge-title>svg{width:21px;height:21px;margin-top:4px;transition:transform 350ms cubic-bezier(.16,1,.3,1)}
.challenge-card>p{margin:0;color:#c5d0bf;font-size:15px;line-height:1.75;max-width:64ch}
.challenge-card-foot{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-top:auto;padding-top:22px}
.challenge-topic{font-size:12px;line-height:1.7;color:#b6caa5;max-width:19ch;padding-bottom:5px}
.work-page .challenge-art{display:block;width:116px;height:68px;flex:none;stroke:#73866a;stroke-width:1.55;fill:none;overflow:visible;opacity:.9;transition:stroke 300ms ease-out}
.work-page .challenge-card-wide .challenge-art{width:164px;height:84px}
.challenge-trace{stroke:#bfd6a5;stroke-width:2.25;stroke-dasharray:190;stroke-dashoffset:190;opacity:0;transition:stroke-dashoffset 650ms cubic-bezier(.16,1,.3,1),opacity 300ms ease-out}
.challenge-card:is(:hover,:focus-within){background:#223223;border-color:#9db783;transform:translateY(-4px)}
.challenge-card:is(:hover,:focus-within)::before{transform:rotate(45deg) translateX(0);opacity:1}
.challenge-card:is(:hover,:focus-within) .challenge-title>svg{transform:translateX(5px)}
.challenge-card:is(:hover,:focus-within) .challenge-art{stroke:#a1b491}
.challenge-card:is(:hover,:focus-within) .challenge-trace{stroke-dashoffset:0;opacity:1}
.challenge-card:focus-within{outline:2px solid var(--orange);outline-offset:4px}
.challenge-title:focus-visible{outline:none}
.ctf-collection-source{margin-top:22px}
.work-page .competition-subtitle{font-size:32px;font-weight:550;line-height:1.25;letter-spacing:-.025em;margin:64px 0 20px}
.results-board{max-width:100%;overflow:auto;padding:18px 26px 24px;border:1px solid #3d4e35;border-radius:16px;background:#101a13;scrollbar-color:#8c9f78 #18231a}
.results-board .results-table{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0 8px;text-align:left;font-size:14px;font-variant-numeric:tabular-nums}
.result-col-title{width:61%}.result-col-place{width:25%}.result-col-date{width:14%}
.results-table :is(th,td){border:0;font-weight:400}
.results-board .results-table thead th{padding:4px 20px 12px;font-size:12px;line-height:1.5;color:#b6c6aa}
.results-board .results-table thead th:nth-child(2){padding-left:20px}
.results-board .results-table thead th:last-child{text-align:right}
.results-board .results-table tbody :is(th,td){background:#1a271c;padding:22px 20px;border:0;vertical-align:middle;transition:background-color 200ms ease-out}
.results-table tbody th:first-child{border-radius:10px 0 0 10px}
.results-table tbody td:last-child{border-radius:0 10px 10px 0}
.results-board .results-table tbody tr.result-medalled :is(th,td){background:#282c1d}
.results-board .results-table tbody tr:is(:hover,:focus-within) :is(th,td){background:#2c3d28}
.results-board .competition-name{display:inline-flex;align-items:start;gap:14px;max-width:100%;font-family:var(--display);font-size:20px;font-weight:500;letter-spacing:-.02em;line-height:1.4;text-decoration:none;min-height:0}
.results-board .competition-name:hover{text-decoration:underline;text-underline-offset:5px}
.results-board .competition-name svg{margin-top:6px}
.result-medal-credit{display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;margin-top:12px;font-size:12px;line-height:1.6;color:#d1c8af}
.result-medal{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#edc398}
.work-page .result-medal svg{width:19px;height:19px;stroke-width:1.6}
.results-board .result-place{white-space:normal}
.results-board .result-place strong{display:block;font-family:var(--display);font-size:36px;font-weight:500;line-height:1.05;letter-spacing:-.035em;color:#d4e4bc}
.results-board .result-total{display:block;font-size:13px;line-height:1.5;margin-top:7px;color:#b5c5a8}
.results-board .result-date{text-align:right;white-space:normal}
.result-date time{display:block;font-size:12px;line-height:1.7;color:#b8c9ad}
.result-date time>span{display:block;font-family:var(--display);font-size:23px;line-height:1.15;color:var(--ink)}
.results-board .results-table caption{caption-side:bottom;text-align:left;padding:13px 0 0;font-size:12px;line-height:1.7;color:#adbea2}
@media(max-width:1050px){
 .ctf-credits-strip{grid-template-columns:126px minmax(0,1fr) 148px;gap:22px}
 .ctf-credit-list{gap:18px}
 .ctf-credit-list dt{font-size:18px}
 .work-page .challenge-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}
 .challenge-card-wide{grid-column:auto}
 .challenge-card-wide h3{font-size:25px}
 .work-page .challenge-card-wide .challenge-art{width:116px;height:68px}
 .challenge-card:last-child{grid-column:1/-1;min-height:230px}
 .challenge-card:last-child .challenge-art{width:164px;height:84px}
 .results-board{padding:16px 18px 22px}
 .results-board .competition-name{font-size:18px}
 .results-board .result-place strong{font-size:32px}
}
@media(max-width:760px){
 .ctf-credits-strip{grid-template-columns:110px minmax(0,1fr);gap:14px 22px;padding-top:4px;padding-bottom:22px;margin-bottom:26px}
 .ctf-credits-cover{grid-row:1/3}
 .ctf-announcement{grid-column:2;justify-self:start;font-size:13px}
 .ctf-credit-list{gap:18px}
 .ctf-credit-list dd{font-size:12px}
 .challenge-card{padding:24px;min-height:280px}
 .challenge-card h3{font-size:24px}
 .results-board .results-table tbody :is(th,td){padding:20px 14px}
 .results-board .results-table thead th{padding:4px 14px 10px}
 .results-board .results-table thead th:nth-child(2){padding-left:14px}
 .result-col-title{width:57%}.result-col-place{width:26%}.result-col-date{width:17%}
 .results-board .competition-name{font-size:17px}
 .results-board .result-place strong{font-size:30px}
}
@media(max-width:600px){
 .ctf-credits-strip{grid-template-columns:96px minmax(0,1fr);gap:16px 20px}
 .ctf-credit-list{grid-template-columns:1fr;gap:14px}
 .ctf-credit-list dt{font-size:18px}
 .ctf-credit-list dd{font-size:12px;margin-top:3px}
 .ctf-announcement{grid-column:1/-1}
 .ctf-credits-cover{grid-row:auto;align-self:center}
 .work-page .challenge-catalog{grid-template-columns:1fr;gap:16px}
 .challenge-card,.challenge-card:last-child{grid-column:auto;padding:24px;min-height:270px}
 .challenge-card h3{font-size:25px}
 .challenge-card>p{font-size:15px}
 .challenge-card-foot{padding-top:18px;gap:14px}
 .challenge-topic{max-width:19ch}
 .work-page .challenge-card:last-child .challenge-art{width:116px;height:68px}
 .results-board{padding:11px 8px 17px;border-radius:14px}
 .result-col-title{width:55%}.result-col-place{width:27%}.result-col-date{width:18%}
 .results-board .results-table thead th,.results-board .results-table thead th:nth-child(2){padding:4px 8px 8px;font-size:12px;line-height:1.6;white-space:normal}
 .results-board .results-table tbody :is(th,td){padding:19px 8px}
 .results-board .competition-name{font-size:15px;line-height:1.5;gap:5px;overflow-wrap:break-word}
 .results-board .competition-name svg{width:13px;height:13px;margin-top:5px}
 .results-board .result-place strong{font-size:28px;letter-spacing:-.025em}
 .results-board .result-total{font-size:12px;line-height:1.6;margin-top:5px}
 .result-date time{font-size:12px}
 .result-date time>span{font-size:17px}
 .result-medal-credit{font-size:12px;gap:4px;margin-top:10px}
 .result-medal{font-size:12px;gap:5px}
 .work-page .result-medal svg{width:15px;height:15px}
 .results-board .results-table caption{font-size:12px;padding:10px 7px 0}
}
@media(max-width:360px){
 .challenge-card,.challenge-card:last-child{padding:21px}
 .challenge-card h3{font-size:23px}
 .work-page .challenge-art,.work-page .challenge-card-wide .challenge-art,.work-page .challenge-card:last-child .challenge-art{width:96px;height:62px}
 .challenge-topic{font-size:12px}
 .results-board .result-place strong{font-size:24px}
 .results-board .competition-name{font-size:14px}
 .results-board .competition-name svg{display:none}
 .results-board .results-table thead th:last-child{padding-inline:0}
}
@media(prefers-reduced-motion:reduce){
 .challenge-card,.challenge-card::before,.challenge-title>svg,.challenge-art,.challenge-trace,.results-table tbody :is(th,td){transition:none!important}
 .challenge-card:is(:hover,:focus-within){transform:none}
 .challenge-card:is(:hover,:focus-within) .challenge-title>svg{transform:none}
}
