/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@400;700&family=Montserrat:wght@400;600&display=swap');

:root{
  --cream:#F2EEE6;
  --lilac:#F5DBFC;
  --gray:#666666;
  --black:#000000;
  --white:#FFFFFF;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--black);
  background:#000 url('./assets/uc2bg.png') center/cover fixed no-repeat;
  line-height: 1.6;
}

/* Page fade */
html.is-entering body{opacity:0}
html.is-entering.is-ready body{opacity:1;transition:opacity .22s ease}
html.is-leaving body{opacity:0;transition:opacity .18s ease}

/* Container panel */
.panel{
  width:min(620px, 92vw);
  margin:6vh auto 6vh;
  background:var(--white);
  border-radius:0;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  padding:28px 22px 36px;
}

/* Back */
.back{display:inline-block;color:#333;text-decoration:none;margin-bottom:10px;font-size:14px}
.back:hover{text-decoration:underline}

/* Title + chips */
h1.title{
  font-family:'Arvo', serif;
  font-size: clamp(28px,4.6vw,40px);
  line-height:1.05;
  margin:6px 0 10px;
}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.chip{background:var(--lilac);color:var(--black);padding:4px 8px;border-radius:8px;font-size:12px}

/* Headings & copy */
h2{font-family:'Arvo',serif;font-size:22px;margin:20px 0 8px}
h3{font-weight:700;margin:14px 0 4px}
p{margin:4px 0 10px;color:#222}
.small{color:var(--gray);font-size:14px}

/* Context image */
.context-illustration{
  margin:10px 0 20px;
}
.context-illustration img{
  display:block;
  width:100%;
  height:auto;
}

/* Process grid */
.dp-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin:10px 0 14px;
}
@media (max-width: 540px){
  .dp-grid{ grid-template-columns: 1fr; }
}

/* Thumbnails */
.thumb{
  border:0; padding:0; background:transparent; cursor:pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
  overflow:hidden;
  border-radius:6px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.thumb img{ display:block; width:100%; height:auto }
.thumb:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
  border-color:#ddd;
}

/* After the fact */
.after-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 8px 0 6px;
}
@media (max-width: 600px){
  .after-grid{ grid-template-columns: 1fr; }
}

/* KPIs */
.kpi-list{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 10px;
  padding: 0;
}
.kpi{
  display: inline-block;
  background: var(--lilac);
  color: var(--black);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

/* Bulleted points */
.points{ padding-left: 18px; margin: 6px 0 10px; }
.points li{ margin: 6px 0; color:#222; }

/* Quote styling kept for parity if added later */
.quote{
  margin: 10px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--lilac);
  background: #faf7fb;
  color:#222;
  border-radius: 6px;
}
