/* Sunward Canopy — mobile-first manufacturer layout */

:root {
	--sc-yellow: #f5c400;
	--sc-yellow-deep: #d9a800;
	--sc-ink: #111111;
	--sc-ink-soft: #2a2a2a;
	--sc-muted: #5c5c5c;
	--sc-line: #e4e4e2;
	--sc-paper: #f6f6f4;
	--sc-white: #ffffff;
	--sc-overlay: rgba(10, 10, 10, 0.55);
	--sc-font: "Barlow", "Segoe UI", sans-serif;
	--sc-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--sc-radius: 2px;
	--sc-container: 1120px;
	--sc-header: 64px;
	--sc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--sc-font);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--sc-ink);
	background: var(--sc-white);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--sc-yellow-deep);
}

.container {
	width: min(100% - 2rem, var(--sc-container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 10000;
	width: auto;
	height: auto;
	margin: 0;
	clip: auto;
	padding: 0.75rem 1rem;
	background: var(--sc-yellow);
	color: var(--sc-ink);
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 46px;
	padding: 0.7rem 1.25rem;
	border: 2px solid transparent;
	border-radius: var(--sc-radius);
	font-family: var(--sc-font);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--sc-ease), background 0.25s var(--sc-ease), color 0.25s var(--sc-ease), border-color 0.25s var(--sc-ease);
}

.btn:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.btn-primary {
	background: var(--sc-yellow);
	color: var(--sc-ink);
	border-color: var(--sc-yellow);
}

.btn-primary:hover {
	background: var(--sc-yellow-deep);
	border-color: var(--sc-yellow-deep);
	color: var(--sc-ink);
}

.btn-ghost {
	background: transparent;
	color: var(--sc-white);
	border-color: rgba(255, 255, 255, 0.85);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--sc-white);
}

.btn-dark {
	background: var(--sc-ink);
	color: var(--sc-white);
	border-color: var(--sc-ink);
}

.btn-dark:hover {
	background: #000;
	color: var(--sc-white);
}

.text-link {
	font-weight: 700;
	color: var(--sc-ink);
	text-decoration: none;
	border-bottom: 2px solid var(--sc-yellow);
}

.text-link:hover {
	color: var(--sc-yellow-deep);
}

/* Utility bar */

.utility-bar {
	background: var(--sc-ink);
	color: #ddd;
	font-size: 0.8rem;
}

.utility-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-height: 36px;
	padding-block: 0.35rem;
}

.utility-bar__note {
	margin: 0;
	display: none;
}

.utility-bar__actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-left: auto;
}

.utility-bar a {
	color: #eee;
	text-decoration: none;
}

.utility-bar__quote {
	color: var(--sc-ink) !important;
	background: var(--sc-yellow);
	padding: 0.3rem 0.7rem;
	font-weight: 700;
	border-radius: var(--sc-radius);
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--sc-line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: var(--sc-header);
}

.site-header__brand {
	flex: 1;
	min-width: 0;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--sc-ink);
}

.site-brand:hover {
	color: var(--sc-ink);
}

.site-brand__mark {
	flex-shrink: 0;
	line-height: 0;
}

.site-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	min-width: 0;
}

