.cilloni-green,
.cilloni-green * {
	box-sizing: border-box;
}

.cilloni-green {
	--green-navy: #102b45;
	--green-leaf: #587a61;
	--green-sage: #d8e3d8;
	--green-soft: #edf1e9;
	--green-paper: #fffefa;
	position: relative;
	padding: clamp(82px, 10vw, 160px) clamp(20px, 5vw, 88px) clamp(96px, 12vw, 190px);
	overflow: hidden;
	background:
		radial-gradient(circle at 4% 31%, rgba(216, 227, 216, 0.6), transparent 23%),
		linear-gradient(155deg, #fbfaf5 0 48%, #edf2eb 100%);
	color: var(--green-navy);
	font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
	isolation: isolate;
}

.cilloni-green::before {
	position: absolute;
	z-index: -1;
	top: 0;
	right: 12%;
	width: 1px;
	height: 22%;
	background: rgba(88, 122, 97, 0.25);
	content: "";
}

.cilloni-green__linework {
	position: absolute;
	z-index: -1;
	right: -160px;
	top: 12%;
	width: min(55vw, 820px);
	stroke: var(--green-leaf);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1;
	opacity: 0.1;
	pointer-events: none;
}

.cilloni-green__inner {
	width: min(100%, 1660px);
	margin: 0 auto;
}

.cilloni-green__header {
	display: grid;
	margin-bottom: clamp(70px, 9vw, 135px);
	grid-template-columns: minmax(520px, 1.35fr) minmax(320px, 0.65fr);
	align-items: end;
	gap: clamp(44px, 8vw, 150px);
}

.cilloni-green__header h2 {
	margin: 0;
	color: var(--green-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(4.9rem, 8vw, 9.2rem);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.78;
}

.cilloni-green__header h2 em {
	position: relative;
	margin-left: clamp(42px, 7vw, 118px);
	color: inherit;
	font-weight: 400;
}

.cilloni-green__header h2 em::after {
	position: absolute;
	right: -0.12em;
	bottom: -0.08em;
	left: 0.08em;
	height: 0.08em;
	border-radius: 999px;
	background: rgba(16, 43, 69, 0.16);
	content: "";
	transform: rotate(-1deg);
}

.cilloni-green__header > p {
	max-width: 570px;
	margin: 0 0 8px;
	color: rgba(16, 43, 69, 0.72);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.1rem, 1.45vw, 1.45rem);
	line-height: 1.65;
}

.cilloni-green__composition {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr);
	align-items: center;
	gap: clamp(26px, 4vw, 68px);
}

.cilloni-green__gallery {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(150px, 0.38fr);
	grid-template-rows: repeat(2, minmax(210px, 1fr));
	height: clamp(600px, 58vw, 790px);
	gap: clamp(10px, 1.2vw, 18px);
}

.cilloni-green__ghost {
	position: absolute;
	z-index: -1;
	top: -0.58em;
	left: -0.04em;
	margin: 0;
	color: transparent;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(7rem, 14vw, 14rem);
	font-style: italic;
	line-height: 1;
	-webkit-text-stroke: 1px rgba(88, 122, 97, 0.16);
	white-space: nowrap;
}

.cilloni-green__photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: #d5ddd2;
	box-shadow: 0 26px 64px rgba(16, 43, 69, 0.1);
	transition: filter 500ms ease, opacity 500ms ease, transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cilloni-green__photo--main {
	grid-row: 1 / -1;
	border-radius: 48% 2px 2px 2px / 22% 2px 2px 2px;
}

.cilloni-green__photo--detail {
	border-radius: 2px 60px 2px 2px;
}

.cilloni-green__photo--portrait {
	border-radius: 2px 2px 60px 2px;
}

.cilloni-green__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.78) contrast(0.98);
	transition: filter 700ms ease, transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cilloni-green__photo--main img {
	object-position: 50% center;
}

.cilloni-green__photo--detail img {
	object-position: 50% 20%;
	transform: scale(1.72);
}

.cilloni-green__photo--portrait img {
	object-position: 55% 75%;
	transform: scale(1.52);
}

.cilloni-green__photo::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 56%, rgba(9, 35, 37, 0.6));
	content: "";
	pointer-events: none;
}

.cilloni-green__photo.is-active img,
.cilloni-green__photo:hover img {
	filter: saturate(1) contrast(1);
}

