/**
 * Journey component styles.
 *
 * Scope is narrow on purpose: Elementor owns page layout, this file owns the
 * base reset, the landing shell, and the four custom widgets. Selectors are
 * prefixed .pc- to match the Assembly theme, so markup is portable between
 * the two.
 */

/* ============================================================
   1. Base
   ============================================================ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--pc-bone);
	color: var(--pc-ink);
	font-family: var(--pc-font-body);
	font-size: var(--pc-step-0);
	line-height: var(--pc-leading-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
video,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

button {
	font: inherit;
	color: inherit;
}

h1, h2, h3, h4 {
	font-family: var(--pc-font-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: var(--pc-tracking-display);
	line-height: var(--pc-leading-tight);
	margin: 0 0 var(--pc-space-s);
	text-wrap: balance;
}

p {
	margin: 0 0 var(--pc-space-s);
}

/* Visible focus everywhere. Never remove this without a replacement. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid var(--pc-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pc-skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: var(--pc-space-xs) var(--pc-space-m);
	background: var(--pc-ink);
	color: var(--pc-bone);
	font-family: var(--pc-font-utility);
	text-transform: uppercase;
	letter-spacing: var(--pc-tracking-utility);
	font-size: var(--pc-step--1);
}

.pc-skip-link:focus {
	left: var(--pc-space-s);
	top: var(--pc-space-s);
}

/* ============================================================
   2. Layout primitives
   ============================================================ */

.pc-shell {
	width: min(100% - 2 * var(--pc-space-m), 1240px);
	margin-inline: auto;
	padding-block: var(--pc-space-2xl);
}

.pc-shell--narrow {
	width: min(100% - 2 * var(--pc-space-m), 780px);
}

.pc-eyebrow {
	font-family: var(--pc-font-utility);
	font-size: var(--pc-step--1);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: var(--pc-tracking-utility);
	color: var(--pc-stone);
	margin-bottom: var(--pc-space-2xs);
}

.pc-prose {
	max-width: var(--pc-measure);
}

.pc-prose > * + * {
	margin-top: var(--pc-space-s);
}

.pc-prose h2 {
	font-size: var(--pc-step-3);
	margin-top: var(--pc-space-l);
}

.pc-prose h3 {
	font-size: var(--pc-step-2);
	margin-top: var(--pc-space-m);
}

.pc-prose blockquote {
	margin: var(--pc-space-l) 0;
	padding-left: var(--pc-space-m);
	border-left: 3px solid var(--pc-accent);
	font-size: var(--pc-step-1);
}

.pc-empty {
	color: var(--pc-stone);
	font-style: italic;
}

/* ============================================================
   3. Buttons
   ============================================================ */

.pc-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--pc-space-2xs);
	padding: 0.9em 1.8em;
	background: var(--pc-ink);
	color: var(--pc-bone);
	font-family: var(--pc-font-utility);
	font-size: var(--pc-step--1);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: var(--pc-tracking-utility);
	text-decoration: none;
	border: 1px solid var(--pc-ink);
	border-radius: var(--pc-radius);
	cursor: pointer;
	transition: background-color var(--pc-duration-fast) var(--pc-ease),
	            color var(--pc-duration-fast) var(--pc-ease);
}

.pc-btn:hover {
	background: var(--pc-accent);
	border-color: var(--pc-accent);
	color: var(--pc-white);
}

.pc-btn--invert {
	background: transparent;
	color: currentColor;
	border-color: currentColor;
}

.pc-btn--invert:hover {
	background: var(--pc-bone);
	color: var(--pc-ink);
	border-color: var(--pc-bone);
}

/* ============================================================
   4. Header
   ============================================================ */

.pc-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: var(--pc-bone);
	border-bottom: var(--pc-border);
	transition: background-color var(--pc-duration-fast) var(--pc-ease),
	            border-color var(--pc-duration-fast) var(--pc-ease);
}

/* Overlay mode: header floats over the hero until the user scrolls. */
.pc-header-overlay .pc-header {
	position: fixed;
	inset-inline: 0;
	background: transparent;
	border-bottom-color: transparent;
	color: var(--pc-bone);
}

.pc-header-overlay .pc-header.is-stuck {
	background: var(--pc-ink);
	border-bottom-color: rgba(237, 234, 227, 0.16);
}

