/*
 * Page Modules
 * Styles for the page-modules/ templates. Only loaded on the ACF Builder template.
 * Everything is prefixed .pm- so it stays separate from the older content-rows modules.
 */

.page-modules {
	--pm-purple: #61359c;
	--pm-magenta: #d2398a;
	--pm-yellow: #f5b335;
	--pm-teal: #1b7e96;
	--pm-heading: #2b2340;
	--pm-ink: #4b4b4b;
	--pm-ink-soft: #6b6b6b;
	--pm-line: #e7e4ec;
	--pm-tint-purple: #f6f2fb;
	--pm-tint-magenta: #fdf1f7;
	--pm-display: "Poppins", "hind_vadodarasemibold", sans-serif;
	--pm-body: "hind_vadodararegular", "Helvetica Neue", Arial, sans-serif;

	overflow-x: hidden;
	font-family: var(--pm-body);
	color: var(--pm-ink);
	font-size: 18px;
	line-height: 1.55;
}
.page-modules *,
.page-modules *::before,
.page-modules *::after { box-sizing: border-box; }
.page-modules img { display: block; max-width: 100%; height: auto; }
.page-modules h1,
.page-modules h2,
.page-modules p,
.page-modules figure,
.page-modules blockquote { margin: 0; padding: 0; border: 0; }

.pm { position: relative; }
.pm-wrapper { position: relative; width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .pm-wrapper { padding: 0 30px; } }