.cilloni-green__photo--main.is-active img,
.cilloni-green__photo--main:hover img { transform: scale(1.045); }
.cilloni-green__photo--detail.is-active img,
.cilloni-green__photo--detail:hover img { transform: scale(1.84); }
.cilloni-green__photo--portrait.is-active img,
.cilloni-green__photo--portrait:hover img { transform: scale(1.64); }

.cilloni-green__photo figcaption {
	position: absolute;
	z-index: 1;
	right: 19px;
	bottom: 19px;
	left: 19px;
	display: flex;
	align-items: center;
	gap: 9px;
	color: #fff;
	font-size: 0.61rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cilloni-green__photo figcaption span {
	opacity: 0.58;
}

.cilloni-green__photo--detail figcaption {
	top: 19px;
	bottom: auto;
}

.cilloni-green__orbit {
	position: absolute;
	z-index: 3;
	right: clamp(90px, 10.8vw, 168px);
	top: 50%;
	width: clamp(94px, 9vw, 132px);
	aspect-ratio: 1;
	padding: 8px;
	border-radius: 50%;
	background: var(--green-paper);
	box-shadow: 0 18px 46px rgba(16, 43, 69, 0.18);
	color: var(--green-leaf);
	transform: translate(50%, -50%);
}

.cilloni-green__orbit svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.1;
}

.cilloni-green__orbit text {
	fill: currentColor;
	stroke: none;
	font: 700 7px/1 "Segoe UI", sans-serif;
	letter-spacing: 1.45px;
	animation: cilloni-green-orbit 25s linear infinite;
	transform-origin: center;
}

