/* Superficies neutras.  */
:root {
  --ink: #262524;
  --muted: #605d59;
  --paper: #fff;
  --warm-paper: #f8f5f1;
  --line: #dedad4;
  --frame-border: #2625241a;
  --floating-shadow: 0 2px 6px #30271f08, 0 18px 36px -17px #30271f35;
}

.home-hero, .inner-hero, .related-pages, .works-section, .contact-band {
  background: var(--warm-paper);
  border-color: var(--rule);
}
.refs-band, .products, .method-section, .mega-panel {
  background: var(--paper);
}
.hero-mosaic {
  background: transparent;
  border: none;
  box-shadow: none;
  gap: clamp(10px,1.3vw,20px);
  padding: clamp(8px,1.3vw,20px);
}
.mosaic-tile {
  background: #e6e2dc;
  border: 4px solid white;
  border-radius: 6px;
  box-shadow: var(--floating-shadow);
}
.hero-mosaic .tile-0 { margin-block: 4%; }
.hero-mosaic .tile-1, .hero-mosaic .tile-2 { translate: 0 -3%; }
.hero-copy h1 span { color: var(--ink); }
.case-picture, .inner-photo { background: #eeeae5; }
.case-panel, .inner-photo, .content-card, .reading-side, .related-case,
.work-card, .person, .contact-layout > * {
  border: 1px solid var(--frame-border);
  border-radius: 5px;
  box-shadow: var(--floating-shadow);
}
.work-card, .related-case { overflow: hidden; }
.case-tabs button, .btn-outline { border-color: #9c978f; }
.contact-band {
  padding-block: clamp(36px,5vw,76px);
  color: var(--ink);
  border-top: 1px dotted var(--rule);
}
.contact-band .contact-inner {
  width: min(calc(var(--frame) - 62px),1208px);
  padding: clamp(28px,4vw,60px);
  background: white;
  border: 1px solid var(--frame-border);
  box-shadow: var(--floating-shadow);
}
.contact-band .eyebrow, .contact-band p:not(.eyebrow) { color: var(--muted); }
.contact-inner .btn {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.contact-inner .btn:hover { background: #42403c; }
@media (max-width: 760px) {
  .contact-band .contact-inner { width: calc(100% - 70px); padding: 24px 18px; }
  .hero-mosaic { gap: 8px; padding: 5px; }
  .mosaic-tile { border-width: 2px; }
  .hero-mosaic .tile-1, .hero-mosaic .tile-2 { translate: none; }
}

.works-section .case-picture {
  display: grid;
  align-content: center;
  min-height: 0;
  max-height: none;
  padding: clamp(18px,2.4vw,36px);
  background: #eae6df;
}
.works-section .case-picture img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: contain;
  background: #f8f6f2;
  box-shadow: var(--floating-shadow);
}
@media (max-width:760px) {
  .works-section .case-picture { height: auto; padding: 18px; }
}
