/* R20 delivery: shared plum/gold material, distinct stories for the two models. */
html[data-r20-delivery] { --r20d-gap: clamp(28px,4vw,64px); --r20d-inset: max(32px, calc((100vw - 1320px)/2)); }
[data-r20-delivery] main > .r20d-section { position:relative; isolation:isolate; padding:96px 0; margin:0; border:0; background:none; box-shadow:none; }
[data-r20-delivery] .r20d-section * { box-sizing:border-box; min-width:0; }
[data-r20-delivery] .r20d-heading { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:var(--r20d-gap); align-items:start; margin:0 0 56px; }
[data-r20-delivery] .r20d-heading h2 { margin:0; font:450 clamp(36px,3.6vw,54px)/1.08 Golos,Arial,sans-serif; letter-spacing:-.035em; text-wrap:balance; color:var(--r19-ink); }
[data-r20-delivery] .r20d-heading > p { margin:0; max-width:54ch; font:400 20px/1.55 Golos,Arial,sans-serif; color:var(--r19-muted); }
[data-r20-delivery] .r20d-section h3 { margin:0 0 18px; font:450 27px/1.2 Golos,Arial,sans-serif; letter-spacing:-.025em; color:var(--r19-ink); }
[data-r20-delivery] .r20d-section p { text-wrap:pretty; }
[data-r20-delivery] .r20d-chapter::before { content:""; position:absolute; z-index:-2; inset:0 calc((100% - 100vw)/2); background:var(--r19-ground-b); }
[data-r20-delivery] .r20d-chapter::after { content:""; position:absolute; z-index:-1; inset:0 calc((100% - 100vw)/2); background:url('assets/r11b-grain.png') repeat; opacity:.045; pointer-events:none; }
[data-r20-delivery] main > #first-stage.r20d-opening { padding:0!important; }
[data-r20-delivery] .r20d-team-principles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:25px; }
[data-r20-delivery] .r20d-team-principles article { padding:clamp(28px,3vw,40px); border-radius:22px; border:1px solid var(--r19-line); background:var(--r19-glass-background); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); box-shadow:inset 0 1px 0 var(--r19-rim); }
[data-r20-delivery] .r20d-team-principles p { font-size:18px; line-height:1.6; color:var(--r19-muted); margin:0; }
[data-r20-delivery] .r20d-journey { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; position:relative; margin:0; padding:40px 32px; list-style:none; border-radius:24px; border:1px solid var(--r19-line); background:var(--r19-glass-background); backdrop-filter:blur(20px); box-shadow:inset 0 1px 0 var(--r19-rim),0 24px 70px var(--r19-shadow); }
[data-r20-delivery] .r20d-journey > li { position:relative; padding:0; }
[data-r20-delivery] .r20d-waypoint { display:flex; align-items:center; gap:16px; height:80px; margin-bottom:28px; color:var(--r19-accent); position:relative; }
[data-r20-delivery] .r20d-waypoint svg { width:48px; height:48px; flex:0 0 48px; }
[data-r20-delivery] .r20d-waypoint span { font-size:16px; line-height:1; color:var(--r19-muted); }
[data-r20-delivery] .r20d-journey li:not(:last-child) .r20d-waypoint::after { content:""; position:absolute; height:1px; background:var(--r19-line); left:108px; right:-20px; top:40px; }
[data-r20-delivery] .r20d-journey li:not(:last-child) .r20d-waypoint::before { content:""; position:absolute; width:7px; height:7px; border-top:1px solid var(--r19-accent); border-right:1px solid var(--r19-accent); right:-20px; top:37px; transform:rotate(45deg); }
[data-r20-delivery] .r20d-journey h3 { min-height:64px; font-size:26px; margin-bottom:24px; }
[data-r20-delivery] .r20d-action { margin-top:24px; }
[data-r20-delivery] .r20d-action strong { font-size:16px; font-weight:500; color:var(--r19-accent); display:block; margin-bottom:10px; }
[data-r20-delivery] .r20d-action p { font-size:17px; line-height:1.6; margin:0; color:var(--r19-ink); }
[data-r20-delivery] .r20d-client { min-height:160px; }
[data-r20-delivery] .r20d-agreement { margin-top:40px; display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:var(--r20d-gap); align-items:start; }
[data-r20-delivery] .r20d-agreement h3 { margin:0; }
[data-r20-delivery] .r20d-agreement p { margin:0; font-size:18px; line-height:1.6; color:var(--r19-muted); }

