/*
 * PULSE — the Elementor layouts. Spacing people are likely to change lives in
 * Elementor's own settings; this file hands type and colour back to the theme
 * (so the colour presets reach every widget) and lays out the components.
 */

/* Type and colour come from the theme and the active preset, not Elementor's kit. */
.elementor-widget-heading .elementor-heading-title { font-family: var(--pu-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; color: inherit; text-wrap: balance; overflow-wrap: break-word; }
.elementor-widget-text-editor { color: inherit; font-family: var(--pu-text); }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
h1.elementor-heading-title { font-size: clamp(48px, 9vw, 140px); line-height: 0.95; letter-spacing: -0.05em; }
h2.elementor-heading-title { font-size: clamp(36px, 5.2vw, 76px); }
h3.elementor-heading-title { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.pu-section { color: var(--pu-ink); }
.pu-section.pu-panel { color: var(--pu-on-panel); }

/* Elementor squares off every image; these ones are round by design. */
.elementor .pu-intro img { border-radius: 50%; border: 4px solid var(--pu-a1); width: 64px; height: 64px; object-fit: cover; }
.elementor .pu-quote figcaption img { border-radius: 50%; }
.elementor .pu-float img, .elementor .pu-blob__img img { border-radius: 0; height: 100%; }

/* Elementor pads a boxed section top and bottom on its inner box and at the sides on the outer one; padding the outer box too would double it. */
.e-con.pu-section { padding: 0 var(--padding-right, 20px) 0 var(--padding-left, 20px); }

/* Buttons */
.elementor .pu-btn .elementor-button { background: var(--pu-a1); color: var(--pu-on-a1); border: 1px solid var(--pu-a1); border-radius: 999px; font-family: var(--pu-text); font-size: 15px; font-weight: 600; padding: 15px 26px; fill: currentColor; }
.elementor .pu-btn .elementor-button:hover, .elementor .pu-btn .elementor-button:focus-visible { background: var(--pu-ink); border-color: var(--pu-ink); color: var(--pu-bg); }
.elementor .pu-btn-outline .elementor-button { background: transparent; color: var(--pu-ink); border-color: var(--pu-ink); padding: 11px 22px; font-weight: 500; font-size: 14px; }
.elementor .pu-panel .pu-btn-outline .elementor-button { color: var(--pu-on-panel); border-color: var(--pu-panel-line); }

/* Section heads */
.e-con.pu-head { border-bottom: 1px solid var(--pu-line); padding-bottom: 26px; }
.pu-head__title .elementor-widget-heading { width: auto; }
.pu-head__note { width: auto; }
.pu-head__end { align-items: flex-end; text-align: right; }
.pu-head__end .pu-lead p { margin-left: auto; font-size: 15px; max-width: 34ch; }
.pu-panel .e-con.pu-head { border-color: var(--pu-panel-line); }
.pu-panel .elementor-widget-text-editor, .pu-panel .pu-lead p { color: var(--pu-panel-muted); }

/* Hero */
.e-con.pu-hero > .e-con-inner { position: relative; }
.elementor-element.pu-hero__floats-w { position: absolute !important; inset: 0; width: auto !important; margin: 0 !important; z-index: 1; pointer-events: none; }
.pu-hero__floats-w .elementor-widget-container { height: 100%; }
.pu-hero__title { position: relative; z-index: 2; }

/* Dark panels sit inside the content width with rounded corners. */
.e-con.pu-panel { width: min(1296px, 100% - 2 * var(--pu-gutter)); max-width: none; margin-inline: auto; padding-left: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
.e-con.pu-panel > .e-con-inner { max-width: 100%; }
.pu-rule { margin-block: 8px; }

/* Card grids */
.elementor .e-con.pu-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.elementor .e-con.pu-cards > .e-con { width: auto; }
.e-con.pu-card__top { flex-wrap: nowrap; }
.pu-card__top > .pu-col:last-child { width: auto !important; flex: none; }
.pu-card__img img { border-radius: 18px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.pu-arrow-wrap { width: auto !important; }

/* Statement row */
.pu-statement-row .pu-col:last-child { align-items: flex-end; }

/* Photos */
.elementor .pu-photo img { width: 100%; border-radius: var(--pu-radius-lg); object-fit: cover; }
.elementor .pu-photo--wide img { aspect-ratio: 16 / 7; }

/* Plans */
.pu-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pu-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--pu-radius); background: var(--pu-surface); transition: transform 0.5s var(--pu-ease); }
.pu-plan:hover { transform: translateY(-6px); }
.pu-plan h3 { margin: 0; font-size: 26px; }
.pu-plan__price { font-family: var(--pu-display); font-weight: 700; font-size: clamp(38px, 4vw, 56px); letter-spacing: -0.04em; line-height: 1; margin: 0; }
.pu-plan__price small { font-family: var(--pu-text); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--pu-muted); }
.pu-plan p { color: var(--pu-muted); margin: 0; }
.pu-plan ul { list-style: none; margin: 8px 0 18px; padding: 18px 0 0; border-top: 1px solid var(--pu-line); display: grid; gap: 10px; flex: 1; }
.pu-plan li { display: flex; gap: 10px; font-size: 15px; }
.pu-plan li::before { content: "✦"; color: var(--pu-a2); }
.pu-plan .button { align-self: flex-start; }
.pu-plan.is-featured { background: var(--pu-panel); color: var(--pu-on-panel); }
.pu-plan.is-featured p, .pu-plan.is-featured .pu-plan__price small { color: var(--pu-panel-muted); }
.pu-plan.is-featured ul { border-color: var(--pu-panel-line); }
.pu-plan.is-featured li::before { color: var(--pu-a1); }
.pu-plan__tag { position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px; background: var(--pu-a1); color: var(--pu-on-a1); font-size: 12px; font-weight: 600; }

/* Video modal for the showreel */
.pu-modal { position: fixed; inset: 0; z-index: 400; background: rgba(0, 0, 0, 0.86); display: grid; place-items: center; padding: 24px; }
.pu-modal[hidden] { display: none; }
.pu-modal__box { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 20px; overflow: hidden; }
.pu-modal__box iframe, .pu-modal__box video { width: 100%; height: 100%; border: 0; display: block; }
.pu-modal__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: #121212; font-size: 22px; cursor: pointer; }

@media (max-width: 1024px) {
	.elementor .e-con.pu-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pu-plans { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 767px) {
	.elementor .e-con.pu-cards { grid-template-columns: 1fr; }
	.pu-head__end, .pu-statement-row .pu-col:last-child { align-items: flex-start; text-align: left; }
	.pu-head__end .pu-lead p { margin-left: 0; }
	.e-con.pu-head { padding-bottom: 18px; }
}
