/* About page (page-about.php) – semantic tokens only, so Light and Dark both work. */

.promptix-about-page { padding-bottom: 56px; }
.promptix-main:has(> .promptix-about-page) { padding-top: 0; }

.pxa-grad { background: var(--gradient-cyan); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pxa-title { margin: 0; font-size: clamp(1.625rem, 2.6vw, 2.125rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--text-heading); }
.pxa-lead { margin: 6px 0 0; color: var(--text-secondary); }
.pxa-center { text-align: center; }

/* Hero */
.pxa-hero { position: relative; overflow: hidden; padding: 36px 0 96px; background: var(--gradient-soft); border-bottom: 1px solid var(--border-default); }
.pxa-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.pxa-hero__badge { margin: 0 0 12px; color: var(--color-cyan); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pxa-hero__title { margin: 0 0 16px; font-size: clamp(2.125rem, 4.2vw, 3.375rem); font-weight: 800; font-style: italic; line-height: 1.08; letter-spacing: -.02em; color: var(--text-heading); }
.pxa-hero__title .pxa-grad { padding-left: .06em; }
.pxa-hero__lead { max-width: 560px; margin: 0 0 26px; font-size: 1.125rem; color: var(--text-body); }
.pxa-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pxa-hero__btn { min-height: 52px; padding: 12px 26px; }
.pxa-hero__actions .btn-gradient { background: linear-gradient(-90deg, var(--color-purple) 0%, var(--color-primary) 100%); }
.pxa-hero__actions .btn-gradient:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.pxa-play { color: var(--text-heading); border-color: var(--border-strong); }
.pxa-play:hover { color: var(--color-primary); border-color: var(--color-primary); }
.pxa-play__icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: 50%; }

.pxa-hero__art { position: relative; display: grid; place-items: center; min-height: 340px; border-radius: var(--radius-xl); background: var(--gradient-primary); color: var(--text-inverse); box-shadow: var(--shadow-lg); overflow: hidden; }
.pxa-hero__art::before { content: ""; position: absolute; inset: auto auto -90px -70px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.pxa-hero__art.has-image { background: var(--navy-900); }
.pxa-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pxa-hero__glyph { position: relative; opacity: .85; }
.pxa-hero__chips { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.pxa-chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--radius-md); background: rgba(17, 24, 39, .55); backdrop-filter: blur(6px); color: var(--text-inverse); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-md); }
.pxa-chip--0 { top: 12%; right: 10%; }
.pxa-chip--1 { top: 48%; right: 6%; }
.pxa-chip--2 { top: 22%; left: 8%; }
.pxa-chip--3 { top: 56%; left: 14%; }
.pxa-hero__tagline { position: absolute; left: 20px; bottom: 16px; z-index: 1; max-width: 170px; margin: 0; color: var(--text-inverse); font-size: 1.125rem; font-weight: 700; font-style: italic; line-height: 1.2; text-align: left; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }

/* Stats */
.pxa-stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: -60px 0 0; padding: 0; list-style: none; }
.pxa-stat { padding: 20px 22px; }
.pxa-stat:hover { border-color: var(--cycle-fg); }
.pxa-stat__top { display: flex; align-items: center; gap: 16px; }
.pxa-stat__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--cycle-bg); color: var(--cycle-fg); box-shadow: inset 0 0 0 1px currentColor; }
.pxa-stat__value { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.1; color: var(--text-heading); }
.pxa-stat__label { color: var(--text-body); font-weight: 500; }
.pxa-stat__text { margin: 14px 0 0; font-size: 13px; color: var(--text-secondary); }

/* Mission */
.pxa-mission { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: 24px; }
.pxa-mission__media { position: relative; display: grid; align-items: center; min-height: 320px; overflow: hidden; border: 1px solid var(--border-default); border-radius: var(--radius-xl); background: var(--gradient-primary); box-shadow: var(--shadow-md); }
.pxa-mission__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.pxa-mission__media.has-image .pxa-mission__quote { position: absolute; inset-block: 0; inset-inline-start: 0; align-content: center; width: 62%; background: linear-gradient(-90deg, rgb(8 6 28 / .78), rgb(8 6 28 / 0)); text-shadow: 0 0 18px rgb(56 189 248 / .55); }
.pxa-mission__quote { display: grid; gap: 4px; margin: 0; padding: 32px; color: var(--text-inverse); font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 800; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; }
.pxa-mission__lead { margin: 8px 0 12px; color: var(--text-heading); font-size: 1.0625rem; font-weight: 500; }
.pxa-mission__text { margin: 0 0 20px; color: var(--text-body); }
.pxa-points { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.pxa-points li { display: flex; align-items: center; gap: 16px; }
.pxa-points strong { display: block; color: var(--text-heading); }
.pxa-points li span span { font-size: 14px; color: var(--text-secondary); }
.pxa-points__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--cycle-bg); color: var(--cycle-fg); box-shadow: inset 0 0 0 1px currentColor; }

