/* The plane changes in three discrete steps; the holes never move. */
.section-scope, .section-intro { max-width: 90ch; margin-top: 28px; }
.section-model { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); border: 1px solid var(--hairline); margin-top: 32px; }
.section-drawing { margin: 0; padding: clamp(16px,3vw,32px); background: #e9e9e0; }
.section-drawing svg, .section-card svg { display: block; width: 100%; max-width: 480px; height: auto; margin-inline: auto; }
.section-drawing figcaption, .section-card figcaption, .section-direction, .section-note { font-size: 12px; line-height: 1.8; color: var(--muted); }
.section-direction { margin-top: 12px; }
.section-note { margin-top: 20px; max-width: 92ch; }
.section-drawing svg text, .section-card svg text { fill: var(--text); font: 20px var(--sans); }
.section-plate, .section-holes { fill: none; stroke: var(--petrol); stroke-width: 1.8; }
.section-centres { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 10 3 2 3; }
.section-plane-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 12 3 2 3; }
.section-arrows { fill: none; stroke: var(--ink); stroke-width: 2; }
.section-axes { fill: none; stroke: var(--muted); stroke-width: 1; }
.section-solid { stroke: var(--petrol); stroke-width: 1.8; }
.section-hatch { fill: none; stroke: var(--petrol); stroke-width: .8; }
[data-section-geometry][data-selected="false"] { display: none; }
.section-panel { min-width: 0; padding: clamp(20px,3vw,36px); }
.section-buttons { display: grid; gap: 10px; }
.section-panel button { min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--petrol); color: var(--text); background: transparent; font-size: 14px; line-height: 1.6; }
.section-buttons button { text-align: left; }
.section-buttons button span { display: block; font-size: 12px; }
.section-buttons button[aria-pressed="true"] { background: var(--petrol); color: var(--paper); }
.section-reset { margin-top: 18px; }
.section-panel h3 { font: 400 clamp(28px,3vw,38px)/1.2 var(--serif); margin: 28px 0 14px; }
.section-panel p { font-size: 16px; }
.section-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.section-cases { display: grid; gap: 22px; margin-top: 32px; }
.section-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 28px; padding: clamp(18px,3vw,36px); border: 1px solid var(--hairline); min-width: 0; }
.section-card[data-selected="true"] { border-color: var(--petrol); box-shadow: inset 0 3px 0 var(--petrol); }
.section-card h3, .section-math h3 { font: 400 clamp(28px,3vw,38px)/1.2 var(--serif); margin-bottom: 20px; overflow-wrap: break-word; }
.section-card p, .section-math p { font-size: 16px; line-height: 1.8; }
.section-card figure { min-width: 0; margin: 0; }
.section-card figcaption { text-align: center; }
.section-opening { border-top: 1px solid var(--hairline); margin-top: 22px; padding-top: 14px; }
.section-opening span { display: block; font-size: 14px; }
.section-opening strong { display: block; font: 400 32px/1.4 var(--serif); }
.section-table-wrap { margin-top: 36px; }
.section-table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.section-table caption { text-align: left; font-size: 18px; margin-bottom: 18px; }
.section-table th, .section-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--hairline); font-size: 16px; line-height: 1.6; overflow-wrap: break-word; vertical-align: top; }
.section-table th:first-child { width: 45%; }
.section-table th:nth-child(2) { width: 18%; }
.section-table tbody th { font-weight: 500; }
.section-math { margin-top: 36px; padding: clamp(20px,3vw,36px); background: #e9e9e0; }
.section-math p + p { margin-top: 18px; }
.section-equation { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.section-terms { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin-top: 32px; }
.section-terms dt { font-size: 18px; font-weight: 650; margin-bottom: 14px; }
.section-terms dd { font-size: 16px; line-height: 1.8; margin: 0; }
.section-questions { margin-top: 28px; }
.section-questions details { border-top: 1px solid var(--hairline); }
.section-questions summary { min-height: 44px; padding-block: 20px; font-size: 18px; cursor: pointer; }
.section-questions p { max-width: 85ch; padding-bottom: 20px; }
.section-next { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 24px; }
@media (max-width: 850px) { .section-model, .section-card, .section-terms { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 600px) { .section-next { flex-direction: column; gap: 12px; } .section-table th, .section-table td { padding-inline: 5px; } }
@media print { [data-section-controls] { display: none; } .section-model, .section-card, .section-terms { display: block; } .section-card, .section-questions details { break-inside: avoid; } .section-terms > div + div { margin-top: 24px; } }
