/* Career page. Tokens and shared parts live in site.css. */
.jobs{list-style:none;margin:0;padding:0}
/* each entry = rule, photo, text; the rule sits above the photo so the photo reads with the text below it */
.job{margin:0;padding:clamp(48px,7vw,88px) 0}
.job:first-child{margin-top:0;border-top:0}

/* hero: photo with the company mark set statically in the lower-left */
.job-hero{position:relative;margin:0;aspect-ratio:2/1;overflow:hidden;background:#000}
.job-hero>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.job-hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(90% 85% at 0% 100%,rgba(0,0,0,.62),rgba(0,0,0,.25) 45%,transparent 70%)}
.job-hero .mark{position:absolute;z-index:1;left:clamp(16px,3vw,32px);bottom:clamp(14px,2.6vw,28px);
  width:auto;height:calc(var(--h) * var(--s,1));max-width:60%}
.job:hover .job-hero>img{transform:scale(1.035)}
@media(max-width:600px){.job-hero .mark{--s:.6}}

/* text: name + role on the left, prose on the right, under a strong hairline */
.job-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px 40px;
  margin-top:18px}
.job-body .h2{font-size:clamp(22px,2.4vw,28px)}
.job-body .meta{font-size:14px}
.prose{display:grid;gap:14px;max-width:68ch}
@media(max-width:820px){.job-body{grid-template-columns:minmax(0,1fr)}}
.prose a{color:var(--accent);border-bottom:1px solid currentColor}.prose a:hover{color:var(--strong)}
#redwood,#mit-csail{color-scheme:dark;--bg:#000;--tint:#161617;--ink:#c7c7cc;--soft:#86868b;--strong:#f5f5f7;--line:#2d2d2f;--accent:#2997ff;background:var(--bg);color:var(--ink)}
.surface-dark .toc{border-bottom:0}
#google{border-top:1px solid #d2d2d7}
.career-hero{margin:0}
.career-hero img{display:block;width:100%;height:clamp(306px,50.4vw,774px);object-fit:cover;object-position:50% 18%}
