/* ============================================================================
   SpotlessHK — case study theme. Navy + friendly mid-blue + warm cream.
   Professional · reassuring · approachable. Scoped to .spcase.
   ============================================================================ */
.spcase {
  --sp-navy: #283a5e;       /* deep navy headings / dark band */
  --sp-navy-deep: #1f2e4a;
  --sp-blue: #4f7cb0;       /* friendly mid-blue (buttons) */
  --sp-blue-soft: #6f97c6;
  --sp-cream: #f9efe8;      /* warm cream card */
  --sp-cream-deep: #f3e4d9;
  --sp-sky: #dce8f4;        /* light blue accent */
  --sp-ink: #233149;
  --sp-text: #54627a;
  --sp-mist: #f4f7fb;
  --sp-line: rgba(40,58,94,.12);
  position: relative; overflow: hidden; background: #fff;
  font-family: var(--font-sans); color: var(--sp-text);
}
.spcase .wrap { position: relative; z-index: 1; }

/* ---- shared type ---- */
.spcase .speyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--sp-blue); margin: 0 0 16px; }
.spcase .speyebrow::after { content: "// "; color: var(--sp-blue-soft); letter-spacing: -2px; }
.spcase .speyebrow--on { color: var(--sp-sky); }
.spcase .sph2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem,1.1rem + 1.9vw,2.5rem);
  line-height: 1.24; letter-spacing: -0.02em; color: var(--sp-navy); margin: 0 0 22px; text-wrap: balance; }
.spcase .sph2--on { color: #fff; }
.spcase__p { font-size: clamp(15px,1vw,16.5px); line-height: 1.95; color: var(--sp-text); margin: 0 0 18px; }
.spcase__p:last-child { margin-bottom: 0; }
.spsec--navy .spcase__p { color: rgba(255,255,255,.8); }
.spcase .spcenter { text-align: center; max-width: 700px; margin: 0 auto clamp(2rem,1.5rem + 2vw,3.2rem); }

/* sections + spacing */
.spsec { padding-block: 4rem; }
.spcase .pb-gap { padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.spcase .mt-gap { margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.spcase .spshot, .spcase [class*="__fig"], .spcase [class*="__media"] { margin-block: 1rem; }
.spsec--cream { background: var(--sp-cream); }
.spsec--mist { background: var(--sp-mist); }
.spsec--navy { background: var(--sp-navy); }

/* decorative bubbles */
.spbubble { position: absolute; border-radius: 999px; background: var(--sp-sky); opacity: .5; pointer-events: none; }

/* ---- Hero ---- */
.sphero { position: relative; background: linear-gradient(170deg, var(--sp-cream) 0%, #fff 70%); overflow: hidden;
  padding-block: clamp(1.5rem,1rem + 2vw,2.5rem) clamp(2.5rem,2rem + 3vw,4rem); }
.spback { appearance: none; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--sp-text); margin-bottom: calc(32px + 1.6rem); transition: color var(--dur-fast); }
.spback:hover { color: var(--sp-navy); }
.spback [data-lucide] { width: 16px; height: 16px; }
.sphero__logo { height: clamp(56px,7vw,80px); width: auto; margin-bottom: 26px; }
.sphero__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.spchip { display: inline-flex; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 999px; color: #fff; background: var(--sp-blue); }
.sphero__year { font-family: var(--font-mono); font-size: 13px; color: var(--sp-text); }
.sphero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem,1.1rem + 2.3vw,3rem);
  line-height: 1.22; letter-spacing: -0.025em; color: var(--sp-navy); margin: 0; max-width: 960px; text-wrap: balance; }
.sphero__sub { font-size: clamp(15px,1vw,17px); line-height: 1.8; color: var(--sp-text); margin: 24px 0 0; max-width: 760px; }
.sphero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.sptag { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; color: var(--sp-text);
  background: #fff; border: 1px solid var(--sp-line); border-radius: 999px; padding: 6px 12px; }
.sphero__media { margin-top: clamp(2rem,1.5rem + 3vw,3.5rem); border-radius: var(--radius-2xl); overflow: hidden;
  box-shadow: 0 40px 80px -34px rgba(40,58,94,.5); border: 1px solid var(--sp-line); }
.sphero__media img { width: 100%; height: auto; display: block; }

/* ---- generic figure ---- */
.spshot { border-radius: var(--radius-xl); overflow: hidden; background: #fff;
  box-shadow: 0 24px 54px -30px rgba(40,58,94,.42); border: 1px solid var(--sp-line); }
.spshot img { width: 100%; height: auto; display: block; }
.spshot__cap { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--sp-text);
  padding: 13px 18px; background: var(--sp-mist); border-top: 1px solid var(--sp-line); }
.spshot__cap::before { content: ""; width: 22px; height: 1px; background: var(--sp-blue); flex: none; }

/* ---- Challenge — insight band ---- */
.spchallenge { max-width: 760px; }
.spinsight { margin-top: clamp(2rem,1.5rem + 2vw,3rem); padding: clamp(28px,3vw,46px); background: var(--sp-navy);
  border-radius: var(--radius-2xl); position: relative; overflow: hidden; }
.spinsight__main { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem,1.1rem + 1.8vw,2.3rem);
  line-height: 1.34; color: #fff; margin: 0; letter-spacing: -0.01em; position: relative; z-index: 1; text-wrap: balance; }
.spinsight__sub { font-size: clamp(14px,1vw,15.5px); line-height: 1.75; color: rgba(255,255,255,.78); margin: 18px 0 0; position: relative; z-index: 1; max-width: 620px; }
.spinsight .spbubble { background: rgba(255,255,255,.06); }

/* ---- Positioning — 3 qualities ---- */
.spquals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(2rem,1.5rem + 2vw,3rem); }
.spqual { background: var(--sp-cream); border: 1px solid var(--sp-line); border-radius: var(--radius-xl); padding: 30px 26px; text-align: center; }
.spqual__ic { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; margin: 0 auto 18px;
  background: #fff; color: var(--sp-blue); box-shadow: var(--shadow-sm); }
.spqual__ic [data-lucide] { width: 26px; height: 26px; }
.spqual b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--sp-navy); margin-bottom: 6px; }
.spqual span { font-size: 13.5px; color: var(--sp-text); }
.spnote { margin-top: clamp(1.5rem,1rem + 2vw,2.5rem); max-width: 760px; font-size: 14.5px; line-height: 1.85; color: var(--sp-text); }

