body {
  background: #faf9f3;
  color: #173b38;
  font-family: system-ui, sans-serif;
}
.mast, main, footer { width: min(1100px, 92%); margin-inline: auto; }
.mast, .signature { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mast { padding-block: 18px; border-bottom: 1px solid #aab8aa; }
.mast a:first-child { display: flex; align-items: center; gap: 10px; font: bold 21px Georgia, serif; text-decoration: none; }
.mast a + a, .signature a { font: 500 14px system-ui, sans-serif; text-underline-offset: 4px; }
.intro { display: grid; align-items: center; gap: clamp(20px, 4vw, 56px); margin-block: 36px; }
.shelf .intro { grid-template-columns: clamp(110px, 16vw, 170px) 1fr; }
.portrait { background: url('/assets/cVBCR.jpg') left 49% / auto 164% no-repeat; }
.shelf .portrait { aspect-ratio: 1; border-radius: 50%; }
.note { max-width: 66ch; }
h1 { font: bold clamp(34px, 4.2vw, 60px)/1 Georgia, serif; color: inherit; }
.note p { margin: 14px 0; }
.signature { justify-content: flex-start; flex-wrap: wrap; font: italic 21px Georgia, serif; }
h2 { font: bold 24px Georgia, serif; margin: 0; padding-bottom: 12px; border-bottom: 2px solid; }
.project-card { background: transparent; border: 0; border-bottom: 1px solid #aab8aa; border-radius: 0; box-shadow: none; }
.shelf .project-card { grid-template-columns: minmax(0, .65fr) 1fr; gap: 5%; padding-block: 20px; min-height: 0; }
.project-body, .project-featured .project-body { padding: 12px 0; overflow-wrap: anywhere; }
.project-card h3 { font: bold clamp(27px, 3vw, 44px)/1.08 Georgia, serif; }
.project-description { margin: 12px 0; }
.project-link { margin-top: 0; }
.project-type { margin-bottom: 6px; }
.project-visual { border-radius: 6px; height: clamp(200px, 20vw, 258px); }
.media-phones { padding: 12px; }
.phone-gallery .phone-shot, .phone-gallery.count-3 .phone-shot, .phone-gallery.count-3 .phone-shot:nth-child(2) { max-height: 100%; border-width: 2px; border-radius: 10px; }
footer { padding-block: 32px 60px; }
.postcard { background: #f4ebd7; }
.postcard .intro { background: #fffcf4; padding: 10px; border: 1px solid #c9bfa9; box-shadow: 2px 5px 0 #dfd5bf; gap: 0; }
.postcard .portrait { height: clamp(190px, 25vw, 285px); background-size: max(100%, 600px) auto; }
.postcard .note { max-width: 760px; padding: clamp(18px, 3vw, 40px); }
.postcard h1 { font-style: italic; color: #80432e; }
.postcard #project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 20px; }
.postcard .project-card { display: flex; flex-direction: column; min-height: 0; }
.postcard .project-featured { grid-column: 1/-1; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 5%; }
.postcard .project-featured .project-visual { height: clamp(230px, 28vw, 360px); }
@media (max-width: 650px) {
  .shelf .intro { display: block; }
  .shelf .portrait { float: right; width: 88px; margin: 0 0 8px 14px; }
  .shelf .project-card, .postcard #project-grid, .postcard .project-featured { grid-template-columns: 1fr; gap: 0; }
  .postcard .project-card { padding-bottom: 14px; margin-bottom: 18px; }
}
.store-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.store-links img { height: 40px; width: auto; }
.store-links .play-badge { height: 60px; }
