/* Pizza Stoned — design system v0.2
   Editorial, clean, professional. Fraunces display + Nunito Sans body.
   Brand: sky #39bef2 · pink #eb0c84 · peach #ffbc7d on cream/charcoal.
   Utility classes (.ps-*) are applied to Elementor containers/widgets. */

:root {
	--ps-color-primary: #39bef2;
	--ps-color-accent: #eb0c84;
	--ps-color-secondary: #ffbc7d;
	--ps-color-dark: #221f1c;
	--ps-color-muted: #6e6862;
	--ps-color-cream: #fdf7f1;
	--ps-color-cream-deep: #f7ecdf;
	--ps-color-white: #ffffff;

	--ps-font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--ps-font-display: "Fraunces", Georgia, "Times New Roman", serif;

	--ps-radius: 16px;
	--ps-radius-lg: 28px;
	--ps-container: 1200px;
	--ps-gutter: clamp(1.25rem, 5vw, 3rem);
	--ps-section-pad: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	overflow-x: hidden; /* full-bleed sections use the 100vw technique */
	font-family: var(--ps-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ps-color-dark);
	background: var(--ps-color-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ps-font-display);
	font-weight: 300;
	line-height: 1.08;
	margin: 0 0 0.5em;
	color: var(--ps-color-dark);
	letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

a { color: var(--ps-color-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: var(--ps-color-accent); }
img { max-width: 100%; height: auto; }

/* ============ Editorial utilities (use on Elementor elements) ============ */

/* Small caps eyebrow label above headlines */
.ps-eyebrow,
.ps-eyebrow .elementor-heading-title {
	font-family: var(--ps-font-body);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--ps-color-accent);
}
.ps-eyebrow--sky, .ps-eyebrow--sky .elementor-heading-title { color: var(--ps-color-primary); }
.ps-eyebrow--light, .ps-eyebrow--light .elementor-heading-title { color: rgba(255, 255, 255, 0.85); }

/* Display headlines (force editorial style inside Elementor) */
.ps-display .elementor-heading-title {
	font-family: var(--ps-font-display);
	font-weight: 300;
	line-height: 1.06;
	letter-spacing: -0.015em;
}
.ps-display--hero .elementor-heading-title { font-size: clamp(2.9rem, 7.5vw, 6rem); color: var(--ps-color-white); }
.ps-display--xl .elementor-heading-title { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
.ps-italic .elementor-heading-title em,
.ps-display .elementor-heading-title em {
	font-style: italic;
	font-weight: 300;
	color: var(--ps-color-accent);
}
.ps-display--hero .elementor-heading-title em { color: var(--ps-color-secondary); }

/* Full-bleed sections: stretch to viewport edges even inside a boxed layout,
   while Elementor keeps their inner content at the boxed content width. */
.e-con.ps-hero,
.e-con.ps-bg-cream,
.e-con.ps-bg-cream-deep,
.e-con.ps-bg-dark {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.ps-marquee {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* Section backgrounds */
.ps-bg-cream { background-color: var(--ps-color-cream); }
.ps-bg-cream-deep { background-color: var(--ps-color-cream-deep); }
.ps-bg-dark { background-color: var(--ps-color-dark); }
.ps-bg-dark, .ps-bg-dark h1, .ps-bg-dark h2, .ps-bg-dark h3, .ps-bg-dark p { color: var(--ps-color-white); }
.ps-bg-dark .elementor-heading-title { color: var(--ps-color-white); }

/* Hero overlay for readable text on photos */
.ps-hero { position: relative; }
.ps-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 16, 14, 0.42) 0%, rgba(20, 16, 14, 0.72) 100%);
	pointer-events: none;
	z-index: 0;
}
.ps-hero > * { position: relative; z-index: 1; }
.ps-hero .ps-lede, .ps-hero .ps-lede p {
	color: rgba(255, 255, 255, 0.96);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* Buttons */
.ps-btn .elementor-button,
.ps-btn-outline .elementor-button {
	font-family: var(--ps-font-body);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	border-radius: 999px;
	padding: 1.05em 2.4em;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.ps-btn .elementor-button {
	background-color: var(--ps-color-accent);
	color: var(--ps-color-white);
}
.ps-btn .elementor-button:hover {
	background-color: var(--ps-color-primary);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(35, 40, 46, 0.18);
}
.ps-btn-outline .elementor-button {
	background: transparent;
	color: var(--ps-color-white);
	border: 2px solid rgba(255, 255, 255, 0.7);
}
.ps-btn-outline .elementor-button:hover {
	background: var(--ps-color-white);
	color: var(--ps-color-dark);
	border-color: var(--ps-color-white);
}
.ps-btn-outline--dark .elementor-button { color: var(--ps-color-dark); border-color: rgba(34, 31, 28, 0.35); }
.ps-btn-outline--dark .elementor-button:hover { background: var(--ps-color-dark); color: var(--ps-color-white); border-color: var(--ps-color-dark); }

/* Marquee ticker strip */
.ps-marquee {
	overflow: hidden;
	white-space: nowrap;
	padding: 1.1rem 0;
	background: var(--ps-color-primary);
}
.ps-marquee--pink { background: var(--ps-color-accent); }
.ps-marquee__track {
	display: inline-block;
	animation: ps-marquee 28s linear infinite;
}
.ps-marquee__track span {
	font-family: var(--ps-font-display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.15rem, 2.2vw, 1.6rem);
	color: var(--ps-color-white);
	padding: 0 1.4rem;
}
.ps-marquee__track span::after { content: "✦"; padding-left: 2.8rem; opacity: 0.7; font-style: normal; }
@keyframes ps-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.ps-marquee__track { animation: none; }
}

/* Cards (services) */
.ps-card {
	background: var(--ps-color-white);
	border-radius: var(--ps-radius-lg);
	padding: clamp(1.75rem, 3vw, 2.5rem);
	box-shadow: 0 6px 24px rgba(34, 31, 28, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	height: 100%;
}
.ps-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 44px rgba(34, 31, 28, 0.12);
}
.ps-card h3 { margin-top: 0.4em; }
.ps-card .elementor-heading-title { font-size: 1.45rem; color: var(--ps-color-dark); }
.ps-card p { color: var(--ps-color-muted); font-size: 0.98rem; }

/* Flat icon inside cards */
.ps-card__icon .elementor-icon {
	font-size: 1.5rem;
	color: var(--ps-color-accent);
	background: rgba(235, 12, 132, 0.08);
	width: 3.25rem;
	height: 3.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
}
.ps-card__icon svg { width: 1.5rem; height: 1.5rem; fill: var(--ps-color-accent); }

/* "Learn more" link pinned to card bottom; all cards stretch to equal height */
.e-con.ps-card { display: flex; align-self: stretch !important; height: auto; }
.e-con.ps-svc-row > .e-con-inner,
.e-con.ps-t-row > .e-con-inner { align-items: stretch !important; }
.ps-card__link { margin-top: auto; }
.ps-card__link a {
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	color: var(--ps-color-primary);
}
.ps-card__link a:hover { color: var(--ps-color-accent); }

/* Row sizing: keep 4-up / 2-up rows on one line despite flex gaps */
@media (min-width: 1025px) {
	.e-con.ps-svc-row > .e-con, .e-con.ps-svc-row > .e-con-inner > .e-con,
	.e-con.ps-stat-row > .e-con, .e-con.ps-stat-row > .e-con-inner > .e-con { --width: calc(25% - 20px) !important; width: calc(25% - 20px) !important; flex-basis: calc(25% - 20px) !important; flex-shrink: 1 !important; }
	.e-con.ps-t-row > .e-con, .e-con.ps-t-row > .e-con-inner > .e-con { --width: calc(50% - 14px) !important; width: calc(50% - 14px) !important; flex-basis: calc(50% - 14px) !important; flex-shrink: 1 !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.e-con.ps-svc-row > .e-con, .e-con.ps-svc-row > .e-con-inner > .e-con,
	.e-con.ps-stat-row > .e-con, .e-con.ps-stat-row > .e-con-inner > .e-con,
	.e-con.ps-t-row > .e-con, .e-con.ps-t-row > .e-con-inner > .e-con { --width: calc(50% - 14px) !important; width: calc(50% - 14px) !important; flex-basis: calc(50% - 14px) !important; flex-shrink: 1 !important; }
}
@media (max-width: 767px) {
	.e-con.ps-svc-row > .e-con, .e-con.ps-svc-row > .e-con-inner > .e-con,
	.e-con.ps-t-row > .e-con, .e-con.ps-t-row > .e-con-inner > .e-con { --width: 100% !important; width: 100% !important; flex-basis: 100% !important; }
	.e-con.ps-stat-row > .e-con, .e-con.ps-stat-row > .e-con-inner > .e-con { --width: calc(50% - 14px) !important; width: calc(50% - 14px) !important; flex-basis: calc(50% - 14px) !important; }
}

/* Small caption line under section headlines */
.ps-badge-line, .ps-badge-line p {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ps-color-muted);
}

/* Rounded imagery */
.ps-img-round img { border-radius: var(--ps-radius-lg); }
.ps-img-arch img { border-radius: 999px 999px var(--ps-radius-lg) var(--ps-radius-lg); }

/* Big editorial pull-quote */
.ps-quote .elementor-heading-title,
.ps-quote {
	font-family: var(--ps-font-display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.5rem, 3vw, 2.3rem);
	line-height: 1.35;
	color: var(--ps-color-dark);
}

/* Stats */
.ps-stat .elementor-heading-title {
	font-family: var(--ps-font-display);
	font-weight: 300;
	font-size: clamp(2.6rem, 5vw, 4.2rem);
	color: var(--ps-color-primary);
}
.ps-stat--pink .elementor-heading-title { color: var(--ps-color-accent); }
.ps-stat--peach .elementor-heading-title { color: var(--ps-color-secondary); }
.ps-stat__label, .ps-stat__label p {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ps-color-muted);
}
.ps-bg-dark .ps-stat__label, .ps-bg-dark .ps-stat__label p { color: rgba(255, 255, 255, 0.65); }

/* Testimonial blocks */
.ps-testimonial {
	background: var(--ps-color-white);
	border-radius: var(--ps-radius-lg);
	padding: clamp(1.75rem, 3vw, 2.5rem);
	box-shadow: 0 6px 24px rgba(34, 31, 28, 0.06);
	height: 100%;
}
.ps-testimonial p { color: var(--ps-color-muted); }
.ps-testimonial p:first-of-type::before { content: "“"; font-family: var(--ps-font-display); }
.ps-testimonial p:first-of-type::after { content: "”"; font-family: var(--ps-font-display); }
.ps-testimonial__who, .ps-testimonial__who p {
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	color: var(--ps-color-accent);
	text-transform: uppercase;
}

/* Press / awards strip items */
.ps-press, .ps-press p {
	font-family: var(--ps-font-display);
	font-style: italic;
	font-size: 1.05rem;
	color: var(--ps-color-muted);
}

/* Muted body text */
.ps-lede, .ps-lede p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.75; color: var(--ps-color-muted); }
.ps-bg-dark .ps-lede, .ps-bg-dark .ps-lede p { color: rgba(255, 255, 255, 0.8); }

