/* Panarc Projects, Courses section (courses.html, courses/*.html). Builder K, written Sat 31 Oct 2026 00:01 SAST by Claude.
   Sand homepage look: night ground, cream text, sand-bottle headings with grain. Motion obeys html[data-motion] and prefers-reduced-motion. */
:root {
  --night: #100d14; --night-2: #17121d; --cream: #efe3cc; --cream-2: rgba(239, 227, 204, .74); --cream-3: rgba(239, 227, 204, .52);
  --line: rgba(239, 227, 204, .16); --acc: #ffd23f; --acc-ink: #15110f;
  --sans: system-ui, -apple-system, "Segoe UI", Inter, Roboto, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --gutter: clamp(18px, 4.4vw, 64px);
  --wide: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--cream); font: 400 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid #7fb4ff; outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #111; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* fallback top bar: shown only until shared/site-nav.js puts the real one in */
.k-top { position: absolute; top: 14px; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); height: 52px; }
.k-top .brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; gap: 4px; }
.k-top .brand b { font-weight: 800; letter-spacing: .2em; font-size: 15px; }
.k-top .brand span { font-size: 9px; letter-spacing: .5em; opacity: .7; }
.k-top nav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.k-top nav a { text-decoration: none; font-size: 14px; padding: 9px 11px; border-radius: 999px; opacity: .82; }
.k-top nav a:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.k-top nav a[aria-current="page"] { opacity: 1; background: rgba(255, 210, 63, .14); color: #ffe48a; }
@media (max-width: 560px) { .k-top nav a.k-hide-s { display: none; } .k-top nav a { padding: 8px 9px; font-size: 13px; } }
html.k-nav-ready .k-top { display: none; }

/* sand-bottle text: bands of the homepage colours with grain over them */
.sandtype { color: var(--cream); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .sandtype {
    background-image: url("grain.svg"),
      linear-gradient(176deg, #f3e6c8 0 30%, #ffd23f 30% 41%, #e9a0b6 41% 52%, #dcc6a1 52% 66%, #8fd9d4 66% 77%, #f0b48a 77% 88%, #a9c4f0 88%);
    background-size: 240px 240px, 100% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
  }
  .sandtype.drift { animation: k-drift 26s linear infinite; }
}
@keyframes k-drift { to { background-position: 240px 120px, 0 0; } }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="on"]) .sandtype.drift { animation: none; } }
html[data-motion="off"] .sandtype.drift, html[data-motion="off"] .k-rise { animation: none !important; }

