/* ==========================================================================
   REVORA — Compare page
   ========================================================================== */
html.js .nav__brand, html.js .nav__links a, html.js .nav__actions > * { opacity: 1; }

/* Controls bar */
.cbar { position: sticky; top: var(--nav-h); z-index: 60; background: rgba(244,242,237,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair-light); color: var(--ink); }
.pickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 32px); padding-block: 14px; }
.slot__label { display: block; font-family: var(--f-head); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.slot__row { display: flex; align-items: center; gap: 6px; }
.slot select { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; background: none; border: 0; border-bottom: 1px solid var(--hair-light); padding: 9px 26px 9px 0; font-family: var(--f-head); font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: inherit; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23111315' stroke-width='1.4'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.slot select:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; }
.slot--add { display: flex; align-items: flex-end; }
.slot__add { display: inline-flex; align-items: center; gap: 10px; padding: 9px 0; font-family: var(--f-head); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px dashed var(--hair-light); width: 100%; transition: color .3s; }
.slot__add:hover { color: var(--ink); }
.slot__add span { font-size: 18px; line-height: 1; color: var(--gold); }

.ctools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 0 0 12px; }
.presets { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.presets::-webkit-scrollbar { display: none; }
.preset { flex: none; padding: 8px 14px; border: 1px solid var(--hair-light); border-radius: 100px; font-family: var(--f-head); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.preset:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.ctools__right { display: flex; align-items: center; gap: 18px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.toggle input { appearance: none; -webkit-appearance: none; width: 34px; height: 18px; border-radius: 100px; border: 1px solid var(--ink); position: relative; cursor: pointer; transition: background .3s; flex: none; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease), background .3s; }
.toggle input:checked { background: var(--ink); }
.toggle input:checked::after { transform: translateX(16px); background: var(--ivory); }
.toggle input:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }
.tlink { font-family: var(--f-head); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* Stage */
.cstage { padding: clamp(32px, 4vw, 56px) 0 clamp(96px, 12vw, 180px); --cols: 2; --label: clamp(110px, 14vw, 200px); }
.csummary { font-family: var(--f-head); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: clamp(24px, 3vw, 40px); }

.heads, .crow { display: grid; grid-template-columns: var(--label) repeat(var(--cols), minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); }
.heads::before { content: ""; }
.chead figure { aspect-ratio: 4/3; overflow: hidden; background: var(--grey); margin-bottom: 18px; }
.chead img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.chead:hover img { transform: scale(1.04); }
.chead h2 { font-family: var(--f-head); font-weight: 600; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.035em; line-height: 1.05; margin: 10px 0 12px; }
.chead h2 small { display: block; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; margin-bottom: 8px; }
.chead__blurb { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.chead .label { font-size: 10.5px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: var(--label) 1fr; column-gap: clamp(12px, 2vw, 32px); margin: clamp(32px, 4vw, 56px) 0 8px; align-items: start; }
.timeline::before { content: "On the timeline"; font-family: var(--f-head); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.tl { position: relative; padding-bottom: 62px; }
.tl__axis { position: relative; height: 18px; font-size: 10.5px; letter-spacing: .08em; color: var(--ink-soft); }
.tl__axis span { position: absolute; transform: translateX(-50%); }
.tl__track { position: relative; height: 1px; background: var(--ink); margin-top: 4px; }
.tl__track::before, .tl__track::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--ink); }
.tl__track::before { left: 0; } .tl__track::after { right: 0; }
.tl__dot { position: absolute; top: -6px; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); transition: transform .3s var(--ease); }
.tl__dot--1 { border-color: var(--ink); } .tl__dot--2 { border-color: var(--silver); background: var(--silver); }
.tl__dot:hover { transform: scale(1.3); }
.tl__dot b { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-family: var(--f-head); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.tl__note { position: absolute; left: 0; bottom: 0; font-size: 11px; color: var(--ink-soft); }

/* Rows */
.rows { border-top: 1px solid var(--ink); margin-top: 8px; }
.crow { padding: 16px 0; border-bottom: 1px solid var(--hair-light); align-items: baseline; font-size: 15px; }
.crow__label { font-family: var(--f-head); font-weight: 700; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.crow__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.crow__cell { font-family: var(--f-head); font-weight: 500; letter-spacing: -.01em; overflow-wrap: anywhere; }
.crow__cell.is-empty { color: var(--ink-soft); font-family: var(--f-body); font-size: 13px; opacity: .6; }
.crow.is-diff .crow__cell:not(.is-empty) { font-weight: 600; }
.rows__empty { padding: 32px 0; font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--ink-soft); }
.cfoot { margin-top: 28px; font-size: 12.5px; color: var(--ink-soft); max-width: 62ch; }

@media (max-width: 960px) {
  .cbar { position: static; }
  .pickers { grid-template-columns: 1fr 1fr 1fr; }
  .cstage { --label: 0px; }
  .heads::before, .timeline::before { display: none; }
  .heads, .timeline { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr; padding-inline: 8px; }
  .crow { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); row-gap: 6px; }
  .crow__label { grid-column: 1 / -1; }
  .chead__blurb { display: none; }
  .chead .read { font-size: 9.5px; letter-spacing: .12em; }
  .chead .read i { display: none; }
}
@media (max-width: 600px) {
  .pickers { grid-template-columns: 1fr; gap: 8px; padding-block: 10px; }
  .slot__label { display: none; }
  .ctools { padding-bottom: 10px; }
  .ctools__right { width: 100%; justify-content: space-between; }
  .crow { font-size: 14px; }
  .crow__cell { font-size: 14px; }
  .chead h2 { font-size: 20px; }
}