/* ============ Site header/footer (Elementor Pro Theme Builder templates) ============ */

.e-con.ps-site-header {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: var(--ps-color-dark);
	position: sticky;
	top: 0;
	z-index: 200;
	box-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.admin-bar .e-con.ps-site-header { top: 32px; }

.ps-nav { display: flex; align-items: center; gap: 1.9rem; flex-wrap: wrap; }
.ps-nav a {
	color: rgba(255, 255, 255, 0.85);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	transition: color 0.2s ease;
}
.ps-nav a:hover { color: var(--ps-color-primary); }

/* Hamburger (mobile only) — pure CSS checkbox toggle */
.ps-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.ps-nav-burger {
	display: none;
	cursor: pointer;
	width: 44px;
	height: 44px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.ps-nav-burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--ps-color-white);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1024px) {
	.e-con.ps-site-header > .e-con-inner {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 12px;
	}
	/* Order: logo, Book pill right beside it, burger pushed to the far right */
	.ps-site-header .elementor-widget-image { order: 1; }
	/* Pill centered between logo (left) and burger (right) */
	.ps-site-header .elementor-widget-button { order: 2; margin-left: auto; margin-right: auto; }
	.ps-site-header .elementor-widget-html { order: 3; width: auto; }
	/* Let the nav dropdown position against the header, not the tiny html widget */
	.ps-site-header .elementor-widget-html,
	.ps-site-header .elementor-widget-html .elementor-widget-container { position: static; }
	.ps-site-header .elementor-widget-button .elementor-button { padding: 0.75em 1.4em; font-size: 0.82rem; }

	.ps-nav-burger { display: inline-flex; }
	.ps-nav-toggle:checked + .ps-nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.ps-nav-toggle:checked + .ps-nav-burger span:nth-child(2) { opacity: 0; }
	.ps-nav-toggle:checked + .ps-nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.ps-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		background: var(--ps-color-dark);
		padding: 0.4rem 0 1rem;
		box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
	}
	.ps-nav a { width: 100%; padding: 0.9rem 1.6rem; font-size: 1.05rem; }
	.ps-nav-toggle:checked ~ .ps-nav { display: flex; }
}

