/*
 * Senyane: the Haibo web system (bold Nunito 800, no outline borders, rounded
 * inset panels) in Senyane green, with bakery gold and an ink band for hire.
 */

:root {
	--sy-green: #018d36;
	--sy-green-deep: #0b5a2a;
	--sy-gold: #f2b705;
	--sy-ink: #141a16;
	--sy-cream: #f6f3ea;
	--sy-paper: #fff;
	--sy-grey: #4d564f;
	--sy-inset: 16px;
	--sy-gutter: clamp(1rem, 4vw, 2.5rem);
	--sy-section: clamp(4rem, 5vw + 2rem, 7rem);
	--sy-radius-panel: 32px;
	--sy-radius-card: 24px;
	--sy-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
	margin: 0;
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

h2 {
	font-size: clamp(2.1rem, 3vw + 1rem, 3.6rem);
}

h3 {
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

p {
	margin: 0;
}

a {
	color: inherit;
}

.sy-img {
	display: block;
	max-width: 100%;
	height: auto;
}

.sy-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

.sy-green {
	color: var(--sy-green);
}

.sy-gold {
	color: var(--sy-gold);
}

.sy-skip {
	position: absolute;
	left: -9999px;
}

.sy-skip:focus {
	left: 1rem;
	top: 1rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--sy-ink);
	color: #fff;
	border-radius: 999px;
}

:focus-visible {
	outline: 3px solid var(--sy-gold);
	outline-offset: 3px;
}

/* Layout ------------------------------------------------------------------ */
.sy-container {
	width: min(1200px, 100% - 2 * var(--sy-gutter));
	margin-inline: auto;
}

.sy-section {
	padding-block: var(--sy-section);
}

.sy-page {
	padding-block: var(--sy-section);
}

.sy-statement {
	max-width: 18ch;
	font-size: clamp(2.4rem, 4vw + 1rem, 4.4rem);
}

.sy-lede {
	max-width: 46ch;
	font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem);
	line-height: 1.5;
	color: rgb(255 255 255 / 0.9);
}

.sy-lede--dark {
	color: var(--sy-grey);
}

.sy-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	color: var(--sy-gold);
}

.sy-kicker--dark {
	color: var(--sy-green-deep);
}