/* Shared hero geometry now belongs to r21-hero.css; the approved photo pair stays. */
[data-r20-delivery="project-development"] main { padding-top:0!important; }
[data-r20-delivery] main > .r20d-project-opening { padding:0; }
[data-r20-delivery] .r20d-project-question { display:grid; grid-template-columns:1.15fr 1fr; align-items:center; gap:var(--r20d-gap); padding:48px; border-radius:24px; background:var(--r19-glass-background); border:1px solid var(--r19-line); backdrop-filter:blur(18px); box-shadow:inset 0 1px 0 var(--r19-rim); }
[data-r20-delivery] .r20d-project-question > p { font:450 clamp(27px,2.5vw,38px)/1.24 Golos,Arial,sans-serif; letter-spacing:-.025em; color:var(--r19-ink); margin:0; }
[data-r20-delivery] .r20d-project-question em { color:var(--r19-accent); font-style:normal; }
[data-r20-delivery] .r20d-project-question div > p { font-size:18px; line-height:1.6; color:var(--r19-muted); margin:0; }
[data-r20-delivery] .r20d-project-steps { display:grid; grid-template-columns:1fr 1fr; gap:56px 64px; margin:0; padding:0; list-style:none; }
[data-r20-delivery] .r20d-project-steps > li { position:relative; display:grid; grid-template-columns:54px minmax(0,1fr); gap:24px; }
[data-r20-delivery] .r20d-project-index { position:relative; color:var(--r19-accent); font-size:22px; padding-top:2px; }
[data-r20-delivery] .r20d-project-index::after { content:""; position:absolute; width:1px; top:44px; bottom:0; left:14px; background:linear-gradient(var(--r19-line),transparent); }
[data-r20-delivery] .r20d-project-step { padding-top:0; }
[data-r20-delivery] .r20d-project-step > p { color:var(--r19-muted); font-size:18px; line-height:1.6; margin:0; }
[data-r20-delivery] .r20d-condition { display:block; color:var(--r19-accent); font-size:16px; line-height:1.4; margin:0 0 14px; }
[data-r20-delivery] .r20d-step-result { padding:22px 24px; margin-top:28px; background:var(--r19-glass-background); border:1px solid var(--r19-line); border-radius:18px; backdrop-filter:blur(18px); }
[data-r20-delivery] .r20d-step-result strong { display:block; font-size:16px; font-weight:500; color:var(--r19-accent); margin-bottom:10px; }
[data-r20-delivery] .r20d-step-result p { margin:0; font-size:18px; line-height:1.55; color:var(--r19-ink); }
[data-r20-delivery] .r20d-release-cycle { display:grid; grid-template-columns:1fr 32px 1fr 32px 1fr; gap:24px; padding:40px; border-radius:24px; border:1px solid var(--r19-line); background:var(--r19-glass-background); box-shadow:inset 0 1px 0 var(--r19-rim); backdrop-filter:blur(20px); }
[data-r20-delivery] .r20d-release-cycle article > span { display:block; color:var(--r19-accent); font-size:16px; margin-bottom:22px; }
[data-r20-delivery] .r20d-release-cycle h3 { font-size:27px; margin-bottom:18px; }
[data-r20-delivery] .r20d-release-cycle p { margin:0; font-size:18px; line-height:1.6; color:var(--r19-muted); }
[data-r20-delivery] .r20d-cycle-arrow { color:var(--r19-accent); font-size:32px; margin-top:55px; }
[data-r20-delivery] .r20d-support-copy { margin:32px 0 0; max-width:72ch; font-size:18px; line-height:1.6; color:var(--r19-muted); }