.site-brand__name {
	font-family: var(--sc-display);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.site-brand__tag {
	font-size: 0.68rem;
	color: var(--sc-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.custom-logo-link img {
	max-height: 42px;
	width: auto;
}

.nav-toggle,
.search-toggle {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0.5rem;
	cursor: pointer;
	color: var(--sc-ink);
}

.nav-toggle__bars {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 22px;
}

.nav-toggle__bars span {
	display: block;
	height: 2px;
	background: currentColor;
	transition: transform 0.25s var(--sc-ease), opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.search-toggle__icon {
	display: block;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-radius: 50%;
	position: relative;
}

.search-toggle__icon::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 2px;
	background: currentColor;
	right: -6px;
	bottom: -2px;
	transform: rotate(45deg);
}

.primary-nav {
	position: fixed;
	inset: calc(36px + var(--sc-header)) 0 0 0;
	background: var(--sc-white);
	padding: 1.25rem 1.25rem 2rem;
	transform: translateX(100%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.35s var(--sc-ease), opacity 0.35s var(--sc-ease), visibility 0.35s;
	overflow-y: auto;
	z-index: 850;
}

.primary-nav.is-open {
	transform: translateX(0);
	opacity: 1;
	visibility: visible;
}

.primary-menu {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.primary-menu a {
	display: block;
	padding: 0.85rem 0.25rem;
	font-weight: 600;
	font-size: 1.05rem;
	text-decoration: none;
	border-bottom: 1px solid var(--sc-line);
}

.primary-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0 0.75rem;
}

.nav-quote {
	width: 100%;
}

.header-search {
	border-top: 1px solid var(--sc-line);
	padding: 0.85rem 0;
	background: var(--sc-paper);
}

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-field {
	flex: 1;
	min-height: 44px;
	padding: 0.55rem 0.8rem;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	font: inherit;
}

.search-submit {
	min-height: 44px;
	padding: 0 1rem;
	border: 0;
	background: var(--sc-ink);
	color: var(--sc-white);
	font-weight: 700;
	cursor: pointer;
}

/* Hero */

.hero {
	position: relative;
	min-height: min(88vh, 720px);
	display: flex;
	align-items: flex-end;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.62)),
		var(--hero-image) center / cover no-repeat;
	color: var(--sc-white);
	overflow: hidden;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.1) 100%);
	pointer-events: none;
}

.hero__content {
	position: relative;
	z-index: 1;
	padding: 3.5rem 0 3rem;
	max-width: 40rem;
	animation: sunward-rise 0.8s var(--sc-ease) both;
}

.hero__eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sc-yellow);
}

.hero__title {
	margin: 0 0 0.85rem;
	font-family: var(--sc-display);
	font-size: clamp(2.4rem, 9vw, 4.4rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.hero__text {
	margin: 0 0 1.4rem;
	font-size: 1.05rem;
	max-width: 34rem;
	color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

@keyframes sunward-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Path split */

.path-split {
	display: grid;
	grid-template-columns: 1fr;
}

.path-tile {
	position: relative;
	min-height: 280px;
	display: flex;
	align-items: flex-end;
	padding: 1.75rem;
	background: var(--tile-image) center / cover no-repeat;
	color: var(--sc-white);
	text-decoration: none;
	overflow: hidden;
}

.path-tile__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.72));
	transition: background 0.35s var(--sc-ease);
}

.path-tile:hover .path-tile__overlay {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.path-tile__body {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 0.35rem;
	transform: translateY(0);
	transition: transform 0.35s var(--sc-ease);
}

.path-tile:hover .path-tile__body {
	transform: translateY(-4px);
}

.path-tile__kicker {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sc-yellow);
}

.path-tile__title {
	font-family: var(--sc-display);
	font-size: 2rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.path-tile__text {
	max-width: 28rem;
	color: rgba(255, 255, 255, 0.9);
}

.path-tile__cta {
	margin-top: 0.45rem;
	font-weight: 700;
	border-bottom: 2px solid var(--sc-yellow);
	width: fit-content;
}

/* Sections */

.section {
	padding: 3.5rem 0;
}

.section-kicker {
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sc-yellow-deep);
}

.section-kicker--on-dark {
	color: var(--sc-yellow);
}

.section-title {
	margin: 0 0 0.75rem;
	font-family: var(--sc-display);
	font-size: clamp(1.85rem, 5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.section-title--light {
	color: var(--sc-white);
}

.section-lead {
	margin: 0 0 1.75rem;
	max-width: 40rem;
	color: var(--sc-muted);
	font-size: 1.05rem;
}

.section-lead--light {
	color: rgba(255, 255, 255, 0.88);
}

.collection-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.35rem;
}

.collection-card {
	background: var(--sc-paper);
	overflow: hidden;
}

.collection-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.collection-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--sc-ease);
}

.collection-card:hover .collection-card__media img {
	transform: scale(1.04);
}