.sy-split {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.sy-split--flip {
	grid-template-columns: 1fr 1.05fr;
}

.sy-split__copy {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.sy-split__art {
	margin: 0;
}

/* Buttons ----------------------------------------------------------------- */
.sy-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.sy-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	min-height: 52px;
	padding: 0.85rem 1.5rem;
	border: 0;
	border-radius: 999px;
	font-weight: 800;
	font-size: 1.02rem;
	text-decoration: none;
	transition: transform 0.25s var(--sy-ease), background 0.25s, color 0.25s;
}

.sy-btn:hover {
	transform: translateY(-2px);
}

.sy-btn--sm {
	min-height: 42px;
	padding: 0.55rem 1.1rem;
	font-size: 0.95rem;
}

.sy-btn--green {
	background: var(--sy-green);
	color: #fff;
}

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

.sy-btn--ink {
	background: var(--sy-ink);
	color: #fff;
}

.sy-btn--light {
	background: #fff;
	color: var(--sy-green-deep);
}

.sy-btn--ghost {
	background: rgb(255 255 255 / 0.14);
	color: #fff;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.sy-btn--ghost:hover {
	background: #fff;
	color: var(--sy-ink);
}

/* Header ------------------------------------------------------------------ */
.sy-header {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 0.75rem var(--sy-gutter);
	background: rgb(255 255 255 / 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.sy-brand__logo {
	width: auto;
	height: 44px;
}

.sy-nav {
	display: flex;
	gap: 0.25rem;
	margin-inline-start: auto;
}

.sy-nav a {
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.sy-nav a:hover {
	background: var(--sy-cream);
}

.sy-menu {
	display: none;
	position: relative;
}

.sy-menu summary {
	list-style: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--sy-cream);
	cursor: pointer;
}

.sy-menu summary::-webkit-details-marker {
	display: none;
}

.sy-menu__bars,
.sy-menu__bars::before,
.sy-menu__bars::after {
	display: block;
	width: 20px;
	height: 2.5px;
	border-radius: 2px;
	background: var(--sy-ink);
}

.sy-menu__bars {
	position: relative;
}

.sy-menu__bars::before,
.sy-menu__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.sy-menu__bars::before {
	top: -6px;
}

.sy-menu__bars::after {
	top: 6px;
}

.sy-menu__sheet {
	position: absolute;
	right: 0;
	top: calc(100% + 0.5rem);
	display: grid;
	min-width: 220px;
	padding: 0.5rem;
	border-radius: var(--sy-radius-card);
	background: var(--sy-ink);
	box-shadow: 0 20px 40px rgb(0 0 0 / 0.25);
}

.sy-menu__sheet a {
	padding: 0.85rem 1rem;
	border-radius: 14px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.sy-menu__sheet a:hover {
	background: rgb(255 255 255 / 0.1);
}

/* Hero -------------------------------------------------------------------- */
.sy-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-content: end;
	gap: clamp(2rem, 4vw, 3rem);
	min-height: calc(100svh - 70px - var(--sy-inset));
	margin: 0 var(--sy-inset);
	padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
	overflow: hidden;
	border-radius: var(--sy-radius-panel);
	color: #fff;
	background: var(--sy-green-deep);
}

.sy-hero__media,
.sy-hero__img,
.sy-hero__video {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sy-hero__video {
	opacity: 0;
	transition: opacity 0.8s ease;
}

.sy-hero.is-playing .sy-hero__video {
	opacity: 1;
}

.sy-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, rgb(8 30 16 / 0.92) 0%, rgb(8 30 16 / 0.45) 45%, rgb(8 30 16 / 0.15) 100%),
		linear-gradient(110deg, rgb(1 141 54 / 0.55), transparent 60%);
}

.sy-hero__copy {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
	max-width: 52rem;
}

.sy-hero h1 {
	font-size: clamp(2.8rem, 6vw + 1rem, 6.2rem);
}

.sy-mark {
	color: var(--sy-gold);
}

.sy-trio {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sy-trio a {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	height: 100%;
	padding: 1rem 1.15rem;
	border-radius: var(--sy-radius-card);
	background: rgb(255 255 255 / 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	text-decoration: none;
	transition: background 0.25s;
}

.sy-trio a:hover {
	background: rgb(255 255 255 / 0.24);
}

.sy-trio .sy-icon {
	width: 2rem;
	height: 2rem;
	color: var(--sy-gold);
}

.sy-trio span {
	display: grid;
	font-size: 0.92rem;
	color: rgb(255 255 255 / 0.85);
}

.sy-trio b {
	font-size: 1.05rem;
	color: #fff;
}

/* About ------------------------------------------------------------------- */
.sy-about {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.sy-about__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: clamp(1.5rem, 4vw, 4rem);
	font-size: 1.15rem;
	line-height: 1.65;
	color: var(--sy-grey);
}

.sy-points {
	display: grid;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sy-points li {
	display: flex;
	gap: 0.6rem;
	align-items: center;
	padding: 0.85rem 1rem;
	border-radius: 16px;
	background: var(--sy-cream);
	font-weight: 700;
	color: var(--sy-ink);
}

.sy-points .sy-icon {
	color: var(--sy-green);
}

/* Bands ------------------------------------------------------------------- */
.sy-band {
	margin: var(--sy-inset);
	padding-block: var(--sy-section);
	border-radius: var(--sy-radius-panel);
}

.sy-band--green {
	background: var(--sy-green);
	color: #fff;
}

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

.sy-band--ink {
	background: var(--sy-ink);
	color: #fff;
}

.sy-band__logo {
	width: auto;
	height: 84px;
	padding: 10px;
	border-radius: 20px;
	background: #fff;
}

.sy-band__logo--round {
	height: 120px;
	padding: 0;
	border-radius: 50%;
}

.sy-band__logo--dark {
	height: 110px;
	padding: 0;
	background: transparent;
}

.sy-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.6rem;
	width: 100%;
	margin: 0.5rem 0;
	padding: 0;
	list-style: none;
}

.sy-stats li {
	display: grid;
	gap: 0.15rem;
	padding: 1rem;
	border-radius: 18px;
	background: rgb(255 255 255 / 0.12);
}

.sy-stats b {
	font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
	line-height: 1;
	color: var(--sy-gold);
}

.sy-stats span {
	font-size: 0.92rem;
	line-height: 1.3;
}

.sy-goals,
.sy-uses {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sy-goals li {
	position: relative;
	padding-inline-start: 1.4rem;
}

.sy-goals li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--sy-gold);
}

.sy-uses li {
	display: flex;
	gap: 0.6rem;
	align-items: center;
	font-weight: 700;
}

.sy-uses .sy-icon {
	color: var(--sy-gold);
}

.sy-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sy-chips li {
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: rgb(20 26 22 / 0.1);
	font-weight: 700;
	font-size: 0.95rem;
}

/* Pictures ---------------------------------------------------------------- */
.sy-photo {
	width: 100%;
	border-radius: var(--sy-radius-card);
	object-fit: cover;
}

.sy-stack {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.sy-stack .sy-photo--wide {
	grid-column: 1 / -1;
	aspect-ratio: 16 / 10;
}

.sy-stack .sy-photo--tall {
	aspect-ratio: 3 / 4;
}

.sy-stack .sy-photo--card {
	grid-column: 1 / -1;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	background: #fff;
}

.sy-loaves {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: end;
	min-height: 420px;
}

.sy-loaf {
	width: min(46%, 280px);
	filter: drop-shadow(0 24px 30px rgb(80 50 0 / 0.35));
	border-radius: 16px;
}

.sy-loaf--a {
	transform: rotate(-6deg) translateX(10%);
	z-index: 1;
}

.sy-loaf--b {
	transform: rotate(5deg) translate(-8%, -6%);
}

/* Contact ----------------------------------------------------------------- */
.sy-contact {
	display: grid;
	gap: 1.25rem;
}

.sy-contact__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.sy-contact__cards a,
.sy-contact__cards div {
	display: grid;
	gap: 0.35rem;
	height: 100%;
	padding: 1.4rem;
	border-radius: var(--sy-radius-card);
	background: var(--sy-cream);
	text-decoration: none;
	transition: background 0.25s, color 0.25s;
}

.sy-contact__cards a:hover {
	background: var(--sy-green);
	color: #fff;
}

.sy-contact__cards .sy-icon {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--sy-green);
}

.sy-contact__cards a:hover .sy-icon {
	color: var(--sy-gold);
}

.sy-contact__cards b {
	font-size: 1.15rem;
}

/* Footer ------------------------------------------------------------------ */
.sy-footer {
	margin: var(--sy-inset);
	padding-block: 3rem;
	border-radius: var(--sy-radius-panel);
	background: var(--sy-green-deep);
	color: rgb(255 255 255 / 0.85);
}

.sy-footer__in {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1.5rem;
	align-items: center;
}

.sy-footer__logo {
	width: 72px;
	height: auto;
	padding: 8px;
	border-radius: 18px;
	background: #fff;
}

.sy-footer a {
	color: #fff;
	font-weight: 800;
}

/* Motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
	.sy-reveal {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity 0.8s var(--sy-ease), transform 0.8s var(--sy-ease);
	}

	.sy-reveal.is-in {
		opacity: 1;
		transform: none;
	}

	.sy-hero__img,
	.sy-hero__video {
		animation: sy-push 18s ease-out both;
	}
}

@keyframes sy-push {
	from {
		transform: scale(1.1);
	}
}

/* Small screens ----------------------------------------------------------- */
@media (max-width: 960px) {
	.sy-split,
	.sy-split--flip,
	.sy-about__grid {
		grid-template-columns: 1fr;
	}

	.sy-split--flip .sy-split__art {
		order: 2;
	}

	.sy-contact__cards {
		grid-template-columns: 1fr 1fr;
	}

	.sy-footer__in {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.sy-nav,
	.sy-header__cta {
		display: none;
	}

	.sy-menu {
		display: block;
		margin-inline-start: auto;
	}

	.sy-trio {
		grid-template-columns: 1fr;
	}

	.sy-stats {
		grid-template-columns: 1fr;
	}

	.sy-loaves {
		min-height: 300px;
	}
}
