/* ==========================================================================
   Our City, Our Choice — landing page styles
   ========================================================================== */

:root {
	--navy: #16305B;
	--navy-ink: #0e2145;
	--teal: #208F84;
	--teal-dark: #166b62;
	--teal-tint: #EDF6F4;
	--cream: #FBF4ED;
	--orange: #EB7D34;
	--orange-tint: #FDF0E6;
	--white: #FFFFFF;
	--ink: #1B2A44;
	--ink-soft: rgba(27, 42, 68, 0.72);
	--font-body: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
	--font-display: "Montserrat", "Public Sans", Arial, sans-serif;
	--shadow-md: 0 12px 30px rgba(15, 30, 60, 0.14);
	--shadow-lg: 0 24px 60px rgba(15, 30, 60, 0.22);
	--radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ococ-page {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--white);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.screen-reader-text {
	position: absolute;
	left: -9999px;
}
.skip-link:focus {
	left: 1rem;
	top: 1rem;
	background: var(--white);
	color: var(--navy);
	padding: .75rem 1rem;
	z-index: 999;
	border-radius: 8px;
}

.container {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
.container--narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	font-family: var(--font-display);
	font-weight: 700;
	text-decoration: none;
	border-radius: 999px;
	border: 2px solid transparent;
	padding: .85rem 1.75rem;
	font-size: 1rem;
	transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
	cursor: pointer;
	white-space: nowrap;
}
.btn--teal {
	background: var(--teal);
	color: var(--white);
	box-shadow: var(--shadow-md);
}
.btn--teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--sm { padding: .55rem 1.25rem; font-size: .9rem; }
.btn--lg { padding: 1.1rem 2.25rem; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 60;
	padding: 1.1rem 0;
	background: transparent;
	transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.is-scrolled {
	background: var(--navy);
	padding: .7rem 0;
	box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.site-header__inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.site-header__brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.site-header__logo {
	height: 52px;
	width: auto;
	display: block;
}

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .8rem;
	font-weight: 700;
	color: var(--teal-dark);
	margin: 0 0 .9rem;
}
.eyebrow--light { color: #9FE0D6; }

.h2 {
	font-family: var(--font-display);
	font-weight: 800;
	color: var(--navy);
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	line-height: 1.18;
	margin: 0 0 1.1rem;
}
.h2--light { color: var(--white); }

.lede {
	font-size: 1.15rem;
	color: var(--ink-soft);
	max-width: 62ch;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 7rem 0 4rem;
}
.hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(14,33,69,.78) 0%, rgba(14,33,69,.72) 45%, rgba(14,33,69,.92) 100%);
}
.hero__content { position: relative; z-index: 2; text-align: center; }
.hero__title { margin: 0 0 1.4rem; }
.hero__logo {
	width: min(480px, 88vw);
	margin: 0 auto;
}
.hero__subtitle {
	color: #E9F1FB;
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	max-width: 46ch;
	margin: 0 auto 2rem;
}
.hero__actions { margin-bottom: 1.5rem; }
.hero__meta {
	color: #C7D6EC;
	font-size: .95rem;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: .5rem;
	flex-wrap: wrap;
}
.hero__meta > *:first-child {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.3rem;
	color: var(--white);
}

/* ---------- Generic sections ---------- */
.section { position: relative; padding: 5.5rem 0; }
.section--cream { background: var(--cream); }
.section--compare { background: var(--white); }

/* ---------- Fact banner ---------- */
.fact-banner {
	background: var(--navy);
	color: var(--white);
	margin-top: 3.5rem;
	padding: 3rem 0 0;
}
.fact-banner__label {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: .75rem;
	font-weight: 700;
	color: #9FE0D6;
	margin: 0 0 .75rem;
	font-family: var(--font-display);
}
.fact-banner__text {
	font-size: clamp(1.3rem, 2.6vw, 1.7rem);
	line-height: 1.4;
	margin: 0;
	font-weight: 500;
}
.fact-banner__text strong { color: #9FE0D6; }
#the-problem { padding-bottom: 0; }
.fact-banner {
	position: relative;
	overflow: hidden;
}
.fact-banner__skyline {
	display: block;
	width: 100%;
	height: auto;
	margin: 1.5rem 0 0;
	opacity: 0.85;
}

@media (min-width: 1001px) {
	.fact-banner { min-height: 340px; }
	.fact-banner .container--narrow { position: relative; z-index: 2; }
	.fact-banner__skyline {
		position: absolute;
		left: 50%;
		right: auto;
		bottom: 0;
		transform: translateX(-50%);
		width: 56vw;
		max-width: 100%;
		min-width: 620px;
		height: auto;
		margin: 0;
		opacity: 0.7;
		z-index: 1;
	}
}

/* ---------- Compare ---------- */
.compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 2.5rem;
}
.compare__col {
	border-radius: var(--radius);
	padding: 2rem;
}
.compare__col--problem {
	background: var(--orange-tint);
	border: 1px solid #F5DBC2;
}
.compare__col--solution {
	background: var(--teal-tint);
	border: 1px solid #CFE8E3;
}
.compare__label {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .78rem;
	font-weight: 800;
	margin: 0 0 1.25rem;
}
.compare__col--problem .compare__label { color: var(--orange); }
.compare__col--solution .compare__label { color: var(--teal-dark); }
.compare__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
}
.compare__list li {
	display: flex;
	align-items: flex-start;
	gap: .9rem;
	font-size: 1.02rem;
	color: var(--ink);
}
.compare__icon {
	flex: none;
	width: 84px;
	height: 84px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.compare__icon img { width: 72px; height: 72px; object-fit: contain; }
.compare__icon--problem { background: rgba(235,125,52,0.14); }
.compare__icon--solution { background: rgba(31,143,132,0.14); }
.compare__note {
	margin-top: 2rem;
	color: var(--ink-soft);
	font-style: italic;
	max-width: 62ch;
}

/* ---------- Ask / Sign section ---------- */
.section--sign {
	color: var(--white);
	padding: 6rem 0;
}
.section--sign .hero__bg--fixed { background-attachment: fixed; }
.section--sign__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14,33,69,.93), rgba(14,33,69,.96));
}
.section--sign__inner { position: relative; z-index: 2; text-align: center; margin: 0 auto; }
.ask__statement {
	font-size: 1.12rem;
	color: #DCE6F5;
	margin: 0 auto 2.5rem;
	max-width: 60ch;
}
.ask__card {
	background: var(--white);
	border-radius: 20px;
	padding: 2.25rem;
	box-shadow: var(--shadow-lg);
	text-align: left;
}
.ask__fineprint {
	margin-top: 1.25rem;
	font-size: .85rem;
	color: #9FB0CC;
}
.ask__progress { margin-top: 1.5rem; }
.ask__progress .petitioner__num { color: var(--navy) !important; }
.ask__progress .petitioner__numlabel { color: var(--ink-soft) !important; }

