/* Questions, the close and the footer. Loads after features.css. */
/* ---------- Questions: the house lights come up ---------- */

.questions {
  padding-block: var(--section);
  background: var(--paper) var(--grain) 0 0 / 256px; background-blend-mode: overlay;
  color: var(--ink); color-scheme: light;
}
.questions ::selection { background: var(--ink); color: var(--paper); }
.questions :focus-visible { outline-color: var(--ink); }
.questions-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.questions h2 { position: sticky; top: 104px; }
.qa details { border-top: 1px solid var(--paper-rule); }
.qa details:last-child { border-bottom: 1px solid var(--paper-rule); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 68px; padding: 16px 0; cursor: pointer; list-style: none;
  font: var(--display-weight) clamp(21px, 1.9vw, 27px)/var(--lead) var(--display);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform 300ms var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { max-width: 38em; padding: 0 0 24px; font-size: 17px; color: #36332d; }

/* ---------- Close and footer ---------- */

.close { padding-block: var(--section); }
.close-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.close h2 { font-size: clamp(48px, 7vw, 110px); }
.close h2 + p { margin-top: 22px; max-width: 26em; font-size: clamp(17px, 1.3vw, 19px); color: #c9c3b8; }
.foot { padding: 40px 0 56px; border-top: 1px solid var(--hairline); }
.foot-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 48px; }
.foot .mark { width: 28px; height: 28px; }
.foot .wordmark { font-size: 26px; }
.foot-notes { display: grid; gap: 6px; max-width: 46em; font-size: 14px; color: var(--text-dim); }
.foot-notes a { color: var(--text); }

