/* Töihin meille -alasivu */
.tj-kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.tj-dia { display: inline-block; width: 9px; height: 9px; background: var(--brand-red); transform: rotate(45deg); margin-right: 12px; vertical-align: 1px; }
.tj-h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1.03; letter-spacing: -0.028em; text-wrap: balance; }

/* Toimitusjohtajan puheenvuoro */
.tj-quote-mark { font-family: var(--font-display); font-weight: 800; font-size: 160px; line-height: 0.6; color: var(--brand-red); height: 64px; display: block; }
.tj-ceo { display: flex; align-items: center; gap: 16px; }
.tj-ceo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }

/* Miksi meille: bento */
.tj-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto); gap: 20px; }
.tj-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; transition: translate 0.45s var(--kk-ease), box-shadow 0.45s var(--kk-ease); }
.tj-card:hover { translate: 0 -4px; box-shadow: 0 1px 2px rgba(28,26,26,0.05), 0 14px 32px rgba(28,26,26,0.08); }
.tj-card-no { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--action-text); font-variant-numeric: tabular-nums; }
.tj-card-title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -0.015em; }
.tj-card-text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-muted); }
.tj-card-photo { padding: 0; grid-row: span 2; }
.tj-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--kk-ease); }
.tj-card-photo:hover img { transform: scale(1.05); }
.tj-card-wide { grid-column: 1 / -1; min-height: 360px; color: var(--on-inverse); background: var(--surface-inverse); }
.tj-card-wide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: 0.62; transition: transform 1.2s var(--kk-ease); }
.tj-card-wide:hover img { transform: scale(1.04); }
.tj-card-wide .tj-card-text { color: var(--on-inverse); }
.tj-card-wide .tj-card-no { color: var(--on-inverse); }

/* Työn kuvaus */
.tj-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.tj-sticky { position: sticky; top: 104px; border-radius: var(--radius-lg); overflow: hidden; }
.tj-sticky img { width: 100%; height: min(78vh, 760px); min-height: 480px; object-fit: cover; display: block; }
.tj-point { display: flex; flex-direction: column; gap: 10px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.tj-point:first-child { padding-top: 0; }
.tj-point h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.12; letter-spacing: -0.015em; }
.tj-point p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-muted); max-width: 52ch; }
.tj-tasks { display: flex; flex-wrap: wrap; gap: 10px; }
.tj-task { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--surface-alt); font-size: 15px; font-weight: 500; }
.tj-task::before { content: ""; width: 7px; height: 7px; background: var(--brand-red); transform: rotate(45deg); flex: none; }

/* Kulttuuri: välilehdet */
.tj-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); flex-wrap: wrap; }
.tj-tab { font: 600 15px/1 var(--font-body); color: var(--on-inverse-muted); background: transparent; border: 0; border-radius: 999px; padding: 14px 22px; min-height: 44px; cursor: pointer; transition: background-color 0.25s, color 0.25s; }
.tj-tab:hover { color: var(--on-inverse); }
.tj-tab.is-on { background: var(--surface); color: var(--ink); }
.tj-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.tj-list li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.14); font-size: 17px; line-height: 1.5; animation: tj-in 0.5s var(--kk-ease) both; }
.tj-list li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; background: var(--brand-red); transform: rotate(45deg); flex: none; }
@keyframes tj-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Uratarinat */
.tj-story { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; color: var(--on-inverse); text-decoration: none; background: var(--surface-inverse); aspect-ratio: 16 / 10; }
.tj-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--kk-ease); }
.tj-story:hover img { transform: scale(1.05); }
.tj-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28,26,26,0.85) 0%, rgba(28,26,26,0.1) 60%); }
.tj-story-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.tj-play { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--brand-red); display: grid; place-items: center; transition: transform 0.4s var(--kk-ease); }
.tj-play::before { content: ""; margin-left: 4px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.tj-story:hover .tj-play { transform: scale(1.1); }

/* Avoin paikka */
.tj-job { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.tj-job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tj-tag { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--surface-alt); }
.tj-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tj-checks li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; }
.tj-checks li::before { content: ""; width: 7px; height: 7px; margin-top: 8px; background: var(--brand-red); transform: rotate(45deg); flex: none; }

/* Avoin hakemus: liitekenttä */
.tj-file { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.tj-file:hover { border-color: var(--ink); background: var(--surface-alt); }
.tj-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tj-file-icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--surface-alt); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; flex: none; }

@supports (animation-timeline: view()) {
  .tj-card { animation: kk-reveal-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .tj-point { animation: kk-reveal-in linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
}

@media (max-width: 900px) {
  .tj-h2 { font-size: 36px; }
  .tj-bento { grid-template-columns: minmax(0, 1fr); }
  .tj-card-photo { grid-row: auto; min-height: 320px; }
  .tj-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tj-sticky { position: relative; top: 0; }
  .tj-sticky img { height: 360px; min-height: 0; }
  .tj-point h3 { font-size: 24px; }
  .tj-list { grid-template-columns: minmax(0, 1fr); }
  .tj-job { grid-template-columns: minmax(0, 1fr); }
  .tj-quote-mark { font-size: 120px; height: 48px; }
  .tj-quote-text { font-size: 26px !important; }
  .tj-pad { padding: 28px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .tj-card, .tj-point, .tj-list li { animation: none !important; }
  .tj-card, .tj-card img, .tj-story img, .tj-play, .tj-tab { transition: none !important; }
}

/* ---------- Vuotokorjaukset: kaksi vuotopolkua ---------- */
.vp-paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.vp-path { display: flex; flex-direction: column; gap: 18px; padding: 40px; border-radius: var(--radius-lg); background: var(--surface-alt); }
.vp-path.is-acute { background: var(--surface-inverse); color: var(--on-inverse); }
.vp-path-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vp-no { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--action-text); font-variant-numeric: tabular-nums; }
.vp-path.is-acute .vp-no { color: #ff6b6f; }
.vp-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: var(--surface); color: var(--ink); }
.vp-path.is-acute .vp-tag { background: var(--brand-red); color: #fff; }
.vp-path h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.vp-path p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-muted); }
.vp-path.is-acute p { color: var(--on-inverse-muted); }
.vp-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 8px; }
.vp-methods span { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius-md); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.vp-methods span::before { content: ""; width: 8px; height: 8px; background: var(--brand-red); transform: rotate(45deg); }
.vp-steps { list-style: none; margin: auto 0 0; padding: 8px 0 0; counter-reset: vp; display: flex; flex-direction: column; }
.vp-steps li { counter-increment: vp; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; font-weight: 500; }
.vp-steps li::before { content: counter(vp, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--action-text); padding-top: 2px; }
.vp-cost { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px 56px; align-items: start; padding: 40px; border-radius: var(--radius-lg); border-top: 3px solid var(--brand-red); background: var(--surface-alt); }
.vp-cost h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.08; letter-spacing: -0.02em; }
.vp-cost p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-muted); }
.tj-point.is-lead h3 { color: var(--ink); }
.tj-point.is-lead h3::after { content: "Aina ensin"; display: inline-block; margin-left: 12px; padding: 5px 10px; border-radius: 999px; vertical-align: 6px; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: var(--brand-red); color: #fff; }
@media (max-width: 1000px) {
  .vp-paths, .vp-cost { grid-template-columns: minmax(0, 1fr); }
  .vp-path, .vp-cost { padding: 28px; }
  .vp-path h3 { font-size: 28px; }
  .vp-methods { grid-template-columns: minmax(0, 1fr); }
  .vp-methods span { flex-direction: row; align-items: center; gap: 12px; }
}
