#project-content .co-case {
  --ink: #283024;
  --olive: #444d31;
  --cream: #fff;
  --edge: #c6c7b6;
  --pad: clamp(1.25rem, 4.7vw, 5rem);
  background: var(--cream);
  color: var(--ink);
  font-family: Aileron, Arial, sans-serif;
}
.co-case *, .co-case *::before, .co-case *::after { box-sizing: border-box; }
.co-case figure { margin: 0; padding: 0; }
#project-content .co-case p, #project-content .co-case img { margin: 0; white-space: normal; }
#project-content .co-case p { font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.5; }
#project-content .co-case img { display: block; width: 100%; height: auto; }
.co-case :is(h2,h3,p,figcaption) { text-wrap: pretty; }
#project-content .co-case h2, .co-case h3 {
  margin: 0; font-family: Baskerville, 'Times New Roman', serif;
  font-weight: 400; line-height: .98; letter-spacing: -.045em;
}
.co-case h3 { font-size: clamp(2.6rem, 4.8vw, 5rem); }
.co-case .artwork-zoom {
  display: block; position: relative; width: 100%; max-width: none; padding: 0;
  background: transparent; color: inherit; border: 0; border-radius: 0;
  overflow: hidden; cursor: zoom-in;
}
.co-case .artwork-zoom:focus-visible {
  outline: 3px solid #a34b13; outline-offset: -3px;
}
.co-cover { display: grid; grid-template-columns: minmax(16rem,.75fr) minmax(0,1.55fr); }
.co-title {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.4rem;
  padding: var(--pad) clamp(1.25rem,3.2vw,3.5rem); background: #fff; color: var(--ink);
}
.co-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.6rem; }
.co-meta, #project-content .co-case .co-by, .co-case figcaption {
  font-size: .88rem; line-height: 1.4; letter-spacing: .01em;
}
#project-content .co-case h2 { font-size: clamp(3.5rem, 7.5vw, 7.4rem); }
#project-content .co-case .co-sub { margin-top: .75rem; font: italic clamp(1.4rem,2.1vw,2.35rem)/1.15 Baskerville, Georgia, serif; }
.co-hero { position: relative; min-width: 0; align-self: center; }
.co-hero figcaption {
  position: absolute; bottom: .75rem; right: .75rem; pointer-events: none;
  padding: .25rem .55rem; background: #fffffff0; color: #303526; font-size: .78rem;
}
.co-pad { padding: clamp(3.2rem,6.5vw,6.5rem) var(--pad); }
.co-intro { display: grid; grid-template-columns: .86fr 1.14fr; gap: var(--pad); border-bottom: 1px solid var(--edge); }
.co-intro > div { max-width: 60ch; }
#project-content .co-intro p + p { margin-top: .85em; }
.co-process { padding-top: clamp(2.4rem,4.2vw,4.5rem); }
.co-steps { display: grid; grid-template-columns: repeat(4,1fr); margin: 2rem 0 1.5rem; }
.co-steps figure { border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.co-steps figure + figure { border-left: 1px solid var(--edge); }
#project-content .co-steps img { height: clamp(8rem,14.5vw,15rem); object-fit: contain; padding: 1.1rem .8rem .25rem; }
.co-steps figcaption { padding: .75rem; text-align: center; }
#project-content .co-process > p { max-width: 65ch; }
@media(max-width: 760px) {
  .co-cover,.co-intro { grid-template-columns: 1fr; }
  .co-title { gap: 1.4rem; padding: 3.5rem var(--pad) 1.75rem; }
  .co-meta { justify-content: flex-start; }
  #project-content .co-case h2 { font-size: clamp(4.1rem,14vw,6rem); }
  .co-hero .artwork-zoom { height: auto; }
  #project-content .co-hero img { height: auto; }
  .co-hero figcaption { font-size: .75rem; right: .4rem; bottom: .4rem; }
  .co-steps { grid-template-columns: repeat(2,1fr); }
  .co-steps figure:nth-child(3) { border-left: 0; }
  .co-steps figure:nth-child(n+3) { border-top: 0; }
  #project-content .co-steps img { height: clamp(8rem,27vw,13rem); }
}


#project-content .co-heading #project-title { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; font: normal clamp(2.1rem,3.4vw,3.8rem)/1 Baskerville,Georgia,serif; letter-spacing: -.04em; }
#project-content .co-heading .co-logo { width: min(85%, 275px); height: auto; }
#project-content .co-heading .co-kind { font-size: 1rem; margin-top: .9rem; }
.co-elevations { border-top: 1px solid var(--edge); }
.co-elevation-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; }
#project-content .co-elevation-grid img { width: 100%; height: clamp(7rem,13.5vw,13rem); object-fit: contain; object-position: center bottom; }
.co-elevation-grid figcaption { border-top: 1px solid var(--edge); margin-top: .8rem; padding-top: .55rem; }
.co-gallery { border-top: 1px solid var(--edge); }
.co-gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.5rem,3.4vw,3.3rem) clamp(1rem,2vw,1.9rem); margin-top: 2rem; }
.co-gallery-grid figcaption { margin-top: .6rem; }
@media(max-width:760px){
 .co-elevation-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.35rem .8rem; }
 .co-gallery-grid { grid-template-columns: 1fr; }
 #project-content .co-heading .co-logo { width: min(52vw, 215px); }
}

.scene-cover .cover-art[data-project="cosmico"],
.index-project[data-project="cosmico"] .index-art {
  aspect-ratio: 3 / 2;
}
.scene-cover .cover-art[data-project="cosmico"] > img,
.index-project[data-project="cosmico"] .index-art > img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask: url("silueta-isla.svg") center / 100% 100% no-repeat;
  mask: url("silueta-isla.svg") center / 100% 100% no-repeat;
}
.co-drawing { display:grid; grid-template-columns:.87fr 1.13fr; align-items:center; gap:var(--pad); }
#project-content .co-drawing p, #project-content .co-notes > p { margin-top:1.2rem; }
#project-content .co-drawing img { max-height:27rem; object-fit:contain; }
.co-drawing figcaption, .co-notes figcaption { padding-top:.7rem; }
.co-notes { border-block:1px solid var(--edge); }
.co-note-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; margin-top:2rem; }
#project-content .co-note-grid img { aspect-ratio:5/4; object-fit:contain; }
.co-note-grid strong { display:block; margin-bottom:.4rem; }
.co-note-grid figcaption { max-width:53ch; }
.co-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:760px) {
  .co-drawing, .co-note-grid { grid-template-columns:1fr; }
  .co-note-grid { gap:2.5rem; }
  .co-steps { grid-template-columns:1fr; }
  .co-steps figure + figure { border-left:0; }
}
