/* ===== Concept C v6 (2026-11-23): centred page heads, coloured audience cards, richer Our Story, registered badge, welcome card ===== */
.ph-center .wrap { justify-items: center; text-align: center; }
.ph-center h1 { max-width: none; }
.ph-center h1 .ln, .ph-center .lead .ln { display: block; }
.ph-center .lead { max-width: none !important; margin-inline: auto; }
.ph-center .lead.one-line, .ph-center .aud-intro, .ph-center .svc-jump { text-align: center; }
.ph-center .aud-cards, .ph-center .svc-grid { width: 100%; text-align: left; }
@media (max-width: 760px) { .ph-center h1 .ln, .ph-center .lead .ln { display: inline; } }

/* audience cards: coloured, so they read differently from the service list below */
.aud-cards li { background: linear-gradient(135deg, #1B1464 0%, #1B1464 100%); border: 0; color: #FFFFFF; box-shadow: 0 18px 40px rgba(27,20,100,.18); }
.aud-cards strong { color: #FFFFFF; }
.aud-cards li > span:last-child { color: #D9E9F5; }
.aud-cards .ai { background: rgba(255,255,255,.12); color: #FFFFFF; border: 1px solid rgba(255,255,255,.18); }
/* service list: centred rows so the last one never sits alone on the left */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.svc-grid a { flex: 0 1 calc((100% - 30px) / 4); min-width: 0; }
@media (max-width: 1100px) { .svc-grid a { flex-basis: calc((100% - 20px) / 3); } }
@media (max-width: 760px) { .svc-grid a { flex-basis: calc((100% - 10px) / 2); } }
@media (max-width: 480px) { .svc-grid a { flex-basis: 100%; } }

/* registered badge */
.reg-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--blue); background: #EEF6FC; border: 1px solid #D9E9F5; padding: 7px 14px 7px 10px; border-radius: 999px; }
.reg-badge svg { width: 18px; height: 18px; flex: none; }
.ph-center .reg-badge { margin-top: 6px; }
.hero-reg { margin-top: 18px; }
.foot-bottom { align-items: center; }

/* Our Story */
.story-sec { padding-block: clamp(56px, 7vw, 96px); }
.center-head { text-align: center; display: grid; gap: 12px; justify-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.center-head h2 { max-width: 22ch; }
.story-stats { list-style: none; margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.story-stats li { background: linear-gradient(135deg, #1B1464 0%, #1B1464 100%); color: #FFFFFF; border-radius: 20px; padding: 26px 24px; display: grid; gap: 6px; text-align: center; box-shadow: 0 18px 40px rgba(27,20,100,.16); }
.story-stats strong { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; color: #FFFFFF; line-height: 1.1; }
.story-stats span { color: #D9E9F5; font-size: .95rem; }
.story-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.story-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 44px rgba(27,20,100,.07); }
.story-card img { width: 100%; height: clamp(180px, 20vw, 260px); object-fit: cover; display: block; }
.story-card .prose { padding: clamp(22px, 3vw, 34px); max-width: none; }
.story-grid .timeline { border-left: 0; gap: 14px; position: relative; padding-left: 26px; }
.story-grid .timeline::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, #D9E9F5, var(--blue)); border-radius: 2px; }
.story-grid .timeline li { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 8px 22px rgba(27,20,100,.05); transition: transform .25s, box-shadow .25s; }
.story-grid .timeline li:hover { transform: translateX(4px); box-shadow: 0 14px 30px rgba(27,20,100,.09); }
.story-grid .timeline li::before { left: -27px; top: 20px; background: #FFFFFF; border-color: var(--blue); }
.story-grid .timeline li.now { background: #EEF6FC; border-color: #D9E9F5; }
.story-grid .timeline li.now::before { background: var(--blue); }
@media (max-width: 920px) { .story-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .story-stats { grid-template-columns: 1fr; } }

/* welcome card (home page): small, corner, once per visit */
.welcome { position: fixed; z-index: 70; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); width: min(360px, calc(100% - 36px)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 20px; box-shadow: 0 28px 60px rgba(27,20,100,.22); display: grid; gap: 8px; justify-items: start; opacity: 0; transform: translateY(18px); transition: opacity .3s, transform .3s; }
.welcome.show { opacity: 1; transform: none; }
.welcome[hidden] { display: none; }
.welcome img { width: 40px; height: 40px; }
.welcome .w-title { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.1rem; line-height: 1.3; }
.welcome .w-text { color: var(--muted); font-size: .93rem; }
.welcome .btn { margin-top: 6px; }
.w-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.w-close:hover { background: var(--sand); color: var(--navy); }
.w-close svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .welcome { transition: none; } }
