/* Core design: typography, header, hero, sections, footer, forms and responsive rules. */
/* Ported unchanged from the approved static reference (website/dist/style.css). Keep file order: later files override earlier ones. */

:root {
	--blue: #163cd4;
	--navy: #111f44;
	--gold: #ffd15b;
	--paper: #fffef8;
	--ink: #142348;
	--line: #d4d9e5;
	--serif: 'DM Serif Display',Georgia,serif;
	--sans: 'DM Sans',sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 16px/1.65 var(--sans);
}

h1,
h2,
h3,
p {
	margin: 0 0 1.2rem;
}

h1,
h2 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -.035em;
}

h1 {
	font-size: clamp(3rem,6.5vw,6.8rem);
}

h2 {
	font-size: clamp(2.6rem,4.6vw,4.7rem);
}

h3 {
	font-size: 1.35rem;
	line-height: 1.3;
}

em {
	font-weight: 400;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

button,
a,
input,
textarea,
select {
	touch-action: manipulation;
}

button {
	cursor: pointer;
}

a,
button {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid #de591c;
	outline-offset: 5px;
}

.skip {
	position: fixed;
	top: -100px;
	left: 20px;
	background: white;
	padding: 12px;
	z-index: 20;
}

.skip:focus {
	top: 10px;
}

.topline {
	background: var(--blue);
	color: white;
	display: flex;
	justify-content: space-between;
	padding: 8px 4.5%;
	font-size: .75rem;
	letter-spacing: .1em;
}

.topline a {
	letter-spacing: 0;
	font-size: .85rem;
}

header {
	height: 105px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 4.5%;
	gap: 25px;
	background: var(--paper);
	position: relative;
	z-index: 10;
}

.wordmark {
	font-size: .78rem;
	letter-spacing: .13em;
	line-height: 1.3;
	white-space: nowrap;
}

.wordmark strong {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 1.75rem;
	letter-spacing: .07em;
}

.brand-dot {
	color: var(--blue);
}

nav {
	display: flex;
	align-items: center;
	gap: 30px;
	font-size: .9rem;
	font-weight: 600;
}

nav a:not(.button):hover,
nav [aria-current] {
	color: var(--blue);
}

.button {
	display: inline-flex;
	justify-content: space-between;
	gap: 28px;
	align-items: center;
	padding: 15px 23px;
	line-height: 1.4;
	font-size: .95rem;
	font-weight: 600;
	border: 1px solid transparent;
	transition: background .2s,transform .2s;
}

.button:hover {
	transform: translateY(-3px);
}

.blue {
	background: var(--blue);
	color: white;
}

.gold {
	background: var(--gold);
	color: var(--ink);
}

.outline {
	border-color: currentColor;
}

.menu-toggle {
	display: none;
}

.hero {
	min-height: 650px;
	height: calc(100svh - 230px);
	max-height: 900px;
	position: relative;
	color: white;
	background: var(--navy);
	overflow: hidden;
}

.hero video,
.hero-shade {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero video {
	object-position: 65% center;
}

.hero-shade {
	background: linear-gradient(90deg,rgba(9,24,59,.94) 0%,rgba(9,24,59,.67) 38%,rgba(9,24,59,.09) 78%),linear-gradient(0deg,rgba(9,24,59,.6),transparent 35%);
}

.hero-copy {
	position: relative;
	padding: 58px 5% 70px;
	max-width: 900px;
}

.eyebrow {
	display: block;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .16em;
	margin-bottom: 24px;
}

.hero h1 {
	font-size: clamp(3.8rem,6.2vw,6.3rem);
	line-height: 1.01;
	margin-bottom: 27px;
}

.hero h1 em {
	color: var(--gold);
}

.hero p {
	max-width: 490px;
	font-size: 1rem;
	color: #f0f2f8;
}

.actions {
	display: flex;
	gap: 28px;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 30px;
}

.text-link {
	border-bottom: 1px solid;
	padding: 6px 0;
}

.film-meta {
	position: absolute;
	bottom: 22px;
	right: 4.5%;
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: .75rem;
}

.film-meta button {
	border: 1px solid #ffffff70;
	background: #132348a8;
	color: white;
	padding: 7px 12px;
	font-size: .8rem;
}

.hero-location {
	position: absolute;
	right: 4.5%;
	top: 44px;
	font-size: .75rem;
	letter-spacing: .1em;
	text-align: right;
}

.hero-bottom {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding-left: 5%;
	background: var(--gold);
	align-items: center;
}

.hero-bottom>span {
	font-size: .75rem;
	letter-spacing: .12em;
}

.hero-bottom>span strong {
	font: 1.55rem var(--serif);
	letter-spacing: 0;
}

.portrait-band {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 18px 26px;
	background: var(--blue);
	color: white;
	min-height: 125px;
}

.portrait-band img {
	height: 88px;
	width: 75px;
	object-fit: cover;
	object-position: center 25%;
}

.portrait-band>span {
	font-size: .65rem;
	letter-spacing: .1em;
}

.portrait-band strong {
	display: block;
	font: 1.7rem var(--serif);
	letter-spacing: 0;
}

.portrait-band span span {
	display: block;
	letter-spacing: 0;
	font-size: .8rem;
}

.portrait-band b {
	margin-left: auto;
	font-size: 1.5rem;
}

.section {
	padding: 100px 6%;
}

.mission {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8%;
	padding-top: 120px;
}

.mission>div:last-child {
	padding-top: 45px;
}

.lead {
	font-size: 1.35rem;
	line-height: 1.6;
}

.underlink {
	display: inline-block;
	border-bottom: 1px solid;
	padding: 8px 0;
	margin-top: 12px;
	font-weight: 600;
}

.work {
	background: #edf1ff;
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 50px;
	margin-bottom: 40px;
}

.section-head>p {
	max-width: 340px;
}

.work-layout {
	display: grid;
	grid-template-columns: .85fr 1.3fr;
	gap: 10%;
}

.work-note {
	background: var(--blue);
	color: white;
	padding: 35px;
	position: relative;
	overflow: hidden;
	align-self: start;
}

.big-eight {
	font: 10rem/.9 var(--serif);
	color: var(--gold);
	display: block;
	margin-bottom: 30px;
}

.work-note h3 {
	font-family: var(--serif);
	font-size: 2rem;
	font-weight: 400;
}

.programme-row {
	border-top: 1px solid #a7b2d0;
	display: flex;
	align-items: center;
	padding: 22px 0;
	gap: 25px;
}

.programme-row:last-child {
	border-bottom: 1px solid #a7b2d0;
}

.programme-row small {
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .13em;
}

.programme-row h3 {
	font: 1.75rem var(--serif);
	margin: 5px 0;
}

.row-no {
	font-size: .8rem;
	color: #546184;
}

.row-arrow {
	margin-left: auto;
	font-size: 1.6rem;
	transition: transform .2s;
}

.programme-row:hover .row-arrow {
	transform: translate(4px,-4px);
}

.approach-preview {
	background: var(--gold);
}

.steps {
	display: grid;
	grid-template-columns: repeat(5,1fr);
	margin: 45px 0;
}

.steps>div {
	padding: 20px 15px 20px 0;
	border-top: 1px solid #14234860;
}

.steps span {
	font-size: .8rem;
}

.steps h3 {
	font: 1.7rem var(--serif);
	margin-top: 14px;
}

.approach-preview>p {
	max-width: 610px;
}

.safety {
	background: var(--navy);
	color: white;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px 8%;
}

.safety>.eyebrow {
	grid-column: 1/-1;
}

.safety h2 em {
	color: #b9cafb;
}

.closing {
	padding: 90px 6%;
	background: var(--blue);
	color: white;
	position: relative;
	background-image: radial-gradient(ellipse at 100% 100%,#315efb,transparent 65%);
}

.closing h2 {
	font-size: clamp(3rem,5.7vw,6rem);
}

.closing h2 em {
	color: var(--gold);
}

footer {
	padding: 70px 6% 20px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 30px;
	font-size: .9rem;
}

footer>div>a:not(.wordmark) {
	display: block;
	padding: 5px 0;
}

footer p {
	margin-top: 20px;
}

.fine {
	border-top: 1px solid var(--line);
	padding-top: 24px;
	grid-column: 1/-1;
	font-size: .75rem;
}

.inner-hero {
	background: var(--blue);
	color: white;
	display: grid;
	grid-template-columns: 1.65fr 1fr;
	gap: 6%;
	padding: 70px 6% 80px;
}

.inner-hero h1 {
	font-size: clamp(3rem,5vw,5rem);
}

.inner-hero .lead {
	max-width: 720px;
	margin-top: 28px;
}

.inner-hero aside {
	align-self: center;
}

.inner-hero .portrait-band {
	background: transparent;
	flex-wrap: wrap;
	padding: 0;
}

.inner-hero .portrait-band img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	object-position: center 25%;
	border-radius: 50% 50% 0 0;
}

.inner-hero .portrait-band b {
	display: none;
}

.text-section {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 8%;
	padding: 70px 6%;
	border-bottom: 1px solid var(--line);
}

.text-section h2 {
	font-size: 2.8rem;
}

.text-section p:last-child {
	margin-bottom: 0;
}

.text-section ul {
	padding-left: 20px;
}

.text-section li {
	padding: 7px;
}

.content {
	padding: 75px 6%;
	max-width: 1050px;
	margin: auto;
}

.notice {
	padding: 20px 24px;
	background: #edf1ff;
	border-left: 3px solid var(--blue);
	margin: 24px 0;
}

.cards {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 25px;
}

.card {
	padding: 30px;
	background: #edf1ff;
}

.card h3 {
	font: 1.8rem var(--serif);
}

.form-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	padding: 70px 6%;
}

label {
	display: block;
	margin: 18px 0 6px;
	font-weight: 500;
}

input,
textarea,
select {
	width: 100%;
	padding: 13px;
	border: 1px solid #7b88a5;
	border-radius: 0;
	background: white;
	color: var(--ink);
}

textarea {
	min-height: 150px;
	resize: vertical;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 20px 0;
}

legend {
	font-weight: 600;
}

.choices {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.choice {
	flex: 1;
	min-width: 70px;
	background: white;
	border: 1px solid #7b88a5;
	padding: 12px;
	color: var(--ink);
}

.choice[aria-pressed=true] {
	background: var(--blue);
	color: white;
	border-color: var(--blue);
}

.donation-panel {
	padding: 30px;
	background: #edf1ff;
}

.small {
	font-size: .85rem;
}

.result {
	padding: 15px;
	background: #fff3cc;
	margin-top: 20px;
}

.hero-copy>* {
	animation: rise .8s both;
}

.hero-copy>*:nth-child(2) {
	animation-delay: .12s;
}

.hero-copy>*:nth-child(3) {
	animation-delay: .24s;
}

.hero-copy>*:nth-child(4) {
	animation-delay: .36s;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media(min-width:1500px) {
	.hero-copy {
		padding-top: 85px;
	}
}

@media(max-width:1000px) {
	nav {
		gap: 16px;
		font-size: .8rem;
	}
	header {
		padding: 0 4%;
	}
	.wordmark strong {
		font-size: 1.45rem;
	}
	.hero h1 {
		font-size: 5rem;
	}
	.hero-bottom {
		grid-template-columns: .8fr 1.2fr;
	}
	.portrait-band {
		gap: 15px;
	}
	.section {
		padding: 75px 5%;
	}
	.inner-hero {
		grid-template-columns: 1.6fr 1fr;
	}
}

@media(max-width:760px) {
	.topline {
		font-size: .65rem;
		padding: 8px 5%;
	}
	.topline>a {
		display: none;
	}
	header {
		height: 90px;
		padding: 0 5%;
	}
	.menu-toggle {
		display: flex;
		gap: 15px;
		border: 0;
		background: none;
		color: var(--ink);
		padding: 12px;
	}
	.wordmark strong {
		font-size: 1.45rem;
	}
	nav {
		display: none;
		position: absolute;
		top: 90px;
		left: 0;
		right: 0;
		background: var(--paper);
		padding: 24px;
		box-shadow: 0 20px 30px #111f4420;
	}
	nav.open {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		font-size: 1rem;
	}
	.hero {
		height: auto;
		min-height: 650px;
	}
	.hero-copy {
		padding: 60px 6% 95px;
	}
	.hero h1 {
		font-size: clamp(3.45rem,11vw,5rem);
	}
	.hero p {
		max-width: 330px;
	}
	.hero-shade {
		background: linear-gradient(90deg,#0a193aeb,#0a193a88),linear-gradient(0deg,#0a193a,transparent);
	}
	.hero-location {
		display: none;
	}
	.actions {
		gap: 20px;
	}
	.film-meta {
		left: 6%;
		right: auto;
		bottom: 23px;
		gap: 12px;
	}
	.hero-bottom {
		display: block;
		padding: 0;
	}
	.hero-bottom>span {
		display: block;
		padding: 24px 6%;
	}
	.hero-bottom .portrait-band {
		padding: 20px 6%;
	}
	.mission,
	.safety,
	.work-layout,
	.text-section,
	.form-layout,
	.inner-hero {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.mission>div:last-child {
		padding: 0;
	}
	.section {
		padding: 65px 6%;
	}
	.section-head {
		display: block;
	}
	.work-note {
		display: none;
	}
	.steps {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
	.steps>div:last-child {
		grid-column: 1/-1;
	}
	.safety>.eyebrow {
		grid-column: auto;
	}
	.closing {
		padding: 65px 6%;
	}
	footer {
		grid-template-columns: 1fr 1fr;
		padding-top: 50px;
	}
	footer>div:first-child {
		grid-column: 1/-1;
	}
	.inner-hero {
		padding: 50px 6%;
	}
	.inner-hero aside .portrait-band {
		flex-wrap: nowrap;
		gap: 16px;
	}
	.inner-hero .portrait-band img {
		width: 70px;
		height: 85px;
		border-radius: 0;
	}
	.inner-hero .portrait-band strong {
		font-size: 1.5rem;
	}
	.text-section {
		padding: 50px 6%;
	}
	.text-section h2 {
		font-size: 2.4rem;
	}
	.form-layout {
		padding: 45px 6%;
	}
	.cards {
		grid-template-columns: 1fr;
	}
	.programme-row {
		gap: 16px;
	}
	.programme-row h3 {
		font-size: 1.5rem;
	}
	.donation-panel {
		padding: 22px;
	}
	.lead {
		font-size: 1.2rem;
	}
}

@media(prefers-reduced-motion:reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*:before,
	*:after {
		animation: none!important;
		transition: none!important;
	}
}
