/* Where does your work begin? The reflection tool and the sections below it. Plan: _work/design-plan.md.
   "Step mode" (one statement at a time) runs only when motion is on: html.js:not(.rm):not(.no-motion).
   Everywhere else the seven statements show as a list of radio buttons. */

/* ---------- The opener: the tool ---------- */
.tool { position: relative; min-height: 85svh; display: flex; align-items: center; background: var(--abyss); overflow: clip; isolation: isolate; padding: calc(var(--header-h) + clamp(18px, 2.6vw, 40px)) 0 clamp(40px, 4.4vw, 64px); }
.tool__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(900px 620px at var(--gx, 78%) var(--gy, 46%), rgba(91, 74, 128, .42), transparent 70%),
  radial-gradient(700px 500px at 8% 100%, rgba(42, 29, 66, .9), transparent 70%); }
.tool__motes { z-index: 0; }
.tool__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "intro side" "work side"; grid-template-rows: auto 1fr; gap: clamp(22px, 2.4vw, 34px) clamp(40px, 5.5vw, 100px); align-items: start; }
.tool__intro { grid-area: intro; display: grid; gap: 14px; }
.tool__h { font-size: clamp(2.3rem, 3.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.015em; color: #F6F1FA; }
.tool__line { margin: 0; font-size: clamp(1rem, .85rem + .2vw, 1.1rem); color: #D8D0E6; }
.tool__work { grid-area: work; position: relative; min-width: 0; align-self: stretch; display: flex; flex-direction: column; }
.tool__form { display: flex; flex-direction: column; }
.tool__side { grid-area: side; align-self: stretch; display: flex; min-width: 0; }

/* ---------- The statement card (step mode) ---------- */
.card { display: none; position: relative; padding: clamp(22px, 2.5vw, 36px); border: 1px solid rgba(201, 154, 58, .32); border-radius: var(--r); background: linear-gradient(160deg, rgba(52, 38, 79, .78) 0%, rgba(26, 18, 40, .86) 100%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(224, 184, 101, .12); overflow: clip; }
/* lamp light drifting slowly across the card, so it is never still */
.card::before { content: ""; position: absolute; left: -30%; top: -60%; width: 90%; height: 160%; pointer-events: none; background: radial-gradient(closest-side, rgba(224, 184, 101, .11), rgba(224, 184, 101, 0)); animation: lamp 11s ease-in-out infinite alternate; }
@keyframes lamp { from { transform: translate(0, 0); } to { transform: translate(80%, 30%); } }
.card > * { position: relative; }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 85%) var(--my, 0%), rgba(224, 184, 101, .12), transparent 60%); }
.card__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-bottom: clamp(18px, 2vw, 26px); }
.card__count { margin: 0; font-family: var(--sans); font-weight: 500; font-size: .92rem; letter-spacing: .06em; color: var(--dusk-text); white-space: nowrap; }
.card__count span { display: inline-block; min-width: .7em; color: var(--gold-hi); }
.card__prog { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.card__prog i { position: relative; display: block; height: 2px; background: rgba(189, 178, 210, .22); overflow: hidden; }
.card__prog i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.card__prog i.is-done::after { transform: scaleX(1); }
.card__prog i.is-cur { background: rgba(224, 184, 101, .4); animation: seg 1.8s ease-in-out infinite alternate; }
@keyframes seg { from { opacity: .45; } to { opacity: 1; } }
.card__back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; font-family: var(--sans); font-weight: 500; font-size: .95rem; letter-spacing: .04em; color: var(--gold); transition: opacity .3s var(--ease), color .3s var(--ease); }
.card__back svg { width: 20px; height: 11px; transition: transform .4s var(--ease); }
.card__back:hover svg { transform: translateX(-4px); }
.card__back:hover { color: var(--gold-hi); }
.card__back:disabled { opacity: .3; cursor: default; }
.card__back:disabled:hover svg { transform: none; }
.card__stage { position: relative; padding: .2em .2em .5em; margin: -.2em -.2em -.5em; overflow: clip; }
.card__text { margin: 0; min-height: calc(3 * 1.26em); font-family: var(--display); font-size: clamp(1.5rem, 2.25vw, 2.15rem); line-height: 1.26; color: #F6F1FA; }
.card__text:focus { outline: none; }
.card__text:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.card__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ans { position: relative; display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 14px; border: 1px solid rgba(189, 178, 210, .38); border-radius: var(--r); background: rgba(18, 13, 28, .4); color: #F1ECF6; font-family: var(--sans); font-weight: 500; font-size: 1.02rem; letter-spacing: .04em; cursor: pointer; overflow: hidden; isolation: isolate; transition: border-color .4s var(--ease), color .4s var(--ease); }
.ans__fill { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--gold) 0%, var(--gold-hi) 100%); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease); }
.ans:hover { border-color: var(--gold); color: var(--gold-hi); }
.ans:hover .ans__fill { transform: scaleY(.08); }
.ans[aria-pressed="true"] { border-color: var(--gold); color: var(--abyss); }
.ans[aria-pressed="true"] .ans__fill { transform: scaleY(1); }
.ans:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* ---------- All seven statements as a list (reduced motion, no JS) ---------- */
.tool__list { display: grid; border-top: 1px solid var(--line-dark); }
.stmt fieldset { margin: 0; padding: 16px 0 18px; border: 0; border-bottom: 1px solid var(--line-dark); min-width: 0; }
.stmt legend { float: left; width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px; padding: 0; font-family: var(--display); font-size: clamp(1.12rem, 1.2vw, 1.28rem); line-height: 1.32; color: #F6F1FA; }
.stmt__n { font-family: var(--sans); font-weight: 500; font-size: .95rem; line-height: 1.75; color: var(--gold); }
.stmt__opts { clear: both; display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 0 0 30px; }
.opt { position: relative; display: inline-flex; cursor: pointer; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(189, 178, 210, .4); border-radius: var(--r); font-family: var(--sans); font-weight: 500; font-size: .98rem; letter-spacing: .03em; color: #F1ECF6; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.opt:hover span { border-color: var(--gold); }
.opt input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--abyss); }
.opt input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.tool__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.tool__err { margin: 0; font-family: var(--sans); color: #F2C879; }
.tool__err:empty { display: none; }
.tool__guide { display: none; margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line-dark); border-radius: var(--r); background: rgba(42, 29, 66, .55); }
html.no-js .tool__guide { display: block; }
.tool__guide-h { margin: 0 0 10px; font-family: var(--sans); font-weight: 500; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tool__guide li { position: relative; padding: 6px 0 6px 22px; font-size: 1rem; color: #D8D0E6; }
.tool__guide li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.tool__guide strong { font-weight: 600; color: #F1ECF6; }

/* Step mode swaps the list for the card; the answers still live in the list's radio buttons */
html.js:not(.rm):not(.no-motion) .card { display: flex; flex-direction: column; }
/* the card reaches the foot of the gauge; the answers sit at its foot */
html.js:not(.rm):not(.no-motion) .tool__form, html.js:not(.rm):not(.no-motion) .card { flex: 1; }
html.js:not(.rm):not(.no-motion) .card__opts { margin-top: auto; padding-top: clamp(22px, 2.4vw, 32px); }
html.js:not(.rm):not(.no-motion) .tool__list,
html.js:not(.rm):not(.no-motion) .tool__submit { display: none; }
html.js:not(.rm):not(.no-motion) .tool--done .tool__form { display: none; }

/* ---------- The result ---------- */
.tool__results { scroll-margin-top: calc(var(--header-h) + 24px); }
.tool__results:not(:has(.res:not([hidden]))) { display: none; }
.res { position: relative; display: grid; gap: 16px; padding: clamp(24px, 2.6vw, 38px); border: 1px solid rgba(201, 154, 58, .45); border-radius: var(--r); background: linear-gradient(165deg, rgba(58, 42, 88, .9) 0%, rgba(24, 16, 38, .94) 100%); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(224, 184, 101, .18); }
.res[hidden] { display: none; }
.res::before { content: ""; position: absolute; left: clamp(24px, 2.6vw, 38px); right: clamp(24px, 2.6vw, 38px); top: -1px; height: 2px; background: linear-gradient(90deg, var(--gold-hi), rgba(201, 154, 58, 0)); }
.res__h { font-size: clamp(1.8rem, 2.4vw, 2.15rem); line-height: 1.1; color: #F6F1FA; }
.res__h:focus { outline: none; }
.res__h:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.res__why { margin: 0; padding-left: 18px; border-left: 2px solid var(--gold); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: #EFE8F6; }
.res__body p { margin: 0 0 .65em; color: #D8D0E6; }
.res__body p:last-child { margin-bottom: 0; }
.res__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.res__facts li { padding: 6px 12px; border: 1px solid rgba(201, 154, 58, .45); border-radius: var(--r); font-family: var(--sans); font-size: .9rem; color: #EDE6F5; }
.res__btns { gap: 10px 26px; }
.res__btns .btn--ghost { color: #F1ECF6; border-color: rgba(241, 236, 246, .5); }
.res__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line-dark); }
.res__again { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--sans); font-weight: 500; letter-spacing: .03em; color: var(--gold); text-decoration: none; }
.res__again svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.res__again:hover svg { transform: rotate(-200deg); }
.res__note { margin: 0; font-family: var(--sans); font-size: .92rem; color: var(--dusk-text); }
.res--clinical { border-color: rgba(189, 178, 210, .45); background: linear-gradient(165deg, rgba(48, 38, 70, .92) 0%, rgba(22, 16, 34, .95) 100%); }
.res--clinical::before { background: linear-gradient(90deg, var(--dusk-text), rgba(189, 178, 210, 0)); }
.res--clinical .res__why { border-left-color: var(--dusk-text); }
/* In the list layout the result follows the submit button */
.tool__form + .tool__results { margin-top: 28px; }
html.js:not(.rm):not(.no-motion) .tool--done .tool__results { margin-top: 0; }

/* ---------- The depth gauge ---------- */
.gauge { position: relative; flex: 1; min-height: 540px; border: 1px solid rgba(201, 154, 58, .24); border-radius: var(--r); overflow: clip; isolation: isolate; background: linear-gradient(180deg, #3B2B5A 0%, #251A3B 28%, #170F25 64%, #0B0713 100%); }
.gauge__photo { position: absolute; inset: -4%; z-index: -3; }
.gauge__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; opacity: .5; filter: saturate(.75) contrast(1.05); }
.gauge__motes { z-index: -1; }
.gauge__shaft { position: absolute; left: 30%; top: -14%; width: 58%; height: 118%; z-index: -2; pointer-events: none; background: linear-gradient(180deg, rgba(255, 228, 168, .26) 0%, rgba(255, 228, 168, .1) 45%, rgba(255, 228, 168, 0) 78%); -webkit-clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); filter: blur(10px); mix-blend-mode: screen; transform-origin: 50% 0; animation: shaft 6.5s ease-in-out infinite alternate; }
@keyframes shaft { 0% { transform: rotate(10deg) scaleX(.85); opacity: .55; } 100% { transform: rotate(-12deg) scaleX(1.1); opacity: 1; } }
.gauge__water { position: absolute; inset: 0; z-index: -2; pointer-events: none; background:
  linear-gradient(180deg, rgba(36, 25, 58, .2) 0%, rgba(26, 18, 42, .45) 30%, rgba(14, 9, 24, .78) 70%, rgba(9, 6, 16, .94) 100%),
  linear-gradient(90deg, rgba(18, 13, 28, .55) 0%, rgba(18, 13, 28, 0) 45%); }
.gauge__surface { position: absolute; left: 0; top: 66px; width: 200%; height: 24px; overflow: visible; animation: swell 9s linear infinite; }
.gauge__surface path { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .75; vector-effect: non-scaling-stroke; }
@keyframes swell { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.gauge__end { position: absolute; left: var(--gl, 64px); z-index: 2; transform: translateX(-50%); font-family: var(--sans); font-weight: 500; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi); white-space: nowrap; }
.gauge__end--top { top: 30px; }
.gauge__end--foot { bottom: 22px; color: var(--dusk-text); }
.gauge__track { position: absolute; left: var(--gl, 64px); top: 78px; bottom: 60px; width: 0; z-index: 1; }
.gauge__track::before { content: ""; position: absolute; left: -.5px; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, rgba(189, 178, 210, .45), rgba(189, 178, 210, .12)); }
.gauge__ticks { position: absolute; top: 0; bottom: 0; left: -18px; display: flex; flex-direction: column; justify-content: space-between; }
.gauge__ticks i { display: block; width: 8px; height: 1px; margin-left: 10px; background: rgba(189, 178, 210, .4); transform-origin: 100% 50%; }
.gauge__ticks i.is-major { width: 18px; margin-left: 0; background: rgba(201, 154, 58, .7); }
.gauge__beam { position: absolute; left: -70px; width: 140px; top: -14px; height: calc(var(--lvl, 0) * 100% + 14px); pointer-events: none; background: radial-gradient(50% 100% at 50% 0%, rgba(224, 184, 101, .2), rgba(224, 184, 101, 0) 100%); filter: blur(6px); opacity: .9; }
.gauge__line { position: absolute; left: -1px; top: -12px; width: 2px; height: calc(var(--lvl, 0) * 100% + 12px); background: linear-gradient(180deg, rgba(224, 184, 101, .5), var(--gold-hi)); box-shadow: 0 0 12px rgba(224, 184, 101, .45); overflow: hidden; }
.gauge__line::after { content: ""; position: absolute; left: 0; width: 100%; height: 60px; top: -60px; background: linear-gradient(180deg, transparent, #FFF3D6, transparent); animation: sound 3.2s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes sound { to { top: 100%; } }
.gauge__mark { position: absolute; left: -15px; top: calc(var(--lvl, 0) * 100% - 15px); width: 30px; height: 30px; z-index: 3; }
.gauge__mark i { position: absolute; left: 5px; top: 5px; width: 20px; height: 20px; border: 1px solid #FFE7B0; background: radial-gradient(circle at 35% 35%, #F6D89A 0%, var(--gold) 60%, #9C7322 100%); box-shadow: 0 0 26px rgba(224, 184, 101, .75), 0 0 2px rgba(0, 0, 0, .6); transform: rotate(45deg); animation: bob 3.4s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(-4px) rotate(45deg); } to { transform: translateY(4px) rotate(45deg); } }
.gauge__ring { position: absolute; left: -46px; top: calc(var(--lvl, 0) * 100% - 15px); width: 92px; height: 30px; border: 1px solid var(--gold-hi); border-radius: 50%; opacity: 0; pointer-events: none; }
.gauge__lab { position: absolute; left: 30px; top: calc(var(--at) * 100%); display: grid; gap: 2px; padding-left: 26px; transform: translateY(-50%); white-space: nowrap; opacity: .62; transition: opacity .6s var(--ease); }
.gauge__lab::before { content: ""; position: absolute; left: -30px; top: 50%; width: 46px; height: 1px; background: rgba(201, 154, 58, .55); transform-origin: 0 50%; transition: background-color .6s var(--ease); }
.gauge__lab strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.15rem, 1.35vw, 1.4rem); line-height: 1.15; color: #F1ECF6; transition: color .6s var(--ease); }
.gauge__lab small { font-family: var(--sans); font-size: .86rem; letter-spacing: .04em; color: var(--dusk-text); }
.gauge__lab.is-near, .gauge__lab.is-on { opacity: 1; }
.gauge__lab.is-near strong, .gauge__lab.is-on strong { color: var(--gold-hi); }
.gauge__lab.is-on::before { background: var(--gold-hi); }

/* In the list layout the gauge stays beside the statements */
html:not(.js) .gauge, html.rm .gauge, html.no-motion .gauge { position: sticky; top: calc(var(--header-h) + 12px); flex: 1; height: min(calc(100svh - var(--header-h) - 40px), 640px); min-height: 460px; }
html:not(.js) .tool__side, html.rm .tool__side, html.no-motion .tool__side { display: block; }

@media (max-width: 1100px) {
  .tool__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 36px; }
  .gauge__lab small { display: none; }
}
@media (max-width: 760px) {
  .tool { min-height: 0; align-items: flex-start; padding-top: calc(var(--header-h) + 14px); padding-bottom: 36px; }
  .tool__grid { grid-template-columns: minmax(0, 1fr) 56px; grid-template-areas: "intro intro" "work side"; gap: 18px 12px; }
  .tool__h { font-size: clamp(2.2rem, 10vw, 2.6rem); }
  .tool__line { font-size: 1.02rem; }
  .card { padding: 20px 18px 18px; }
  .card__top { grid-template-columns: auto auto; grid-template-areas: "count back" "prog prog"; gap: 4px 12px; justify-content: space-between; margin-bottom: 16px; }
  .card__count { grid-area: count; }
  .card__back { grid-area: back; justify-self: end; }
  .card__prog { grid-area: prog; margin-top: 4px; }
  .card__text { font-size: 1.32rem; min-height: calc(5 * 1.26em); }
  .card__opts { grid-template-columns: 1fr; gap: 10px; }
  html.js:not(.rm):not(.no-motion) .card__opts { padding-top: 18px; }
  .ans { min-height: 52px; }
  .gauge { min-height: 0; }
  .gauge__lab, .gauge__ticks i:not(.is-major) { display: none; }
  .gauge { --gl: 27px; }
  .gauge__surface { top: 38px; }
  .gauge__track { top: 50px; bottom: 44px; }
  .gauge__ticks { left: -9px; }
  .gauge__ticks i.is-major { width: 9px; }
  .gauge__ring { left: -20px; width: 40px; height: 14px; top: calc(var(--lvl, 0) * 100% - 7px); }
  .gauge__mark { left: -11px; top: calc(var(--lvl, 0) * 100% - 11px); width: 22px; height: 22px; }
  .gauge__mark i { left: 4px; top: 4px; width: 14px; height: 14px; }
  .gauge__end { left: 50%; font-size: .58rem; letter-spacing: .05em; }
  .gauge__end--top { top: 12px; }
  .gauge__end--foot { bottom: 14px; }
  .stmt legend { grid-template-columns: 24px minmax(0, 1fr); font-size: 1.1rem; }
  .stmt__opts { padding-left: 0; gap: 8px; }
  .opt span { padding: 0 14px; }
  /* the result takes the full width; the gauge has done its work */
  .tool--done .tool__work { grid-column: 1 / -1; }
  .tool--done .tool__side { display: none !important; }
  .res__btns .btn { width: 100%; }
  html:not(.js) .gauge, html.rm .gauge, html.no-motion .gauge { min-height: 360px; height: 60svh; }
}

/* ---------- The two programmes side by side ---------- */
.cmp { padding-block: clamp(56px, 5vw, 76px); overflow: clip; }
.cmp__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px clamp(32px, 4vw, 64px); align-items: end; margin-bottom: clamp(22px, 2.4vw, 32px); }
.cmp__intro { display: grid; gap: 10px; }
.cmp__intro .lede { margin: 0; color: var(--ink-soft); }
.cmp__switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line-light); border-radius: var(--r); background: #F6F3F9; }
html.no-js .cmp__switch { display: none; }
.cmp__switch button { position: relative; z-index: 1; min-height: 46px; padding: 0 20px; border: 0; background: none; cursor: pointer; font-family: var(--sans); font-weight: 500; font-size: .98rem; letter-spacing: .03em; color: var(--ink); transition: color .45s var(--ease); white-space: nowrap; }
.cmp__switch button[aria-pressed="true"] { color: #F3EEF8; background-color: var(--aubergine); border-radius: var(--r); transition: color .45s var(--ease), background-color .5s var(--ease); }
.cmp__switch button:focus-visible { outline-offset: -2px; }
.cmp__switch-bar { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--aubergine); opacity: 0; }
.cmp__wrap { position: relative; isolation: isolate; }
.cmp__lens { position: absolute; top: -12px; bottom: -8px; left: 0; width: 0; z-index: -1; border: 1px solid var(--gold); border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .35)); box-shadow: 0 40px 70px -46px rgba(42, 29, 66, .55); opacity: 0; pointer-events: none; }
.cmp__lens-tag { position: absolute; top: -14px; left: 18px; display: none; padding: 5px 10px; border-radius: var(--r); background: var(--gold); color: var(--abyss); font-family: var(--sans); font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.cmp__lens.has-tag .cmp__lens-tag { display: block; }
.cmp__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.cmp__corner, .cmp__table tbody th { width: 15%; }
.cmp__table thead th { padding: 0 clamp(14px, 1.5vw, 22px) 12px; text-align: left; vertical-align: bottom; font-weight: 400; }
.cmp__frame { display: block; height: clamp(96px, 12vh, 140px); margin-bottom: 12px; }
.cmp__name { display: block; font-family: var(--display); font-size: clamp(1.4rem, 1.7vw, 1.75rem); line-height: 1.12; color: var(--ink); }
.cmp__kind { display: block; margin-top: 4px; font-family: var(--sans); font-weight: 500; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.cmp__table tbody th { padding: 11px 12px 11px 0; border-top: 1px solid var(--line-light); text-align: left; vertical-align: top; font-family: var(--sans); font-weight: 500; font-size: .82rem; line-height: 1.75; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.cmp__table tbody td { padding: 11px clamp(14px, 1.5vw, 22px); border-top: 1px solid var(--line-light); vertical-align: top; font-size: 1rem; line-height: 1.45; }
.cmp__table tfoot td { padding: 6px clamp(14px, 1.5vw, 22px) 0; border-top: 1px solid var(--line-light); }
.cmp__table [data-col] { transition: opacity .6s var(--ease); }
.cmp--hl-threshold [data-col="authority"], .cmp--hl-authority [data-col="threshold"] { opacity: .58; }
@media (max-width: 900px) {
  .cmp__head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cmp__switch { width: 100%; }
  .cmp__switch button { padding: 0 10px; font-size: .92rem; }
  .cmp__table, .cmp__table thead, .cmp__table tbody, .cmp__table tfoot, .cmp__table tr { display: block; }
  .cmp__table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; }
  .cmp__corner { display: none; }
  .cmp__table thead th { padding: 0 0 16px; }
  .cmp__frame { height: 150px; }
  .cmp__table tbody th { grid-column: 1 / -1; width: auto; padding: 14px 0 4px; }
  .cmp__table tbody td { padding: 0 0 14px; border-top: 0; font-size: 1rem; }
  .cmp__table tfoot td { padding: 6px 0 0; }
  .cmp__lens { display: none; }
  .cmp--hl-threshold [data-col="authority"], .cmp--hl-authority [data-col="threshold"] { opacity: 1; }
  /* with JS, the switch shows one programme at a time */
  .cmp--solo .cmp__table tr { grid-template-columns: minmax(0, 1fr); }
  .cmp--solo.cmp--hl-threshold [data-col="authority"], .cmp--solo.cmp--hl-authority [data-col="threshold"] { display: none; }
  .cmp--solo .cmp__frame { height: 200px; }
}

/* ---------- What the statements are built on ---------- */
.basis { overflow: clip; isolation: isolate; padding-block: clamp(56px, 5vw, 76px); }
.basis__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.basis__offset { width: 100%; }
.basis__frame { height: min(68vh, 620px); }
.basis__frame img { object-position: 30% 60%; }
.basis__copy { display: grid; gap: clamp(16px, 1.6vw, 22px); }
.basis__copy .h2 { color: #F6F1FA; }
.basis__q { margin: 0; display: grid; gap: 8px; padding-left: 26px; border-left: 1px solid var(--gold); }
.basis__q .basis__qh { margin: 0 !important; font-family: var(--display); font-style: normal !important; font-size: clamp(1.7rem, 2.3vw, 2.15rem); line-height: 1.15; color: var(--gold-hi) !important; }
.basis__q { position: relative; }
.basis__q::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 40%; background: linear-gradient(180deg, transparent, #FFF3D6, transparent); animation: qlight 5s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes qlight { from { transform: translateY(-100%); } to { transform: translateY(250%); } }
.basis__zoom { display: block; width: 100%; height: 100%; }
.basis__q p { margin: 0; font-style: italic; font-size: 1.12rem; color: #E6DEF0; }
.basis__q footer { font-style: normal; }
.basis__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.basis__item { position: relative; display: grid; gap: 4px; align-content: start; padding: 12px 0; }
.basis__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-dark); transform-origin: 0 50%; }
.basis__item::after { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 1px; background: var(--gold-hi); transition: width .7s var(--ease); }
.basis__item:hover::after { width: 100%; }
.basis__dots { display: flex; gap: 7px; margin-bottom: 6px; }
.basis__dots i { display: block; width: 8px; height: 8px; border: 1px solid rgba(189, 178, 210, .45); transform: rotate(45deg); transition: box-shadow .5s var(--ease); }
.basis__dots i.is-on { border-color: var(--gold-hi); background: var(--gold); }
.basis__item:hover .basis__dots i.is-on { box-shadow: 0 0 12px rgba(224, 184, 101, .8); }
.basis__name { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 1.5vw, 1.45rem); color: #F6F1FA; }
.basis__item p { margin: 0; font-size: 1rem; color: #D2C9E0; }
.basis__note { margin: 0; color: #D8D0E6; }
@media (max-width: 899px) {
  .basis__grid { grid-template-columns: 1fr; }
  .basis__offset { width: calc(100% - 18px); }
  .basis__frame { height: 46vh; }
}
@media (max-width: 600px) { .basis__list { grid-template-columns: 1fr; } }

/* ---------- Closing: the dawn lake, a sounding line dropping beneath ---------- */
.end { position: relative; min-height: 80svh; display: flex; align-items: center; overflow: clip; isolation: isolate; background: var(--abyss); padding: clamp(100px, 11vw, 160px) 0; }
.end__bg { position: absolute; inset: -6% 0; z-index: -3; }
.end__bg img { width: 100%; height: 100%; object-fit: cover; }
.end::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(18, 13, 28, .92) 0%, rgba(18, 13, 28, .74) 40%, rgba(18, 13, 28, .18) 72%, rgba(18, 13, 28, .1) 100%),
  linear-gradient(0deg, rgba(18, 13, 28, .6) 0%, rgba(18, 13, 28, 0) 40%); }
.end .motes { z-index: -1; }
.end__mist { position: absolute; left: 0; right: 0; top: 40%; height: 26%; z-index: -2; pointer-events: none; background: linear-gradient(90deg, rgba(236, 232, 240, 0) 0%, rgba(236, 232, 240, .1) 30%, rgba(236, 232, 240, 0) 55%, rgba(236, 232, 240, .08) 80%, rgba(236, 232, 240, 0) 100%) 0 0 / 200% 100%; -webkit-mask: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent); mask: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent); animation: mist 16s linear infinite; }
@keyframes mist { to { background-position: -200% 0; } }
.end__sound { position: absolute; left: 78%; top: 0; bottom: 0; width: 0; z-index: 0; pointer-events: none; --d: .66; }
.end__line { position: absolute; left: -.5px; top: 0; width: 1px; height: calc(var(--d) * 100%); background: linear-gradient(180deg, rgba(224, 184, 101, 0) 0%, rgba(224, 184, 101, .7) 30%, var(--gold-hi) 100%); box-shadow: 0 0 10px rgba(224, 184, 101, .4); overflow: hidden; }
.end__line::after { content: ""; position: absolute; left: 0; width: 100%; height: 80px; top: -80px; background: linear-gradient(180deg, transparent, #FFF3D6, transparent); animation: sound 4s cubic-bezier(.45, 0, .2, 1) infinite; }
.end__mark { position: absolute; left: -85px; top: calc(var(--d) * 100% - 85px); width: 170px; height: 170px; }
.end__mark i { position: absolute; left: 74px; top: 74px; width: 22px; height: 22px; border: 1px solid #FFE7B0; background: radial-gradient(circle at 35% 35%, #F6D89A 0%, var(--gold) 60%, #9C7322 100%); box-shadow: 0 0 34px rgba(224, 184, 101, .8); transform: rotate(45deg); animation: bob 3.8s ease-in-out infinite alternate; }
.end__mark b { position: absolute; left: 39px; top: 76px; width: 92px; height: 18px; border: 1px solid rgba(255, 231, 176, .7); border-radius: 50%; opacity: 0; animation: ripple 4.2s ease-out infinite; }
.end__mark b + b { animation-delay: 2.1s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.end__inner { position: relative; z-index: 1; }
.end__copy { width: min(100%, 760px); display: grid; gap: 26px; justify-items: start; }
.end__h { color: #F6F1FA; }
.end__copy .lede { margin: 0; color: #DCD3EA; }
.end__ghost { color: #F1ECF6; border-color: rgba(241, 236, 246, .55); }
.end__meta { margin: 0; }
@media (max-width: 760px) {
  .end { min-height: 92svh; align-items: flex-end; padding: 0 0 64px; }
  .end__bg { inset: 0 0 34% 0; }
  .end::before { background: linear-gradient(0deg, var(--abyss) 0%, var(--abyss) 34%, rgba(18, 13, 28, .55) 52%, rgba(18, 13, 28, .15) 80%, rgba(18, 13, 28, .35) 100%); }
  .end__mist { top: 26%; height: 18%; }
  .end__sound { left: auto; right: 34px; }
  .end__line { height: calc(var(--d) * 52%); }
  .end__mark { top: calc(var(--d) * 52% - 85px); }
}