.cilloni-green__card {
	position: relative;
	z-index: 4;
	margin-left: clamp(-90px, -5.5vw, -35px);
	padding: clamp(34px, 4vw, 66px);
	border: 1px solid rgba(88, 122, 97, 0.16);
	border-radius: 2px 70px 2px 2px;
	background: rgba(255, 254, 250, 0.94);
	box-shadow: 0 30px 90px rgba(16, 43, 69, 0.13);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.cilloni-green__card-index {
	margin: 0 0 26px;
	color: var(--green-leaf);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	font-style: italic;
}

.cilloni-green__tabs {
	display: flex;
	margin-bottom: 42px;
	gap: 5px;
	border-bottom: 1px solid rgba(16, 43, 69, 0.14);
}

.cilloni-green__tabs button {
	position: relative;
	min-height: 45px;
	padding: 8px 12px 15px;
	border: 0;
	background: transparent;
	color: rgba(16, 43, 69, 0.48);
	cursor: pointer;
	font: inherit;
	font-size: 0.65rem;
	font-weight: 750;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	transition: color 350ms ease;
}

.cilloni-green__tabs button::after {
	position: absolute;
	right: 10px;
	bottom: -1px;
	left: 10px;
	height: 2px;
	background: var(--green-leaf);
	content: "";
	transform: scaleX(0);
	transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cilloni-green__tabs button:hover,
.cilloni-green__tabs button:focus-visible,
.cilloni-green__tabs button.is-active {
	color: var(--green-navy);
}

.cilloni-green__tabs button.is-active::after {
	transform: scaleX(1);
}

.cilloni-green__tabs button:focus-visible {
	outline: 2px solid var(--green-leaf);
	outline-offset: 3px;
}

.cilloni-green__panel[hidden] {
	display: none;
}

.cilloni-green__panel.is-active {
	animation: cilloni-green-panel 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cilloni-green__overline {
	margin: 0 0 15px;
	color: var(--green-leaf);
	font-size: 0.62rem;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.cilloni-green__panel h3 {
	margin: 0 0 22px;
	color: var(--green-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 2.7vw, 3.25rem);
	font-weight: 400;
	line-height: 1.06;
}

.cilloni-green__panel > p:not(.cilloni-green__overline) {
	margin: 0;
	color: rgba(16, 43, 69, 0.68);
	font-size: 0.93rem;
	line-height: 1.75;
}

.cilloni-green__panel ul {
	display: flex;
	margin: 27px 0 0;
	padding: 0;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.cilloni-green__panel li {
	padding: 8px 12px;
	border: 1px solid rgba(88, 122, 97, 0.2);
	border-radius: 999px;
	background: rgba(216, 227, 216, 0.22);
	color: var(--green-leaf);
	font-size: 0.66rem;
	font-weight: 650;
	letter-spacing: 0.03em;
}

.cilloni-green__steps {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(16, 43, 69, 0.17);
}

.cilloni-green__steps-label {
	margin: 0 0 10px;
	color: var(--green-leaf);
	font-size: 0.58rem;
	font-weight: 750;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.cilloni-green__steps > div {
	display: grid;
	min-height: 68px;
	padding: 14px 0;
	grid-template-columns: 30px 1fr;
	align-items: center;
	gap: 12px;
	border-bottom: 1px solid rgba(16, 43, 69, 0.11);
}

.cilloni-green__steps > div:last-child {
	border-bottom: 0;
}

.cilloni-green__steps span {
	padding-top: 4px;
	color: var(--green-leaf);
	font-size: 0.61rem;
	font-weight: 750;
	letter-spacing: 0.12em;
}

.cilloni-green__steps p {
	margin: 0;
	color: rgba(16, 43, 69, 0.58);
	font-size: 0.69rem;
	line-height: 1.45;
}

.cilloni-green__steps strong {
	display: block;
	margin-bottom: 4px;
	color: var(--green-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1rem;
	font-weight: 400;
}

.cilloni-green__reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 900ms ease, transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cilloni-green__reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.cilloni-green__card.cilloni-green__reveal { transition-delay: 120ms; }

@keyframes cilloni-green-panel {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes cilloni-green-orbit {
	to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
	.cilloni-green__header {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.cilloni-green__header > p {
		margin-left: clamp(40px, 12vw, 150px);
	}

	.cilloni-green__composition {
		grid-template-columns: 1fr;
	}

	.cilloni-green__gallery {
		height: min(78vw, 740px);
	}

	.cilloni-green__card {
		width: min(88%, 790px);
		margin: clamp(-110px, -9vw, -60px) 0 0 auto;
	}

	.cilloni-green__orbit {
		right: clamp(95px, 13vw, 160px);
	}
}

@media (max-width: 700px) {
	.cilloni-green {
		padding: 82px 18px 90px;
	}

	.cilloni-green__header {
		margin-bottom: 62px;
	}

	.cilloni-green__header h2 {
		font-size: clamp(3.7rem, 17vw, 5.8rem);
		line-height: 0.84;
	}

	.cilloni-green__header h2 em {
		margin-left: 23px;
	}

	.cilloni-green__header > p {
		margin-left: 26px;
		font-size: 1.05rem;
	}

	.cilloni-green__gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 300px 145px;
		height: auto;
		gap: 8px;
	}

	.cilloni-green__photo--main {
		grid-column: 1 / -1;
		grid-row: auto;
		border-radius: 80px 2px 2px 2px;
	}

	.cilloni-green__photo--detail,
	.cilloni-green__photo--portrait {
		border-radius: 2px;
	}

	.cilloni-green__photo--detail { border-bottom-left-radius: 42px; }
	.cilloni-green__photo--portrait { border-bottom-right-radius: 42px; }

	.cilloni-green__photo figcaption {
		right: 12px;
		bottom: 12px;
		left: 12px;
		font-size: 0.5rem;
	}

	.cilloni-green__photo--detail figcaption {
		top: 12px;
		bottom: auto;
	}

	.cilloni-green__orbit {
		right: 50%;
		top: 304px;
		width: 78px;
		transform: translate(50%, -50%);
	}

	.cilloni-green__card {
		width: calc(100% - 18px);
		margin: -28px 0 0 auto;
		padding: 38px 24px 32px;
		border-radius: 2px 46px 2px 2px;
	}

	.cilloni-green__tabs {
		overflow-x: auto;
		scrollbar-width: none;
	}

	.cilloni-green__tabs::-webkit-scrollbar { display: none; }

	.cilloni-green__tabs button {
		min-width: max-content;
		padding-inline: 10px;
	}

	.cilloni-green__panel h3 {
		font-size: 2.15rem;
	}

	.cilloni-green__steps > div {
		min-height: auto;
		padding: 14px 0;
	}

	.cilloni-green__linework {
		right: -290px;
		width: 620px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cilloni-green *,
	.cilloni-green *::before,
	.cilloni-green *::after {
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
		transition-duration: 0.01ms;
	}

	.cilloni-green__reveal {
		opacity: 1;
		transform: none;
	}
}
