/* Field notes: useful decisions, with native disclosure as the baseline. */
.handling-studies .handling-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  align-items: start;
}

.handling-study { min-width: 0; }
.handling-study figure { margin: 0; }
.handling-study figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #eeece6;
}

.handling-study details { border-bottom: 1px solid var(--line, #d6d3c8); }
.handling-study summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
  scroll-margin-top: calc(var(--nav-height, 82px) + 22px);
}
.handling-study summary::-webkit-details-marker { display: none; }
.handling-study summary::marker { content: ''; }
.handling-study summary h3 {
  margin: 0;
  color: var(--ink, #292923);
  font-family: inherit;
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.handling-study summary:focus-visible {
  outline: 2px solid var(--copper, #a34d33);
  outline-offset: 5px;
}
.handling-toggle { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.handling-toggle::before,
.handling-toggle::after {
  content: '';
  position: absolute;
  inset: 7px 1px auto;
  height: 1px;
  background: currentColor;
}
.handling-toggle::after { transform: rotate(90deg); }
.handling-study details[open] .handling-toggle::after { transform: rotate(0deg); }
.handling-study details[open] summary h3,
.handling-study details[open] .handling-toggle { color: var(--copper, #a34d33); }

.handling-reasoning { margin: 0; padding: 12px 0 23px; }
.handling-reasoning > div + div { margin-top: 17px; }
.handling-reasoning dt {
  margin-bottom: 5px;
  color: var(--ink, #292923);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.handling-reasoning dd {
  margin: 0;
  color: var(--muted, #66645a);
  font-size: 14px;
  line-height: 1.65;
}
.handling-studies .handling-disclosure { margin-top: 23px; }

@media (max-width: 700px) {
  .handling-studies .handling-study-grid { grid-template-columns: 1fr; gap: 27px; }
  .handling-study summary { min-height: 68px; padding: 15px 0; }
  .handling-study summary h3 { font-size: 24px; }
  .handling-reasoning { padding-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .handling-study *, .handling-study *::before, .handling-study *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
