/*
 * Landing page styles: Protect Maine Small Business.
 *
 * Loaded after style.css (the untouched _s base). Design source: the live
 * Elementor build (protectmainesmallbiz.com, captured 2026-11-13) and its
 * kit: Pressio (Adobe Fonts kit, linked from Site Settings) everywhere,
 * kit heading sizes, kit colours.
 */

/* --------------------------------------------------------------------------
 * Tokens
 * ------------------------------------------------------------------------ */

:root {
	/* Elementor kit: Primary #0A3161, Secondary #FFD100, Text #000,
	   Flag Red #BF0A30, Flag Burgandy #621600. */
	--c-navy: #0a3161;
	--c-navy-deep: #07244a;
	--c-navy-18: rgba(10, 49, 97, 0.18);
	--c-navy-14: rgba(10, 49, 97, 0.14);
	--c-navy-09: rgba(10, 49, 97, 0.09);
	--c-red: #bf0a30;
	--c-red-hover: #9a0826;
	--c-burgundy: #621600;
	--c-gold: #ffd100;
	--c-black: #000;
	--c-white: #fff;
	--c-white-78: rgba(255, 255, 255, 0.78);
	--c-white-60: rgba(255, 255, 255, 0.6);
	--c-white-45: rgba(255, 255, 255, 0.45);
	--c-text: #404040;
	--c-muted: #5c6678;
	--c-placeholder: #788291;
	--c-field-border: #d6dee5;
	--font-display: "pressio", "Arial Narrow", "Helvetica Neue", arial, sans-serif;
	--font-body: "pressio", "Arial Narrow", "Helvetica Neue", arial, sans-serif;
	--display-scale: 1;
	--display-tracking: 0;
	--pad-x: 5vw;
	--content: 1140px;
	--radius-pill: 999px;
	--gap: 1.5rem;
	/* Kit heading sizes (Elementor fluid clamps). */
	--h1: clamp(2.8rem, 2.341vw + 2.332rem, 4rem);
	--h4: clamp(1.6rem, 1.561vw + 1.288rem, 2.4rem);
	--h6: clamp(1.2rem, 0.78vw + 1.044rem, 1.6rem);
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.2;
	color: var(--c-text);
	background: var(--c-white);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Elementor kit: placeholders in capitals (the Speak4 form fields). */
::placeholder {
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
 * Shared
 * ------------------------------------------------------------------------ */

/*
 * Link colors. The _s base sets royalblue / purple-when-visited, and its
 * `a:visited` selector (type + pseudo-class) outranks any single class, so
 * every branded link and button declares :visited explicitly.
 */
a {
	color: var(--c-red);
}

a:visited {
	color: var(--c-red);
}

a:hover,
a:focus,
a:active {
	color: var(--c-red-hover);
}

/* Pill buttons: label + trailing arrow. */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 17px 30px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: normal;
	text-decoration: none;
	border-radius: var(--radius-pill);
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.button__arrow {
	display: inline-block;
	transition: transform 0.15s ease;
}

.button:hover .button__arrow {
	transform: translateX(3px);
}

.button--red {
	background: var(--c-red);
	color: var(--c-white);
}

a.button--red:visited {
	color: var(--c-white);
}

.button--red:hover,
.button--red:focus,
.button--red:active {
	background: var(--c-red-hover);
	color: var(--c-white);
}

.button--outline {
	background: transparent;
	color: var(--c-navy);
	border: 1.5px solid var(--c-navy-18);
	/* 1.5px border each side; keep the same outer height as the red button. */
	padding: 15.5px 26px;
}

a.button--outline:visited {
	color: var(--c-navy);
}

.button--outline:hover,
.button--outline:focus,
.button--outline:active {
	background: rgba(27, 42, 74, 0.06);
	border-color: var(--c-navy);
	color: var(--c-navy);
}

/* Outline on dark panels (404). */
.button--outline-light,
a.button--outline-light:visited {
	color: var(--c-white);
	border-color: var(--c-white-45);
}

.button--outline-light:hover,
.button--outline-light:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--c-white);
	color: var(--c-white);
}

.button:focus-visible {
	outline: 2px solid var(--c-navy);
	outline-offset: 3px;
}

/* Eyebrow: 13px bold, tracked 1.43px, uppercase. */
.eyebrow {
	font-size: 13px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--c-navy);
	margin: 0;
}

