*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --text:#222;
  --muted:#666;
  --border:#e6e6e6;
  --bg:#ffffff;
  --alt:#f6f6f4;
  --hero:#ecebe7;
  --max:1180px;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Inter,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 40px;
}

.narrow{
  max-width:820px;
}

/* ================= HEADER ================= */

.case-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.case-header .wrap{
  padding:18px 40px;
}

.case-nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.back-link{
  color:#666;
  text-decoration:none;
  white-space:nowrap;
}

.case-nav nav{
  display:flex;
  gap:28px;
}

.case-nav nav a{
  color:#444;
  text-decoration:none;
  transition:.2s;
}

.case-nav nav a:hover{
  color:#111;
}

/* ================= HERO ================= */

.hero{
  background:var(--hero);
  padding:90px 0 70px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
}

.eyebrow{
  letter-spacing:.18em;
  font-size:.75rem;
  color:#777;
  margin-bottom:16px;
}

h1{
  font-size:64px;
  line-height:.95;
  margin-bottom:18px;
}

.hero h2{
  font-size:28px;
  font-weight:500;
  margin-bottom:22px;
}

.hero p{
  color:var(--muted);
}

.hero-tags{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
  list-style:none;
}

.hero-tags li{
  border:1px solid var(--border);
  padding:8px 14px;
  border-radius:999px;
  background:#fff;
}

/* ================= CONTENT ================= */

section{
  padding:90px 0;
}

.alt{
  background:var(--alt);
}

h2{
  font-size:40px;
  margin-bottom:24px;
}

p{
  margin-bottom:20px;
}

.two-column{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}

/* Supports either class name */

.placeholder,
.image-placeholder{
  border:2px dashed #c9c9c9;
  background:#fafafa;
  border-radius:14px;
  min-height:320px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#888;
  padding:20px;
}

.large{
  min-height:500px;
}

.role-grid,
.process-grid,
.cards,
.gallery{
  display:grid;
  gap:24px;
}

.role-grid{
  grid-template-columns:repeat(3,1fr);
}

.process-grid{
  grid-template-columns:repeat(6,1fr);
}

.cards{
  grid-template-columns:repeat(2,1fr);
}

.cards article{
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:28px;
}

.gallery{
  grid-template-columns:repeat(3,1fr);
}
/* ================= HERO VIDEO ================= */

.hero-video{
    width:100%;
    border:1px solid var(--border);
    border-radius:14px;
    overflow:hidden;
    background:#000;
}

.hero-video video{
    display:block;
    width:100%;
    height:auto;
}
/* ================= FOOTER ================= */

footer{
  border-top:1px solid var(--border);
  padding:50px 0;
}

/* ================= MOBILE ================= */

@media (max-width:900px){

  .wrap{
    padding:0 24px;
  }

  .case-header .wrap{
    padding:18px 24px;
  }

  .hero-grid,
  .two-column,
  .role-grid,
  .process-grid,
  .cards,
  .gallery{
    grid-template-columns:1fr;
  }

  h1{
    font-size:48px;
  }

  .hero h2{
    font-size:22px;
  }

  .case-nav nav{
    display:none;
  }

}