.collection-card__body {
	padding: 1.15rem 1.2rem 1.35rem;
}

.collection-card__body h3 {
	margin: 0 0 0.45rem;
	font-family: var(--sc-display);
	font-size: 1.45rem;
	font-weight: 700;
	text-transform: uppercase;
}

.collection-card__body h3 a {
	text-decoration: none;
}

.collection-card__body p {
	margin: 0 0 0.85rem;
	color: var(--sc-muted);
}

/* Visualizer band */

.visualizer-band {
	position: relative;
	padding: 4.5rem 0;
	background: var(--viz-image) center / cover no-repeat;
	color: var(--sc-white);
}

.visualizer-band__overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 8, 8, 0.68);
}

.visualizer-band__content {
	position: relative;
	z-index: 1;
	max-width: 36rem;
}

/* Craft */

.craft-section {
	background: var(--sc-white);
}

.craft-section__grid {
	display: grid;
	gap: 1.75rem;
}

.craft-section__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.feature-list {
	margin: 0 0 1.4rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.85rem;
}

.feature-list li {
	position: relative;
	padding-left: 1.35rem;
	color: var(--sc-ink-soft);
}

.feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 0.55rem;
	height: 0.55rem;
	background: var(--sc-yellow);
}

/* Finish */

.finish-band {
	padding: 3.5rem 0;
	background: var(--sc-paper);
}

.finish-band__grid {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}

.finish-band__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* Partner CTA */

.partner-cta {
	background: var(--sc-ink);
	color: var(--sc-white);
	padding: 2.75rem 0;
}

.partner-cta__inner {
	display: grid;
	gap: 1.25rem;
}

.partner-cta h2 {
	margin: 0 0 0.5rem;
	font-family: var(--sc-display);
	font-size: clamp(1.7rem, 4vw, 2.3rem);
	text-transform: uppercase;
}

.partner-cta p {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	max-width: 36rem;
}

.partner-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Resources */

.resource-grid {
	display: grid;
	gap: 1rem;
}

.resource-card {
	padding: 1.25rem 1.2rem;
	border-top: 3px solid var(--sc-yellow);
	background: var(--sc-paper);
}

.resource-card h3 {
	margin: 0 0 0.45rem;
	font-size: 1.15rem;
}

.resource-card p {
	margin: 0 0 0.85rem;
	color: var(--sc-muted);
}

/* Content pages */

.content-wrap {
	padding: 2.5rem 0 3.5rem;
}

.content-wrap--narrow {
	max-width: 760px;
}

.page-title,
.entry-title {
	font-family: var(--sc-display);
	font-size: clamp(2rem, 5vw, 3rem);
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-thumb {
	margin: 0 0 1.25rem;
}

.entry-thumb img {
	width: 100%;
}

.post-list {
	display: grid;
	gap: 1.25rem;
}

.post-card {
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--sc-line);
}

.post-card__title {
	margin: 0.75rem 0 0.25rem;
	font-size: 1.35rem;
}

.post-card__title a {
	text-decoration: none;
}

.quote-panel {
	margin-top: 1.75rem;
	padding: 1.35rem;
	background: var(--sc-paper);
	border-left: 4px solid var(--sc-yellow);
}

.quote-form {
	display: grid;
	gap: 0.95rem;
	max-width: 34rem;
}

.quote-form__row {
	display: grid;
	gap: 0.35rem;
}

.quote-form label {
	font-weight: 600;
	font-size: 0.9rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 0.6rem 0.75rem;
	border: 1px solid #cfcfcf;
	border-radius: var(--sc-radius);
	font: inherit;
	background: var(--sc-white);
}

.quote-form textarea {
	min-height: 110px;
	resize: vertical;
}

.quote-form__status {
	margin: 0;
	font-size: 0.95rem;
}

.quote-form__status.is-error {
	color: #a12622;
}

.quote-form__status.is-success {
	color: #1f6b3a;
}

/* Footer */

.site-footer {
	background: #0d0d0d;
	color: #cfcfcf;
	padding: 3rem 0 1.75rem;
}

