/* The owner's experience statement, with a theme-aware vector illustration. */
.ct-experience { padding-block: 12px 64px; scroll-margin-top: 110px; }
.ct-experience-frame { position: relative; isolation: isolate; padding: 37px 44px 30px; border: 1px solid var(--ct-line); border-radius: 26px; background: var(--ct-surface); box-shadow: 0 18px 55px #37214c07; overflow: clip; }
.ct-experience-frame::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 6% 48%,var(--ct-soft),transparent 53%),linear-gradient(170deg,var(--ct-surface) 35%,var(--ct-orb-surface)); }
.ct-experience[dir="rtl"] .ct-experience-frame::before,html[dir="rtl"] .ct-experience-frame::before { background: radial-gradient(ellipse at 6% 48%,var(--ct-soft),transparent 53%),linear-gradient(170deg,var(--ct-surface) 35%,var(--ct-orb-surface)); }
html[dir="ltr"] .ct-experience-frame::before { background: radial-gradient(ellipse at 94% 48%,var(--ct-soft),transparent 53%),linear-gradient(190deg,var(--ct-surface) 35%,var(--ct-orb-surface)); }
.ct-experience-overline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; color: var(--ct-accent); font-size: 11px; font-weight: 750; }
.ct-experience-overline p { display: flex; align-items: center; gap: 9px; }
.ct-experience-overline p > span { font-size: 20px; }
.ct-experience-edition { display: flex; align-items: center; gap: 12px; direction: ltr; color: var(--ct-muted); font: 9px/1.5 Consolas,monospace; letter-spacing: 1.5px; }
.ct-experience-edition i { font: normal 21px/1 sans-serif; color: var(--ct-accent); }
.ct-experience-heading h2 { max-width: 1070px; color: var(--ct-ink); font-size: clamp(24px,2.15vw,30px); font-weight: 850; line-height: 1.8; letter-spacing: -.35px; }
.ct-experience-heading h2 > span { display: block; color: var(--ct-accent); }
.ct-experience-heading h2 em { position: relative; display: inline-block; font-style: normal; white-space: nowrap; }
.ct-experience-heading h2 em::after { content: ''; position: absolute; inset-inline: 5%; bottom: 2px; height: 6px; border-top: 2px solid currentColor; border-radius: 50%; opacity: .5; transform: rotate(-3deg); }
.ct-experience-body { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.9fr); gap: 48px; align-items: center; margin-top: 29px; }
.ct-experience-prose { min-width: 0; color: var(--ct-muted); font-size: 14px; line-height: 2.15; }
.ct-experience-prose p + p { margin-top: 18px; }
html[dir="rtl"] .ct-experience-prose,html[dir="rtl"] .ct-experience-heading,html[dir="rtl"] .ct-experience-promise h3 { text-align: right; }
html[dir="ltr"] .ct-experience-prose,html[dir="ltr"] .ct-experience-heading,html[dir="ltr"] .ct-experience-promise h3 { text-align: left; }
.ct-experience-visual { min-width: 0; width: 100%; max-width: 480px; margin-inline: auto; color: var(--ct-accent); }
.ct-experience-art-caption { display: flex; justify-content: space-between; gap: 10px; direction: ltr; margin-inline: 17px; color: var(--ct-muted); font: 8px/1.5 Consolas,monospace; letter-spacing: 1.3px; }
.ct-experience-art { display: block; width: 100%; height: auto; overflow: visible; }
.ct-experience-steps { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 3px; font-size: 12px; font-weight: 750; }
.ct-experience-steps i { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--ct-line-strong); border-radius: 50%; font: normal 16px/1 sans-serif; }
html[dir="rtl"] .ct-experience-steps i { transform: scaleX(-1); }
.ct-experience-promise { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 21px; margin-top: 30px; padding-top: 27px; border-top: 1px solid var(--ct-line); }
.ct-experience-seal { display: grid; place-items: center; flex-shrink: 0; width: 53px; height: 53px; border: 1px solid var(--ct-line-strong); border-radius: 50%; color: var(--ct-accent); background: var(--ct-soft); box-shadow: inset 0 0 0 5px var(--ct-surface); font: 36px/1 sans-serif; }
.ct-experience-promise h3 { font-size: clamp(18px,1.8vw,24px); font-weight: 750; line-height: 1.8; }
.ct-experience-promise h3 > span { white-space: nowrap; }
.ct-experience-promise h3 strong { color: var(--ct-accent); font-weight: 900; }
.ct-catalog-page .ct-experience-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 7px 4px; color: var(--ct-accent); font-size: 12px; font-weight: 800; white-space: nowrap; }
.ct-experience-link > span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ct-line-strong); border-radius: 50%; background: var(--ct-surface); font-size: 21px; transition: color .2s,background .2s,transform .2s; }
.ct-experience-link > .ct-svg-arrow { line-height: 0; }
.ct-experience-link > .ct-svg-arrow svg { display: block; width: 17px; height: 17px; }
.ct-experience-link:focus-visible { outline: 2px solid var(--ct-accent); outline-offset: 3px; border-radius: 999px; }
.ct-experience-link:hover > span { color: var(--ct-on-accent); background: var(--ct-accent); transform: translateY(-2px); }

