/* Project-specific editorial detail. Uses the existing case-study colour systems. */
.case-depth {
  box-sizing:border-box;
  padding:clamp(78px,8vw,132px) clamp(24px,4vw,56px);
  background:var(--cas-ink);
  color:var(--cas-paper);
}
.case-depth * {box-sizing:border-box}
.case-depth__opening {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  column-gap:clamp(32px,5vw,86px);
  align-items:end;
  max-width:1500px;
  margin:0 auto;
}
.case-depth__opening>.case-overline {
  grid-column:1/-1;
  margin:0 0 clamp(21px,3vw,38px);
  color:var(--cas-paper);
  opacity:.77;
}
.case-depth__opening h2 {
  min-width:0;
  margin:0;
  max-width:13ch;
  font-size:clamp(43px,5.25vw,83px);
  font-weight:900;
  font-family:var(--cas-font);
  line-height:1.06;
  letter-spacing:-.066em;
  overflow-wrap:normal;
}
.case-depth__opening h2 em {
  font-style:normal;
  text-decoration:underline;
  text-decoration-thickness:.055em;
  text-underline-offset:.09em;
  text-decoration-color:var(--cas-accent);
}
.case-depth__opening>p {
  min-width:0;
  max-width:46ch;
  margin:0 0 7px;
  font-size:clamp(17px,1.48vw,22px);
  line-height:1.56;
  opacity:.9;
}
.case-depth__label {
  display:block;
  margin-bottom:clamp(15px,1.8vw,25px);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  line-height:1.5;
  text-transform:uppercase;
  opacity:.75;
}
.case-depth h3 {
  margin:0 0 15px;
  font-family:var(--cas-font);
  font-size:clamp(29px,3vw,47px);
  font-weight:850;
  line-height:1.12;
  letter-spacing:-.056em;
}
.case-depth__founder {
  display:grid;
  grid-template-columns:minmax(150px,.38fr) minmax(0,1fr);
  gap:clamp(20px,5vw,72px);
  max-width:1500px;
  margin:clamp(53px,6vw,100px) auto 0;
  padding-top:clamp(22px,2.7vw,38px);
  border-top:1px solid currentColor;
}
.case-depth__founder strong {
  font-size:11px;
  font-weight:850;
  letter-spacing:.13em;
  line-height:1.5;
}
.case-depth__founder p {
  margin:0;
  max-width:67ch;
  font-size:clamp(18px,1.75vw,27px);
  line-height:1.44;
  letter-spacing:-.021em;
}

/* TRENIC is told from the two sides of the same accounting work. */
.trenic-depth__areas {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(32px,5vw,84px);
  max-width:1500px;
  margin:clamp(65px,7vw,112px) auto 0;
}
.trenic-depth__area {
  min-width:0;
  border-top:1px solid currentColor;
  padding-top:24px;
}
.trenic-depth__area h3 {max-width:16ch}
.trenic-depth__area p {
  margin:0;
  max-width:46ch;
  font-size:clamp(17px,1.32vw,21px);
  line-height:1.58;
  opacity:.84;
}

/* The jewellery story asks a trade question, then follows its supporting details. */
.jewellery-depth__layout {
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:clamp(35px,6vw,100px);
  max-width:1500px;
  margin:clamp(65px,7vw,110px) auto 0;
}
.jewellery-depth__question {
  border-top:1px solid currentColor;
  padding-top:24px;
}
.jewellery-depth__question p {
  max-width:19ch;
  margin:0;
  font-family:var(--cas-font);
  font-size:clamp(29px,3.45vw,54px);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.046em;
}
.jewellery-depth__notes {min-width:0}
.jewellery-depth__notes>div {
  padding:21px 0 23px;
  border-top:1px solid currentColor;
}
.jewellery-depth__notes h3 {
  font-size:clamp(27px,2.5vw,39px);
  margin:0 0 9px;
}
.jewellery-depth__notes p {
  margin:0;
  max-width:48ch;
  font-size:clamp(16px,1.24vw,20px);
  line-height:1.57;
  opacity:.84;
}

/* BackOfficeKeeper follows responsibility, review and continuity. */
.backoffice-depth__editorial {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:clamp(25px,4.5vw,80px);
  row-gap:35px;
  max-width:1500px;
  margin:clamp(65px,7vw,108px) auto 0;
}
.backoffice-depth__point {
  min-width:0;
  border-top:1px solid currentColor;
  padding-top:24px;
}
.backoffice-depth__point h3 {max-width:15ch}
.backoffice-depth__point p {
  max-width:43ch;
  margin:0;
  font-size:clamp(16px,1.26vw,20px);
  line-height:1.58;
  opacity:.85;
}
.case-body[data-theme="backoffice"] .case-depth__opening h2 em {
  text-decoration-color:var(--cas-accent);
}
@media (max-width:1050px) {
  .case-depth__opening {grid-template-columns:minmax(0,1fr);gap:20px}
  .case-depth__opening>.case-overline {margin-bottom:6px}
  .case-depth__opening h2 {max-width:18ch;font-size:clamp(44px,6vw,68px)}
  .case-depth__opening>p {max-width:64ch}
  .backoffice-depth__editorial {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px) {
  .case-depth {padding:clamp(78px,12vw,96px) 24px}
  .case-depth__opening h2 {font-size:clamp(37px,9vw,57px);line-height:1.08}
  .case-depth__opening>p {font-size:17px}
  .trenic-depth__areas,.jewellery-depth__layout,.backoffice-depth__editorial {
    grid-template-columns:minmax(0,1fr);
    gap:clamp(30px,7vw,45px);
    margin-top:clamp(47px,10vw,69px);
  }
  .case-depth__founder {
    grid-template-columns:minmax(0,1fr);
    gap:13px;
    margin-top:clamp(43px,9vw,68px);
  }
  .case-depth__founder p {font-size:19px}
  .jewellery-depth__question p {max-width:27ch;font-size:clamp(29px,7vw,43px)}
}
@media (max-width:390px) {
  .case-depth__opening h2 {font-size:clamp(35px,9.4vw,41px);overflow-wrap:break-word}
  .case-depth h3 {font-size:clamp(27px,7.7vw,34px)}
  .case-depth__founder p {font-size:18px}
}
@media (prefers-reduced-motion:reduce) {
  .case-depth * {scroll-behavior:auto}
}