.site-footer a {
	color: #e8e8e8;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--sc-yellow);
}

.site-footer__grid {
	display: grid;
	gap: 1.75rem;
	margin-bottom: 2rem;
}

.site-footer .site-brand__name,
.site-footer .site-brand {
	color: var(--sc-white);
}

.site-footer .site-brand__tag {
	color: #9a9a9a;
}

.site-footer__blurb {
	margin: 0.85rem 0;
	max-width: 22rem;
	color: #a8a8a8;
}

.site-footer__col h3 {
	margin: 0 0 0.75rem;
	font-family: var(--sc-display);
	font-size: 1.1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sc-yellow);
}

.site-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.footer-link-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.15rem;
	padding: 1.1rem 0;
	border-top: 1px solid #2a2a2a;
	border-bottom: 1px solid #2a2a2a;
	margin-bottom: 1rem;
}

.footer-link-item {
	font-size: 0.9rem;
	white-space: nowrap;
}

.footer-copy {
	margin: 0;
	font-size: 0.82rem;
	color: #8f8f8f;
}

/* Cookie + back top */

.cookie-bar {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 1200;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1.1rem;
	background: var(--sc-ink);
	color: #eee;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.cookie-bar p {
	margin: 0;
	flex: 1 1 220px;
	font-size: 0.9rem;
}

.back-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 1100;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--sc-yellow);
	color: var(--sc-ink);
	font-size: 1.15rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

body.has-cookie .back-top {
	bottom: 5.5rem;
}

/* Large screens */

@media (min-width: 720px) {
	.utility-bar__note {
		display: block;
	}

	.path-split {
		grid-template-columns: 1fr 1fr;
	}

	.collection-grid {
		grid-template-columns: 1fr 1fr;
	}

	.resource-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.craft-section__grid,
	.finish-band__grid {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 2.5rem;
	}

	.partner-cta__inner {
		grid-template-columns: 1.4fr auto;
		align-items: center;
	}

	.site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}

	.hero {
		align-items: center;
		min-height: min(82vh, 680px);
	}

	.hero__content {
		padding-block: 5rem;
	}
}

@media (min-width: 980px) {
	:root {
		--sc-header: 72px;
	}

	.nav-toggle {
		display: none;
	}

	.primary-nav {
		position: static;
		inset: auto;
		display: flex;
		align-items: center;
		gap: 1rem;
		padding: 0;
		transform: none;
		opacity: 1;
		visibility: visible;
		overflow: visible;
		background: transparent;
		flex: 2;
		justify-content: flex-end;
	}

	.primary-menu {
		flex-direction: row;
		align-items: center;
		gap: 0.15rem;
		margin: 0;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.primary-menu a {
		padding: 0.55rem 0.65rem;
		font-size: 0.92rem;
		border-bottom: 0;
		white-space: nowrap;
	}

	.primary-menu > .menu-item-has-children {
		position: relative;
	}

	.primary-menu .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 200px;
		padding: 0.5rem 0;
		background: var(--sc-white);
		border: 1px solid var(--sc-line);
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
	}

	.primary-menu > .menu-item-has-children:hover > .sub-menu,
	.primary-menu > .menu-item-has-children:focus-within > .sub-menu {
		display: block;
	}

	.primary-menu .sub-menu a {
		padding: 0.55rem 0.9rem;
		border-bottom: 0;
		white-space: normal;
	}

	.nav-quote {
		width: auto;
		min-height: 40px;
		padding-inline: 0.95rem;
		font-size: 0.88rem;
	}

	.site-header__brand {
		flex: 0 0 auto;
	}

	.collection-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1rem;
	}

	.collection-card__body h3 {
		font-size: 1.2rem;
	}

	.path-tile {
		min-height: 360px;
		padding: 2.25rem;
	}

	.section {
		padding: 4.5rem 0;
	}
}

@media (min-width: 1200px) {
	.hero__title {
		font-size: 4.6rem;
	}

	.path-tile__title {
		font-size: 2.35rem;
	}
}

/* Motion reduce */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
