/* Job.rocks case study. Shared pieces: case-study.css, case-contact.css.
   Mood: mint SaaS with soft 3D, rounded and friendly. The live week planner (signature)
   lives in case-job-rocks-2.css. */

:root {
  --accent: #1a9e83;
  --jr-deep: #0f7a68;
  --jr-forest: #0f463e;
  --jr-mint: #d5e8e4;
  --jr-mint-2: #ecf5f2;
  --jr-coral: #f07a5a;
  --jr-lilac: #8b7cf6;
  --jr-blue: #5b9bf5;
  --cs-ink: #12332d;
  --cs-muted: #4f625d;
  --cs-faint: #7a8c87;
  --cs-line: rgb(18 51 45 / 11%);
  --cs-bg: #f6faf8;
  --cs-dark: #0f463e;
  --cs-dot-radius: 3px;
  --cs-dot-dark: #7fdcc6;
  --cf-dots: rgb(18 51 45 / 9%);
  --cf-glow: rgb(26 158 131 / 16%);
  --cf-btn: #0f463e;
  --cf-btn-icon: #7fdcc6;
  --cf-btn-icon-fg: #0f463e;
  --cf-sent: #0f463e;
  --cf-sent-fg: #7fdcc6;
}

a:hover { color: var(--accent); }
.jr-green { color: var(--accent); }

/* ---------- hero: copy left, a staggered collage right ---------- */
.jr-hero { position: relative; overflow: hidden; padding: clamp(56px, 6vw, 96px) var(--gutter) clamp(72px, 7vw, 120px); background: var(--white); }
.jr-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px 72px; align-items: center; }
.jr-hero__copy { display: grid; justify-items: start; gap: 24px; }
.jr-logo { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px 8px 10px; border-radius: 14px; background: var(--white); box-shadow: 0 10px 30px -18px rgb(15 70 62 / 40%); font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--jr-forest); }
.jr-logo__mark { display: inline-flex; align-items: flex-end; gap: 2px; height: 18px; }
.jr-logo__mark i { width: 4px; border-radius: 2px; background: var(--accent); }
.jr-logo__mark i:nth-child(1) { height: 12px; }
.jr-logo__mark i:nth-child(2) { height: 18px; }
.jr-logo__mark i:nth-child(3) { height: 9px; background: var(--jr-coral); }
.jr-hero__title { margin: 0; font-weight: 700; font-size: clamp(36px, 3.7vw, 62px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; color: var(--cs-ink); }
.jr-hero__lead { max-width: 500px; margin: 0; font-size: 17px; line-height: 1.65; color: var(--cs-muted); }
.jr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.jr-chips li { display: grid; gap: 2px; padding: 10px 16px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--cs-line); font-size: 14px; font-weight: 500; color: var(--cs-ink); }
.jr-chips span { font-size: 11.5px; font-weight: 500; color: var(--cs-faint); }

