/* ─────────────────────────────────────────────
   Zenycat — case study pages
   Brand shell (cream, ink outlines, hard shadows, Fredoka) wraps the
   product's own UI; product colours only appear inside product mock-ups.
   ───────────────────────────────────────────── */

.cs { --read: 720px; }
.cs-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.cs-col { max-width: var(--read); margin: 0 auto; padding: 0 var(--gutter); }
.cs-col p { color: var(--ink-soft); font-size: 18px; margin-bottom: 1em; }
.cs-col p strong { color: var(--ink); }

.back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-weight: 600; font-size: 16px;
  text-decoration: none; margin: 8px 0 0;
}
.back:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--blue); text-underline-offset: 6px; }

/* ── Hero ── */
.cs-hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-top: clamp(24px, 4vw, 48px);
}
.cs-hero h1 { font-size: clamp(44px, 6vw, 84px); margin: 18px 0 24px; }
.cs-hero h1 .hl {
  display: inline; background: var(--blue);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  border: var(--line); border-radius: 16px; padding: 0 .14em;
  box-shadow: 4px 4px 0 var(--ink);
  line-height: 1.22;
}
.cs-lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-soft); max-width: 32em; }
.cs-brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 700; font-size: 22px;
}
.cs-brand img { width: 44px; height: 44px; }
.cs-brand i { font-style: normal; color: #2f5a3c; }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin: 32px 0 0; border: var(--line); border-radius: 20px; background: var(--fur);
  box-shadow: 4px 4px 0 var(--ink); overflow: hidden;
}
.facts div { padding: 14px 18px; min-width: 0; }
.facts div + div { border-left: var(--line); }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.facts dd { margin: 4px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 16px; line-height: 1.3; }

.cs-hero__shot { justify-self: center; width: min(300px, 100%); position: relative; }
.cs-hero__shot::before {
  content: ""; position: absolute; inset: 10% -18% 4% -18%;
  background: var(--blue-soft);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  z-index: -1;
}

/* Phones & screenshots */
.phone {
  border: 8px solid var(--ink); border-radius: 34px; overflow: hidden;
  background: #f8f5ee; line-height: 0;
  box-shadow: 6px 6px 0 var(--ink);
}
.phone img { width: 100%; height: auto; }
.shot {
  border: var(--line); border-radius: 20px; overflow: hidden; line-height: 0;
  background: #f8f5ee; box-shadow: var(--shadow);
}
.shot img { width: 100%; height: auto; }

/* ── Numbers ── */
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 7vw, 96px); }
.num { padding: 24px 24px 26px; }
.num:nth-child(1) { transform: rotate(-1deg); }
.num:nth-child(2) { background: var(--blue); }
.num:nth-child(3) { transform: rotate(1deg); }
.num b { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(48px, 6vw, 76px); line-height: 1; letter-spacing: -.02em; }
.num span { display: block; margin-top: 10px; font-size: 16px; line-height: 1.4; max-width: 22ch; }

/* ── Sections ── */
.cs-sec { padding-top: clamp(64px, 9vw, 112px); }
.cs-sec h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 14px 0 22px; }
.cs-fig { margin: clamp(28px, 4vw, 44px) auto 0; }
.cs-fig figcaption {
  margin-top: 22px; font-family: var(--f-display); font-weight: 500; font-size: 17px;
  display: flex; gap: 10px; align-items: flex-start; max-width: 60ch;
}
.cs-fig figcaption::before { content: "↳"; color: var(--amber); font-weight: 700; }
.label {
  display: inline-block; margin: 0 0 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--fur); border: var(--line); border-radius: 999px; padding: 3px 12px;
}
.label--blue { background: var(--blue); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); align-items: start; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }

/* ── Three decisions ── */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 8px; }
.decision { padding: 22px; display: flex; flex-direction: column; }
.decision__demo {
  background: #f8f5ee; border: var(--line); border-radius: 16px;
  padding: 14px; height: 140px; display: grid; align-content: center;
}
.decision h3 { font-size: 26px; margin: 22px 0 8px; display: flex; gap: 10px; align-items: baseline; }
.decision h3 span {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  font-size: 14px; border: var(--line); border-radius: 50%; background: var(--blue);
}
.decision p { color: var(--ink-soft); font-size: 16px; }