/* Petitioner form overrides */
.ask__card form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1rem;
}
.ask__card form > *:nth-child(n+3) { grid-column: 1 / -1; }
.ask__card .petitioner__input {
	display: flex;
	flex-direction: column;
	gap: .4rem;
}
.ask__card .petitioner__input label {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .85rem;
	color: var(--navy);
}
.ask__card .petitioner__input input,
.ask__card .petitioner__input select {
	font-family: var(--font-body);
}
.ask__card .petitioner__input--checkbox {
	flex-direction: row-reverse;
	justify-content: flex-end;
	align-items: center;
}
.ask__card .petitioner__input--checkbox label { font-weight: 400; color: var(--ink); }
.ask__card .petitioner__btn--submit {
	font-family: var(--font-display) !important;
	font-weight: 800 !important;
	letter-spacing: .01em;
	margin-top: .5rem;
}
.ask__card .petitioner__response h3 {
	font-family: var(--font-display);
	color: var(--navy) !important;
	font-size: 1.3rem;
	margin-bottom: .5rem !important;
}
.ask__card .petitioner__response p {
	color: var(--ink) !important;
}

/* ---------- Town hall ---------- */
.section--townhall {
	color: var(--white);
	padding: 6rem 0;
	text-align: center;
}
.section--townhall__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14,33,69,.82), rgba(14,33,69,.9));
}
.section--townhall__inner { position: relative; z-index: 2; margin: 0 auto; }
.badge {
	display: inline-block;
	background: rgba(159,224,214,0.16);
	color: #9FE0D6;
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: .75rem;
	padding: .45rem 1rem;
	border-radius: 999px;
	margin-bottom: 1.2rem;
}
.section--townhall__text {
	color: #DCE6F5;
	font-size: 1.05rem;
	max-width: 56ch;
	margin: 0 auto;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,0.6); padding: 2.75rem 0 0; }
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer__brand {
	display: inline-flex;
	align-items: center;
}
.site-footer__logo {
	height: 54px;
	width: auto;
	display: block;
}
.site-footer__nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__nav a {
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	font-size: .92rem;
}
.site-footer__nav a:hover { color: var(--white); }
.site-footer__legal { padding: 1.4rem 1.5rem 1.6rem; }
.authorisation {
	margin: 0;
	color: #FFFFFF;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.5;
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
	position: fixed;
	left: 1rem; right: 1rem; bottom: 1rem;
	z-index: 70;
	background: var(--teal);
	color: var(--white);
	text-align: center;
	padding: 1rem;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 800;
	text-decoration: none;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}
.mobile-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

@media (min-width: 861px) {
	.mobile-cta { display: none; }
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.compare { grid-template-columns: 1fr; }
	.section { padding: 3.75rem 0; }
	.hero { padding: 6rem 0 4rem; }
	.site-header__logo { height: 40px; }
	.ask__card { padding: 1.5rem; }
	.ask__card form { grid-template-columns: 1fr; }
	.ask__card form > *:nth-child(n+3) { grid-column: auto; }
	.site-footer__inner { flex-direction: column; align-items: flex-start; }
	.section--sign .hero__bg--fixed { background-attachment: scroll; }
	/* Keep the legally required authorisation line clear of the fixed mobile CTA bar */
	.site-footer__legal { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	[data-reveal] { opacity: 1; transform: none; transition: none; }
	.btn--teal:hover { transform: none; }
}