.e-con.ps-site-footer {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: var(--ps-color-dark);
}
.ps-site-footer, .ps-site-footer p { color: rgba(255, 255, 255, 0.75); }
.ps-site-footer .elementor-heading-title {
	color: var(--ps-color-white);
	font-family: var(--ps-font-body);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.ps-footer-links a {
	display: block;
	color: rgba(255, 255, 255, 0.75);
	padding: 0.28rem 0;
	font-size: 0.98rem;
}
.ps-footer-links a:hover { color: var(--ps-color-primary); }
.ps-fineprint, .ps-fineprint p {
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.85rem;
}
.ps-footer-rule {
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin: 0.5rem 0 1.5rem;
	width: 100%;
}

/* ============ Fallback header/footer (Elementor Pro templates override) ============ */

.ps-header { background: var(--ps-color-white); border-bottom: 1px solid rgba(34, 31, 28, 0.08); }
.ps-header__inner, .ps-footer__inner {
	max-width: var(--ps-container);
	margin: 0 auto;
	padding: 1rem var(--ps-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.ps-header__title { font-family: var(--ps-font-display); font-size: 1.5rem; color: var(--ps-color-dark); }
.ps-header .custom-logo { max-height: 64px; width: auto; }
.ps-menu { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.ps-menu a { color: var(--ps-color-dark); font-weight: 600; font-size: 0.95rem; }
.ps-menu a:hover { color: var(--ps-color-accent); }
.ps-content { max-width: var(--ps-container); margin: 0 auto; padding: 2.5rem var(--ps-gutter); }
/* Elementor-built pages manage their own spacing — no wrapper padding/width. */
.elementor-page .ps-content { max-width: none; padding: 0; }
.elementor-page .ps-footer { margin-top: 0; }
.ps-footer { background: var(--ps-color-cream); border-top: 1px solid rgba(34, 31, 28, 0.08); margin-top: 3rem; }
.ps-footer__copy { color: var(--ps-color-muted); font-size: 0.9rem; margin: 0; }