/* Product mock-ups: Crossclear's own colours, kept inside the demo boxes */
.cc {
  --cc-ink: #2a2e28; --cc-ink-2: #464c42; --cc-red: #922821; --cc-red-2: #b44a43;
  --cc-green: #2f5a3c; --cc-closed-bg: #f5e1d7; --cc-may-a: #b4d4b6; --cc-may-b: #e7eee5; --cc-may-line: #8fb393;
  font-family: "Nunito", var(--f-display);
  color: var(--cc-ink);
}
.cc-card { background: var(--cc-closed-bg); border-radius: 14px; padding: 12px 12px 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 8px; align-items: center; }
.cc-card .hl { font-family: var(--f-display); font-weight: 700; font-size: 24px; line-height: 1.05; color: var(--cc-red); margin: 0; }
.cc-card .w1 { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--cc-ink); }
.cc-card .w1 b { font-family: var(--f-display); font-size: 22px; font-weight: 700; margin-left: 4px; white-space: nowrap; }
.cc-card img { width: 64px; height: 64px; object-fit: contain; }
.cc-bar { height: 22px; border-radius: 8px; overflow: hidden; display: flex; gap: 2px; }
.cc-bar i { display: block; height: 100%; }
.cc-bar .o { background: var(--cc-green); }
.cc-bar .c { background: repeating-linear-gradient(135deg, var(--cc-red) 0 6px, var(--cc-red-2) 6px 9px); }
.cc-bar .m { background: repeating-linear-gradient(45deg, var(--cc-may-a) 0 5px, var(--cc-may-b) 5px 10px); box-shadow: inset 0 0 0 1px var(--cc-may-line); min-width: 8px; }
.cc-ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--cc-ink-2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.cc-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cc-minis img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.decision:hover .cc-minis img:nth-child(1) { transform: translateY(-4px) rotate(-4deg); }
.decision:hover .cc-minis img:nth-child(2) { transform: translateY(-6px); }
.decision:hover .cc-minis img:nth-child(3) { transform: translateY(-4px) rotate(4deg); }

/* Barrier stripe divider (borrowed from the product) */
.stripe {
  height: 18px; border: var(--line); border-radius: 10px;
  background: repeating-linear-gradient(135deg, var(--red) 0 14px, var(--fur) 14px 28px);
}

/* Next steps callout */
.cs-next {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 48px); background: var(--fur);
}
.cs-next h2 { margin-top: 12px; }
.cs-next p { color: var(--ink-soft); }
.cs-next__road {
  position: relative; aspect-ratio: 4 / 3; border: var(--line); border-radius: 20px; overflow: hidden;
  background: #DDEFD5;
}
.cs-next__road .road {
  position: absolute; left: -5%; right: -5%; top: 38%; height: 26%;
  background: #4b4f4a; border-block: 3px solid var(--ink); transform: rotate(-6deg);
}
.cs-next__road .road::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px;
  background: repeating-linear-gradient(90deg, #fff 0 22px, transparent 22px 40px);
}
.cs-next__road .rail {
  position: absolute; top: -10%; bottom: -10%; left: 56%; width: 13%;
  border-inline: 5px solid #6b5a4d;
  background: repeating-linear-gradient(0deg, transparent 0 14px, #8a7564 14px 20px);
  transform: rotate(-6deg);
}
.cs-next__road .pin {
  position: absolute; left: 52%; top: 18%; transform: translateX(-50%);
  font-family: var(--f-display); font-weight: 600; font-size: 14px; white-space: nowrap;
  background: var(--fur); border: var(--line); border-radius: 12px; padding: 6px 12px;
  box-shadow: 3px 3px 0 var(--ink);
}
.cs-next__road .pin b { color: var(--red); }
.cs-next__road .pin::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 14px; height: 14px; margin-left: -7px;
  background: var(--fur); border-right: var(--line); border-bottom: var(--line); transform: rotate(45deg);
}
.cs-next__road .car {
  position: absolute; left: 14%; top: 46%; width: 15%; aspect-ratio: 2 / 1;
  background: var(--blue); border: var(--line); border-radius: 10px 14px 8px 8px;
  transform: rotate(-6deg);
  animation: car 5s ease-in-out infinite;
}
@keyframes car { 0%, 100% { left: 14%; top: 46%; } 45%, 55% { left: 36%; top: 43.5%; } }

/* More work */
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.more a { padding: 22px 26px; text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: transform .2s ease, box-shadow .2s ease; }
.more a:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.more b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 28px; }
.more span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.more i { font-style: normal; font-family: var(--f-display); font-size: 32px; }