.jr-collage { position: relative; }
.jr-collage figure { margin: 0; overflow: hidden; background: var(--white); }
.jr-collage img { display: block; width: 100%; height: auto; }
.jr-collage__a { width: 100%; border-radius: 28px; box-shadow: 0 40px 80px -50px rgb(15 70 62 / 55%); }
.jr-collage__toast { position: absolute; top: 6%; right: 2%; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--white); box-shadow: 0 20px 40px -20px rgb(15 70 62 / 45%); font-size: 14px; font-weight: 600; color: var(--jr-forest); }
.jr-collage__toast span { width: 26px; height: 26px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* full-bleed hero: the render runs off the right edge at its own 1600x901 ratio, its empty left wall fades into the page under the copy */
@media (min-width: 1001px) {
  .jr-hero { --art-w: min(100vw, 2388px); min-height: calc(var(--art-w) * 1087 / 2388); display: flex; align-items: center; padding-top: 40px; padding-bottom: 40px; }
  .jr-hero__grid { position: static; display: block; width: 100%; }
  .jr-hero__copy { position: relative; z-index: 1; }
  .jr-collage { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; display: flex; justify-content: center; align-items: center; }
  .jr-collage__a { border-radius: 0; box-shadow: none; background: transparent; width: var(--art-w); height: auto; margin: 0; }
  .jr-collage__a picture, .jr-collage__a img { display: block; width: 100%; height: auto; max-width: none; }
  .jr-collage__toast { display: none; }
  .jr-hero__copy { max-width: min(640px, 42vw); }
  .jr-hero__title { font-size: clamp(36px, 3.6vw, 66px); line-height: 1.04; }
  .jr-hero__lead { font-size: 18px; }
}

/* ---------- brief: the old tools, struck out ---------- */
.jr-brief { background: var(--white); }
.jr-brief__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 96px; align-items: center; }
.jr-swap { display: grid; gap: 14px; }
.jr-swap__old { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.jr-swap__old li { padding: 16px 20px; border-radius: 16px; background: #f3f5f4; font-size: 16px; color: var(--cs-faint); text-decoration: line-through; text-decoration-color: var(--jr-coral); text-decoration-thickness: 2px; }
.jr-swap__new { display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px 22px; border-radius: 18px; background: var(--jr-forest); font-size: 17px; font-weight: 600; color: var(--white); }
.jr-swap__new span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.jr-brief__shot { margin-top: clamp(48px, 5vw, 72px); }
.jr-brief__shot img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 40px 80px -56px rgb(15 70 62 / 55%); }
.jr-sheet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 6vw, 88px); padding: 0; border-radius: 22px; background: var(--jr-mint-2); list-style: none; overflow: hidden; }
.jr-sheet li { display: flex; align-items: baseline; gap: 12px; padding: 26px 28px; border-left: 1px solid var(--cs-line); font-size: 15px; color: var(--cs-muted); }
.jr-sheet li:first-child { border-left: 0; }
.jr-sheet b { font-size: clamp(34px, 3vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--jr-forest); }

/* ---------- flow: five rounded steps on a mint track ---------- */
.jr-flow { background: var(--jr-mint-2); }
.jr-flow__head { display: grid; justify-items: center; text-align: center; }
.jr-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 56px 0 0; padding: 0; list-style: none; }
.jr-steps::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px); }
.jr-steps li { position: relative; display: grid; justify-items: center; gap: 10px; padding: 0 8px; text-align: center; }
.jr-steps span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--white); box-shadow: 0 14px 30px -18px rgb(15 70 62 / 50%), inset 0 0 0 2px var(--accent); font-size: 15px; font-weight: 700; color: var(--jr-forest); }
.jr-steps h3 { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.jr-steps p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--cs-muted); }
.jr-flow__art { max-width: 1000px; margin: clamp(56px, 6vw, 88px) auto 0; border-radius: 28px; overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -56px rgb(15 70 62 / 55%); }
.jr-flow__art img { display: block; width: 100%; height: auto; }

/* ---------- the client's website, today ---------- */
/* The banner sits at a readable size; its wordmark fades out at the sides and top instead of
   ending in a hard edge, and its plinth meets the section's foot. */
.jr-site { padding-bottom: 0; background: var(--white); }
.jr-site__art { max-width: 1040px; margin: clamp(40px, 5vw, 64px) auto 0; }
.jr-site__art img { display: block; width: 100%; height: auto; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 8%); mask-composite: intersect; }