.pc-header__bar {
	width: min(100% - 2 * var(--pc-space-m), 1400px);
	margin-inline: auto;
	min-height: var(--pc-header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pc-space-m);
}

.pc-header__wordmark {
	font-family: var(--pc-font-display);
	font-weight: 800;
	font-size: var(--pc-step-0);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-decoration: none;
}

/* Custom logo.
   The logo size is registered with flex width and height so WordPress does
   not hard-crop uploads. That means the front end has to do the
   constraining, or an oversized upload blows out the header. */
.pc-header__brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.custom-logo-link {
	display: block;
	line-height: 0;
}

.custom-logo {
	max-height: 44px;
	width: auto;
	max-width: 240px;
	object-fit: contain;
}

@media (max-width: 640px) {
	.custom-logo {
		max-height: 34px;
		max-width: 170px;
	}
}


.pc-nav__list {
	display: flex;
	align-items: center;
	gap: var(--pc-space-m);
	list-style: none;
	margin: 0;
	padding: 0;
}

.pc-nav__list a {
	font-family: var(--pc-font-utility);
	font-size: var(--pc-step--1);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	text-decoration: none;
	padding-block: var(--pc-space-2xs);
	position: relative;
}

/* Underline grows from the left on hover. */
.pc-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--pc-duration-fast) var(--pc-ease);
}

.pc-nav__list a:hover::after,
.pc-nav__list .current-menu-item > a::after {
	transform: scaleX(1);
}

/* Dropdowns */
.pc-nav__list li {
	position: relative;
}

.pc-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: var(--pc-space-xs) 0;
	list-style: none;
	background: var(--pc-ink);
	color: var(--pc-bone);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--pc-duration-fast) var(--pc-ease),
	            transform var(--pc-duration-fast) var(--pc-ease),
	            visibility var(--pc-duration-fast);
}

.pc-nav__list li:hover > .sub-menu,
.pc-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.pc-nav__list .sub-menu a {
	display: block;
	padding: var(--pc-space-2xs) var(--pc-space-m);
}

.pc-nav__list .sub-menu a::after {
	display: none;
}

/* Mobile toggle */
.pc-nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: var(--pc-space-2xs);
	cursor: pointer;
}

.pc-nav-toggle__box {
	display: grid;
	gap: 6px;
	width: 26px;
}

.pc-nav-toggle__line {
	display: block;
	height: 2px;
	background: currentColor;
	transition: transform var(--pc-duration-fast) var(--pc-ease);
}

@media (max-width: 1024px) {
	.pc-nav-toggle {
		display: block;
	}

	.pc-nav {
		position: fixed;
		inset: var(--pc-header-height) 0 0;
		background: var(--pc-ink);
		color: var(--pc-bone);
		padding: var(--pc-space-xl) var(--pc-space-m);
		overflow-y: auto;
		transform: translateY(-100%);
		visibility: hidden;
		transition: transform var(--pc-duration) var(--pc-ease), visibility var(--pc-duration);
	}

	.pc-nav.is-open {
		transform: translateY(0);
		visibility: visible;
	}

	.pc-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--pc-space-s);
	}

	.pc-nav__list a {
		font-size: var(--pc-step-2);
		font-family: var(--pc-font-display);
		letter-spacing: var(--pc-tracking-display);
	}

	.pc-nav__list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
		padding: var(--pc-space-2xs) 0 0 var(--pc-space-m);
	}

	.pc-nav__list .sub-menu a {
		font-size: var(--pc-step-0);
		font-family: var(--pc-font-utility);
		padding: var(--pc-space-3xs) 0;
	}

	body.pc-nav-open {
		overflow: hidden;
	}
}

/* ============================================================
   5. Landing page components
   ============================================================ */

/* ---- Rule under the hero heading ------------------------- */
.pc-rule {
	display: block;
	width: 96px;
	height: 2px;
	background: currentColor;
	opacity: 0.9;
	margin: var(--pc-space-m) 0;
}

.pc-rule--center {
	margin-inline: auto;
}

/* ---- Value props ----------------------------------------- */
.pc-props {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--pc-space-l);
	text-align: center;
}

.pc-prop__icon {
	display: grid;
	place-items: center;
	margin: 0 auto var(--pc-space-s);
	color: var(--pc-ink);
}

