@import url("../../fonts/font-face.css");

:root {
  --font: "Aspekta", "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ink: #16202b;
  --ink-soft: #4e5f74;
  --ink-faint: #8b95a3;

  --paper: #ffffff;
  --paper-3: #fafafa;
  --accent-soft: #e7ecf3;

  --line: rgba(20, 32, 52, 0.12);
  --hairline: rgba(20, 32, 52, 0.06);

  --gap: 16px;
  --rail: 230px;
  --maxw: 1080px;
  --edge: 28px;
  --measure: 720px;
  --sec-pad: clamp(44px, 6.5vw, 80px);

  --tr-display: -0.045em;
  --tr-h1: -0.03em;
  --tr-h2: -0.03em;
  --tr-h3: -0.02em;
  --tr-micro: 0.14em;

  --r: 16px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-1: 0.18s;
  --dur-2: 0.32s;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--accent-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.micro {
  display: block;
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--tr-micro);
  text-transform: uppercase;
  color: var(--ink-faint);
}

.num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

/* sidebar */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 55;
  width: var(--rail);
  height: 100vh;
  padding: 30px 22px 26px 28px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow-y: auto;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { width: 0; height: 0; }

.rail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 450;
  color: var(--ink-faint);
  transition: color var(--dur-1) var(--ease);
}
@media (hover: hover) {
.rail__back:hover { color: var(--ink); }
}
.rail__back span { transition: transform var(--dur-1) var(--ease); }
@media (hover: hover) {
.rail__back:hover span { transform: translateX(-2px); }
}

.rail__proj {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--ink);
}
.rail__proj i { font-style: normal; }

.rail__meta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fact p {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-soft);
}
.fact .org {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-faint);
}

.rail__rule {
  height: 1px;
  margin: 22px 0 19px;
  background: var(--hairline);
}

.rail__navlabel { margin-bottom: 4px; }

.toc { display: flex; flex-direction: column; }

.toc a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
  margin-bottom: 3px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  text-transform: lowercase;
  color: var(--ink-faint);
  transition: color 0.15s var(--ease);
}

.toc a::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 1px;
  background: var(--line);
  transition: width 0.2s var(--ease), background-color 0.2s var(--ease);
}

@media (hover: hover) {
.toc a:hover { color: var(--ink-soft); }
}
@media (hover: hover) {
.toc a:hover::before { background: var(--ink-soft); }
}

.toc a.is-active { color: var(--ink); }
.toc a.is-active::before { width: 24px; background: var(--ink); }

.rail__foot { margin-top: auto; padding-top: 20px; }

.prog { display: flex; align-items: center; gap: 9px; }
.prog__track {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: var(--r-pill);
  background: var(--hairline);
  overflow: hidden;
}
.prog__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--ink);
  border-radius: inherit;
}
.prog__pct {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

.rail__toggle { display: none; }

/* shell */
.doc { margin-left: var(--rail); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--edge);
}

/* intro */
.intro { padding-top: 40px; }

.intro__text { margin-top: 44px; }

.intro__eyebrow { margin-bottom: 18px; }

.intro__title {
  font-size: clamp(24px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: var(--tr-h1);
  color: var(--ink);
  text-wrap: balance;
}

.intro__sub {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
}

.intro__meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
}
.intro__meta p {
  margin-top: 5px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

/* sections */
.sec { padding: var(--sec-pad) 0; scroll-margin-top: 40px; }
.sec--tight { padding: calc(var(--sec-pad) * 0.72) 0; }

.sec__head { margin-bottom: 32px; }

.sec__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.sec__kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.sec h2 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: var(--tr-h2);
  color: var(--ink);
  text-wrap: balance;
}
.sec h2::first-letter { text-transform: uppercase; }

.lede {
  margin-top: 8px;
  max-width: var(--measure);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

.prose { max-width: var(--measure); }
.prose p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.prose p + p { margin-top: 14px; }
.prose strong { font-weight: 550; color: var(--ink); }

.sub-h {
  margin-bottom: 14px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--tr-h3);
  color: var(--ink);
}

