/* Programme pages (redesign 20 Oct 2026): academy.html, course.html, professional.html, siwes.html, corporate.html.
   Same direction as facility.css and home.css: paper hero with a large photograph and a riveted rating plate (the fee box),
   mono eyebrows with a rule, the curriculum as a schedule, spec sheets instead of tiles, numbered steps.
   Everything is scoped under main.px so the shared components keep their look on every other page.
   The JS-rendered blocks (programme.js, courses.js) are restyled here, not changed: .module, .equip, .checks, .timeline, .course, .feebox. */
.px { --plate: #e9e4d6; --plate-line: #cfc7b3; --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace; }
.px section { padding-block: 72px; }
.px section.tight { padding-block: 48px; }
.px .kicker, .px .eyebrow { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--green); display: flex; gap: .6rem; align-items: center; margin: 0 0 .9rem; background: none; padding: 0; border-radius: 0; }
.px .kicker::before, .px .eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: 0 0 auto; }
.px h2 { text-wrap: balance; max-width: 22ch; margin: 0 0 1rem; }
.px .lead { max-width: 62ch; line-height: 1.65; }
.px p { max-width: 68ch; }
.px .two { gap: 3rem; }

/* hero: paper, copy left, photograph with the fee plate right */
.px .phero { background: var(--bg); background-image: none; color: var(--ink); padding-block: 36px 64px; }
.px .phero .crumb { font-size: .9rem; color: var(--muted); margin: 0 0 1.2rem; }
.px .phero .crumb a { color: var(--muted); text-decoration: none; }
.px .phero .crumb a:hover { color: var(--green); }
.px .phero .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.4rem; align-items: start; }
.px .phero h1 { color: #0f1a13; max-width: 18ch; margin: 0 0 1.1rem; text-wrap: balance; font-size: clamp(2.1rem, 3.8vw, 3.2rem); line-height: 1.05; }
.px .phero .lead { color: var(--ink-2); font-size: 1.1rem; max-width: 52ch; }
.px .phero .acts { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
/* format, class size and award: a ruled list instead of pills (programme.js fills #pills with spans) */
.px .phero .pills { display: grid; gap: 0; margin: 1.4rem 0 0; border-top: 1px solid var(--ink); max-width: 56ch; }
.px .phero .pills span { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: .6rem 0 .6rem 1.3rem; font-size: .95rem; color: var(--ink-2); position: relative; }
.px .phero .pills span::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.px-shot { margin: 0; position: relative; }
.px-shot > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; box-shadow: 0 30px 60px -30px rgba(15, 30, 18, .45); }
.px-shot.wide > img { aspect-ratio: 810 / 468; }
.px-shot figcaption { font-family: var(--mono); font-size: .7rem; color: var(--muted); letter-spacing: .04em; margin-top: .6rem; }

/* the rating plate: fee box on programme and course pages, a summary plate on the listing pages */
.px .feebox, .px-plate { position: relative; background: var(--plate); color: #2c312b; border: 1px solid var(--plate-line); border-radius: 4px; box-shadow: 0 16px 36px -16px rgba(0,0,0,.35); padding: 18px 22px 20px; }
.px .feebox::before, .px .feebox::after, .px-plate::before, .px-plate::after { content: ""; position: absolute; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #b5ad98; box-shadow: 0 0 0 1px #9d957f inset; }
.px .feebox::before, .px-plate::before { left: 8px; } .px .feebox::after, .px-plate::after { right: 8px; }
.px-shot .feebox, .px-shot .px-plate { margin: -70px 0 0 28px; }
.px .feebox .kicker { color: var(--green-ink); border-bottom: 1px solid var(--plate-line); padding-bottom: 8px; margin-bottom: 10px; letter-spacing: .16em; }
.px .feebox .kicker::before { display: none; }
.px .feebox .big { font-family: var(--display); font-weight: 700; font-size: 2.5rem; color: var(--green-ink); line-height: 1.05; }
.px .feebox .big small { font-family: var(--mono); font-weight: 500 !important; font-size: .72rem !important; letter-spacing: .08em; text-transform: uppercase; opacity: 1 !important; color: #6b6f63; margin-top: 6px !important; }
.px .feebox .or { color: #2c312b; font-size: .95rem; margin: .5rem 0 .9rem; font-weight: 600; }
.px .feebox ul { list-style: none; margin: 0 0 1rem; padding: .8rem 0 0; border-top: 1px dashed var(--plate-line); display: grid; gap: .45rem; font-size: .86rem; color: #3b4038; line-height: 1.5; }
.px .feebox li { padding-left: 1.1rem; position: relative; }
.px .feebox li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--amber); transform: rotate(45deg); }
.px .feebox p { font-size: .9rem; }
.px .feebox .btn-primary { border-radius: 4px; }
.px-plate b.t { display: block; font: 700 .78rem var(--mono); letter-spacing: .14em; color: var(--green-ink); border-bottom: 1px solid var(--plate-line); padding-bottom: 8px; margin-bottom: 8px; }
.px-plate dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; font: .76rem/1.45 var(--mono); }
.px-plate dt { color: #6b6f63; text-transform: uppercase; letter-spacing: .06em; }
.px-plate dd { margin: 0; }
.px-shot .px-plate { width: min(360px, 78%); }

/* section sub-navigation */
.px .subnav { background: var(--bg); border-bottom: 1px solid var(--ink); border-top: 1px solid var(--line); }
.px .subnav a { font: 500 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* spec sheets: .timeline cells become ruled label and value pairs */
.px .timeline { gap: 0 1.6rem; margin-top: 1.4rem; }
.px .timeline > div { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: .75rem 0 .9rem; color: var(--ink); line-height: 1.5; font-size: .95rem; }
.px .timeline b { font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.px .timeline + .timeline { margin-top: 0; }

/* lists: amber diamonds instead of tick marks */
.px .checks { gap: .7rem; }
.px .checks li { padding-left: 1.4rem; line-height: 1.55; }
.px .checks li::before { content: ""; top: .6em; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
/* learning outcomes: numbered, two columns */
.px #outcomesList .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.6rem; counter-reset: oc; margin-top: 1.8rem; }
.px #outcomesList .checks li { counter-increment: oc; padding: 1rem 0 1rem 3.2rem; border-top: 1px solid var(--line); color: var(--ink); }
.px #outcomesList .checks li::before { content: counter(oc, decimal-leading-zero); background: none; transform: none; width: auto; height: auto; top: 1.05rem; font: 700 .8rem var(--mono); color: var(--green); }

/* curriculum as a schedule: ink header row, ruled rows, mono numbers and durations */
.px-sched { margin-top: 2rem; border: 1px solid var(--ink); border-radius: 4px; background: var(--paper); overflow: hidden; }
.px-modhead { display: grid; grid-template-columns: 76px minmax(0, 1fr) 130px; gap: 1rem; background: var(--ink); color: #f3efe4; font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: .75rem 1.2rem; }
.px-modhead span:last-child { text-align: right; }
.px .modules { gap: 0; margin-top: 0; }
.px .module { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1.15rem 1.2rem; grid-template-columns: 76px minmax(0, 1fr) 130px; gap: 1rem; }
.px .modules > .module:first-child { border-top: 0; }
.px .module:hover { background: #fbf8ef; }
.px .module .n { width: auto; height: auto; background: none; color: var(--green); border-radius: 0; display: block; font: 700 .95rem var(--mono); padding-top: .2rem; }
.px .module.final .n { background: none; color: var(--amber); }
.px .module.final { background: #fbf6ea; }
.px .module h4 { font-size: 1.08rem; margin-bottom: .35rem; }
.px .module p, .px .module ul { color: var(--ink-2); font-size: .95rem; line-height: 1.6; max-width: 70ch; }
.px .module .skills { gap: 0; margin-top: .35rem; }
.px .module .skills span { background: none; padding: 0; border-radius: 0; font: 500 .72rem var(--mono); color: var(--green-ink); letter-spacing: .02em; }
.px .module .skills span + span::before { content: "/"; color: var(--plate-line); margin: 0 .55rem; }
.px .module .dur { font: 500 .78rem var(--mono); color: var(--ink-2); text-align: right; padding-top: .25rem; }
.px .soon-tag { border-radius: 3px; font-family: var(--mono); }
.px .modules:not(.px-sched .modules) { border: 1px solid var(--ink); border-radius: 4px; background: var(--paper); overflow: hidden; margin-top: 1rem; }
.px .modules:not(.px-sched .modules) .module { grid-template-columns: 52px minmax(0, 1fr) auto; }

/* equipment as a ruled list */
.px .equip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.4rem; margin-top: 1.8rem; border-bottom: 1px solid var(--line); }
.px .equip > div { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: .9rem 0; grid-template-columns: 64px 1fr; }
.px .equip .eq-th, .px .equip .eq-ico { border-radius: 4px; }
.px .equip .eq-ico { background: var(--plate); color: var(--green-ink); }
.px .equip b { font-family: Manrope, Inter, sans-serif; }
.px .equip small { font-family: var(--mono); font-size: .74rem; color: var(--ink-2); }

/* photographs inside sections */
.px .photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }
.px .notice { background: transparent; border: 0; border-left: 3px solid var(--amber); border-radius: 0; color: var(--ink-2); padding: .3rem 0 .3rem 1rem; font-size: .9rem; line-height: 1.6; }

/* numbered steps (not .steps: that class belongs to the application wizard) */
.px-steps { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 1.1rem; counter-reset: s; }
.px-steps li { display: grid; grid-template-columns: 34px 1fr; gap: .9rem; counter-increment: s; color: var(--ink-2); line-height: 1.55; }
.px-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--green); color: var(--green); font: 700 .85rem var(--mono); display: grid; place-items: center; }
.px-steps b { color: var(--ink); }

/* numbered points (replaces icon tiles) */
.px-points { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: pt; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.4rem; }
.px-points.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.px-points li { counter-increment: pt; padding: 1.2rem 0 1.4rem; border-top: 1px solid var(--ink); }
.px-points li::before { content: counter(pt, decimal-leading-zero); display: block; font: 700 .76rem var(--mono); color: var(--amber); letter-spacing: .08em; margin-bottom: .5rem; }
.px-points h3 { font-size: 1.22rem; margin: 0 0 .4rem; }
.px-points p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }

/* course cards rendered by courses.js: flatter, mono meta line instead of a pill */
.px .course { border-radius: 6px; border-color: var(--line); border-top: 3px solid var(--green-ink); }
.px .course.is-soon { border-top-color: var(--amber); }
.px .course > .tag { background: none; padding: 0; border-radius: 0; font: 500 .68rem/1.5 var(--mono); letter-spacing: .08em; color: var(--green); }
.px .course .pic { border-radius: 4px; }
.px .course .fee.soon { border-radius: 3px; font-family: var(--mono); font-size: .85rem; }
.px .course .btn-primary { border-radius: 4px; }

/* comparison tables: the schedule look from the facility page */
.px .compare-wrap { border: 1px solid var(--ink); border-radius: 4px; box-shadow: none; }
.px .compare thead th { background: var(--ink); color: #f3efe4; font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; padding-block: .85rem; }
.px .compare thead th:first-child { background: var(--ink); color: #c9c3b3; }
.px .compare tbody th { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: var(--muted); background: var(--paper); }
.px .compare.names tbody th { font-family: Manrope, Inter, sans-serif; font-size: .98rem; letter-spacing: 0; color: var(--ink); }
.px .compare tbody tr:nth-child(even) td { background: transparent; }
.px .compare tbody tr:hover td { background: #fbf8ef; }

/* FAQ: heading left, ruled questions right */
.px-faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 3rem; align-items: start; }
.px .faq { margin: 0; max-width: none; border-top: 1px solid var(--ink); }
.px .faq details { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; margin: 0; }
.px .faq summary { padding: 1.05rem 0; font-size: 1.02rem; }
.px .faq details p { line-height: 1.65; margin: 0; padding: 0 0 1.2rem; }

/* forms */
.px-form { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 4px; padding: 1.6rem; }
.px-form h3 { margin: 0 0 .4rem; }

/* closing band: plain brand green, no pattern */
.px .band { background: var(--green-ink); background-image: none; }
.px .band .wrap { padding-block: 56px !important; }
.px .band h2 { max-width: 24ch; }

@media (max-width: 1100px) {
  .px-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .px section { padding-block: 52px; }
  .px .phero { padding-block: 28px 48px; }
  .px .phero .grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .px .phero h1 { max-width: none; }
  .px-shot .feebox, .px-shot .px-plate { margin: -48px 14px 0; }
  .px-faq { grid-template-columns: 1fr; gap: 1.4rem; }
  .px .two { gap: 2rem; }
}
@media (max-width: 680px) {
  .px #outcomesList .checks, .px .equip, .px-points, .px-points.four { grid-template-columns: 1fr; }
  .px-modhead { display: none; }
  .px .module { grid-template-columns: 44px minmax(0, 1fr); padding: 1rem; gap: .6rem; }
  .px .module .dur { grid-column: 2; text-align: left; padding-top: 0; }
  .px .feebox .big { font-size: 2.1rem; }
  .px-shot .px-plate { width: auto; }
  .px .feebox, .px-plate { padding: 16px 16px 18px; }
}
@media (max-width: 600px) {
  .px-shot .feebox, .px-shot .px-plate { margin: -36px 8px 0; }
  .px-form { padding: 1.2rem; }
}

/* course page: share link under the spec sheet */
.px-share { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--ink); }
.px-share b { display: block; font: 500 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.px-share div { display: flex; gap: .5rem; }
.px-share input { flex: 1; min-width: 0; font: .85rem var(--mono); padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink-2); }
.px .two .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .px .two .timeline:not(.four) { grid-template-columns: 1fr; } }
/* phone sticky bar: one compact row */
.px .sticky-cta { background: var(--paper); border-top: 1px solid var(--ink); padding: 8px 12px; }
.px .sticky-cta .btn { border-radius: 6px; padding: .65rem .8rem; font-size: .88rem; line-height: 1.25; text-align: center; }
.px .sticky-cta .btn-outline { flex: 0 0 auto; }