.eyebrow--red {
	color: var(--c-red);
}

/* Display headings share one recipe; size is set per element. */
.display {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: var(--display-tracking);
	margin: 0;
}

/* --------------------------------------------------------------------------
 * Announcement bar (Site Settings; off by default on this site)
 * ------------------------------------------------------------------------ */

.announcement-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	background: var(--c-red);
	color: var(--c-white);
	text-align: center;
	padding: 12px 24px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

a.announcement-bar:visited {
	color: var(--c-white);
}

a.announcement-bar:hover,
a.announcement-bar:focus {
	background: var(--c-red-hover);
	color: var(--c-white);
}

/* --------------------------------------------------------------------------
 * Header / nav
 * ------------------------------------------------------------------------ */

/* Same pale ground as the hero so the two read as one panel at the top; a
   border + shadow appear once the page scrolls (landing.js adds .is-stuck). */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-white);
	border-bottom: 1px solid transparent;
	padding: 0 var(--pad-x);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-stuck {
	border-bottom-color: var(--c-navy-09);
	box-shadow: 0 6px 24px rgba(25, 48, 90, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--content);
	min-height: 84px;
	margin: 0 auto;
	padding: 20px 0;
}

/* Sit below the WP admin bar when logged in (32px, 46px under 783px). */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* In-page anchors stop clear of the pinned header. */
#join,
#who-we-are {
	scroll-margin-top: var(--header-offset);
}

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

.site-branding .custom-logo {
	display: block;
	height: 52px;
	width: auto;
}

/* Keep the text branding for screen readers; the logo carries it visually. */
.site-branding .site-title,
.site-branding .site-description {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
}

/* One-page site: no menu assigned. Styled minimally in case one is added. */
.main-navigation {
	display: none;
}

.main-navigation ul {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation a,
.main-navigation a:visited {
	font-size: 15px;
	font-weight: 600;
	color: var(--c-navy);
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--c-red);
}

@media (min-width: 900px) {
	.main-navigation:has(li) {
		display: block;
	}
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-shrink: 0;
}

/* Header pill: 212 × 42 in the comp. */
.donate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 13px 24px;
	background: var(--c-red);
	color: var(--c-white);
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0;
	/* The base sheet uppercases this button; the comp is sentence case. */
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	border-radius: var(--radius-pill);
	transition: background-color 0.15s ease;
}

a.donate-button:visited {
	color: var(--c-white);
}

.donate-button:hover,
.donate-button:focus {
	background: var(--c-red-hover);
	color: var(--c-white);
}

.donate-button:focus-visible {
	outline: 2px solid var(--c-navy);
	outline-offset: 2px;
}



/* --------------------------------------------------------------------------
 * Hero: skyline photo under a navy tint, white uppercase H1
 * ------------------------------------------------------------------------ */

.hero {
	position: relative;
	isolation: isolate;
	background: var(--c-navy);
	padding: 10% var(--pad-x);
	text-align: center;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--c-navy);
	opacity: 0.75;
}

.hero__bg-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.hero__inner {
	max-width: 900px;
	margin: 0 auto;
}

.hero__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: var(--h1);
	line-height: 1;
	text-transform: uppercase;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	color: var(--c-white);
	margin: 0;
}

/* --------------------------------------------------------------------------
 * Take Action: white, Maine watermark, Speak4 embed, navy notch at the foot
 * ------------------------------------------------------------------------ */

.action {
	position: relative;
	isolation: isolate;
	background: var(--c-white);
	padding: 9% var(--pad-x);
	text-align: center;
	color: var(--c-black);
}

.action__watermark {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: contain;
	opacity: 0.06;
	pointer-events: none;
}

.action__inner {
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	max-width: 800px;
	margin: 0 auto;
}

.action__title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: var(--h4);
	line-height: 1;
	color: var(--c-red);
	margin: 0;
}

.action__intro {
	font-size: 1.2rem;
	line-height: 1;
	color: var(--c-black);
	margin: 0;
}

.action__embed {
	width: 100%;
	text-align: left;
}

/* Elementor kit "Buttons" typography (weight 500) reached the Speak4 Send button. */
.action__embed button,
.action__embed input[type="submit"] {
	font-family: var(--font-body);
	font-weight: 500;
}

