/* Local review: compact the How We Work page while retaining its original CIRRANE theme. */
body.work-review {
  --work-review-paper: #f3efe7;
  --work-review-white: #fffdf8;
  --work-review-sage: #e4ebe6;
  --work-review-ink: #0c2c38;
  --work-review-muted: #40575d;
  --work-review-rule: #c2cec8;
  --work-review-copper: #a95f37;
  color: var(--work-review-ink);
}
/* Shorter photo hero; keep the original headline, rural image, and wordmark. */
body.work-review .work-hero,
body.work-review .work-hero .hero-inner {
  min-height: 350px;
}
body.work-review .work-hero .hero-inner {
  padding-top: 30px;
  padding-bottom: 32px;
}
body.work-review .work-hero .hero-copy { max-width: 740px; }
body.work-review .work-hero h1 { max-width: 690px; }
body.work-review .work-hero h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
body.work-review .work-hero .lead { max-width: 700px; font-size: 1rem; line-height: 1.5; }
body.work-review .work-hero .work-hero-transition { display: none; }

/* Keep the featured engagement in the original pale-sage section and ivory panel style. */
body.work-review .work-example {
  padding: 28px 0 30px;
  background: var(--work-review-sage);
  border-bottom: 1px solid var(--work-review-rule);
}
body.work-review .work-example .sample-engagement-lead {
  max-width: none;
  margin: 0 0 18px;
  padding: 16px 20px 17px;
  border-left: 4px solid var(--work-review-copper);
  background: var(--work-review-white);
}
body.work-review .work-example .sample-engagement-lead .eyebrow {
  margin: 0 0 6px;
  color: var(--work-review-copper);
  font-size: .8rem;
  letter-spacing: .12em;
}
body.work-review .work-example .sample-model-name { display: none; }
body.work-review .work-example .sample-engagement-lead h2 {
  max-width: 820px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.16;
  letter-spacing: -.015em;
}
body.work-review .work-example .sample-engagement-lead p:not(.eyebrow) {
  max-width: 1040px;
  margin-top: 9px;
  color: var(--work-review-muted);
  font-size: .98rem;
  line-height: 1.5;
}

/* Familiar four-box sequence: compact, consistent, and easy to compare. */
body.work-review .work-example .process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
body.work-review .work-example .process-grid > li {
  min-width: 0;
  margin: 0;
  padding: 14px 15px 13px;
  border: 1px solid var(--work-review-rule);
  border-top: 3px solid var(--work-review-copper);
  border-radius: 2px;
  background: var(--work-review-white) !important;
  color: var(--work-review-ink);
  transition: opacity 1.4s ease, transform 1.4s cubic-bezier(.2,.68,.25,1), border-color .2s ease;
  transition-delay: var(--review-delay, 0ms) !important;
}
body.work-review .work-example .process-grid > li:hover { border-color: #a9b9b2; }
body.work-review .work-example .process-grid .step-track { margin: 0 0 8px; }
body.work-review .work-example .process-grid .step-track span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--work-review-ink);
  font-size: 1rem;
  line-height: 1;
}
body.work-review .work-example .process-grid .step-track > span.cirrane-step-mark {
  border: 1px solid var(--work-review-copper);
  background: url('/assets/cirrane-open-ring.svg') center / 100% 100% no-repeat, radial-gradient(circle, var(--work-review-copper) 0%, var(--work-review-copper) 100%) center / 0 0 no-repeat !important;
  color: var(--work-review-ink);
  font-weight: 650;
  transition: background-size 1.4s cubic-bezier(.2,.68,.25,1), color .55s ease, transform .9s ease;
  transition-delay: var(--review-delay, 0ms);
}
body.work-review .work-example .process-grid > li.work-review-visible .step-track > span.cirrane-step-mark,
body.work-review .work-example .process-grid > li.work-review-complete .step-track > span.cirrane-step-mark {
  background-size: 100% 100%, 100% 100% !important;
  color: #fffdf8;
}
body.work-review .work-example .process-grid .step-track i { display: none; }
body.work-review .work-example .process-grid .timing {
  margin: 0 0 5px;
  color: var(--work-review-copper);
  font-size: .78rem;
  line-height: 1.35;
  font-weight: 650;
}
body.work-review .work-example .process-grid h3 {
  margin: 0;
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.23;
}
body.work-review .work-example .process-grid > li > p:not(.timing) {
  margin: 7px 0 0;
  color: var(--work-review-muted);
  font-size: .88rem;
  line-height: 1.45;
}
body.work-review .work-example .phase-activities {
  margin-top: 9px;
  border-top: 1px solid #d8ded8;
}
body.work-review .work-example .phase-activities summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--work-review-ink);
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
body.work-review .work-example .phase-activities summary::-webkit-details-marker { display: none; }
body.work-review .work-example .phase-activities summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-left: auto;
  border: 1px solid var(--work-review-rule);
  border-radius: 50%;
  color: var(--work-review-copper);
  font-size: .9rem;
  line-height: 1;
}
body.work-review .work-example .phase-activities[open] summary::after { content: "−"; }
body.work-review .work-example .phase-activities ul {
  margin: 2px 0 2px;
  padding-left: 17px;
  color: var(--work-review-muted);
  font-size: .82rem;
  line-height: 1.42;
}
body.work-review .work-example .phase-activities ul li + li { margin-top: 5px; }
html.work-review-motion-ready body.work-review .work-example .process-grid > li {
  opacity: 1;
  transform: none;
  transition: opacity 1.4s ease, transform 1.4s cubic-bezier(.2,.68,.25,1), border-color .2s ease;
}
html.work-review-motion-ready body.work-review .work-example .process-grid > li.work-review-pending {
  opacity: 0;
  transform: translateY(12px);
}
html.work-review-motion-ready body.work-review .work-example .process-grid > li.work-review-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scope, deliverable, and fee boundaries sit in one compact executive band. */
body.work-review .work-example .sample-note {
  margin: 16px 0 0;
  padding: 12px 0;
  border-top: 1px solid #bdc9c3;
  border-bottom: 1px solid #bdc9c3;
  color: var(--work-review-muted);
  font-size: .88rem;
  line-height: 1.45;
  text-align: left;
}
body.work-review .work-example .work-terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 30px;
  margin-top: 13px;
}
body.work-review .work-example .work-terms p {
  margin: 0;
  color: var(--work-review-muted);
  font-size: .88rem;
  line-height: 1.45;
}