.pc-prop__icon svg {
	width: 44px;
	height: 44px;
	stroke: currentColor;
	stroke-width: 1.25;
	fill: none;
}

.pc-prop__title {
	font-family: var(--pc-font-body);
	font-size: var(--pc-step-0);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	margin-bottom: var(--pc-space-3xs);
}

.pc-prop__body {
	color: var(--pc-ink-soft);
	font-size: var(--pc-step--1);
	max-width: 26ch;
	margin-inline: auto;
}

@media (max-width: 760px) {
	.pc-props {
		grid-template-columns: 1fr;
		gap: var(--pc-space-m);
	}
}

/* ---- Timeline -------------------------------------------- */
.pc-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--pc-timeline-cols, 3), minmax(0, 1fr));
	gap: var(--pc-space-m);
}

/* The dashed rule runs behind the year badges, not between them, so it
   reads as one continuous journey rather than three separate steps. */
.pc-timeline::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 6%;
	right: 6%;
	border-top: 1px dashed rgba(44, 51, 39, 0.35);
	z-index: 0;
}

.pc-milestone {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: var(--pc-space-s);
}

.pc-milestone__badge {
	grid-column: 1 / -1;
	justify-self: start;
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 44px;
	padding-inline: var(--pc-space-2xs);
	border-radius: 999px;
	background: var(--pc-accent);
	color: var(--pc-white);
	font-family: var(--pc-font-body);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}

.pc-milestone__icon {
	color: var(--pc-ink);
	margin-top: var(--pc-space-2xs);
}

.pc-milestone__icon svg {
	width: 40px;
	height: 40px;
	stroke: currentColor;
	stroke-width: 1.25;
	fill: none;
}

.pc-milestone__list {
	list-style: none;
	margin: var(--pc-space-2xs) 0 0;
	padding: 0;
	display: grid;
	gap: 2px;
}

.pc-milestone__list li {
	font-weight: 700;
	font-size: var(--pc-step--1);
	color: var(--pc-ink);
}

@media (max-width: 760px) {
	.pc-timeline {
		grid-template-columns: 1fr;
		gap: var(--pc-space-l);
	}

	.pc-timeline::before {
		top: 0;
		bottom: 0;
		left: 22px;
		right: auto;
		border-top: 0;
		border-left: 1px dashed rgba(44, 51, 39, 0.35);
	}
}

/* ---- Signup form ----------------------------------------- */
.pc-signup {
	background: var(--pc-white);
	padding: var(--pc-space-l);
	border-radius: 6px;
	box-shadow: 0 18px 48px rgba(44, 51, 39, 0.12);
	display: grid;
	gap: var(--pc-space-s);
}

.pc-field {
	display: grid;
	gap: 4px;
}

.pc-field__label {
	font-size: 0.78rem;
	color: var(--pc-stone);
}

.pc-field input {
	width: 100%;
	padding: 0.85em 1em;
	border: 1px solid rgba(44, 51, 39, 0.18);
	border-radius: 4px;
	background: var(--pc-bone);
	font: inherit;
	color: var(--pc-ink);
}

.pc-field input:focus-visible {
	outline: 3px solid var(--pc-accent);
	outline-offset: 2px;
}

.pc-signup__submit {
	width: 100%;
	justify-content: center;
	border: 0;
	margin-top: var(--pc-space-2xs);
}

.pc-signup--modal {
	text-align: center;
	gap: var(--pc-space-m);
}

.pc-signup__lede {
	margin: 0;
	color: var(--pc-ink-soft);
}

.pc-signup--modal .pc-signup__submit {
	display: inline-flex;
	width: auto;
	min-width: 220px;
}

.pc-signup__status {
	margin: 0;
	font-size: var(--pc-step--1);
	text-align: center;
	color: var(--pc-stone);
	min-height: 1.4em;
}

.pc-signup__status.is-success {
	color: var(--pc-accent);
	font-weight: 600;
}

.pc-signup__status.is-error {
	color: #B4443A;
}

.pc-signup__note {
	font-size: 0.75rem;
	color: var(--pc-stone);
	margin: 0;
	text-align: center;
}

/* ---- Trust marks ----------------------------------------- */
.pc-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--pc-space-m);
	margin-top: var(--pc-space-l);
	text-align: center;
}