@media(max-width:1100px) {
  [data-r20-delivery] .r20d-journey { grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; }
  [data-r20-delivery] .r20d-journey li:nth-child(2) .r20d-waypoint::before,[data-r20-delivery] .r20d-journey li:nth-child(2) .r20d-waypoint::after { display:none; }
  [data-r20-delivery] .r20d-client { min-height:125px; }
  [data-r20-delivery] .r20d-release-cycle { gap:16px; padding:28px; }
  [data-r20-delivery] .r20d-release-cycle h3 { font-size:24px; }
  [data-r20-delivery] .r20d-project-steps { gap:48px 32px; }
}
@media(max-width:760px) {
  [data-r20-delivery] main > .r20d-section { padding-block:64px; }
  [data-r20-delivery] .r20d-heading { grid-template-columns:1fr; gap:24px; margin-bottom:36px; }
  [data-r20-delivery] .r20d-heading h2 { font-size:38px; }
  [data-r20-delivery] .r20d-heading > p { font-size:18px; }
  [data-r20-delivery] .r20d-team-principles { grid-template-columns:1fr; gap:32px; }
  [data-r20-delivery] .r20d-journey { grid-template-columns:1fr; gap:36px; padding:28px; }
  [data-r20-delivery] .r20d-journey h3 { min-height:0; margin-bottom:22px; }
  [data-r20-delivery] .r20d-waypoint { height:52px; margin-bottom:20px; }
  [data-r20-delivery] .r20d-journey li:not(:last-child) { padding-bottom:28px; border-bottom:1px solid var(--r19-line); }
  [data-r20-delivery] .r20d-journey .r20d-waypoint::before,[data-r20-delivery] .r20d-journey .r20d-waypoint::after { display:none!important; }
  [data-r20-delivery] .r20d-client { min-height:0; }
  [data-r20-delivery] .r20d-action { margin-top:18px; }
  [data-r20-delivery] .r20d-agreement { grid-template-columns:1fr; gap:16px; }
  [data-r20-delivery] main > .r20d-project-opening { padding:0; }
  [data-r20-delivery] .r20d-project-question { grid-template-columns:1fr; gap:32px; padding:28px; }
  [data-r20-delivery] .r20d-project-question > p { font-size:29px; }
  [data-r20-delivery] .r20d-project-steps { grid-template-columns:1fr; gap:42px; }
  [data-r20-delivery] .r20d-project-steps > li { grid-template-columns:34px minmax(0,1fr); gap:14px; }
  [data-r20-delivery] .r20d-project-index { font-size:18px; }
  [data-r20-delivery] .r20d-project-index::after { left:9px; }
  [data-r20-delivery] .r20d-step-result { padding:22px; }
  [data-r20-delivery] .r20d-release-cycle { grid-template-columns:1fr; gap:24px; padding:28px; }
  [data-r20-delivery] .r20d-cycle-arrow { margin:0; line-height:1; transform:rotate(90deg); justify-self:start; }
  [data-r20-delivery] .r20d-release-cycle article > span { margin-bottom:14px; }
  [data-r20-delivery] .r20d-release-cycle h3 br { display:none; }
}

/* Keep stage headings and outcome surfaces on shared baselines. */
[data-r20-delivery] .r20d-project-step { display:flex; flex-direction:column; }
[data-r20-delivery] .r20d-project-step > p { margin-bottom:28px; }
[data-r20-delivery] .r20d-project-step .r20d-condition { display:inline; font-size:inherit; line-height:inherit; margin:0; }
[data-r20-delivery] .r20d-project-step .r20d-step-result { margin-top:auto; }


@media(min-width:761px) { [data-r20-delivery] .r20d-step-result { min-height:190px; } }
@media(min-width:761px) and (max-width:1100px) { [data-r20-delivery] .r20d-step-result { min-height:240px; } }

/* R25 stage outputs: tangible artifacts, all within the existing result panel. */
.r20d-project-steps .r25-output-artifacts { display:grid; gap:12px; margin-top:16px; }
.r20d-project-steps .r25-output-artifacts > span { display:block; color:var(--r19-ink); font-size:18px; line-height:1.5; }
.r20d-project-steps .r25-output-artifacts > span + span { padding-top:12px; border-top:1px solid var(--r19-line); }
.r20d-project-route .r25-delivery-scope { margin:28px 0 0; max-width:75ch; font-size:18px; line-height:1.55; color:var(--r19-muted); }

@media(min-width:761px){
 [data-r20-delivery] .r20d-project-steps { row-gap:28px; }
 [data-r20-delivery] .r20d-project-steps>li { grid-row:span 3;grid-template-rows:subgrid; }
 [data-r20-delivery] .r20d-project-index { grid-row:1/-1; }
 [data-r20-delivery] .r20d-project-step { display:grid;grid-row:1/-1;grid-template-rows:subgrid; }
 [data-r20-delivery] .r20d-project-step>h3,[data-r20-delivery] .r20d-project-step>p { margin:0; }
 [data-r20-delivery] .r20d-project-step .r20d-step-result { margin:0;min-height:0; }
}