.action__disclaimer {
	font-size: 0.8rem;
	line-height: 1.4;
	color: var(--c-black);
	/* Elementor's -1.5rem margin landed on the inner wrapper, so the text
	   keeps the widget gap above and runs 1.5rem into the bottom padding. */
	margin: 0 0 calc(var(--gap) * -1);
}

.action__disclaimer a,
.action__disclaimer a:visited {
	color: inherit;
	text-decoration: none;
}

.action__disclaimer a:hover,
.action__disclaimer a:focus {
	text-decoration: underline;
}

/* Elementor "arrow" shape divider: a small navy triangle on the bottom edge. */
.action__notch {
	position: absolute;
	left: 50%;
	bottom: -1px;
	width: max(16px, 2.86%);
	height: clamp(7px, 1.25vw, 18px);
	transform: translateX(-50%);
	background: var(--c-navy);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* --------------------------------------------------------------------------
 * Issues: burgundy | navy halves
 * ------------------------------------------------------------------------ */

.issues {
	display: flex;
	align-items: stretch;
	justify-content: center;
	background: linear-gradient(90deg, var(--c-burgundy) 50%, var(--c-navy) 50%);
	padding: 0 max(0px, (100% - var(--content)) / 2);
}

.issues__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1 1 50%;
	min-width: 0;
	padding: calc(var(--content) * 0.05);
	color: var(--c-white);
}

.issues__panel--left {
	background: var(--c-burgundy);
}

.issues__panel--right {
	background: var(--c-navy);
}

.issues__text {
	display: flex;
	flex-direction: column;
	gap: var(--gap);
}

.issues__p {
	font-family: var(--font-display);
	font-size: var(--h6);
	font-weight: 400;
	line-height: 1.3;
	color: var(--c-white);
	margin: 0;
}

.issues__panel--left .issues__p + .issues__p {
	line-height: 1.1;
}

.issues__panel--right .issues__p {
	font-weight: 500;
}

/* --------------------------------------------------------------------------
 * Scroll-reveal (assets/js/landing.js adds .has-reveal only when it can run)
 * ------------------------------------------------------------------------ */

.has-reveal [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-reveal [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}


/* --------------------------------------------------------------------------
 * 404
 * ------------------------------------------------------------------------ */

.error-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--c-navy-deep);
	color: var(--c-white);
	text-align: center;
	padding: clamp(72px, 9vw, 140px) var(--pad-x);
}

.error-404__code {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: calc(clamp(4rem, 10vw, 8.5rem) * var(--display-scale));
	line-height: 0.9;
	letter-spacing: var(--display-tracking);
	color: var(--c-red);
	margin: 0 0 clamp(12px, 1.5vw, 20px);
}

.error-404__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: calc(clamp(1.75rem, 3.5vw, 3.125rem) * var(--display-scale));
	line-height: 1.1;
	letter-spacing: var(--display-tracking);
	color: var(--c-white);
	margin: 0;
}

.error-404__message {
	font-size: clamp(1rem, 1.32vw, 1.1875rem);
	line-height: 1.6;
	color: var(--c-white-78);
	max-width: 34em;
	margin: 16px 0 0;
}

.error-404__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin-top: clamp(28px, 3vw, 40px);
}

.error-404__actions .hero__ctas {
	justify-content: center;
	padding-top: 0;
}

.error-404__home,
.error-404__home:visited {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-white-78);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.error-404__home:hover,
.error-404__home:focus {
	color: var(--c-white);
	border-bottom-color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
 * Interior content pages (Privacy Policy, etc.)
 *
 * Scoped with :not(.landing) so the front page's full-bleed sections are
 * untouched.
 * ------------------------------------------------------------------------ */

.site-main:not(.landing) {
	max-width: 780px;
	margin: 0 auto;
	padding: clamp(36px, 4vw, 56px) 24px clamp(48px, 5vw, 72px);
}

.site-main:not(.landing) .entry-header {
	margin-bottom: clamp(24px, 3vw, 40px);
}

.site-main:not(.landing) .entry-title,
.site-main:not(.landing) .entry-content > h1:first-child {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: calc(clamp(2rem, 3.5vw, 3.125rem) * var(--display-scale));
	line-height: 1.1;
	letter-spacing: var(--display-tracking);
	color: var(--c-navy);
	margin: 0;
}

.site-main:not(.landing) .entry-content {
	font-size: 17px;
	line-height: 1.7;
	color: var(--c-text);
	/* Long bare URLs in the privacy text must not widen the page on phones. */
	overflow-wrap: break-word;
}

.site-main:not(.landing) .entry-content > * + * {
	margin-top: 1.15em;
}

.site-main:not(.landing) .entry-content h2,
.site-main:not(.landing) .entry-content h3,
.site-main:not(.landing) .entry-content h4 {
	font-family: var(--font-body);
	font-weight: 700;
	line-height: 1.25;
	color: var(--c-navy);
	margin-top: 1.9em;
	margin-bottom: 0.4em;
}

.site-main:not(.landing) .entry-content h2 {
	font-size: 1.5rem;
}

.site-main:not(.landing) .entry-content h3 {
	font-size: 1.1875rem;
}

.site-main:not(.landing) .entry-content h4 {
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--c-muted);
}

