/* Work page — editorial project gallery + capabilities detail + pricing plans.
   Adapted from the NORTH/FORM design into the MoonStar bone/ink/red brand.
   Loads on top of home-v2.css + inner-v2.css. */

/* ---------- project gallery (editorial, alternating) ---------- */
.wk-gallery { background: var(--bone); padding: 2vh 3.2vw 6vh; }
.wk-gallery__head { border-bottom: 1px solid var(--hair-ink); padding-bottom: 22px; }
.wk-gallery__head h2 { font-weight: 900; font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -.02em; margin-top: 2vh; }

.wk-proj {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 36px);
  align-items: center; padding: 9vh 0; border-top: 1px solid var(--hair-ink);
}
.wk-proj:first-of-type { border-top: 0; }
.wk-proj__copy { grid-column: 1 / 5; grid-row: 1; }
.wk-proj__media { grid-column: 5 / 13; grid-row: 1; position: relative; height: min(64vh, 600px); border-radius: 14px; overflow: hidden; background: #dedacf; will-change: transform; }
.wk-proj__glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; mix-blend-mode: overlay; border-radius: 14px; }
.wk-proj:nth-child(even) .wk-proj__copy { grid-column: 9 / 13; text-align: right; }
.wk-proj:nth-child(even) .wk-proj__media { grid-column: 1 / 9; }
.wk-proj__idx { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: rgba(22, 21, 19, .45); }
.wk-proj__title { font-weight: 900; font-size: clamp(38px, 5.2vw, 88px); letter-spacing: -.035em; line-height: .92; margin: 16px 0 14px; font-variation-settings: 'wght' 900, 'wdth' 100; overflow: hidden; }
.wk-proj__title span { display: block; }
.wk-proj__desc { font-size: 14px; line-height: 1.6; color: rgba(22, 21, 19, .62); max-width: 36ch; }
.wk-proj:nth-child(even) .wk-proj__desc { margin-left: auto; }
.wk-proj__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.wk-proj:nth-child(even) .wk-proj__tags { justify-content: flex-end; }
.wk-proj__tags span { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: rgba(22, 21, 19, .55); border: 1px solid var(--hair-ink); padding: 4px 8px; }
.wk-proj__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.12) contrast(1.02); transition: transform .8s var(--ease); }
.wk-proj:hover .wk-proj__media img { transform: scale(1.05); }
.wk-proj__ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: rgba(22, 21, 19, .4); }
.wk-proj__go {
  position: absolute; right: 16px; bottom: 16px; z-index: 2; background: var(--ink); color: var(--bone);
  padding: 11px 16px; border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; transform: translateY(10px); opacity: 0; transition: .35s var(--ease);
}
.wk-proj:hover .wk-proj__go { opacity: 1; transform: none; }
.wk-proj__go:hover { background: var(--red); }
@media (max-width: 820px) {
  .wk-proj { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 7vh 0; }
  .wk-proj__copy, .wk-proj:nth-child(even) .wk-proj__copy { order: 1; text-align: left; }
  .wk-proj__media { order: 2; height: 52vh; }
  .wk-proj__desc, .wk-proj:nth-child(even) .wk-proj__desc { margin-left: 0; }
  .wk-proj:nth-child(even) .wk-proj__tags { justify-content: flex-start; }
}

