.projects-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: end; gap: 65px; padding-top: 89px; padding-bottom: 82px; }
.projects-hero h1 { max-width: 720px; margin-bottom: 22px; font-family: var(--display); font-size: clamp(44px, 6vw, 72px); font-weight: 600; letter-spacing: -.065em; line-height: 1.04; }
.projects-hero h1 span, .project-heading h2 span, .project-flow-heading h2 span { color: var(--green); }
.projects-lede { max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.projects-index { display: grid; gap: 12px; padding: 21px; border-left: 2px solid var(--lime); background: var(--white); }
.projects-index > span, .project-kicker, .project-proof-label { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.projects-index a { color: var(--green-dark); font-size: 11px; font-weight: 600; text-decoration: none; }
.projects-index a:hover, .project-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-section { padding: 82px 0 94px; background: var(--white); }
.project-card { margin: 20px 0 0 238px; padding: 33px; border: 1px solid var(--line); background: var(--paper); }
.project-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.project-kicker { margin-bottom: 15px; color: var(--green); }
.project-heading h2 { margin-bottom: 12px; font-family: var(--display); font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -.055em; line-height: 1.1; }
.project-summary { max-width: 660px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.project-heading .button { flex: 0 0 auto; margin-top: 34px; }
.project-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 38px; margin-top: 38px; padding-top: 27px; border-top: 1px solid var(--line); }
.project-details h3, .project-flow h3 { margin: 0 0 7px; font-family: var(--display); font-size: 14px; letter-spacing: -.02em; }
.project-details p, .project-flow li p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.project-proof { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: 32px; padding-top: 23px; border-top: 1px solid var(--line); }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.project-tags span { padding: 5px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.project-links { display: grid; flex: 0 0 auto; gap: 9px; }
.project-links a, .project-attribution a, .project-flow-note a { color: var(--green-dark); font-size: 11px; font-weight: 600; text-underline-offset: 3px; }
.project-attribution { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; }
.project-flow-section { padding: 89px 0 96px; }
.project-flow-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin: 17px 0 36px 238px; }
.project-flow-heading .section-heading { max-width: 490px; margin: 0; }
.project-flow-heading > p { max-width: 340px; margin: 0 0 4px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.project-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 0 238px; padding: 0; list-style: none; }
.project-flow li { min-height: 175px; padding: 19px; border: 1px solid var(--line); background: var(--white); }
.project-flow li > span { display: block; margin-bottom: 24px; color: var(--green); font-family: var(--mono); font-size: 9px; }
.project-flow-note { margin: 21px 0 0 238px; padding: 15px 18px; border-left: 2px solid var(--lime); background: var(--white); }
.project-flow-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.project-section-alt { background: var(--paper); }
.project-section-alt .project-card { background: var(--white); }
.portfolio-intro { display: grid; gap: 16px; max-width: 700px; margin: 17px 0 14px 238px; }
.portfolio-intro .section-heading { margin: 0; }
.portfolio-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.portfolio-intro .portfolio-note { padding-left: 14px; border-left: 2px solid var(--lime); font-size: 11px; line-height: 1.8; }
.project-section-alt .portfolio-intro h2 span, .portfolio-intro h2 span { color: var(--green); }
.project-details-three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px 26px; }
.case-title { margin: 0 0 12px; font-family: var(--display); font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.045em; line-height: 1.15; }
.project-details h4 { margin: 0 0 7px; font-family: var(--display); font-size: 14px; letter-spacing: -.02em; }
.case-gallery { display: flex; gap: 16px; margin-top: 32px; padding: 4px 4px 14px; overflow-x: auto; scroll-snap-type: x proximity; }
.case-gallery:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.case-gallery figure { flex: 0 0 auto; margin: 0; scroll-snap-align: start; }
.case-gallery a { display: block; }
.case-gallery img { display: block; width: auto; height: 380px; max-width: none; border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 24px rgb(32 39 32 / 8%); }
.case-gallery-wide img { height: 300px; }
.case-gallery figcaption { margin-top: 9px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .projects-hero { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
  .project-card, .project-flow-heading, .project-flow, .project-flow-note, .portfolio-intro { margin-left: 155px; }
  .project-details { gap: 23px; }
  .project-details-three { grid-template-columns: 1fr; }
  .project-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .projects-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 65px; padding-bottom: 65px; }
  .projects-hero h1 { font-size: clamp(42px, 11vw, 58px); }
  .projects-index { gap: 10px; }
  .project-section, .project-flow-section { padding: 65px 0 72px; }
  .project-card, .project-flow-heading, .project-flow, .project-flow-note, .portfolio-intro { margin-left: 0; }
  .case-gallery img { height: 300px; }
  .case-gallery-wide img { height: 200px; }
  .project-card { padding: 21px; }
  .project-heading { flex-direction: column; gap: 17px; }
  .project-heading .button { margin-top: 0; }
  .project-details { grid-template-columns: 1fr; gap: 21px; margin-top: 26px; padding-top: 22px; }
  .project-proof { align-items: flex-start; flex-direction: column; gap: 22px; }
  .project-flow-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .project-flow-heading .section-heading { font-size: 37px; }
  .project-flow { grid-template-columns: 1fr; }
  .project-flow li { min-height: unset; }
  .project-flow li > span { margin-bottom: 13px; }
}