/* All vector surfaces follow the same light/dark contract as the catalogue. */
.ct-exp-glass-light { stop-color: #fff; stop-opacity: .78; }
.ct-exp-glass-mid { stop-color: #c9afe6; stop-opacity: .2; }
.ct-exp-glow-stop { stop-color: #d7c1eb; stop-opacity: .68; }
.ct-exp-glass-outline { stroke: #b89ecf; }
.ct-exp-glass-shine { stroke: #fff; }
.ct-exp-guides { opacity: .2; }
.ct-exp-dot,.ct-exp-star { fill: currentColor; }
.ct-exp-floor { fill: #573279; opacity: .08; }
.ct-exp-code-panel { fill: var(--ct-code); stroke: var(--ct-line-strong); }
.ct-exp-code-rule { stroke: #c3a4de30; }
.ct-exp-file { fill: var(--ct-code-muted); font: 8px Consolas,monospace; }
.ct-exp-paper { fill: var(--ct-surface); stroke: var(--ct-line-strong); }
.ct-exp-clock-ring { fill: var(--ct-orb-surface); stroke: var(--ct-line); }
.ct-exp-tile { fill: var(--ct-soft); }
.ct-exp-card-line { stroke: var(--ct-muted); }
.ct-exp-success-disc { fill: var(--ct-success-bg); }
.ct-exp-success-tick { stroke: var(--ct-success); }
.ct-exp-grains { opacity: .55; }
[data-ct-lesson-theme="dark"] .ct-exp-glass-light { stop-color: #ab8ac7; stop-opacity: .18; }
[data-ct-lesson-theme="dark"] .ct-exp-glass-mid { stop-color: #d9bdf2; stop-opacity: .05; }
[data-ct-lesson-theme="dark"] .ct-exp-glow-stop { stop-color: #785294; stop-opacity: .27; }
[data-ct-lesson-theme="dark"] .ct-exp-glass-outline { stroke: #9678ad; }
[data-ct-lesson-theme="dark"] .ct-exp-glass-shine { stroke: #dcc9ed; opacity: .6; }
[data-ct-lesson-theme="dark"] .ct-exp-floor { fill: #000; opacity: .2; }
.ct-experience-art .ct-exp-glow-stop:last-child { stop-opacity: 0; }

@media (max-width: 1100px) {
    .ct-experience-frame { padding: 30px 30px 26px; }
    .ct-experience-body { gap: 30px; grid-template-columns: minmax(0,1.2fr) minmax(0,.9fr); }
    .ct-experience-prose { font-size: 13px; }
    .ct-experience-promise { gap: 16px; }
    .ct-experience-steps { gap: 9px; font-size: 11px; }
}
@media (max-width: 800px) {
    .ct-experience-frame { padding: 28px; }
    .ct-experience-body { grid-template-columns: minmax(0,1fr); gap: 25px; }
    .ct-experience-visual { order: -1; max-width: 420px; }
    .ct-experience-prose { font-size: 14px; }
    .ct-experience-heading h2 { font-size: 25px; }
    .ct-experience-promise { grid-template-columns: auto minmax(0,1fr); }
    .ct-catalog-page .ct-experience-link { grid-column: 1 / -1; justify-self: end; padding-block: 0; }
}
@media (max-width: 600px) {
    .ct-experience { padding-block: 7px 36px; scroll-margin-top: 115px; }
    .ct-experience-frame { padding: 22px 18px; border-radius: 19px; }
    .ct-experience-overline { margin-bottom: 14px; gap: 7px; font-size: 10px; }
    .ct-experience-edition { font-size: 7px; letter-spacing: 1px; gap: 7px; }
    .ct-experience-edition i { font-size: 15px; }
    .ct-experience-heading h2 { font-size: 20px; line-height: 1.85; letter-spacing: 0; }
    .ct-experience-heading h2 > span { margin-top: 8px; }
    .ct-experience-body { margin-top: 23px; gap: 24px; }
    .ct-experience-visual { max-width: 340px; }
    .ct-experience-art-caption { margin-inline: 7px; font-size: 7px; letter-spacing: .7px; }
    .ct-experience-steps { font-size: 10px; gap: 9px; }
    .ct-experience-steps i { width: 21px; height: 21px; font-size: 13px; }
    .ct-experience-prose { font-size: 13px; line-height: 2.15; }
    .ct-experience-prose p + p { margin-top: 18px; }
    .ct-experience-promise { margin-top: 24px; padding-top: 21px; gap: 12px; grid-template-columns: minmax(0,1fr); }
    .ct-experience-seal { width: 43px; height: 43px; font-size: 29px; }
    .ct-experience-promise h3 { font-size: 20px; }
    .ct-experience-promise h3 strong { display: inline; }
    .ct-catalog-page .ct-experience-link { grid-column: 1; font-size: 11px; }
}

@media (prefers-reduced-motion: no-preference) {
    .ct-exp-hourglass { animation: ct-exp-float 8s ease-in-out infinite; }
    .ct-exp-code-float { animation: ct-exp-float 7s ease-in-out -2s infinite; }
    .ct-exp-clock-float { animation: ct-exp-float 9s ease-in-out -4s infinite; }
    .ct-exp-project-float { animation: ct-exp-float 8s ease-in-out -5s infinite; }
    .ct-exp-stream { animation: ct-exp-flow 1.8s linear infinite; }
    .ct-exp-connection { animation: ct-exp-flow 4s linear infinite; }
    .ct-exp-orbit { transform-origin: 244px 226px; animation: ct-exp-orbit 28s linear infinite; }
    .ct-experience-art :is(.ct-exp-hourglass,.ct-exp-code-float,.ct-exp-clock-float,.ct-exp-project-float,.ct-exp-stream,.ct-exp-connection,.ct-exp-orbit) { animation-play-state: paused; }
    .ct-experience[data-ct-experience-active] .ct-experience-art :is(.ct-exp-hourglass,.ct-exp-code-float,.ct-exp-clock-float,.ct-exp-project-float,.ct-exp-stream,.ct-exp-connection,.ct-exp-orbit) { animation-play-state: running; }
    .ct-experience[data-ct-experience-seen] .ct-experience-visual { animation: ct-exp-reveal .8s ease-out both; }
    @keyframes ct-exp-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
    @keyframes ct-exp-flow { to { stroke-dashoffset: -40; } }
    @keyframes ct-exp-orbit { to { transform: rotate(360deg); } }
    @keyframes ct-exp-reveal { from { opacity: .5; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
    .ct-experience-art *,.ct-experience-visual { animation: none !important; }
    .ct-experience-link > span { transition: none; }
}