.stack > * + * { margin-top: 40px; }
.stack-lg > * + * { margin-top: 52px; }

/* numbered cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  overflow: hidden;
}
.card { padding: 28px 26px 30px; background: var(--paper); }
.card .num { display: block; margin-bottom: 14px; }
.card p {
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* callout */
.callout {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper-3);
}
.callout .micro { margin-bottom: 12px; }
.callout p {
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.callout strong { font-weight: 550; }

/* before / after flow */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  overflow: hidden;
}
.compare__col { padding: 28px 26px 30px; background: var(--paper); }
.compare__col--new { background: var(--paper-3); }
.compare__col .micro { margin-bottom: 16px; }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 450;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--paper);
}
.flow li.is-repeat { color: var(--ink-faint); border-style: dashed; }
.flow .arw { border: 0; padding: 0 1px; color: var(--ink-faint); font-size: 12px; }

/* pipeline, JD to readiness */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  overflow: hidden;
}
.pipeline__step {
  position: relative;
  padding: 26px 22px 28px;
  background: var(--paper);
}
.pipeline__step:nth-child(even) { background: var(--paper-3); }
.pipeline__step .num { display: block; margin-bottom: 14px; }
.pipeline__step b {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pipeline__step p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* stat row, readiness indices */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.stat-b {
  padding: 26px 24px 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--paper-3);
}
.stat-b .micro { margin-bottom: 14px; }
.stat-b b {
  display: block;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-b .cap {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* outcomes */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.outcome {
  padding: 26px 24px 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--paper-3);
}
.outcome .num { display: block; margin-bottom: 14px; }
.outcome p {
  font-size: 15.5px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* pull quote */
.pull {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: var(--tr-h2);
  color: var(--ink);
  text-wrap: balance;
}
.pull__mark { color: var(--ink-faint); }
.pull + .prose { margin-top: 28px; }

/* figures + images */
.fig { margin-top: 40px; }
.fig--flush { margin-top: 0; }

.fig img,
.intro__media img,
.duo img {
  width: 100%;
  height: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--paper-3);
}

.fig figcaption {
  margin-top: 14px;
  max-width: 68ch;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-faint);
}

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.duo figure { display: flex; flex-direction: column; }

.fig-note {
  margin-top: 14px;
  max-width: 68ch;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-faint);
}

/* screen gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px var(--gap);
}
.shot { margin: 0; }
.shot img {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--paper-3);
}
.shot figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
}
.shot figcaption b { font-weight: 550; color: var(--ink); }

/* footer */
.foot {
  padding: var(--sec-pad) 0 64px;
  border-top: 1px solid var(--hairline);
}
.foot__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.foot__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 450;
  color: var(--ink);
}
.foot__back span { transition: transform var(--dur-1) var(--ease); }
@media (hover: hover) {
.foot__back:hover span { transform: translateX(-3px); }
}

.foot__nav { margin-top: 46px; display: flex; flex-direction: column; }
.foot__nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: var(--tr-display);
  color: var(--ink);
  transition: opacity var(--dur-1) var(--ease), padding-left var(--dur-2) var(--ease);
}
@media (hover: hover) {
.foot__nav a:hover { opacity: 0.55; padding-left: 10px; }
}

.foot__sign { margin-top: 46px; font-size: 13px; color: var(--ink-faint); }

/* reveal on scroll (progressive enhancement) */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1180px) {
  :root { --rail: 210px; --edge: 24px; }
}

