/* Mindset courses (17 Nov 2026): landing pages (/courses/) and the course player (/members/course.html).
   Dark, cinematic, gold. Site colours and fonts from styles.css. */
.cx-hero { position: relative; min-height: min(88vh, 46rem); display: grid; align-items: end; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.cx-hero img.cx-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(0.15) contrast(1.08); }
.cx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,0.25) 0%, rgba(11,11,12,0.55) 45%, rgba(11,11,12,0.97) 100%); }
.cx-hero .container { padding-block: 6rem 3.5rem; }
.cx-tag { display: inline-block; font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 0.3rem 0.75rem; margin-bottom: 1.25rem; }
.cx-title { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(3.2rem, 15vw, 8.5rem); line-height: 0.88; letter-spacing: -0.01em; margin: 0 0 1rem; text-wrap: balance; }
.cx-title .gold { color: var(--gold); }
.cx-sub { font-size: clamp(1.15rem, 3.8vw, 1.6rem); max-width: 34ch; line-height: 1.35; margin-bottom: 1.75rem; }
.cx-buyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cx-price { font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 2.4rem; font-weight: 700; line-height: 1; }
.cx-price small { display: block; font-family: inherit; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 400; margin-top: 0.35rem; }
.cx-band { padding-block: 4.5rem; border-bottom: 1px solid var(--line); }
.cx-band.alt { background: var(--black-raised); }
.cx-kicker { font-family: "Oswald", "Arial Narrow", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-size: 0.85rem; margin-bottom: 0.75rem; }
.cx-h2 { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: clamp(2.2rem, 8vw, 4.2rem); line-height: 0.95; margin: 0 0 1.25rem; text-wrap: balance; }
.cx-lead { font-size: 1.2rem; max-width: 60ch; }
.cx-big-quote { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: clamp(2rem, 7.5vw, 3.8rem); line-height: 1.02; margin: 0; max-width: 20ch; text-wrap: balance; }
.cx-big-quote .gold { color: var(--gold); }
.cx-big-quote + cite { display: block; margin-top: 1rem; font-style: normal; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; }
.cx-split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .cx-split { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } }
.cx-split img { width: 100%; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.cx-lessons { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; counter-reset: cx; }
.cx-lessons li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.cx-lessons li:last-child { border-bottom: 1px solid var(--line); }
.cx-lessons .n { font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 2.2rem; line-height: 1; color: var(--gold); }
.cx-lessons b { display: block; font-size: 1.15rem; }
.cx-lessons span { color: var(--text-muted); }
.cx-weeks { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 2rem; }
.cx-week { border: 1px solid var(--line); padding: 1.4rem; background: var(--black); }
.cx-week .n { font-family: "Oswald", "Arial Narrow", sans-serif; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.85rem; }
.cx-week h3 { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: 1.8rem; margin: 0.3rem 0 0.5rem; }
.cx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.cx-stat { border-top: 2px solid var(--gold); padding-top: 0.8rem; }
.cx-stat b { display: block; font-family: "Oswald", "Arial Narrow", sans-serif; font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: 1; }
.cx-stat span { color: var(--text-muted); font-size: 0.95rem; }
.cx-for { display: grid; gap: 0.75rem; padding: 0; list-style: none; margin: 1.5rem 0 0; }
.cx-for li { padding-left: 1.8rem; position: relative; font-size: 1.1rem; }
.cx-for li::before { content: ""; position: absolute; left: 0.2rem; top: 0.45rem; width: 0.45rem; height: 0.8rem; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cx-fred { display: flex; gap: 1.25rem; align-items: center; margin-top: 2rem; }
.cx-fred img { width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--gold); flex: none; }
.cx-others { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 2rem; }
.cx-card { position: relative; display: grid; align-content: end; min-height: 20rem; padding: 1.5rem; overflow: hidden; isolation: isolate; border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.cx-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s ease; }
.cx-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,12,0.1), rgba(11,11,12,0.95)); }
.cx-card:hover img { transform: scale(1.04); }
.cx-card h3 { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: 2.2rem; line-height: 0.95; margin: 0 0 0.4rem; }
.cx-card p { margin: 0; color: var(--text-muted); }
.cx-card .cx-card-price { color: var(--gold); font-weight: 700; margin-top: 0.6rem; }