/* ---------- capabilities / detail (dark) ---------- */
.wk-caps { background: var(--ink); color: var(--bone); padding: 16vh 3.2vw; overflow: hidden; }
.wk-caps .mono { color: rgba(244, 241, 234, .5); }
.wk-caps-statement { font-weight: 900; font-size: clamp(38px, 6.6vw, 122px); letter-spacing: -.04em; line-height: .98; max-width: 1400px; margin: 3vh 0 11vh; font-variation-settings: 'wght' 900, 'wdth' 100; }
.wk-caps-statement span { display: block; color: rgba(244, 241, 234, .2); transition: color .4s linear; }
.wk-caps-statement span.on { color: var(--bone); }
.wk-caps-statement span:nth-child(2) { padding-left: 8vw; }
.wk-caps-statement span:nth-child(3) { padding-left: 16vw; }
.wk-cap-row {
  display: grid; grid-template-columns: 80px 1fr 2.2fr; gap: 24px; align-items: center;
  border-top: 1px solid var(--hair-bone); padding: 40px 0;
}
.wk-cap-row:last-child { border-bottom: 1px solid var(--hair-bone); }
.wk-cap-row .num { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: rgba(244, 241, 234, .5); }
.wk-cap-row h3 { font-weight: 900; font-size: clamp(30px, 4.6vw, 74px); letter-spacing: -.03em; transition: transform .35s var(--ease), color .35s var(--ease); font-variation-settings: 'wght' 900, 'wdth' 100; }
.wk-cap-row p { justify-self: end; max-width: 400px; font-size: 14px; line-height: 1.65; color: rgba(244, 241, 234, .6); }
.wk-cap-row:hover h3 { transform: translateX(22px); color: var(--red); }
@media (max-width: 760px) {
  .wk-caps-statement span { padding-left: 0 !important; }
  .wk-cap-row { grid-template-columns: 50px 1fr; }
  .wk-cap-row p { grid-column: 2; justify-self: start; margin-top: 10px; }
  .wk-cap-row:hover h3 { transform: none; }
}

/* ---------- pricing plans ---------- */
.wk-plans-sec { background: var(--bone); padding: 16vh 3.2vw; }
.wk-plans-sec .v2-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 8vh; }
.wk-plans-sec h2 { font-weight: 900; font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -.02em; }
.wk-plans { display: flex; gap: 16px; align-items: stretch; }
.wk-plan {
  position: relative; flex: 1; min-height: 560px; border: 1px solid var(--hair-ink); padding: 32px; border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column; background: var(--bone); will-change: transform;
  transition: flex .55s var(--ease), transform .45s var(--ease), border-color .45s var(--ease);
}
.wk-plan:hover { border-color: rgba(217, 51, 63, .4); }
.wk-plan::before { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid currentColor; border-radius: 50%; right: -55px; top: -55px; opacity: .12; }
.wk-plan:nth-child(2) { transform: translateY(34px); }
.wk-plan:nth-child(2):hover { transform: translateY(22px); }
.wk-plan--dark { background: var(--ink); color: var(--bone); border-color: transparent; }
.wk-plan small { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.wk-plan h3 { font-weight: 900; font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -.03em; line-height: 1; margin: 24px 0 20px; font-variation-settings: 'wght' 900, 'wdth' 100; }
.wk-plan .price { font-family: var(--mono); font-size: 14px; letter-spacing: .04em; border: 1px solid currentColor; width: max-content; padding: 8px 14px; border-radius: 999px; margin-bottom: 30px; }
.wk-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13.5px; }
.wk-plan ul li { position: relative; padding-left: 16px; color: rgba(22, 21, 19, .78); }
.wk-plan ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; background: var(--red); }
.wk-plan--dark ul li { color: rgba(244, 241, 234, .78); }
.wk-plan--red { background: var(--red); color: var(--bone); border-color: transparent; }
.wk-plan--red small { color: var(--bone); }
.wk-plan--red ul li { color: rgba(244, 241, 234, .88); }
.wk-plan--red ul li::before { background: var(--bone); }
.wk-plan--red .price { border-color: rgba(244, 241, 234, .55); }
.wk-plan a { margin-top: auto; padding-top: 18px; border-top: 1px solid currentColor; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.wk-plan a i { font-style: normal; transition: transform .35s var(--ease); }
.wk-plan a:hover i { transform: translate(4px, -4px); }
@media (max-width: 820px) {
  .wk-plans { flex-direction: column; }
  .wk-plan, .wk-plan:nth-child(2) { transform: none; min-height: 0; }
  .wk-plan:hover, .wk-plan:nth-child(2):hover { flex: 1; transform: none; }
}
