/**
 * Layout overrides.
 *
 * design.css is a byte-identical copy of the supplied design and must not be
 * edited (see its file header). This stylesheet loads after it and adds two
 * things the original static file never needed on a real, arbitrary-width
 * monitor:
 *
 *   1. A shared max-width container so the full-bleed sections (nav, hero,
 *      about, footer) don't stretch content edge-to-edge on very wide
 *      screens. Sections keep their full-width backgrounds; only the inner
 *      content is capped and centered.
 *   2. A hamburger menu for tablet and below. design.css already hides
 *      `.nav-links` at 900px, but never provided a way to reopen it.
 */

.container {
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
}

/* ── NAV: bar stays full-bleed, its content is capped/centered ── */
.main_header {
	display: block;
}
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* ── HERO / ABOUT: section stays full-bleed, grid moves to the inner wrapper ── */
.hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.about {
	display: block;
}
.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 60px;
}
.about-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 80px;
}

@media (max-width: 900px) {
	.hero-inner { grid-template-columns: 1fr; }
	.about-inner { grid-template-columns: 1fr; }
}

/* ── HAMBURGER MENU ── */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
}
.nav-toggle-bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--navy);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

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

	.nav-links {
		/*display: none;*/
		display: flex;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		background: rgba(250, 246, 240, 0.98);
		backdrop-filter: blur(8px);
		border-bottom: 1px solid rgba(200, 89, 58, 0.12);
		border-top: 1px solid rgba(200, 89, 58, 0.12);
		padding: 8px 24px 20px;
		opacity: 0;
		visibility: hidden;
		transition: all ease 0.5s;
		box-shadow: rgba(46, 95, 163, 0.2) 0px 16px 10px -10px;
	}
	.nav-links.is-open {
		opacity: 1;
		visibility: visible;
		transition: all ease 0.5s;
	}
	.nav-links li {
		width: 100%;
		text-align: center;
	}
	.nav-links a {
		display: block;
		padding: 14px 0;
	}
	.nav-cta {
		display: inline-block;
		margin-top: 8px;
	}
}
