/* Mountain light: sun-versus-skyline charts and tables. Themed by .ml--dark / .ml--light. */
.ml { --ml-bg: var(--paper, #faf7f1); --ml-text: var(--text); --ml-muted: var(--text-3); --ml-line: rgba(14,20,17,.16); --ml-accent: var(--brass-ink); --ml-fill: rgba(156,118,58,.22); --ml-stroke: #8a642a; --ml-head: var(--ink); }
.ml--dark { --ml-bg: var(--ink, #0e1411); --ml-text: rgba(244,239,229,.9); --ml-muted: rgba(244,239,229,.62); --ml-line: rgba(244,239,229,.16); --ml-accent: var(--brass-2); --ml-fill: rgba(216,183,122,.24); --ml-stroke: var(--brass-2); --ml-head: var(--bone); }
.ml { margin-top: clamp(48px, 7vw, 96px); padding-top: clamp(32px, 5vw, 60px); border-top: 1px solid var(--ml-line); }
.ml__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(24px, 5vw, 72px); align-items: start; margin-bottom: clamp(20px, 3vw, 36px); }
.ml__head .eyebrow { grid-column: 1 / -1; margin: 0; }
.ml__head .h3 { margin: 0; color: var(--ml-head); }
.ml__lede { margin: 0; color: var(--ml-text); font-size: 1.08rem; line-height: 1.65; max-width: 62ch; }
.ml__lede strong { color: var(--ml-head); font-weight: 600; }
.ml__fig { margin: 0; }
.ml__chart { display: block; width: 100%; height: auto; max-width: 880px; }
.ml__chart--compare { max-width: 760px; }
.ml__grid { stroke: var(--ml-line); stroke-width: 1; }
.ml__tick { fill: var(--ml-muted); font: 500 15px var(--sans, sans-serif); }
.ml__axis { fill: var(--ml-muted); font: 600 12.5px var(--sans, sans-serif); letter-spacing: .06em; text-transform: uppercase; }
.ml__area { fill: var(--ml-fill); }
.ml__line { fill: none; stroke: var(--ml-stroke); stroke-width: 2.4; stroke-linejoin: round; }
.ml__key { stroke: var(--ml-stroke); stroke-width: 1; stroke-dasharray: 3 4; opacity: .7; }
.ml__dot { fill: var(--ml-head); stroke: var(--ml-stroke); stroke-width: 2; }
.ml__val { fill: var(--ml-head); font: 600 15px var(--sans, sans-serif); paint-order: stroke; stroke: var(--ml-bg); stroke-width: 5px; stroke-linejoin: round; }
.ml__raw { fill: none; stroke: var(--ml-stroke); stroke-width: 1; opacity: .38; stroke-linejoin: round; }
.ml__rname { fill: var(--ml-head); font: 500 16px var(--serif, serif); }
.ml__bar--w { fill: #2f3d4a; }
.ml__bar--s { fill: #b88a43; }
.ml__bval { fill: var(--ml-head); font: 600 14px var(--sans, sans-serif); }
.ml__bval--s { fill: var(--ml-muted); font-weight: 500; font-size: 12.5px; }
a:hover .ml__rname, a:focus-visible .ml__rname { fill: var(--ml-accent); text-decoration: underline; }
.ml__cap { margin: 16px 0 0; max-width: 88ch; color: var(--ml-muted); font-size: 13px; line-height: 1.65; }
.ml__cap a { color: var(--ml-accent); }
.ml__tablewrap { overflow-x: auto; margin-top: clamp(20px, 3vw, 32px); -webkit-overflow-scrolling: touch; }
.ml__table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; color: var(--ml-text); }
.ml__table th, .ml__table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid var(--ml-line); }
.ml__table thead th { font: 600 10.5px/1.4 var(--sans, sans-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--ml-muted); border-top: 0; padding-top: 0; }
.ml__table tbody th { font-weight: 600; color: var(--ml-head); white-space: nowrap; }
.ml__table tbody th span { display: block; font-weight: 400; font-size: 12.5px; color: var(--ml-muted); }
.ml__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ml-page__lead { max-width: 70ch; }
.ml-compare { display: grid; gap: clamp(24px, 4vw, 48px); }
.ml-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; font-size: 13.5px; color: var(--ml-muted); }
.ml-legend span::before { content: ""; display: inline-block; width: 22px; height: 10px; margin-right: 8px; border-radius: 2px; vertical-align: -1px; background: #2f3d4a; }
.ml-legend span + span::before { background: #b88a43; height: 7px; }
@media (max-width: 860px) { .ml__head { grid-template-columns: 1fr; } .ml__table { font-size: 14px; } }
@media (max-width: 520px) { .ml__tick { font-size: 17px; } .ml__val { font-size: 17px; } .ml__axis { font-size: 14px; } }
@media print { .ml__tablewrap { overflow: visible; } }
.ml__sub { display: block; font-weight: 400; font-size: 12.5px; color: var(--ml-muted); }
.ml .ml__table tbody th { text-transform: none; letter-spacing: 0; font: 600 14.5px/1.5 var(--sans, sans-serif); color: var(--ml-head); }
.ml .ml__table tbody th a { text-transform: none; letter-spacing: 0; font: inherit; color: var(--ml-head); text-decoration: underline; text-decoration-color: var(--ml-accent); text-underline-offset: 3px; }
.ml .ml__table tbody th span { font-weight: 400; font-size: 12.5px; }

/* sun explorer */
.sunx__app[hidden] { display: none; }
.sunx__fail { color: rgba(244,239,229,.8); max-width: 70ch; }
.sunx__controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.2fr); gap: 20px clamp(20px, 3vw, 40px); align-items: start; margin: clamp(20px, 3vw, 36px) 0 22px; }
.sunx__field { display: grid; gap: 10px; min-width: 0; }
.sunx__field > span { font: 600 10.5px/1.3 var(--sans, sans-serif); letter-spacing: .18em; text-transform: uppercase; color: rgba(244,239,229,.64); }
.sunx__field > span b { margin-left: 8px; color: var(--bone); letter-spacing: .04em; font-weight: 600; text-transform: none; font-size: 14px; }
.sunx select { width: 100%; background: rgba(244,239,229,.06); color: var(--bone); border: 1px solid rgba(244,239,229,.3); border-radius: 3px; padding: 12px 14px; font: 500 15px var(--sans, sans-serif); }
.sunx select option { color: #0e1411; }
.sunx input[type=range] { width: 100%; accent-color: var(--brass-2); margin: 6px 0; }
.sunx__presets { display: flex; flex-wrap: wrap; gap: 8px; }
.sunx__presets button, .sunx__play { border: 1px solid rgba(244,239,229,.35); background: transparent; color: var(--bone); border-radius: 999px; padding: 8px 13px; font: 600 10.5px/1 var(--sans, sans-serif); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.sunx__presets button:hover, .sunx__play:hover { border-color: var(--brass-2); }
.sunx__presets button[aria-pressed="true"], .sunx__play[aria-pressed="true"] { background: var(--brass-2); color: var(--ink); border-color: var(--brass-2); }
.sunx select:focus-visible, .sunx input:focus-visible, .sunx button:focus-visible, .sunx__scroll:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }
.sunx__time { display: flex; gap: 14px; align-items: center; }
.sunx__fig { margin: 0; }
.sunx__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border: 1px solid rgba(216,183,122,.28); border-radius: 3px; background: #0b1119; scrollbar-width: thin; scrollbar-color: rgba(216,183,122,.35) transparent; }
.sunx__scroll svg { display: block; width: 100%; min-width: 640px; height: auto; }
.sunx__cap { margin: 14px 0 0; max-width: 88ch; color: rgba(244,239,229,.62); font-size: 13px; line-height: 1.65; }
.sunx__out { margin: 20px 0 0; max-width: 80ch; min-height: 3.3em; font-size: 1.08rem; line-height: 1.6; color: rgba(244,239,229,.94); }
.sunx__sum { margin: 10px 0 0; max-width: 80ch; color: rgba(244,239,229,.82); line-height: 1.65; }
.sunx__sum strong { color: var(--bone); }
.sunx svg text { font-family: var(--sans, sans-serif); }
.sunx__grid line { stroke: rgba(244,239,229,.1); stroke-width: 1; }
.sunx__grid .sunx__vgrid { stroke: rgba(244,239,229,.06); }
.sunx__grid text { fill: rgba(244,239,229,.62); font-size: 13px; font-weight: 500; }
.sunx__grid .sunx__card { fill: var(--brass-2); font-weight: 700; letter-spacing: .08em; }
.sunx__ridge { fill: #0a0f0c; }
.sunx__ridgeline { fill: none; stroke: var(--brass-2); stroke-width: 1.6; stroke-linejoin: round; }
.sunx__track { fill: none; stroke: rgba(255,224,160,.62); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.sunx__tickdot { fill: rgba(255,224,160,.95); }
.sunx__ticklabel { fill: rgba(255,236,190,.96); font-size: 12.5px; font-weight: 600; paint-order: stroke; stroke: rgba(10,15,12,.7); stroke-width: 3px; }
.sunx__disc { fill: #fff3cf; }
.sunx__ring { fill: none; stroke: var(--brass-2); stroke-width: 2; }
.sunx__tri { fill: var(--bone); }
.sunx__mark { fill: var(--bone); font-size: 14px; font-weight: 600; paint-order: stroke; stroke: rgba(10,15,12,.88); stroke-width: 4px; stroke-linejoin: round; }
.sunx__mark--off { fill: rgba(244,239,229,.88); font-weight: 500; }
.sunx__flat { stroke: rgba(244,239,229,.5); stroke-width: 1; stroke-dasharray: 6 5; }
.sunx__flatlabel { fill: rgba(244,239,229,.62); font-size: 12px; font-weight: 500; }
.sunx__ptick { stroke: var(--brass-2); stroke-width: 1; }
.sunx__peak { fill: var(--bone); font: 500 13px var(--serif, serif); paint-order: stroke; stroke: rgba(10,15,12,.8); stroke-width: 3px; }
.sunx__peaksub { fill: rgba(216,183,122,.95); font: 600 10.5px var(--sans, sans-serif); letter-spacing: .04em; }
@media (max-width: 900px) { .sunx__controls { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sunx__presets button, .sunx__play { transition: none; } }