/* Clarify mutual ownership without a second oversized section. */
body.work-review .work-example .working-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #bdc9c3;
}
body.work-review .work-example .working-grid > div { min-width: 0; }
body.work-review .work-example .working-grid > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--work-review-rule);
}
body.work-review .work-example .working-grid .eyebrow {
  margin: 0 0 5px;
  font-size: .75rem;
  letter-spacing: .1em;
}
body.work-review .work-example .working-grid h2 {
  max-width: 520px;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
}
body.work-review .work-example .working-grid ul {
  margin: 9px 0 0;
  padding-left: 18px;
}
body.work-review .work-example .working-grid li {
  padding-left: 1px;
  color: var(--work-review-muted);
  font-size: .85rem;
  line-height: 1.4;
}
body.work-review .work-example .working-grid li + li { margin-top: 5px; }
body.work-review .work-example .working-grid .icon-list { gap: 10px; }

/* Fold change support into a short close; keep its substance after the engagement. */
body.work-review .work-change {
  padding: 20px 0;
  background: var(--work-review-paper);
  border-top: 0;
  border-bottom: 1px solid var(--work-review-rule);
}
body.work-review .work-change .container { max-width: 1180px; }
body.work-review .work-change .change-grid { display: block; }
body.work-review .work-change .change-grid > div:first-child { display: none; }
body.work-review .work-change .change-management-callout {
  display: grid;
  grid-template-columns: minmax(145px, .35fr) minmax(200px, .7fr) 2fr;
  align-items: start;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.work-review .work-change .change-management-callout .eyebrow {
  grid-row: 1 / span 2;
  margin: 4px 0 0;
  color: var(--work-review-copper);
  font-size: .75rem;
  letter-spacing: .1em;
}
body.work-review .work-change .change-management-callout h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}
body.work-review .work-change .change-management-callout p:last-child {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--work-review-muted);
  font-size: .85rem;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  body.work-review .work-hero,
  body.work-review .work-hero .hero-inner { min-height: 320px; }
  body.work-review .work-example .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.work-review .work-example .process-grid h3 { font-size: 1.18rem; }
}
@media (max-width: 620px) {
  body.work-review .work-hero,
  body.work-review .work-hero .hero-inner { min-height: 0; }
  body.work-review .work-hero .hero-inner { padding-top: 27px; padding-bottom: 30px; }
  body.work-review .work-example { padding: 22px 0 24px; }
  body.work-review .work-example .sample-engagement-lead { padding: 14px 15px; }
  body.work-review .work-example .sample-engagement-lead h2 { font-size: 1.45rem; }
  body.work-review .work-example .sample-engagement-lead p:not(.eyebrow) { font-size: .9rem; }
  body.work-review .work-example .process-grid { grid-template-columns: 1fr; gap: 9px; margin-top: 12px; }
  body.work-review .work-example .process-grid > li { padding: 12px 14px; }
  /* Keep cards legible if a fast swipe passes their reveal threshold. */
  body.work-review .work-example .process-grid h3 { font-size: 1.1rem; }
  body.work-review .work-example .work-terms,
  body.work-review .work-example .working-grid { grid-template-columns: 1fr; gap: 12px; }
  body.work-review .work-example .working-grid { margin-top: 16px; padding-top: 14px; }
  body.work-review .work-example .working-grid > div + div { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--work-review-rule); }
  body.work-review .work-change { padding: 15px 0; }
  body.work-review .work-change .change-management-callout { grid-template-columns: 1fr; gap: 3px; }
  body.work-review .work-change .change-management-callout .eyebrow,
  body.work-review .work-change .change-management-callout p:last-child { grid-column: auto; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html.work-review-motion-ready body.work-review .work-example .process-grid > li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
