/* ================================================================
   AIC INNER PAGES: programmes, articles, legal, thanks.
   Builds on home.css tokens. Same dark hero + light body rhythm,
   same text sheen, same reveal. No divider lines.
================================================================ */
body.inner { background: var(--void); }
.inner h1, .inner h2, .inner h3 { font-family: var(--font); }
.inner main { position: relative; }

/* ---------- hero ---------- */
.ph { position: relative; background: var(--void); color: #fff; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 12vh) 0 13vh; }
.ph-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ph-glow { position: absolute; left: 60%; top: 30%; width: min(110vw, 1100px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(199,166,106,.22), rgba(199,166,106,.06) 55%, rgba(199,166,106,0)); animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-44%, -54%) scale(1.08); } }
.ph-code { position: absolute; right: -2vw; bottom: -8vw; z-index: 0; font-size: clamp(180px, 30vw, 460px); font-weight: 800; letter-spacing: -.07em; line-height: .8; color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.14); user-select: none; pointer-events: none; will-change: transform; }
.ph .wrap { position: relative; z-index: 2; }
.ph-back { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--on-dark); font-size: 14px; font-weight: 500; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, transform .3s var(--ease); }
.ph-back:hover { background: rgba(255,255,255,.16); transform: translateX(-3px); }
.ph-series { margin-top: 34px; color: var(--amber); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ph h1 { margin-top: 14px; max-width: 17em; font-size: clamp(30px, 4vw, 56px); font-weight: 700; letter-spacing: -.05em; line-height: 1.02; }
.ph-meta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: var(--on-dark-2); font-size: 17px; }
.ph-meta .gold-text { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 999px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 15px; }
.ph-tag { margin-top: 22px; max-width: 36em; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: var(--on-dark); letter-spacing: -.015em; }
.ph-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.ph .btn-outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.ph .btn-outline:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.ph-soft { padding-bottom: 9vh; }