.cs-note { font-size: 14px; color: var(--ink-soft); margin-top: 18px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .cs-hero { grid-template-columns: 1fr; }
  .cs-hero__shot { width: min(260px, 70%); margin-top: 8px; }
  .nums, .trio { grid-template-columns: 1fr; }
  .num:nth-child(n) { transform: none; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-next { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: var(--line); }
  .pair, .more { grid-template-columns: 1fr; }
  .phone { border-width: 6px; border-radius: 26px; box-shadow: 4px 4px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .cs-next__road .car { animation: none; } }

/* ─────────────────────────────────────────────
   Transformation page (DuctTake + Lin Sing)
   ───────────────────────────────────────────── */
.browser { border: var(--line); border-radius: 18px; overflow: hidden; background: #141A22; box-shadow: var(--shadow); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: var(--fur); border-bottom: var(--line); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); }
.browser__bar i:nth-child(1) { background: var(--red); }
.browser__bar i:nth-child(2) { background: #F6C58E; }
.browser__bar i:nth-child(3) { background: var(--blue); }
.browser__bar span { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; display: block; }
.cs-hero--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cs-hero--wide h1 { font-size: clamp(42px, 5.2vw, 76px); }

/* two-part index */
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(48px, 6vw, 80px); }
.part-link { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 22px 24px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.part-link:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.part-link .no { font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: 1; width: 64px; height: 64px; display: grid; place-items: center; border: var(--line); border-radius: 50%; background: var(--blue); }
.part-link:nth-child(2) .no { background: #F6C58E; }
.part-link span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.part-link b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.part-link small { display: block; font-size: 15px; color: var(--ink-soft); }
.part-link i { font-style: normal; font-family: var(--f-display); font-size: 28px; }

.nums--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nums--4 .num:nth-child(3) { background: #F6C58E; transform: none; }
.nums--4 .num:nth-child(4) { transform: rotate(1deg); }
.nums--4 .num b { font-size: clamp(36px, 3.6vw, 54px); white-space: nowrap; }
.nums--4 .num b small { font-size: .5em; }

/* Part divider */
.part-head { display: flex; align-items: center; gap: 22px; margin-top: clamp(80px, 11vw, 140px); }
.part-head .no { flex: none; font-family: var(--f-display); font-weight: 700; font-size: clamp(56px, 7vw, 96px); line-height: 1; color: var(--blue); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }
.part-head--amber .no { color: #F6C58E; }
.part-head p { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.part-head h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 6px; }
.part-head::after { content: ""; flex: 1; height: 3px; background: var(--ink); border-radius: 2px; min-width: 40px; }

/* Before / after workflow */
.flowcmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.flowcol { padding: 24px; }
.flowcol--after { background: var(--blue); }
.flowcol h3 { font-size: 26px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.flowcol h3 small { font-family: var(--f-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.flowcol ol { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; counter-reset: s; }
.flowcol li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: var(--fur); border: var(--line); border-radius: 14px; padding: 12px 14px; }
.flowcol li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 700; font-size: 15px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: var(--line); background: var(--cream); }
.flowcol li b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 18px; line-height: 1.25; }
.flowcol li span { font-size: 15px; color: var(--ink-soft); line-height: 1.45; display: block; margin-top: 2px; }
.flowcol__total { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.flowcol__total b { font-family: var(--f-display); font-weight: 700; font-size: 52px; line-height: 1; }
.flowcol__total span { font-size: 15px; max-width: 26ch; line-height: 1.4; }

/* Time bars */
.timebars { margin-top: clamp(28px, 4vw, 44px); padding: 26px 26px 22px; }
.timebars h3 { font-size: 22px; margin-bottom: 18px; }
.tb { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.tb > span { font-family: var(--f-display); font-weight: 600; font-size: 16px; }
.tb__track { position: relative; height: 34px; border: var(--line); border-radius: 10px; background: var(--cream); overflow: hidden; }
.tb__fill { position: absolute; inset: 0 auto 0 0; border-right: var(--line); display: flex; align-items: center; padding-left: 10px; font-weight: 700; font-size: 14px; white-space: nowrap; transform-origin: left; transition: transform 1.4s cubic-bezier(.22,1,.36,1); }
.tb__fill--before { width: 100%; background: repeating-linear-gradient(135deg, #F6C58E 0 12px, #F2B676 12px 24px); border-right: 0; }
.tb__fill--after { width: 7.1%; min-width: 0; background: var(--blue); }
.tb__fill--after2 { width: 28.6%; background: var(--blue-soft); }
.timebars:not(.is-in) .tb__fill { transform: scaleX(0); }
.tb__ticks { display: grid; grid-template-columns: 120px 1fr; gap: 14px; }
.tb__ticks div { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tb__note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

/* What changed list */
.changes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.change { padding: 22px; }
.change .ico { width: 48px; height: 48px; display: grid; place-items: center; border: var(--line); border-radius: 14px; background: var(--cream); font-size: 24px; margin-bottom: 14px; }
.change h3 { font-size: 22px; margin-bottom: 8px; }
.change p { color: var(--ink-soft); font-size: 15.5px; }

/* screen + library */
.screen-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 200px); gap: clamp(16px, 2vw, 28px); align-items: start; }
.screen-row .shot { background: #141A22; }

/* evolution timeline */
.evo { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; position: relative; }
.evo li { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: start; padding: 18px 22px; }
.evo .v { font-family: var(--f-display); font-weight: 700; font-size: 22px; width: 54px; height: 54px; display: grid; place-items: center; border: var(--line); border-radius: 50%; background: var(--cream); }
.evo li:last-child { background: var(--blue); }
.evo li:last-child .v { background: var(--fur); }
.evo h3 { font-size: 21px; margin-bottom: 4px; }
.evo p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.evo .wall { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 4px; }
.evo li:last-child p, .evo li:last-child .wall { color: var(--ink); }

/* two layer decision */
.layers { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: stretch; }
.layer { padding: 22px; }
.layer h3 { font-size: 22px; margin: 6px 0 8px; }
.layer p { color: var(--ink-soft); font-size: 15.5px; }
.layers__arrow { display: grid; place-items: center; font-family: var(--f-display); font-size: 36px; }
.bignote { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 22px 26px; margin-top: 16px; background: #F6C58E; }
.bignote b { font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.bignote p { font-size: 16px; }

/* review screenshot side by side */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 12px 0 16px; }
.split p { color: var(--ink-soft); }
.rule-box { margin-top: 18px; padding: 18px 20px; }
.rule-box b { font-family: var(--f-display); font-weight: 600; font-size: 18px; display: block; margin-bottom: 4px; }
.rule-box p { font-size: 15.5px; }

/* Lin Sing mocks — Lin Sing's own palette, kept inside the frames */
.ls {
  --ls-paper: #F2F1ED; --ls-sheet: #FAF9F6; --ls-ink: #1C1B19; --ls-ink-2: #57544E; --ls-ink-3: #8A857C;
  --ls-rule: #DED9D0; --ls-seal: #CC3333; --ls-steel: #2E4A5E;
  font-family: "IBM Plex Sans", "Noto Sans HK", var(--f-body);
  color: var(--ls-ink);
}
.ls-hero { position: relative; overflow: hidden; background: #14161a; color: #fff; min-height: 300px; display: flex; align-items: flex-end; }
.ls-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(103deg, rgba(14,16,20,.94) 0%, rgba(14,16,20,.78) 42%, rgba(14,16,20,.28) 78%), repeating-linear-gradient(72deg, #2b3138 0 14px, #333a42 14px 28px); }
.ls-hero__in { position: relative; padding: clamp(22px, 3.4vw, 40px); width: 100%; }
.ls-hero__eye { font-family: "Oswald", var(--f-display); font-weight: 300; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: #b9b2a6; margin-bottom: 12px; }
.ls-hero h3 { font-family: "IBM Plex Sans", var(--f-body); font-weight: 700; font-size: clamp(22px, 3vw, 34px); line-height: 1.3; color: #fff; margin: 0 0 10px; }
.ls-hero p { color: #cfc9bf; font-size: 14px; margin-bottom: 18px; max-width: 34em; }
.ls-strip { display: flex; flex-wrap: wrap; gap: 0 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); position: relative; }
.ls-strip::before { content: ""; position: absolute; top: -1px; left: 0; width: 92px; height: 3px; background: var(--ls-seal); }
.ls-strip span { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .12em; color: #a9a196; }

.ls-explorer { background: var(--ls-paper); padding: 18px; }
.ls-explorer__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; border-top: 1px solid #C3BDB2; padding-top: 12px; position: relative; }
.ls-explorer__head::before { content: ""; position: absolute; top: -3px; left: 0; width: 70px; height: 5px; background: var(--ls-seal); }
.ls-explorer__head b { font-family: "IBM Plex Sans", var(--f-body); font-size: 18px; }
.ls-explorer__head span { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ls-ink-3); }
.ls-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.ls-chips button { font: 500 13px/1 "Noto Sans HK", var(--f-body); padding: 7px 11px; border: 1px solid #C3BDB2; background: var(--ls-sheet); color: var(--ls-ink-2); cursor: pointer; border-radius: 0; }
.ls-chips button[aria-pressed="true"] { border-color: var(--ls-steel); color: var(--ls-steel); box-shadow: inset 3px 0 0 var(--ls-steel); }
.ls-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--ls-sheet); }
.ls-table th { text-align: left; font: 600 12px "Noto Sans HK", var(--f-body); background: #EAE8E2; padding: 8px 10px; border-bottom: 1px solid #C3BDB2; }
.ls-table th:first-child { box-shadow: inset 3px 0 0 var(--ls-steel); }
.ls-table td { padding: 8px 10px; border-bottom: 1px solid var(--ls-rule); font-variant-numeric: tabular-nums; }
.ls-table td.m { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--ls-ink-3); }
.ls-table tr[hidden] { display: none; }

.ls-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.ls-grounds { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.ls-ground { padding: 22px 18px; }
.ls-ground .dot { width: 46px; height: 46px; background: #CC3333; margin-bottom: 14px; }
.ls-ground b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.ls-ground span { font-size: 14px; line-height: 1.45; display: block; }
.ls-ground--cool { background: #eaeef1; color: #17242f; }
.ls-ground--warm { background: #F2F1ED; color: #1C1B19; border-left: var(--line); }

.visit { display: inline-flex; margin-top: 22px; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.principle { padding: 24px; }
.principle:nth-child(2) { background: var(--blue); }
.principle b { font-family: var(--f-display); font-weight: 700; font-size: 44px; line-height: 1; display: block; margin-bottom: 12px; }
.principle h3 { font-size: 23px; margin-bottom: 8px; }
.principle p { font-size: 15.5px; color: var(--ink-soft); }
.principle:nth-child(2) p { color: var(--ink); }

@media (max-width: 900px) {
  .cs-hero--wide { grid-template-columns: 1fr; }
  .parts, .flowcmp, .changes, .layers, .split, .ls-grid, .principles { grid-template-columns: 1fr; }
  .nums--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layers__arrow { transform: rotate(90deg); }
  .evo li { grid-template-columns: 54px minmax(0, 1fr); }
  .evo li > div:last-child { grid-column: 2; }
  .screen-row { grid-template-columns: 1fr; }
  .screen-row > :last-child { max-width: 220px; }
}
@media (max-width: 600px) {
  .nums--4 { grid-template-columns: 1fr; }
  .nums--4 .num:nth-child(n) { transform: none; }
  .tb, .tb__ticks { grid-template-columns: 74px 1fr; }
  .tb > span { font-size: 14px; }
  .part-head::after { display: none; }
  .bignote { grid-template-columns: 1fr; }
  .ls-table td:nth-child(3), .ls-table th:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .timebars:not(.is-in) .tb__fill { transform: none; } }
.split p + p { margin-top: 1em; }
.tb__lbl { position: absolute; left: calc(28.6% + 10px); top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ─────────────────────────────────────────────
   DuctTake v3 UI (rebuilt from the redesign boards)
   Its own palette, kept inside the frame.
   ───────────────────────────────────────────── */
.dt-ui { position: relative; width: 100%; border: var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #0A0A09; }
.dt-art {
  --o: #0A0A09; --p: #1B1A18; --t: #141312; --f: #2A2825; --fb: #44403A; --d: #35322E;
  --tx: #EDEAE4; --m1: #A8A39B; --m2: #8A847B; --g: #58CE9A; --gw: #2E9E72; --gs: #103128; --gsb: #1D5141; --amb: #D9A441;
  width: 1200px; height: 720px; transform-origin: 0 0; position: absolute; left: 0; top: 0;
  background: var(--p); color: var(--tx); font-family: "IBM Plex Sans", Inter, system-ui, sans-serif;
  display: flex; flex-direction: column; text-align: left; line-height: 1.3;
}
.dt-art button { font: inherit; color: inherit; }
.dt-top { height: 46px; flex: none; display: flex; align-items: center; gap: 13px; padding: 0 14px; background: var(--t); border-bottom: 1px solid var(--d); }
.dt-logo { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: 18px; }
.dt-logo em { font-style: normal; color: var(--gw); }
.dt-vr { width: 1px; height: 15px; background: var(--d); }
.dt-mono { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--m2); }
.dt-sp { flex: 1; }
.dt-btn { font-size: 12px; background: var(--f); color: #D6D0C7; border: 1px solid var(--fb); border-radius: 6px; padding: 7px 13px; cursor: pointer; }
.dt-btn--primary { background: var(--g); color: #082018; border-color: var(--g); font-weight: 600; }
.dt-body { flex: 1; min-height: 0; display: flex; }
.dt-canvas { flex: 1; min-width: 0; position: relative; background: var(--o); border-right: 1px solid var(--d); overflow: hidden; }
.dt-sheet { position: absolute; left: 88px; top: 20px; right: 20px; bottom: 20px; background: #FBFAF8; border: 1px solid #3A3733; border-radius: 4px; overflow: hidden; }
.dt-sheet img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; opacity: .92; }
.dt-mk { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.35); transition: transform .2s ease; }
.dt-sheet[data-tool="duct"] .dt-mk, .dt-sheet[data-tool="fitting"] .dt-mk { opacity: .35; }
.dt-sheet.is-reviewing .dt-mk--review { transform: scale(1.3); }
.dt-sheet.is-reviewing .dt-mk--review::after { content: ""; position: absolute; inset: -12px; border: 3px solid var(--g); border-radius: 50%; animation: dtpulse 1.1s ease-out 4; }
@keyframes dtpulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.dt-float { position: absolute; background: var(--f); border: 1px solid var(--fb); box-shadow: 0 0 0 1px var(--o); }
.dt-rail { left: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 3px; padding: 5px; border-radius: 10px; }
.dt-tool { position: relative; width: 38px; height: 38px; border-radius: 7px; border: 1px solid transparent; background: none; color: #9A948B; display: grid; place-items: center; cursor: pointer; }
.dt-tool:hover { background: #33302C; color: var(--tx); }
.dt-tool.is-on { background: var(--gs); border-color: var(--gsb); color: var(--g); }
.dt-div { height: 1px; background: var(--fb); margin: 3px 6px; }
.dt-tip { position: absolute; left: 48px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: #22201D; border: 1px solid var(--fb); border-radius: 6px; padding: 5px 10px; font-size: 12px; color: var(--tx); display: none; align-items: center; gap: 8px; z-index: 3; pointer-events: none; }
.dt-tip kbd { font: 10px "IBM Plex Mono", monospace; color: var(--m2); background: var(--p); border: 1px solid var(--fb); border-radius: 3px; padding: 1px 5px; }
.dt-tool:hover .dt-tip, .dt-tool:focus-visible .dt-tip { display: flex; }
.dt-pill { bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; color: #D6D0C7; }
.dt-pill span { width: 26px; height: 26px; display: grid; place-items: center; }
.dt-pill b { font: 500 12px "IBM Plex Mono", monospace; padding: 0 5px; color: var(--tx); }
.dt-pill i { width: 1px; height: 16px; background: var(--fb); margin: 0 4px; }
.dt-pill em { font: 10px "IBM Plex Mono", monospace; font-style: normal; padding: 0 6px; }
.dt-alert { right: 34px; bottom: 34px; display: flex; align-items: center; gap: 9px; padding: 7px 8px 7px 12px; border-radius: 8px; background: #2A2214; border-color: #55441F; font-size: 12px; }
.dt-warn { color: var(--amb); display: flex; }
.dt-review { font-size: 11px !important; color: var(--amb) !important; background: none; border: 1px solid #55441F; border-radius: 5px; padding: 4px 10px; cursor: pointer; }
.dt-review:hover { background: #3a2e17; }
.dt-panel { width: 280px; flex: none; display: flex; flex-direction: column; background: var(--p); }
.dt-ph { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-bottom: 1px solid var(--d); }
.dt-pt { font-size: 13px; font-weight: 500; }
.dt-pm { font: 11px "IBM Plex Mono", monospace; color: var(--m2); }
.dt-eye { color: var(--m2); display: flex; }
.dt-big { padding: 16px; border-bottom: 1px solid var(--d); display: flex; flex-direction: column; gap: 4px; }
.dt-big b { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: 38px; line-height: 1; }
.dt-big span { font-size: 12px; color: var(--m2); }
.dt-filters { display: flex; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--d); }
.dt-filters span { flex: 1; font-size: 11px; background: var(--f); border: 1px solid var(--fb); border-radius: 6px; padding: 6px 9px; color: #D6D0C7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-table { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.dt-tr { display: grid; grid-template-columns: 1fr 58px 54px; gap: 8px; font: 11.5px "IBM Plex Mono", monospace; color: var(--m1); align-items: center; }
.dt-tr span:first-child { color: var(--tx); display: flex; align-items: center; gap: 8px; }
.dt-tr i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dt-th { font-size: 9.5px; letter-spacing: .06em; color: var(--m2); }
.dt-th span:first-child { color: var(--m2); }
.dt-tr .ok { color: var(--m1); }
.dt-tr .ok::before { content: "✓ "; }
.dt-tr .warn { color: var(--amb); }
.dt-empty { padding: 28px 16px; font-size: 12.5px; color: var(--m2); line-height: 1.6; }

/* notes beside the rebuilt UI */
.dt-notes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(24px, 3vw, 36px); }
.dt-note { padding: 18px 20px; }
.dt-note h3 { font-size: 19px; margin-bottom: 6px; }
.dt-note p { font-size: 15px; color: var(--ink-soft); }
.dt-note .sw { display: flex; gap: 5px; margin-bottom: 12px; }
.dt-note .sw i { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--ink); }
.dt-try { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--f-display); font-weight: 500; font-size: 16px; }
.dt-try b { background: var(--blue); border: var(--line); border-radius: 999px; padding: 1px 10px; font-weight: 600; }
.copy-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: clamp(20px, 3vw, 30px); border: var(--line); border-radius: 18px; overflow: hidden; background: var(--fur); box-shadow: var(--shadow); font-size: 15px; }
.copy-table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 12px 16px; background: var(--blue); border-bottom: var(--line); }
.copy-table td { padding: 12px 16px; border-bottom: 1.5px solid #E9DFCF; vertical-align: top; }
.copy-table tr:last-child td { border-bottom: 0; }
.copy-table td:first-child { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(32,9,3,.35); }
.copy-table td:last-child { font-family: var(--f-display); font-weight: 600; }
@media (max-width: 900px) { .dt-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dt-notes { grid-template-columns: 1fr; } .copy-table { font-size: 13.5px; } .copy-table th, .copy-table td { padding: 10px 12px; } }
@media (prefers-reduced-motion: reduce) { .dt-sheet.is-reviewing .dt-mk--review::after { animation: none; transform: scale(1.2); } }

/* ─────────────────────────────────────────────
   PeopleCloud (password-protected) page
   ───────────────────────────────────────────── */
.lock { min-height: calc(100vh - 80px); display: grid; place-items: center; padding: 40px var(--gutter) 80px; }
.lock__card { width: min(520px, 100%); padding: clamp(28px, 4vw, 40px); text-align: center; }
.lock__cat { width: min(260px, 70%); height: auto; margin: -10px auto 8px; }
.lock__card h1 { font-size: clamp(32px, 4vw, 44px); margin: 10px 0 10px; }
.lock__card p { color: var(--ink-soft); }
.lock__form { display: flex; gap: 10px; margin-top: 22px; }
.lock__form input {
  flex: 1; min-width: 0; font: 600 17px var(--f-display); padding: 12px 16px;
  border: var(--line); border-radius: 999px; background: var(--cream); color: var(--ink);
}
.lock__form input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.lock__err { min-height: 1.5em; margin-top: 12px; font-family: var(--f-display); font-weight: 500; color: var(--red); }
.lock__card.is-shake { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.lock__note { font-size: 13px; margin-top: 18px; }

.pc-three { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.pc-phones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: start; max-width: 520px; justify-self: center; }
.pc-mobile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pc-quote { margin: 22px 0 0; padding: 20px 22px; font-family: var(--f-display); font-weight: 600; font-size: 21px; line-height: 1.3; background: #F6C58E; }
.pc-quote cite { display: block; margin-top: 10px; font-family: var(--f-body); font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* View / Edit demo */
.pc-demo { padding: 20px; }
.pc-demo__bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.pc-seg { display: inline-flex; border: var(--line); border-radius: 999px; overflow: hidden; background: var(--cream); }
.pc-seg button { font: 600 15px var(--f-display); padding: 7px 18px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.pc-seg button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.pc-demo__hint { font-size: 14px; color: var(--ink-soft); }
.pc-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pc-day { border: var(--line); border-radius: 14px; background: var(--cream); padding: 10px; min-height: 140px; display: flex; flex-direction: column; gap: 8px; }
.pc-day b { font-family: var(--f-display); font-size: 15px; }
.pc-slot { flex: 1; border: 2px dashed transparent; border-radius: 10px; display: flex; align-items: flex-start; transition: border-color .15s ease, background-color .15s ease; }
.pc-demo.is-edit .pc-slot { border-color: rgba(32,9,3,.2); }
.pc-slot.is-over { border-color: var(--ink) !important; background: var(--blue-soft); }
.pc-shift { display: block; width: 100%; padding: 8px 10px; border-radius: 10px; background: #E3ECFF; border: 2px solid #4A6CF7; color: #1D2B6B; font-size: 13px; line-height: 1.3; user-select: none; -webkit-user-select: none; touch-action: none; }
.pc-shift strong { display: block; font-size: 14px; }
.pc-shift small { font-size: 11.5px; }
.pc-demo.is-edit .pc-shift { cursor: grab; box-shadow: 3px 3px 0 var(--ink); }
.pc-shift.is-dragging { opacity: .4; }
.pc-ghost { position: fixed; z-index: 300; pointer-events: none; transform: rotate(-3deg); width: 140px; }
.pc-status { margin-top: 12px; font-size: 14px; font-family: var(--f-display); font-weight: 500; }
.pc-demo.is-edit .pc-demo__hint { color: var(--ink); }

@media (max-width: 900px) {
  .pc-three { grid-template-columns: 1fr; }
  .pc-mobile { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .lock__form { flex-direction: column; } }

/* ─────────────────────────────────────────────
   About page
   ───────────────────────────────────────────── */
.ab-cat { position: relative; width: 100%; max-width: 520px; justify-self: center; aspect-ratio: 1100 / 972; cursor: pointer; }
.ab-cat::before { content: ""; position: absolute; inset: 6% -4% 0 -4%; background: var(--blue-soft); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; z-index: -1; }
.ab-cat img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .05s; }
.ab-cat img + img { opacity: 0; }
.ab-cat:hover img + img, .ab-cat:focus-visible img + img { opacity: 1; }
.ab-cat:hover img:first-child, .ab-cat:focus-visible img:first-child { opacity: 0; }
.ab-cat figcaption { position: absolute; right: 0; top: 0; font-family: var(--f-display); font-weight: 600; font-size: 15px; background: var(--fur); border: var(--line); border-radius: 14px; padding: 6px 12px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(3deg); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 86px; top: 10px; bottom: 10px; width: 3px; background: var(--ink); border-radius: 2px; }
.timeline li { display: grid; grid-template-columns: 70px 34px minmax(0, 1fr); gap: 0 16px; align-items: start; }
.timeline .yr { font-family: var(--f-display); font-weight: 700; font-size: 17px; padding-top: 18px; text-align: right; }
.timeline .dot { width: 22px; height: 22px; margin: 20px 0 0 6px; border: var(--line); border-radius: 50%; background: var(--fur); position: relative; z-index: 1; }
.timeline li.is-now .dot { background: var(--blue); }
.timeline .card { padding: 18px 22px; }
.timeline .card span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.timeline .card h3 { font-size: 22px; margin: 4px 0 6px; }
.timeline .card p { font-size: 15.5px; color: var(--ink-soft); }
.timeline .card b.stat { display: inline-block; margin-top: 10px; font-family: var(--f-display); font-weight: 600; font-size: 15px; background: var(--blue-soft); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; }
.timeline li.is-now .card { background: var(--blue); }
.timeline li.is-now .card p { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { font-family: var(--f-display); font-weight: 500; font-size: 16px; background: var(--fur); border: var(--line); border-radius: 999px; padding: 7px 16px; box-shadow: 3px 3px 0 var(--ink); }
.chips span:nth-child(3n+2) { background: var(--blue); }
.chips span:nth-child(5n+4) { background: #F6C58E; }
.chip-group + .chip-group { margin-top: 26px; }
.chip-group h3 { font-size: 20px; margin-bottom: 12px; }

.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); counter-reset: st; }
.steps4 .card { padding: 22px; counter-increment: st; }
.steps4 .card::before { content: counter(st, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px; border: var(--line); border-radius: 50%; background: var(--cream); font-family: var(--f-display); font-weight: 700; margin-bottom: 14px; }
.steps4 h3 { font-size: 21px; margin-bottom: 6px; }
.steps4 p { font-size: 15.5px; color: var(--ink-soft); }

@media (max-width: 900px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .steps4 { grid-template-columns: 1fr; }
  .timeline::before { left: 11px; }
  .timeline li { grid-template-columns: 34px minmax(0, 1fr); }
  .timeline .yr { grid-column: 2; text-align: left; padding: 0 0 6px; order: -1; }
  .timeline .dot { grid-row: 1 / span 2; margin: 2px 0 0 0; }
}
@media (max-width: 600px) { .timeline .yr { grid-row: 1; } .timeline .card { grid-column: 2; grid-row: 2; } .timeline .dot { grid-column: 1; grid-row: 1 / span 2; } }
.timeline li.is-now .card span { color: var(--ink); }

/* ─────────────────────────────────────────────
   Work index + Services
   ───────────────────────────────────────────── */
.page-hero { padding-top: clamp(24px, 4vw, 48px); max-width: 860px; }
.page-hero h1 { font-size: clamp(44px, 6vw, 84px); margin: 18px 0 22px; }

.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(28px, 4vw, 44px) 0 clamp(20px, 3vw, 30px); }
.filterbar button { font: 600 16px var(--f-display); color: var(--ink); background: var(--fur); border: var(--line); border-radius: 999px; padding: 8px 18px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s ease; }
.filterbar button:hover { transform: translate(-1px, -1px); }
.filterbar button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.filterbar small { font-weight: 500; opacity: .7; margin-left: 4px; }

.worklist { display: grid; gap: clamp(20px, 3vw, 36px); }
.wcase { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); text-decoration: none; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.wcase:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.wcase[hidden] { display: none; }
.wcase .project__art { aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: var(--line); }
.wcase__body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.wcase__body h2 { font-size: clamp(30px, 3.4vw, 44px); }
.wcase__body p { color: var(--ink-soft); }
.wcase__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.wcase__meta span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; background: var(--cream); }
.wcase__stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 4px; }
.wcase__stats div b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 30px; line-height: 1; }
.wcase__stats div span { font-size: 13px; color: var(--ink-soft); }
.wcase__go { margin-top: auto; padding-top: 10px; font-family: var(--f-display); font-weight: 600; font-size: 18px; }
.wcase:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.wcase:nth-child(even) .project__art { order: 2; border-right: 0; border-left: var(--line); }
.work-empty { font-family: var(--f-display); font-size: 20px; padding: 30px 0; }

.svc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); padding: clamp(26px, 4vw, 44px); align-items: start; scroll-margin-top: 90px; }
.svc + .svc { margin-top: clamp(20px, 3vw, 32px); }
.svc--blue { background: var(--blue); }
.svc--amber { background: #F6C58E; }
.svc__num { font-family: var(--f-display); font-weight: 700; font-size: 18px; width: 52px; height: 52px; display: grid; place-items: center; border: var(--line); border-radius: 50%; background: var(--cream); margin-bottom: 18px; }
.svc h2 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 14px; }
.svc__pitch { font-size: 18px; }
.svc__proof { margin-top: 22px; display: block; padding: 16px 18px; background: var(--fur); border: var(--line); border-radius: 16px; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease; }
.svc__proof:hover { transform: translate(-2px, -2px); }
.svc__proof span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.svc__proof b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 19px; margin-top: 2px; }
.svc__proof small { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.svc__list li { background: var(--fur); border: var(--line); border-radius: 14px; padding: 14px 16px; }
.svc__list b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 18px; margin-bottom: 3px; }
.svc__list span { font-size: 15px; color: var(--ink-soft); line-height: 1.45; display: block; }
.svc__out { margin-top: 18px; }
.svc__out p { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.svc__out .chips span { font-size: 14px; padding: 5px 12px; box-shadow: 2px 2px 0 var(--ink); background: var(--fur); }

.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.way { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.way:nth-child(2) { background: var(--blue); }
.way span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.way:nth-child(2) span { color: var(--ink); }
.way h3 { font-size: 26px; }
.way p { font-size: 15.5px; color: var(--ink-soft); }
.way:nth-child(2) p { color: var(--ink); }
.way ul { margin: 6px 0 0; padding-left: 18px; font-size: 15px; }

@media (max-width: 900px) {
  .wcase, .wcase:nth-child(even) { grid-template-columns: 1fr; }
  .wcase .project__art, .wcase:nth-child(even) .project__art { order: 0; min-height: 220px; border: 0; border-bottom: var(--line); }
  .svc { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .svc__list { grid-template-columns: 1fr; } }