/* Journey */
.pxa-journey { margin-top: 40px; padding: 36px 0 40px; border-block: 1px solid var(--border-default); background: var(--bg-section); }
.pxa-timeline { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); margin: 28px 0 0; padding: 30px 0 0; list-style: none; }
.pxa-timeline::before { content: ""; position: absolute; top: 8px; right: 4%; left: 4%; height: 2px; background: linear-gradient(-90deg, var(--color-purple), var(--color-primary), var(--color-cyan)); }
.pxa-step { position: relative; display: flex; gap: 16px; padding: 0 20px; }
.pxa-step + .pxa-step { border-right: 1px solid var(--border-default); }
.pxa-step__dot { position: absolute; top: -30px; right: 34px; width: 18px; height: 18px; border: 3px solid var(--cycle-fg); border-radius: 50%; background: var(--bg-card); box-shadow: 0 0 0 4px var(--cycle-bg); }
.pxa-step__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: var(--radius-lg); background: var(--cycle-bg); color: var(--cycle-fg); }
.pxa-step__year { margin: 0; color: var(--cycle-fg); font-size: 1.25rem; font-weight: 800; }
.pxa-step__title { margin: 2px 0 8px; font-size: 1rem; color: var(--text-heading); }
.pxa-step__text { margin: 0; font-size: 13px; color: var(--text-secondary); }

/* Team */
.pxa-team { margin-top: 40px; }
.pxa-team__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.pxa-team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.pxa-member { display: flex; flex-direction: column; overflow: hidden; }
.pxa-member:hover { border-color: var(--cycle-fg); }
.pxa-member__photo { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gradient-primary); }
.pxa-member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pxa-member:hover .pxa-member__photo img { transform: scale(1.04); }
.pxa-member__initials { color: var(--text-inverse); font-size: 3rem; font-weight: 800; letter-spacing: .04em; }
.pxa-member__body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.pxa-member__name { margin: 0; font-size: 1.25rem; color: var(--text-heading); }
.pxa-member__role { margin: 2px 0 10px; color: var(--cycle-fg); font-weight: 600; }
.pxa-member__bio { margin: 0 0 16px; font-size: 14px; color: var(--text-secondary); }
.pxa-member__links { display: flex; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.pxa-member__links a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--border-default); border-radius: var(--radius-md); color: var(--text-heading); transition: color .2s ease, border-color .2s ease; }
.pxa-member__links a:hover { color: var(--color-primary); border-color: var(--color-primary); }

.pxa-extra { margin-top: 40px; }

/* Story video */
.pxa-video { width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius-xl); background: var(--navy-900); box-shadow: var(--shadow-lg); overflow: visible; }
.pxa-video::backdrop { background: rgba(0, 0, 0, .7); }
.pxa-video__frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: inherit; }
.pxa-video__frame iframe, .pxa-video__frame video { display: block; width: 100%; height: 100%; border: 0; }
.pxa-video__close { position: absolute; top: -14px; left: -14px; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--bg-card); color: var(--text-heading); box-shadow: var(--shadow-md); cursor: pointer; }

@media (max-width: 1199px) {
	.pxa-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pxa-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-top: 0; }
	.pxa-timeline::before, .pxa-step__dot { display: none; }
	.pxa-step:nth-child(odd) { border-right: 0; }
}

@media (max-width: 991px) {
	.pxa-hero__grid, .pxa-mission { grid-template-columns: 1fr; }
	.pxa-hero__art { min-height: 260px; }
}

@media (max-width: 600px) {
	.pxa-hero { padding: 24px 0 80px; }
	.pxa-hero__btn { flex: 1 1 100%; }
	.pxa-stats, .pxa-timeline { grid-template-columns: 1fr; }
	.pxa-step { padding: 0; border-right: 0 !important; }
	.pxa-chip { font-size: 11px; padding: 5px 9px; }
	.pxa-hero__tagline { font-size: 1rem; }
}