.pc-trust__item svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	stroke-width: 1.3;
	fill: none;
	margin: 0 auto var(--pc-space-3xs);
	display: block;
}

.pc-trust__item span {
	font-size: 0.72rem;
	color: var(--pc-stone);
	display: block;
	line-height: 1.35;
}

/* ---- FAQ ------------------------------------------------- */
.pc-faq {
	max-width: 720px;
	margin-inline: auto;
	border-top: var(--pc-border);
}

.pc-faq__item {
	border-bottom: var(--pc-border);
}

.pc-faq__q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pc-space-m);
	padding: var(--pc-space-s) var(--pc-space-2xs);
	background: none;
	border: 0;
	text-align: left;
	font-family: var(--pc-font-body);
	font-size: var(--pc-step-0);
	font-weight: 600;
	color: var(--pc-ink);
	cursor: pointer;
}

.pc-faq__sign {
	flex: none;
	position: relative;
	width: 14px;
	height: 14px;
	opacity: 0.6;
}

.pc-faq__sign::before,
.pc-faq__sign::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	background: currentColor;
}

.pc-faq__sign::before {
	width: 14px;
	height: 1.5px;
}

.pc-faq__sign::after {
	width: 1.5px;
	height: 14px;
	transition: transform var(--pc-duration-fast) var(--pc-ease);
}

.pc-faq__q[aria-expanded="true"] .pc-faq__sign::after {
	transform: scaleY(0);
}

.pc-faq__a {
	padding: 0 var(--pc-space-2xs) var(--pc-space-s);
	color: var(--pc-ink-soft);
	max-width: 62ch;
}

.pc-faq__a[hidden] {
	display: none;
}

/* ---- Signature --------------------------------------------- */
.pc-signature {
	font-family: var(--pc-font-display);
	font-size: var(--pc-step-2);
	text-transform: uppercase;
	letter-spacing: var(--pc-tracking-display);
	line-height: 1;
	margin: var(--pc-space-m) 0 var(--pc-space-s);
}

/* ---- Social row -------------------------------------------- */
.pc-social {
	display: flex;
	gap: var(--pc-space-s);
	list-style: none;
	margin: 0;
	padding: 0;
}

.pc-social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid currentColor;
	transition: background-color var(--pc-duration-fast) var(--pc-ease),
	            color var(--pc-duration-fast) var(--pc-ease);
}

.pc-social a:hover {
	background: currentColor;
}

.pc-social a:hover svg {
	stroke: var(--pc-accent);
}

.pc-social svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 1.5;
	fill: none;
}

.pc-social--square a {
	border-radius: var(--pc-radius-media);
}

.pc-social--bare a {
	border: 0;
	width: auto !important;
	height: auto !important;
}

.pc-social--bare a:hover {
	background: none;
	opacity: 0.65;
}


/* ---- Split section (image one side, copy the other) --------- */
.pc-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	min-height: 520px;
}

.pc-split__media {
	background-size: cover;
	background-position: center;
	min-height: 320px;
}

.pc-split__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: var(--pc-space-2xl) var(--pc-space-xl);
}

.pc-split__body .pc-prose {
	max-width: 46ch;
}

@media (max-width: 900px) {
	.pc-split {
		grid-template-columns: 1fr;
	}

	.pc-split__body {
		padding: var(--pc-space-xl) var(--pc-space-m);
	}
}

/* ---- Landing header -------------------------------------- */
.pc-header--landing .pc-header__bar {
	min-height: 84px;
}

.pc-header--landing .pc-nav {
	display: flex;
	align-items: center;
	gap: var(--pc-space-l);
}

.pc-header__cta {
	padding: 0.7em 1.5em;
	font-size: 0.72rem;
}

@media (max-width: 1024px) {
	.pc-header--landing .pc-nav {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--pc-space-m);
	}

	.pc-header__cta {
		font-size: 0.8rem;
	}
}

/* The hero rule sits inside a Text Editor widget, so it needs to survive
   Elementor's paragraph styling. */
.pc-hero-rule p:has(> .pc-rule) {
	margin-bottom: var(--pc-space-s);
}

/* ============================================================
   6. Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	/* Scroll-linked reveals collapse to plain static content. */
	.pc-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}