.site-main:not(.landing) .entry-content a,
.site-main:not(.landing) .entry-content a:visited {
	color: var(--c-red);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	overflow-wrap: break-word;
}

.site-main:not(.landing) .entry-content a:hover,
.site-main:not(.landing) .entry-content a:focus {
	color: var(--c-red-hover);
}

.site-main:not(.landing) .entry-content ul,
.site-main:not(.landing) .entry-content ol {
	padding-left: 1.35em;
}

.site-main:not(.landing) .entry-content li + li {
	margin-top: 0.4em;
}

.site-main:not(.landing) .entry-content blockquote {
	border-left: 3px solid var(--c-field-border);
	padding-left: 1.15em;
	margin-left: 0;
	color: var(--c-muted);
}

.site-main:not(.landing) .entry-content img {
	max-width: 100%;
	height: auto;
}

.site-main:not(.landing) .entry-footer {
	margin-top: 2.5em;
	font-size: 13px;
	color: var(--c-placeholder);
}


/* --------------------------------------------------------------------------
 * Footer: navy band, partner logos over the Privacy Policy link
 * ------------------------------------------------------------------------ */

/* The _s base pads .site-footer (2em 1em); the band owns spacing. */
.site-footer {
	padding: 0;
	text-align: center;
}

.site-footer__band {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--gap);
	background: var(--c-navy);
	color: var(--c-white);
	padding: 2.5%;
}


.footer-partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 32px;
	max-width: 750px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-partners__item {
	margin: 0;
}

.footer-partners__img {
	display: block;
	width: auto;
	height: 6rem;
	max-width: 100%;
	object-fit: contain;
}

.footer-legal-links {
	line-height: 1;
}

.footer-legal-links a,
.footer-legal-links a:visited {
	font-size: 16px;
	color: var(--c-white);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
	border-bottom-color: var(--c-white);
}

.footer-social-links {
	display: flex;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-social-links a,
.footer-social-links a:visited {
	color: var(--c-white-78);
	display: block;
	line-height: 0;
}

.footer-social-links svg {
	width: 22px;
	height: 22px;
}

.footer-col__title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.5rem;
	color: var(--c-white);
	margin: 0 0 12px;
}

.footer-col__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col__list a,
.footer-col__list a:visited,
.footer-col__address {
	font-style: normal;
	color: var(--c-white);
}

.paid-for-disclaimer,
.footer-source-note,
.site-info__copyright {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--c-white-78);
}

/* --------------------------------------------------------------------------
 * Responsive (Elementor kit breakpoints: tablet 1024, mobile 767)
 * ------------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.hero {
		padding-top: 15%;
		padding-bottom: 15%;
	}

	.action {
		padding-top: 15%;
		padding-bottom: 15%;
	}

	.issues__panel {
		padding: 5vw;
	}

	.footer-partners__img {
		height: 5rem;
	}
}

@media (max-width: 767px) {
	.hero {
		padding-top: 19.2%;
		padding-bottom: 19.2%;
	}

	.hero__title {
		font-size: 2.3rem;
	}

	.action {
		padding-top: 18%;
		padding-bottom: 18%;
	}

	.issues {
		flex-direction: column;
		background: var(--c-navy);
		padding: 0;
	}

	.issues__panel {
		flex-basis: auto;
		padding: 5vw 5vw 10vw;
	}

	.site-footer__band {
		padding: 13.3vw 5vw;
	}

	.footer-partners__img {
		height: 4rem;
	}
}
