/* Portfolio figures. Numbers and sentences come from /data/portfolio-figures.json.
   Type matches the staging glance: the title carries the section, the date line and
   the footnotes stay small and muted, and the current-opportunity ribbon sits under it. */
.xsite-figures{
  background:#131E28;
  color:#EEE7D7;
  padding:100px 0 0;
  border-top:1px solid rgba(216,170,110,.28);
}
.xsite-figures__inner{box-sizing:border-box;width:min(100%,1200px);max-width:1200px;margin:0 auto;padding:0 40px 28px;}
.xsite-figures__head{
  display:block;
  margin-bottom:40px;
}
.xsite-figures__title{
  margin:0;
  
  font-weight:400;
  font-size:clamp(2rem,3.6vw,3.2rem);
  line-height:1.12;
  letter-spacing:-.015em;
  color:#EEE7D7;
}
.xsite-figures__title em{font-style:italic;font-weight:500;color:#D8AA6E;}
.xsite-figures__upd{
  margin:10px 0 0;
  max-width:none;
  text-align:left;
  white-space:nowrap;
  font-size:13px;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
  line-height:1.4;
  color:#d8aa6e;
}
.xsite-figures__row{display:grid;grid-template-columns:repeat(5,1fr);}
.xsite-figures__stat{padding:0 16px;border-left:1px solid rgba(238,231,215,.16);}
.xsite-figures__stat:first-child{border-left:none;padding-left:0;}
.xsite-figures__stat:last-child{padding-right:0;}
.xsite-figures__num{
  font-family:var(--fd), 'Cormorant', Georgia, serif;
  font-size:clamp(2.4rem,3vw,3.15rem);
  font-weight:500;
  line-height:1;
  letter-spacing:-.02em;
  color:#d8aa6e;
  font-variant-numeric:tabular-nums;
}
.xsite-figures__num sup{font-size:.5em;font-weight:500;color:#D8AA6E;margin-left:2px;vertical-align:super;}
.xsite-figures__label{
  margin-top:12px;
  
  font-size:13px;
  font-weight:400;
  letter-spacing:.02em;
  text-transform:none;
  line-height:1.45;
  color:rgba(238,231,215,.92);
  white-space:nowrap;
}
.xsite-figures__label sup{color:#D8AA6E;}
.xsite-figures__foot{
  margin:56px 0 0;
  padding-top:22px;
  border-top:1px solid rgba(238,231,215,.18);
  max-width:none;
  
  font-size:11.5px;
  font-weight:400;
  line-height:1.75;
  color:rgba(238,231,215,.78);
}
.xsite-figures__foot sup{color:#D8AA6E;}
.xsite-figures__ribbon{background:#131E28;padding:19px 0 22px;}
.xsite-figures__ribbon-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 40px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  flex-wrap:wrap;
  text-align:center;
}
.xsite-figures__ribbon-text{
  margin:0;
  
  font-size:13.5px;
  font-weight:400;
  line-height:1.5;
  color:rgba(238,231,215,.85);
}
.xsite-figures__ribbon a{
  
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#D8AA6E;
  border-bottom:1px solid rgba(216,170,110,.4);
  padding-bottom:2px;
  white-space:nowrap;
}
.xsite-figures__ribbon a:hover{color:#EEE7D7;}
@media(max-width:1024px){
  .xsite-figures__row{grid-template-columns:1fr 1fr;row-gap:36px;}
  .xsite-figures__stat{border-left:none;padding-left:0;}
  .xsite-figures__stat:last-child:nth-child(odd){grid-column:1 / -1;}
}
@media(max-width:768px){
  .xsite-figures{padding-top:28px;}
  .xsite-figures__inner,.xsite-figures__ribbon-inner{padding-left:20px;padding-right:20px;}
  .xsite-figures__inner{padding-bottom:8px;}
  .xsite-figures__head{margin-bottom:18px;}
  .xsite-figures__row{row-gap:16px;}
  .xsite-figures__num{font-size:28px;}
  .xsite-figures__upd,.xsite-figures__label{white-space:normal;text-align:left;margin-top:8px;}
  .xsite-figures__ribbon{padding:14px 0;}
}