/* layout */
main { position: relative; z-index: 1; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
section { padding-block: clamp(56px, 9vw, 120px); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: var(--cream-2); }
.grain-dot { width: 9px; height: 9px; border-radius: 50%; background: conic-gradient(#2a63b8, #d65f86, #ffd23f, #74efe9, #2a63b8); flex: none; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.035em; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6.8rem); line-height: .96; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.015em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.02; margin-bottom: 26px; }
h3 { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.2; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.24rem); color: var(--cream-2); max-width: 34em; margin: 26px 0 30px; }
.prose { font-size: 1.06rem; color: var(--cream-2); max-width: 38em; }
.prose p { margin: 0 0 1em; }
.story { font-family: var(--serif); font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.6; color: rgba(239, 227, 204, .86); max-width: 34em; }
.story p { margin: 0 0 1.05em; }
.fine { font-size: 13px; color: var(--cream-3); }

/* buttons: one primary per section, quiet text actions */
.actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 650; font-size: 15px; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.btn.primary { background: var(--acc); color: var(--acc-ink); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.quiet { padding: 0 4px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* honest status chip */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #74efe9; box-shadow: 0 0 10px #74efe9; flex: none; }
.status.later::before { background: var(--cream-3); box-shadow: none; }

/* hero */
.hero { padding-top: clamp(120px, 15vw, 190px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-art { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.k-rise { animation: k-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes k-rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { html:not([data-motion="on"]) .k-rise { animation: none; } }

/* three-up points */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 10px; }
.points article { border-top: 1px solid var(--line); padding-top: 20px; }
.points span { font-size: 12px; letter-spacing: .14em; color: var(--cream-3); }
.points h3 { margin: 10px 0 8px; }
.points p { margin: 0; color: var(--cream-2); }

/* course cards */
.cards { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; }
.card { background: var(--night-2); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.card-art { aspect-ratio: 16 / 9; overflow: hidden; }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05; }
.card p { margin: 0; color: var(--cream-2); }
.card .tag { font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin: 0; }
.card.later .tag { color: var(--cream-3); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--cream-2); }
.facts li { display: flex; gap: 10px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cream-3); margin-top: .62em; flex: none; }
.card .actions { margin-top: auto; padding-top: 6px; }

/* banded section ground, like the homepage's dunes */
.band { background: #15110f; }
.dunes { height: 64px; background: linear-gradient(to top, #2a63b8 0 10px, #d9520b 10px 18px, #dcc6a1 18px 30px, #1d6f77 30px 38px, #d65f86 38px 48px, #ffd23f 48px 54px, transparent 54px); opacity: .9; }

/* the road: stations */
.road { list-style: none; margin: 34px 0 0; padding: 0; position: relative; display: grid; gap: 0; }
.road::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 0; border-left: 3px dotted rgba(239, 227, 204, .5); }
.road > li { position: relative; padding: 0 0 30px 52px; }
.road > li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 21px; height: 21px; border-radius: 50%; background: var(--night); border: 3px solid var(--cream-3); }
.road > li.free::before { border-color: #74efe9; }
.road > li.lit::before { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 22px rgba(255, 210, 63, .7); }
.road > li.gate::before { border-radius: 6px 6px 2px 2px; }
.road h3 { font-size: 1.2rem; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.road h3 small { font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); }
.road h3 small.free { color: #74efe9; }
.road p { margin: 6px 0 0; color: var(--cream-2); max-width: 40em; }
.towns { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.towns li { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 14px; line-height: 1.3; color: var(--cream-2); }
.towns li b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-3); font-weight: 700; margin-bottom: 4px; }
.towns li.lit { border-color: rgba(255, 210, 63, .55); color: var(--cream); background: rgba(255, 210, 63, .06); }
.towns li.lit b { color: var(--acc); }
.and { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #ffe48a; margin: 12px 0 0; }

/* levels */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 10px; }
.level { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: var(--night-2); }
.level .num { font-size: 13px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); margin: 0 0 10px; }
.level h3 { font-size: 1.45rem; margin-bottom: 10px; }
.level p { margin: 0; color: var(--cream-2); }
.level:nth-child(1) { border-top: 4px solid #dcc6a1; }
.level:nth-child(2) { border-top: 4px solid #d65f86; }
.level:nth-child(3) { border-top: 4px solid #2a63b8; }

/* two columns */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); }
.two h3 { margin-bottom: 10px; }
.list { margin: 0; padding-left: 1.1em; color: var(--cream-2); }
.list li { margin: 0 0 8px; }
.split-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 5vw, 72px); align-items: start; }

/* status table */
.state { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.state li { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 6px 22px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.state li b { font-weight: 650; }
.state li span { color: var(--cream-2); }

/* closing call */
.call { text-align: left; }
.call h2 { max-width: 14em; }
footer.k-foot { padding: 40px var(--gutter) 120px; max-width: var(--wide); margin: 0 auto; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; color: var(--cream-3); }
footer.k-foot a { color: var(--cream-2); }

@media (max-width: 900px) {
  .hero-grid, .cards, .two, .split-head { grid-template-columns: minmax(0, 1fr); }
  .points, .levels { grid-template-columns: minmax(0, 1fr); }
  .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { max-width: 560px; }
}
@media (max-width: 560px) {
  .state li { grid-template-columns: minmax(0, 1fr); }
  .towns li { font-size: 13px; }
}

/* ---------- the journey, town by town (drawn from towns.json) ---------- */
.journey { list-style: none; margin: 40px 0 0; padding: 0; position: relative; }
.journey::before { content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; border-left: 3px dotted rgba(239, 227, 204, .4); }
.j-stop { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); padding: 0 0 clamp(44px, 6vw, 72px); position: relative; }
.j-mark { position: relative; z-index: 1; }
.j-sym { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; color: var(--tc); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tc) 22%, #100d14), #100d14 72%); border: 2px solid color-mix(in srgb, var(--tc) 70%, transparent); box-shadow: 0 0 34px color-mix(in srgb, var(--tc) 30%, transparent); }
.j-sym svg { width: 48px; height: 48px; }
.j-stop.j-town:nth-child(2) .j-sym { box-shadow: 0 0 46px color-mix(in srgb, var(--tc) 60%, transparent); }
.j-label { margin: 6px 0 8px; font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--tc); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.j-label span { color: var(--cream-3); font-weight: 600; letter-spacing: .1em; }
.j-stop h3 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.035em; line-height: 1.05; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.j-stop h3 small { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: .55em; letter-spacing: 0; color: var(--cream-2); }
.j-meaning { font-family: var(--serif); font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.55; color: rgba(239, 227, 204, .9); max-width: 36em; margin: 14px 0 0; }
.j-stop .and { color: color-mix(in srgb, var(--tc) 55%, #fff4d6); }
.j-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px clamp(22px, 4vw, 48px); margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.j-grid h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.j-grid p { margin: 0; color: var(--cream-2); }
.j-grid ul { margin: 0; padding-left: 1.1em; color: var(--cream-2); }
.j-grid li { margin-bottom: 6px; }
.j-grid li::marker { color: var(--tc); }
.j-practice { margin-top: 12px !important; }
.j-practice b { color: var(--cream); font-weight: 650; }
.j-more { margin-top: 18px; }
.j-more summary { cursor: pointer; font-size: 14px; color: var(--cream-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(239, 227, 204, .35); width: fit-content; }
.j-more dl { margin: 14px 0 0; display: grid; gap: 10px; }
.j-more dl div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 4px 18px; font-size: 14px; }
.j-more dt { color: var(--cream-3); }
.j-more dd { margin: 0; color: var(--cream-2); }
.j-more em { color: var(--cream-3); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--tc); margin-right: 8px; vertical-align: -1px; }
@media (max-width: 760px) {
  .journey::before { left: 27px; }
  .j-stop { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .j-sym { width: 56px; height: 56px; }
  .j-sym svg { width: 34px; height: 34px; }
  .j-grid { grid-template-columns: minmax(0, 1fr); }
  .j-more dl div { grid-template-columns: minmax(0, 1fr); }
}

/* hub: one, two or three course cards */
.cards.cards-1 { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.cards.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card .tag { color: var(--tc, var(--acc)); }
@media (max-width: 900px) { .cards.cards-3 { grid-template-columns: minmax(0, 1fr); } }
/* together layout: one section per course */
.c-whole { border-top: 1px solid var(--line); }
.c-whole:nth-child(even) { background: #15110f; }
.c-whole .eyebrow { color: var(--tc); }
/* what is on Skool today */
.skool-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.skool-list li { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: var(--night-2); }
.skool-list b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.skool-list span { font-size: 14px; color: var(--cream-2); }
@media (max-width: 900px) { .skool-list { grid-template-columns: minmax(0, 1fr); } }

/* with N's shared nav (sticky, in the page flow) the hero needs less room on top */
html.pn-has-nav .hero { padding-top: clamp(40px, 6vw, 88px); }
.k-draft { max-width: var(--wide); margin: 0 auto; padding: 28px var(--gutter) 8px; font-size: 13px; color: var(--cream-3); }

/* each town's psychology: open on wide screens (summary hidden), one tap on phones */
.j-deep > summary { display: none; }
.j-deep > summary::-webkit-details-marker { display: none; }
@media (max-width: 760px) {
  .j-deep { margin-top: 16px; }
  .j-deep > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid color-mix(in srgb, var(--tc) 55%, transparent); border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
  .j-deep > summary::after { content: "+"; margin-left: 10px; opacity: .7; }
  .j-deep[open] > summary::after { content: "\2212"; }
  .j-deep .j-grid { margin-top: 16px; }
  .j-stop { padding-bottom: 40px; }
}
.facts { align-content: start; }

/* Hold the intro rise until the sand transition has settled, so lines never show doubled (Claude, 31 Oct 2026) */
html.pst-arriving .k-rise { animation-play-state: paused; }