/* ---------- staff app ---------- */
.jr-app { background: var(--white); }
.jr-app__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 96px; align-items: center; }
.jr-app__art { margin: 0; border-radius: 32px; overflow: hidden; background: var(--jr-mint-2); }
.jr-app__art img { display: block; width: 100%; height: auto; }
.jr-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 420px; margin: 8px 0 0; padding: 0; list-style: none; }
.jr-keys li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 999px; background: var(--k); font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--white); }
.jr-keys li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / 85%); }
.jr-keys__in { --k: #1a9e83; }
.jr-keys__pause { --k: #f97340; }
.jr-keys__resume { --k: #c9a033; }
.jr-keys__out { --k: #e04a3f; }

/* ---------- product screens + type ---------- */
/* The section takes the screens image's own peach, and the image runs edge to edge, so its screens
   leave the browser window rather than stopping at a box. The band's bottom fades into the peach
   before the section's bottom padding. */
.jr-screens { padding-bottom: clamp(64px, 7vw, 112px); background: linear-gradient(180deg, #f1e7de 0%, #f1e7de 22%, #d6d5d8 100%); }
.jr-screens__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 96px; align-items: end; }
.jr-screens__art { margin: clamp(40px, 5vw, 72px) calc(-1 * var(--gutter)) 0; }
.jr-screens__art img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg, #000 95%, transparent); mask-image: linear-gradient(180deg, #000 95%, transparent); }
.jr-type { display: grid; gap: 0; margin: 8px 0 0; border-top: 1px solid var(--cs-line); }
.jr-type > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--cs-line); font-size: 15px; }
.jr-type dt { color: var(--cs-faint); }
.jr-type dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-weight: 500; }
.jr-type dd span { width: 20px; height: 20px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(18 51 45 / 12%); }
.jr-type dd span:last-of-type { margin-right: 6px; }

/* ---------- results: a week of wins on forest green ---------- */
.jr-out { background: var(--jr-forest); color: var(--white); --cs-muted: rgb(255 255 255 / 72%); --cs-faint: rgb(255 255 255 / 60%); }
.jr-out__week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 64px 0 0; padding: 0; list-style: none; }
.jr-out__week li { display: grid; align-content: start; gap: 10px; min-height: 260px; padding: 22px 22px 26px; border-radius: 24px; background: rgb(255 255 255 / 7%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%); }
.jr-out__week li:nth-child(even) { margin-top: 40px; }
.jr-out__week span { justify-self: start; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--jr-mint); font-size: 13px; font-weight: 700; color: var(--jr-forest); }
.jr-out__week h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.jr-out__week p { margin: 0; font-size: 15px; line-height: 1.6; color: rgb(255 255 255 / 72%); }

@media (max-width: 1100px) {
  .jr-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .jr-steps::before { display: none; }
  .jr-out__week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr-out__week li:nth-child(even) { margin-top: 0; }
}
@media (max-width: 1000px) {
  .jr-hero__grid, .jr-brief__grid, .jr-app__grid, .jr-screens__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .jr-collage__a { width: 100%; border-radius: 20px; }
  .jr-collage__toast { top: auto; bottom: 12px; right: auto; left: 12px; padding: 9px 14px 9px 9px; font-size: 13px; }
  .jr-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr-sheet li { padding: 20px; }
  .jr-sheet li:nth-child(3) { border-left: 0; }
  .jr-sheet li:nth-child(n + 3) { border-top: 1px solid var(--cs-line); }
  .jr-steps { grid-template-columns: 1fr; row-gap: 0; }
  .jr-steps li { grid-template-columns: 56px minmax(0, 1fr); justify-items: start; column-gap: 16px; padding: 0 0 22px; text-align: left; }
  .jr-steps span { grid-row: span 2; }
  .jr-steps h3 { margin: 4px 0 0; }
  .jr-keys li { padding: 12px 14px; font-size: 14px; }
  .jr-out__week { grid-template-columns: 1fr; }
  .jr-out__week li { min-height: 0; }
  .jr-out__week span { margin-bottom: 6px; }
}

/* the client logo (from the site logo set) on a white pill, readable on light and dark heroes */
.jr-brand { display: inline-flex; align-items: center; justify-self: start; margin: 0; padding: 10px 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 6%), 0 10px 24px -14px rgb(0 0 0 / 35%); }
.jr-brand img { display: block; width: auto; height: 30px; }