/* The cart (one course, with the others at half price). */
.cx-cart { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end center; background: rgba(0,0,0,0.75); padding: 1rem; padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
@media (min-width: 640px) { .cx-cart { place-items: center; } }
.cx-cart-box { width: min(100%, 32rem); max-height: 92vh; overflow: auto; background: var(--black-raised); border: 1px solid var(--gold); padding: 1.5rem; }
.cx-cart-box h2 { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: 1.9rem; margin: 0 0 1rem; }
.cx-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.cx-add { display: grid; grid-template-columns: auto 1fr auto; gap: 0.85rem; align-items: center; padding: 1rem; margin-top: 0.75rem; border: 1px dashed var(--gold); cursor: pointer; }
.cx-add input { width: 1.3rem; height: 1.3rem; accent-color: var(--gold); }
.cx-add b { display: block; }
.cx-add .was { text-decoration: line-through; color: var(--text-muted); font-size: 0.9rem; display: block; text-align: right; }
.cx-add .now { color: var(--gold); font-weight: 700; font-size: 1.15rem; }
.cx-total { display: flex; justify-content: space-between; font-family: "Oswald", "Arial Narrow", sans-serif; font-size: 1.6rem; margin: 1.25rem 0 1rem; }
.cx-cart-box .btn { width: 100%; }
.cx-cart-x { float: right; background: none; border: 0; color: var(--text-muted); font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* The course player. */
.cp-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.cp-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,11,12,0.95), rgba(11,11,12,0.6)); }
.cp-hero .container { padding-block: 3rem 2.5rem; }
.cp-hero h1 { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: clamp(2.6rem, 10vw, 5rem); line-height: 0.92; margin: 0; }
.cp-bar { height: 4px; background: var(--line); margin-top: 1.25rem; max-width: 24rem; }
.cp-bar span { display: block; height: 100%; background: var(--gold); width: 0; transition: width 0.4s; }
.cp-layout { display: grid; gap: 2rem; padding-block: 2.5rem 4rem; }
@media (min-width: 960px) { .cp-layout { grid-template-columns: 17rem 1fr; gap: 3rem; } }
.cp-nav ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.15rem; max-height: 70vh; overflow: auto; }
.cp-nav a { display: grid; grid-template-columns: 2rem 1fr; gap: 0.5rem; padding: 0.55rem 0.6rem; color: var(--text-muted); text-decoration: none; border-left: 2px solid transparent; font-size: 0.95rem; }
.cp-nav a.on { color: var(--text); border-left-color: var(--gold); background: rgba(201,162,39,0.08); }
.cp-nav a.done .cp-n::after { content: " ✓"; color: var(--gold); }
.cp-n { font-family: "Oswald", "Arial Narrow", sans-serif; color: var(--gold); }
@media (max-width: 959px) { .cp-nav ol { max-height: none; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 0.5rem; } .cp-nav a { grid-template-columns: auto; border-left: 0; border-bottom: 2px solid transparent; } .cp-nav a.on { border-bottom-color: var(--gold); } .cp-nav .cp-t { display: none; } }
.cp-lesson { max-width: 42rem; min-width: 0; }
.cp-kicker { font-family: "Oswald", "Arial Narrow", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-size: 0.85rem; }
.cp-lesson h2.cp-title { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: clamp(2rem, 7vw, 3.2rem); line-height: 0.98; margin: 0.4rem 0 1.5rem; text-wrap: balance; }
.cp-body { font-size: 1.12rem; line-height: 1.7; }
.cp-body h2 { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: 1.7rem; margin: 2.5rem 0 0.75rem; }
.cp-body ul, .cp-body ol { padding-left: 1.3rem; display: grid; gap: 0.45rem; }
.c-quote { margin: 2rem 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--gold); }
.c-quote p { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.12; margin: 0; }
.c-box { margin: 2.25rem 0; padding: 1.4rem 1.4rem 1.2rem; background: var(--black-raised); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.c-label { font-family: "Oswald", "Arial Narrow", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-size: 0.9rem; margin: 0 0 0.75rem; }
.c-box p:last-child { margin-bottom: 0; }
.c-say { margin: 2.5rem 0; padding: 2rem 1.5rem; text-align: center; border: 1px solid var(--gold); background: radial-gradient(circle at 50% 0%, rgba(201,162,39,0.16), transparent 70%); }
.c-mantra { font-family: "Oswald", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1.05; margin: 0; }
.c-note textarea { width: 100%; min-height: 7rem; margin-top: 0.75rem; font: inherit; font-size: 1rem; padding: 0.8rem; background: var(--black); color: var(--text); border: 1px solid var(--line); }
.c-note .muted { font-size: 0.85rem; }
.cp-next { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
[hidden] { display: none !important; }