/* ---------- Shared ---------- */
.pm-eyebrow { font-family: var(--pm-display); font-weight: 600; font-size: 13px; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; color: var(--pm-magenta); }
.pm-title { font-family: var(--pm-display); font-weight: 700; color: var(--pm-heading); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.01em; }
.pm-title em { font-style: normal; color: var(--pm-magenta); }
.pm-num { font-family: var(--pm-display); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.pm-lede { font-size: 20px; color: var(--pm-ink-soft); }
.pm-lede p + p { margin-top: 12px; }
.pm-lede strong { color: var(--pm-magenta); font-family: "hind_vadodarasemibold", sans-serif; font-weight: normal; }

.pm-c-purple { color: var(--pm-purple); }
.pm-c-magenta { color: var(--pm-magenta); }
.pm-c-teal { color: var(--pm-teal); }
.pm-bg-white { background-color: #fff; }
.pm-bg-tint-magenta { background-color: var(--pm-tint-magenta); }
.pm-bg-tint-purple { background-color: var(--pm-tint-purple); }
.pm-bg-purple { background-color: var(--pm-purple); color: #fff; }
.pm-bg-magenta { background-color: var(--pm-magenta); color: #fff; }
.pm-bg-teal { background-color: var(--pm-teal); color: #fff; }

.pm-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.pm-btn,
.pm-btn:hover,
.pm-btn:focus { display: inline-block; font-family: var(--pm-display); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; padding: 14px 26px; border-radius: 999px; transition: transform .15s ease, opacity .15s ease; }
.pm-btn:hover { transform: translateY(-1px); opacity: .92; }
.pm-btn--purple, .pm-btn--purple:hover, .pm-btn--purple:focus { background: var(--pm-purple); color: #fff; }
.pm-btn--outline, .pm-btn--outline:hover, .pm-btn--outline:focus { color: var(--pm-purple); box-shadow: inset 0 0 0 2px var(--pm-purple); }
.pm-btn--yellow, .pm-btn--yellow:hover, .pm-btn--yellow:focus { background: var(--pm-yellow); color: var(--pm-heading); }
.pm-btn--ghost, .pm-btn--ghost:hover, .pm-btn--ghost:focus { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }

.pm-badge { width: 150px; padding: 18px 14px 14px; color: #fff; text-align: center; clip-path: polygon(0 6%, 100% 0, 97% 100%, 3% 98%); }
.pm-badge__ten { font-family: var(--pm-display); font-weight: 800; font-size: 74px; line-height: .9; letter-spacing: -.04em; }
.pm-badge__ten span { color: var(--pm-yellow); }
.pm-badge__txt { font-family: var(--pm-display); font-weight: 700; font-size: 15px; line-height: 1.05; text-transform: uppercase; margin-top: 6px; }

.pm-leaves { position: absolute; pointer-events: none; }

.pm-anchor { display: block; position: relative; top: -20px; visibility: hidden; }


/* ---------- Anniversary Hero ---------- */
.pm-hero { padding: 56px 0 64px; overflow: hidden; background: #fff; }
.pm-hero .pm-wrapper { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
	.pm-hero { padding: 80px 0 88px; }
	.pm-hero .pm-wrapper { grid-template-columns: 1fr 1.05fr; gap: 64px; }
}
.pm-hero .pm-hero__title { font-family: var(--pm-display); font-weight: 800; color: var(--pm-heading); font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -.025em; margin: 14px 0 22px; }
.pm-hero__title em { font-style: normal; color: var(--pm-purple); }
.pm-hero .pm-lede { max-width: 520px; }
.pm-hero .pm-buttons { margin-top: 30px; }
.pm-hero__media { position: relative; }
.pm-hero__photo { aspect-ratio: 770 / 545; overflow: hidden; clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%); }
.pm-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.pm-hero__media .pm-badge { position: absolute; left: -18px; bottom: -26px; }
@media (max-width: 899px) {
	.pm-hero__media .pm-badge { left: 12px; width: 120px; }
	.pm-hero__media .pm-badge__ten { font-size: 58px; }
	.pm-hero__media .pm-badge__txt { font-size: 12px; }
}
.pm-leaves--hero { right: -40px; top: -30px; width: 260px; color: #c9b8e3; opacity: .5; }


/* ---------- Stats Band ---------- */
.pm-stats--row { padding: 24px 0 72px; }
.pm-hero + .pm-stats--row { padding-top: 0; }
.pm-stats__grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--pm-line); }
@media (min-width: 600px) { .pm-stats__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pm-stats__grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.pm-stat { padding: 34px 24px 6px 0; }
@media (min-width: 1000px) { .pm-stat + .pm-stat { padding-left: 28px; border-left: 1px solid var(--pm-line); } }
.pm-stat .pm-num { font-size: clamp(36px, 3.6vw, 46px); white-space: nowrap; }
.pm-stat__label { margin-top: 10px; font-size: 17px; line-height: 1.4; max-width: 240px; }
.pm-stat__label small,
.pm-stats__text small { display: block; margin-top: 4px; font-size: 15px; color: var(--pm-ink-soft); }
.pm-stat__rule { width: 36px; height: 4px; border-radius: 2px; background: var(--pm-yellow); margin-top: 16px; }

.pm-stats--callout { padding: 56px 0; }
.pm-stats--callout .pm-wrapper { display: grid; gap: 18px 48px; align-items: center; }
@media (min-width: 800px) { .pm-stats--callout .pm-wrapper { grid-template-columns: auto 1fr auto; } }
.pm-stats--callout .pm-num { font-size: clamp(56px, 8vw, 96px); }
.pm-stats__text { font-family: var(--pm-display); font-weight: 600; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; color: var(--pm-heading); }
.pm-stats__text small { font-family: var(--pm-body); font-weight: normal; font-size: 16px; }
.pm-stats__aside { font-family: var(--pm-display); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--pm-ink-soft); }


/* ---------- Feature Split ---------- */
.pm-feature { padding: 72px 0; }
.pm-feature .pm-wrapper { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
	.pm-feature { padding: 96px 0; }
	.pm-feature .pm-wrapper { grid-template-columns: 1fr 1fr; gap: 72px; }
	.pm-feature--media-right .pm-feature__media { order: 2; }
}
.pm-feature__media { position: relative; z-index: 0; }
.pm-feature--image .pm-feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.pm-feature--image .pm-feature__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: 4px; }
.pm-feature--media-right .pm-feature__media::before { inset: 18px 18px -18px -18px; }
.pm-feature--tint-purple .pm-feature__media::before { background: var(--pm-tint-purple); }
.pm-feature--tint-magenta .pm-feature__media::before { background: var(--pm-tint-magenta); }
@media (max-width: 899px) { .pm-feature--image .pm-feature__media::before { inset: 12px -12px -12px 12px; } .pm-feature--media-right .pm-feature__media::before { inset: 12px 12px -12px -12px; } }
.pm-feature .pm-title { margin: 12px 0 22px; }
.pm-feature__stat { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--pm-line); }
.pm-feature__stat:last-child { border-bottom: 1px solid var(--pm-line); }
.pm-feature__stat .pm-num { font-size: 44px; min-width: 150px; }
.pm-feature__stat p { flex: 1 1 220px; font-size: 17px; line-height: 1.4; }
.pm-feature__stat small,
.pm-card small { display: block; color: var(--pm-ink-soft); font-size: 15px; margin-top: 2px; }
.pm-feature__body { margin-top: 22px; color: var(--pm-ink-soft); }
.pm-feature__body p + p { margin-top: 12px; }
.pm-feature__body:empty { display: none; }

.pm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.pm-card { background: var(--pm-tint-purple); border-radius: 6px; padding: 22px 20px; }
.pm-card .pm-num { font-size: 44px; }
.pm-card p { margin-top: 8px; font-size: 16px; line-height: 1.35; }

.pm-chart { border: 1px solid var(--pm-line); border-radius: 8px; padding: 28px 28px 20px; background: #fff; }
.pm-chart__title { font-family: var(--pm-display); font-weight: 600; font-size: 17px; color: var(--pm-heading); }
.pm-chart__sub { font-size: 15px; color: var(--pm-ink-soft); }
.pm-chart__bars { display: flex; align-items: flex-end; justify-content: center; gap: 48px; height: 280px; margin-top: 20px; border-bottom: 2px solid var(--pm-line); }
.pm-bar { width: 120px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.pm-bar__val { font-family: var(--pm-display); font-weight: 700; font-size: 26px; margin-bottom: 8px; color: var(--pm-heading); }
.pm-bar__fill { width: 100%; border-radius: 4px 4px 0 0; background: #c9b8e3; transform-origin: bottom; animation: pm-grow 1s ease-out both; }
.pm-bar--highlight .pm-bar__fill { background: var(--pm-purple); }
.pm-bar--highlight .pm-bar__val { color: var(--pm-purple); font-size: 34px; }
.pm-chart__labels { display: flex; justify-content: center; gap: 48px; margin-top: 10px; }
.pm-chart__labels span { width: 120px; text-align: center; font-family: var(--pm-display); font-weight: 600; font-size: 15px; color: var(--pm-ink-soft); }
@media (max-width: 499px) { .pm-chart { padding: 22px 16px 16px; } .pm-chart__bars, .pm-chart__labels { gap: 24px; } .pm-bar, .pm-chart__labels span { width: 90px; } }
@keyframes pm-grow { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .pm-bar__fill { animation: none; } }


/* ---------- Quote ---------- */
.pm-quote { overflow: hidden; }
.pm-quote .pm-wrapper { display: grid; padding: 0; }
@media (min-width: 900px) { .pm-quote .pm-wrapper { grid-template-columns: 1.15fr .85fr; } }
.pm-quote--no-image .pm-wrapper { grid-template-columns: 1fr; max-width: 900px; }
.pm-quote__text { padding: 72px 16px; }
@media (min-width: 768px) { .pm-quote__text { padding: 88px 30px; } }
.pm-quote .pm-eyebrow { color: #fff; opacity: .85; }
.pm-quote__mark { font-family: var(--pm-display); font-weight: 800; font-size: 120px; line-height: .6; height: 52px; margin: 24px 0 18px; color: var(--pm-yellow); }
.pm-quote blockquote { font-family: var(--pm-display); font-weight: 500; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; color: #fff; }
.pm-quote cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--pm-display); font-weight: 600; font-size: 18px; color: var(--pm-yellow); }
.pm-quote cite span { display: block; font-weight: 400; font-size: 16px; color: #fff; opacity: .8; }
.pm-quote__photo { position: relative; min-height: 320px; }
.pm-quote__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .pm-quote__photo { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); } }


/* ---------- CTA Band ---------- */
.pm-cta { padding: 80px 0; overflow: hidden; }
.pm-cta .pm-wrapper { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .pm-cta .pm-wrapper { grid-template-columns: 1fr auto; } }
.pm-cta .pm-eyebrow { color: #fff; opacity: .85; }
.pm-cta .pm-cta__title { font-family: var(--pm-display); font-weight: 700; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; max-width: 720px; margin-top: 12px; color: #fff; }
.pm-leaves--cta { right: -30px; bottom: -40px; width: 300px; color: #fff; opacity: .25; }


/* ---------- WYSIWYG ---------- */
.pm-wysiwyg { padding: 56px 0; }