/* ---------- body sections (programme) ---------- */
.pg { background: var(--paper); color: var(--text); }
.pg .ps { padding: 13vh 0; position: relative; }
.pg .ps h2 { font-size: clamp(26px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.045em; line-height: 1.06; color: var(--ink); max-width: 18em; }
.pg .section-tag { display: none; }
.pg .prog-body-text { margin-top: 28px; max-width: 34em; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; letter-spacing: -.015em; font-weight: 500; color: #2A2A2C; }
.pg .objectives-grid, .pg .outcomes-grid, .pg .days-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pg .objective-card, .pg .outcome-card { background: #fff; border-radius: 30px; padding: 40px 34px 38px; box-shadow: 0 24px 60px -28px rgba(10,10,10,.28); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pg .objective-card:hover, .pg .outcome-card:hover { transform: translateY(-8px); box-shadow: 0 34px 70px -26px rgba(10,10,10,.34); }
.pg .obj-num { font-size: clamp(48px, 5vw, 72px); font-weight: 800; letter-spacing: -.07em; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--ink); margin-bottom: 26px; }
.pg .objective-card p, .pg .outcome-card p { font-size: 18px; line-height: 1.55; color: #3A3A3C; letter-spacing: -.01em; }
.pg .outcomes-section { background: #E7E3D8; }
.pg .outcome-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 17px; margin-bottom: 26px; }

/* the days: dark stage */
.pg .band-dark { background: var(--void); color: #fff; overflow: hidden; isolation: isolate; }
.pg .band-dark::before { content: ""; position: absolute; left: 80%; top: 10%; width: 90vw; max-width: 1000px; aspect-ratio: 1; transform: translate(-50%, 0); border-radius: 50%; background: radial-gradient(closest-side, rgba(199,166,106,.16), rgba(199,166,106,0)); pointer-events: none; z-index: -1; }
.pg .band-dark h2 { color: #fff; }
.pg .day-card { position: relative; background: rgba(255,255,255,.06); border-radius: 30px; padding: 40px 34px 38px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .5s var(--ease), background .4s; overflow: hidden; }
.pg .day-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.1); }
.pg .day-label { display: inline-flex; align-items: center; min-height: 34px; padding: 0 16px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: 1.4px; margin-bottom: 26px; }
.pg .day-card h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 16px; color: #fff; }
.pg .day-card p { font-size: 17px; line-height: 1.6; color: var(--on-dark-2); }

/* audience */
.pg .audience-tags { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; }
.pg .audience-tag { display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 17px; font-weight: 600; letter-spacing: -.015em; box-shadow: 0 14px 34px -20px rgba(10,10,10,.35); transition: transform .4s var(--ease), background .3s; }
.pg .audience-tag:hover { transform: translateY(-4px); background: var(--amber); }

/* HRDCorp */
.pg .ps-hrd { padding: 0 0 13vh; }
.pg .hrdcorp-badge { display: flex; align-items: center; gap: 22px; max-width: 760px; background: #fff; border-radius: 30px; padding: 28px 34px; box-shadow: 0 24px 60px -30px rgba(10,10,10,.3); }
.pg .hrd-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 24px; }
.pg .hrdcorp-badge strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.pg .hrdcorp-badge p { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* other programmes */
.more { background: var(--paper); padding: 0 0 14vh; }
.more h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.045em; color: var(--ink); margin-bottom: 32px; }
.more-list { display: flex; flex-wrap: wrap; gap: 10px; }
.more-list a { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px 0 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: -.01em; box-shadow: 0 14px 34px -22px rgba(10,10,10,.4); transition: transform .4s var(--ease), background .3s; max-width: 100%; }
.more-list a:hover { transform: translateY(-4px); background: var(--amber); }
.more-list b { flex: none; display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; }
.more-list a:hover b { background: var(--ink); }
.more-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- closing call ---------- */
.end { position: relative; background: var(--void); text-align: center; padding: 20vh 0; overflow: hidden; isolation: isolate; color: #fff; }
.end::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(120vw, 1200px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(199,166,106,.28), rgba(199,166,106,.07) 55%, rgba(199,166,106,0)); pointer-events: none; z-index: -1; animation: breathe 7s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: translate(-50%, -50%) scale(1.12); } }
.end h2, .end h3 { font-size: clamp(32px, 5vw, 72px); font-weight: 700; letter-spacing: -.06em; line-height: .98; max-width: 11em; margin: 0 auto; color: #fff; }
.end p { margin: 26px auto 0; max-width: 28em; font-size: clamp(16px, 1.4vw, 20px); color: var(--on-dark-2); letter-spacing: -.015em; }
.end .btn { margin-top: 40px; min-height: 60px; font-size: 18px; padding: 0 40px; }

/* ---------- article ---------- */
.ah-meta { margin-top: 34px; display: flex; align-items: center; gap: 16px; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 40%; box-shadow: 0 0 0 3px var(--amber); flex: none; }
.ah-meta strong { display: block; font-size: 16px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.ah-meta span { font-size: 14px; color: var(--on-dark-2); }
.ah-cat { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: rgba(199,166,106,.14); color: var(--amber); font-size: 14px; font-weight: 600; margin-top: 34px; }
.ah h1 { max-width: 15em; font-size: clamp(28px, 3.6vw, 52px); }
.art { background: var(--paper); color: var(--text); padding: 11vh 0 12vh; }
.art-body { width: min(720px, 100% - 48px); margin: 0 auto; }
.art-body p { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.8; color: #2A2A2C; margin-bottom: 26px; letter-spacing: -.005em; }
.art-body h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; color: var(--ink); margin: 72px 0 24px; }
.art-body h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin: 44px 0 14px; }
.art-body ul, .art-body ol { margin: 0 0 28px 1.3em; }
.art-body ul { list-style: none; margin-left: 0; }
.art-body ul li { position: relative; padding-left: 28px; }
.art-body ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.art-body ol li { padding-left: 6px; }
.art-body li { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.75; color: #2A2A2C; margin-bottom: 12px; }
.art-body a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.art-body blockquote { position: relative; margin: 56px 0; padding: 48px 38px 40px; background: var(--ink); border-radius: 30px; overflow: hidden; }
.art-body blockquote::before { content: "\201C"; position: absolute; left: 28px; top: -18px; font-family: var(--serif); font-size: 160px; line-height: 1; color: var(--amber); opacity: .9; }
.art-body blockquote p { position: relative; margin: 0; font-family: var(--serif); font-style: normal; font-weight: 500; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; color: #fff; letter-spacing: -.01em; }
.art-body strong { color: var(--ink); }
#readbar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--amber), var(--amber-hi)); transform: scaleX(0); transform-origin: 0 50%; z-index: 1100; }

/* read next */
.next { background: var(--paper); padding: 0 0 14vh; }
.next h2 { font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; letter-spacing: -.045em; color: var(--ink); margin-bottom: 30px; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nx { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; padding: 30px; border-radius: 30px; overflow: hidden; color: #fff; isolation: isolate; background: linear-gradient(150deg, var(--g1), var(--g2)); transition: transform .5s var(--ease); }
.nx::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; left: var(--bx); top: var(--by); border-radius: 50%; background: radial-gradient(closest-side, var(--gl), transparent); z-index: -1; transition: transform .8s var(--ease); }
.nx:hover { transform: translateY(-8px); }
.nx:hover::before { transform: scale(1.25); }
.nx-cat { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); }
.nx-title { font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; display: block; }
.nx-meta { display: block; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.6); }

/* ---------- thanks ---------- */
.th-check { width: 84px; height: 84px; margin-bottom: 30px; }
.th-check circle { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 252; stroke-dashoffset: 252; animation: draw 1.1s .2s var(--ease) forwards; }
.th-check path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s 1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.th-steps { background: var(--void); padding: 4vh 0 14vh; position: relative; color: #fff; }
.th-steps h2, .th-cal h2 { font-size: clamp(30px, 4vw, 56px); font-weight: 700; letter-spacing: -.05em; line-height: 1.05; margin-bottom: 44px; }
.th-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.th-card { background: rgba(255,255,255,.06); border-radius: 30px; padding: 36px 32px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.th-card b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; margin: 22px 0 12px; }
.th-card p { font-size: 17px; line-height: 1.6; color: var(--on-dark-2); }
.th-card .n { font-size: 64px; font-weight: 800; letter-spacing: -.07em; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--amber); }
.th-fit { background: var(--void); padding: 0 0 14vh; color: #fff; }
.th-fit .th-grid { grid-template-columns: repeat(2, 1fr); }
.th-fit h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.04em; margin-bottom: 22px; }
.th-fit li { position: relative; padding-left: 28px; margin-bottom: 14px; font-size: 18px; line-height: 1.5; color: var(--on-dark); }
.th-fit li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.th-cal { background: var(--paper); color: var(--ink); padding: 13vh 0; }
.th-cal h2 { color: var(--ink); }
.th-cal .cal-card { background: #fff; border-radius: 30px; padding: 12px; box-shadow: 0 30px 80px -40px rgba(10,10,10,.45); overflow: hidden; }
.th-cal .calendly-inline-widget { min-width: 280px; height: 700px; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 24px; position: relative; overflow: hidden; isolation: isolate; background: var(--void); color: #fff; }
.nf h1 { font-size: clamp(40px, 7vw, 96px); font-weight: 700; letter-spacing: -.06em; line-height: .96; max-width: 9em; margin: 0 auto; }
.nf p { margin: 24px auto 40px; max-width: 28em; font-size: 20px; color: var(--on-dark-2); }

/* ---------- reduced motion + responsive ---------- */
.reduced .ph-glow, .reduced .end::before, .reduced .th-check circle, .reduced .th-check path { animation: none; }
.reduced .th-check circle, .reduced .th-check path { stroke-dashoffset: 0; }
.reduced .ph-cv, .reduced #readbar { display: none; }
@media (max-width: 960px) {
  .pg .objectives-grid, .pg .outcomes-grid, .pg .days-grid, .th-grid, .next-grid, .th-fit .th-grid { grid-template-columns: 1fr; }
  .nx { min-height: 240px; }
  .ph-code { font-size: 62vw; right: -4vw; bottom: -6vw; }
}
@media (max-width: 640px) {
  .ph { padding-top: calc(var(--nav-h) + 8vh); padding-bottom: 10vh; }
  .pg .ps { padding: 9vh 0; }
  .pg .hrdcorp-badge { flex-direction: column; align-items: flex-start; padding: 26px; }
  .end { padding: 14vh 0; }
  .art-body blockquote { padding: 44px 26px 32px; }
  .th-cal .calendly-inline-widget { height: 760px; }
}