/* ---- Pillars ---- */
.sppillars { display: flex; flex-direction: column; gap: 18px; margin-top: clamp(2rem,1.5rem + 2vw,3rem); }
.sppillar { display: grid; grid-template-columns: 64px 1fr; gap: clamp(16px,2vw,28px); background: #fff; border: 1px solid var(--sp-line);
  border-radius: var(--radius-xl); padding: clamp(24px,2.4vw,34px); transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.sppillar:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sppillar__ic { width: 56px; height: 56px; border-radius: var(--radius-lg); display: grid; place-items: center;
  background: var(--sp-sky); color: var(--sp-navy); }
.sppillar__ic [data-lucide] { width: 26px; height: 26px; }
.sppillar__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.sppillar__n { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--sp-blue); }
.sppillar__t { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem,0.9rem + 0.8vw,1.4rem); color: var(--sp-navy); margin: 0; }
.sppillar__d { font-size: 14px; line-height: 1.78; color: var(--sp-text); margin: 0 0 16px; }
.sppillar__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sppillar__tags span { font-family: var(--font-mono); font-size: 11.5px; color: var(--sp-navy); background: var(--sp-mist);
  border: 1px solid var(--sp-line); border-radius: 999px; padding: 5px 11px; }

/* ---- Commercial ---- */
.spcomm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(2rem,1.5rem + 2vw,3rem); }
.spcommcard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg);
  padding: 26px 22px; display: flex; align-items: center; gap: 14px; }
.spcommcard__ic { width: 40px; height: 40px; border-radius: var(--radius-md); display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: var(--sp-sky); flex: none; }
.spcommcard__ic [data-lucide] { width: 20px; height: 20px; }
.spcommcard b { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff; }

/* ---- Website goals ---- */
.spgoals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(2rem,1.5rem + 2vw,3rem); }
.spgoal { background: #fff; border: 1px solid var(--sp-line); border-radius: var(--radius-xl); padding: 28px 26px;
  border-top: 3px solid var(--sp-blue); }
.spgoal__ic { width: 46px; height: 46px; border-radius: var(--radius-md); display: grid; place-items: center;
  background: var(--sp-mist); color: var(--sp-blue); margin-bottom: 16px; }
.spgoal__ic [data-lucide] { width: 22px; height: 22px; }
.spgoal b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--sp-navy); margin-bottom: 10px; }
.spgoal p { font-size: 13.5px; line-height: 1.65; color: var(--sp-text); margin: 0; }

/* ---- two-up gallery ---- */
.spgallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.spgallery .spshot { margin: 0; }

/* ---- SOP list ---- */
.spsop { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,1rem + 3vw,4rem); align-items: center; }
.splist { list-style: none; margin: clamp(1rem,1vw,1.5rem) 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.splist li { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; color: var(--sp-text); }
.splist li [data-lucide] { width: 20px; height: 20px; flex: none; color: var(--sp-blue); margin-top: 1px; }

/* ---- Deliverables ---- */
.spdeliver { list-style: none; margin: clamp(1.5rem,1rem + 2vw,2.5rem) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.spdeliver li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--sp-text); }
.spdeliver li [data-lucide] { width: 18px; height: 18px; flex: none; color: var(--sp-blue); margin-top: 1px; }

/* ---- Insight quote ---- */
.spquote { max-width: 880px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.spquote__mark { font-family: var(--font-display); font-size: 76px; line-height: .6; color: var(--sp-sky); opacity: .5; }
.spquote__text { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem,1.1rem + 1.6vw,2.2rem);
  line-height: 1.4; color: #fff; margin: 6px 0 22px; letter-spacing: -0.01em; text-wrap: balance; }
.spquote__body { font-size: clamp(14px,1vw,15.5px); line-height: 1.85; color: rgba(255,255,255,.74); margin: 0 auto; max-width: 680px; }

/* ---- CTA ---- */
.spcta { position: relative; background: linear-gradient(160deg, var(--sp-blue) 0%, var(--sp-navy) 100%); padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); text-align: center; overflow: hidden; }
.spcta__inner { position: relative; z-index: 1; }
.spcta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem,1.2rem + 2vw,2.6rem); color: #fff; margin: 0 0 28px; text-wrap: balance; }
.spbtn { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans);
  font-weight: 600; font-size: 16px; color: var(--sp-navy); background: #fff; border: 0; height: 56px; padding: 0 30px;
  border-radius: 999px; box-shadow: 0 16px 32px -14px rgba(0,0,0,.4); transition: all var(--dur-base) var(--ease-out); }
.spbtn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(0,0,0,.5); }
.spbtn [data-lucide] { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .spquals { grid-template-columns: 1fr; }
  .sppillar { grid-template-columns: 1fr; }
  .spcomm { grid-template-columns: 1fr 1fr; }
  .spgoals { grid-template-columns: 1fr; }
  .spgallery { grid-template-columns: 1fr; }
  .spsop { grid-template-columns: 1fr; gap: 24px; }
  .spdeliver { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .spcomm { grid-template-columns: 1fr; } }