@media (max-width: 1000px) {
  :root { --edge: 22px; }

  .rail {
    position: sticky;
    inset: 0 auto auto 0;
    width: 100%;
    height: auto;
    padding: 14px 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(1.4) blur(10px);
  }

  .rail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .rail__back { margin-bottom: 0; order: -1; }
  .rail__proj { flex: 1; }

  .rail__toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--paper);
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: var(--tr-micro);
    text-transform: uppercase;
    color: var(--ink-soft);
    cursor: pointer;
  }
  .rail__toggle em { font-style: normal; transition: transform var(--dur-2) var(--ease); }
  .rail[data-open="true"] .rail__toggle em { transform: rotate(180deg); }

  .rail__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--dur-2) var(--ease);
  }
  .rail[data-open="true"] .rail__panel { grid-template-rows: 1fr; }
  .rail__panel > div { overflow: hidden; }

  .rail__meta {
    margin-top: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 36px;
  }
  .rail__rule { margin: 18px 0 14px; }
  .toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .rail__foot { margin-top: 0; padding: 14px 0 12px; }

  .doc { margin-left: 0; }
  .sec { scroll-margin-top: 120px; }
  .intro { padding-top: 32px; }

  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --edge: 20px; }

  body { font-size: 16px; }

  .intro__text { margin-top: 32px; }
  .intro__meta { gap: 20px 32px; }

  .cards,
  .compare,
  .stats,
  .pipeline,
  .outcomes,
  .gallery,
  .duo { grid-template-columns: minmax(0, 1fr); }

  .callout { padding: 24px 22px; }

  .toc { grid-template-columns: minmax(0, 1fr); }
  .foot__top { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media print {
  .rail, .foot__nav { display: none; }
  .doc { margin-left: 0; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Haven, page-specific components
   ============================================================ */

/* titled cards (principles, worlds), extends .card / .outcome */
.card b,
.outcome b {
  display: block;
  margin-bottom: 7px;
  font-size: 15.5px;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.outcome p { color: var(--ink-soft); }

/* three-up variant for the surfaces / trust ladder */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  overflow: hidden;
}
.grid-3 > * { padding: 28px 24px 30px; background: var(--paper); }
.grid-3 > *:nth-child(even) { background: var(--paper-3); }
.grid-3 .num { display: block; margin-bottom: 14px; }
.grid-3 b {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.grid-3 p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.grid-3 .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--accent-soft);
}

/* research stats, reuse .stats big numbers but allow a source line */
.stats .src {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* labelled list (research findings) */
.findings { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--r); overflow: hidden; }
.finding { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 24px 26px; background: var(--paper); }
.finding:nth-child(even) { background: var(--paper-3); }
.finding b { font-size: 15px; font-weight: 550; letter-spacing: -0.01em; color: var(--ink); }
.finding p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* design system, colour ramps */
.ramp + .ramp { margin-top: 20px; }
.ramp__label {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px;
}
.ramp__label b { font-size: 13.5px; font-weight: 550; color: var(--ink); }
.ramp__label span { font-size: 12px; color: var(--ink-faint); }
.swatches { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.sw { display: flex; flex-direction: column; gap: 6px; }
.sw i {
  display: block; height: 46px; border-radius: 8px;
  border: 1px solid var(--hairline);
}
.sw em { font-style: normal; font-size: 9.5px; letter-spacing: 0.02em; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* token chips */
.tokens { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.token {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--paper);
}
.token b { font-size: 13px; font-weight: 550; color: var(--ink); }
.token span { font-size: 12px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* dark full-bleed brand band (closing) */
.brandband {
  margin-top: 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.brandband img { width: 100%; display: block; border: 0; border-radius: 0; }

/* big closing statement */
.closer {
  max-width: 20ch;
  margin: 0 0 6px;
}

/* wide diagram (information architecture), scrolls on narrow screens */
.ia-scroll {
  margin-top: 40px;
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  background: var(--paper-3);
  -webkit-overflow-scrolling: touch;
}
.ia-scroll img {
  display: block;
  width: 100%;
  min-width: 1040px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ia-scroll + figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-faint);
}
.scroll-hint {
  display: none;
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-faint);
}

/* embedded Figma prototype / file */
.embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-3);
}
.embed--tall { aspect-ratio: 4 / 3; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed__label { margin: 0 0 16px; }

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .finding { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .swatches { gap: 4px; }
  .sw i { height: 38px; }
  .scroll-hint { display: block; }
  .embed { aspect-ratio: 3 / 4; }
}


/* ------------------------------------------------------------------ *   Shared site footer + next case study (ported from home)
\* ------------------------------------------------------------------ */
.nextcase { display:flex; flex-direction:column; align-items:flex-end; text-align:right; gap:6px; max-width:var(--maxw); margin:0 auto; padding:44px var(--edge) 6px; border-top:1px solid var(--hairline); color:var(--ink); transition:opacity .2s ease; }
.nextcase__label { font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); }
.nextcase__name { display:inline-flex; align-items:center; gap:10px; font-size:clamp(22px,3.2vw,30px); font-weight:600; letter-spacing:-0.02em; }
.nextcase__name svg { width:.66em; height:.66em; transition:transform .3s ease; }
@media (hover: hover) {
.nextcase:hover { opacity:.82; }
}
@media (hover: hover) {
.nextcase:hover .nextcase__name svg { transform:translateX(4px); }
}

.sitefoot { margin-top:8px; }
.sitefoot__inner { max-width:var(--maxw); margin:0 auto; padding:26px var(--edge) 44px; }
.sitefoot__top { display:flex; align-items:flex-start; justify-content:space-between; gap:28px; flex-wrap:wrap; }
.sitefoot__headline { margin:0; max-width:16ch; font-size:clamp(22px,3.4vw,32px); font-weight:500; line-height:1.15; letter-spacing:-0.02em; color:#454545; }
.sitefoot__connect { margin-top:14px; display:inline-flex; align-items:center; gap:7px; font-size:15px; font-weight:500; color:var(--soft); transition:color .2s ease; }
.sitefoot__connect svg { width:15px; height:15px; transition:transform .3s ease; }
@media (hover: hover) {
.sitefoot__connect:hover { color:var(--ink); }
}
@media (hover: hover) {
.sitefoot__connect:hover svg { transform:translateX(3px); }
}
.sitefoot__social { display:flex; align-items:center; gap:16px; padding-top:6px; }
.sitefoot__social a { display:inline-flex; color:var(--faint); transition:color .2s ease, transform .2s ease; }
@media (hover: hover) {
.sitefoot__social a:hover { color:var(--ink); transform:translateY(-2px); }
}
.sitefoot__social svg { width:17px; height:17px; display:block; }
@media (max-width:720px){
  .nextcase { padding:34px var(--edge) 6px; }
  .sitefoot__inner { padding:22px var(--edge) 34px; }
}
/* framed problem statement */
.problem {
  max-width: var(--measure);
  padding-left: 22px;
  border-left: 2px solid var(--ink);
}
.problem__label { margin-bottom: 16px; }
.problem__stmt {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.problem__hmw {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.problem__hmw span { font-weight: 550; color: var(--ink); }
/* image lightbox (click any figure to zoom) */
.fig img, .intro__media img, .game img, .theme img, .shot img, .reel img,
.carousel__item img, .mascots img, .duo img { cursor: zoom-in; }
.ba img { cursor: default; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; box-sizing: border-box;
  background: rgba(12, 14, 18, 0.93);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 96%; max-height: 92%;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
}
.lightbox.is-zoomed { align-items: flex-start; justify-content: flex-start; overflow: auto; }
.lightbox.is-zoomed img { max-width: none; max-height: none; border-radius: 0; cursor: zoom-out; }
.lightbox__close {
  position: fixed; top: 16px; right: 18px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
  transition: background 0.2s ease;
}
@media (hover: hover) {
.lightbox__close:hover { background: rgba(255, 255, 255, 0.26); }
}
@media (prefers-reduced-motion: reduce) { .lightbox { transition: none; } }
