/* A · Gallery, round 2. TopoCheck process page. */

/* ---------- seal + title ---------- */
.tc-hero{padding:clamp(44px,5.6vw,88px) 0 clamp(36px,4vw,56px);text-align:center}
.tc-hero__in{display:grid;justify-items:center}
.seal{position:relative;width:clamp(120px,11vw,156px);aspect-ratio:1/1;margin-bottom:clamp(22px,2.4vw,32px)}
.seal__ring{width:100%;height:100%;animation:spin 60s linear infinite}
.seal__cairn{position:absolute;left:50%;top:50%;width:30%;height:auto;transform:translate(-50%,-52%)}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.seal__ring{animation:none}}
.tc-hero__title{margin-top:12px;font:600 var(--fs-1)/.95 var(--fd);letter-spacing:-.04em}
.tc-hero__lede{margin-top:18px;max-width:52ch;font-size:var(--fs-4);line-height:1.4;text-wrap:balance}

/* ---------- the number ---------- */
.tc-statement{padding:clamp(48px,5.6vw,88px) 0;border-top:1px solid var(--line);text-align:center}
.tc-statement__big{font:600 var(--fs-1)/.95 var(--fd);letter-spacing:-.04em}
.tc-statement__mid{max-width:40ch;margin:16px auto 0;font:600 var(--fs-4)/1.3 var(--fd);text-wrap:balance}
.tc-statement__sub{max-width:56ch;margin:14px auto 0;font-size:var(--fs-6);color:var(--muted);text-wrap:balance}
.tc-statement__sub b{color:var(--ink)}

/* ---------- split steps ---------- */
.tc-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5.6vw,96px);align-items:center}
.tc-split--flip .tc-split__media{order:2}
.tc-split__media{min-width:0}
.tc-split__media figcaption{margin-top:12px;font-size:var(--fs-6);color:var(--muted)}
.tc-split__body{min-width:0}
.tc-split__body .h2{margin:8px 0 20px}
.tc-split__body>p:not(.tc-num){max-width:48ch}
.tc-split__body>p+p{margin-top:12px}
.tc-num{font:500 var(--fs-7)/1 var(--fb);letter-spacing:.06em;color:var(--muted);font-variant-numeric:tabular-nums}

.crop-map{position:relative;aspect-ratio:900/723;overflow:hidden;border-radius:var(--r);background:var(--surface)}
.crop-map img{position:absolute;left:0;top:-20.75%;width:100%;height:auto}
.crop-sheet-box{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:var(--r);background:var(--surface)}
.crop-sheet-box img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:0 50%}
.tc-photo{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:var(--r);background:var(--surface)}
.tc-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

.tc-legend{display:flex;flex-wrap:wrap;gap:8px 22px}
.tc-legend span{display:inline-flex;align-items:center;gap:8px}
.k{width:12px;height:12px;border-radius:3px}
.k--g{background:#3BD15A}
.k--m{background:#E62BD9}

.tc-nums{display:grid;grid-template-columns:1fr 1fr;margin-top:24px;border-top:1px solid var(--line)}
.tc-nums div{display:flex;flex-direction:column;justify-content:space-between;padding:14px 0 16px;border-bottom:1px solid var(--line)}
.tc-nums div+div{padding-left:22px;border-left:1px solid var(--line)}
.tc-nums dt{font-size:var(--fs-6);color:var(--muted)}
.tc-nums dd{margin-top:8px;font:600 var(--fs-2)/1 var(--fd);letter-spacing:-.025em}
.tc-nums dd small{font:400 var(--fs-6) var(--fb);letter-spacing:0;color:var(--muted)}

.tc-table{width:100%;margin-top:24px;font-size:var(--fs-6);font-variant-numeric:tabular-nums}
.tc-table th,.tc-table td{padding:12px 0;border-bottom:1px solid var(--line);text-align:right;font-weight:400;white-space:nowrap}
.tc-table thead th{padding-top:0;font:500 var(--fs-7)/1.2 var(--fb);color:var(--muted);border-bottom-color:var(--ink)}
.tc-table th:first-child{text-align:left;white-space:normal}
.tc-table tbody th{font-weight:600}
.tc-table td,.tc-table thead th+th{width:6.5em;padding-left:20px}
.tc-note{margin-top:14px;font-size:var(--fs-6);color:var(--muted)}

/* ---------- 04 to 07 cards ---------- */
.tc-cards__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,2vw,28px)}
.tc-card{display:flex;flex-direction:column;min-width:0}
.tc-card__img{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:var(--r);background:var(--surface)}
.tc-card__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tc-card__img--ui img{object-position:50% 0}
.tc-card__img--low img{object-position:50% 100%}
.tc-card .tc-num{margin-top:16px}
.tc-card .h3{margin:8px 0 10px;font-size:var(--fs-4);line-height:1.25}
.tc-card p:not(.tc-num){font-size:var(--fs-6);line-height:1.55;color:#363636}
.tc-card__fact{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}

/* ---------- sources + limits ---------- */
.tc-sources__grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(32px,5.6vw,96px);align-items:start}
.tc-sources .h2{margin-bottom:24px}
.tc-src{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}
.tc-src div{padding:14px 0 16px;border-bottom:1px solid var(--line)}
.tc-src div:nth-child(odd){padding-right:24px}
.tc-src dt{font-size:var(--fs-7);color:var(--muted)}
.tc-src dd{margin-top:6px;font-size:var(--fs-6);font-weight:600}
.tc-limits{padding:clamp(22px,2.4vw,32px);border-radius:var(--r);background:var(--surface)}
.tc-limits ul{display:grid;gap:12px;margin-top:14px}
.tc-limits li{position:relative;padding-left:20px;line-height:1.5}
.tc-limits li::before{content:"";position:absolute;left:0;top:.7em;width:8px;height:1.5px;background:var(--ink)}

/* ---------- CTA ---------- */
.tc-cta__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:clamp(32px,5.6vw,96px);align-items:center}
.tc-cta__copy .h2{margin-bottom:16px}
.tc-cta__copy .lede{max-width:40ch}
.tc-cta__btns{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;margin-top:26px}
.tc-cta__art{aspect-ratio:1/1}

/* ---------- responsive ---------- */
@media (max-width:1023px){
  .tc-cards__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 18px}
  .tc-card__img{aspect-ratio:4/3}
  .tc-sources__grid{grid-template-columns:1fr}
}
@media (max-width:959px){
  .tc-split,.tc-cta__grid{grid-template-columns:1fr;gap:28px}
  .tc-split--flip .tc-split__media{order:0}
  .tc-split__media{max-width:640px}
  .tc-cta__art{max-width:520px}
}
@media (max-width:767px){
  .tc-nums{grid-template-columns:1fr}
  .tc-nums div+div{padding-left:0;border-left:0}
  .tc-src{grid-template-columns:1fr}
  .tc-src div:nth-child(odd){padding-right:0}
  .tc-cards__grid{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:82%;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter) 4px;scroll-padding:0 var(--gutter);scrollbar-width:none}
  .tc-cards__grid::-webkit-scrollbar{display:none}
  .tc-card{scroll-snap-align:start}
  .tc-card__img{aspect-ratio:4/3.4}
  .tc-table td,.tc-table thead th+th{width:5.4em;padding-left:12px}
  .tc-cta__btns .btn{flex:1 1 100%}
}
