/* ---------- Tiles ---------- */
#tooba-home .tiles {
	width: calc(1345 * var(--u)); margin: calc(239 * var(--u)) auto 0; direction: ltr;
	display: grid; grid-template-columns: 435fr 441fr 435fr; gap: calc(23 * var(--u)) calc(17 * var(--u));
}
/* Directly under the hero (stage 1: no sections between) the gap can be tighter. */
#tooba-home .hero + .tiles { margin-top: calc(130 * var(--u)); }

#tooba-home .tile {
	position: relative; display: block; container-type: inline-size; border-radius: calc(38 * var(--u));
	transition: translate .25s, box-shadow .25s;
}
#tooba-home .tile:hover { translate: 0 calc(-6 * var(--u)); box-shadow: 0 calc(18 * var(--u)) calc(34 * var(--u)) rgba(0, 0, 0, .12); }
#tooba-home .tile img { position: absolute; height: auto; }
#tooba-home .tile-text { position: absolute; display: flex; flex-direction: column; align-items: center; direction: rtl; white-space: nowrap; line-height: .9; }
#tooba-home .t1 { font-weight: 200; } #tooba-home .t2 { font-weight: 800; }

#tooba-home .tile-tolidat { grid-column: 1 / 3; aspect-ratio: 893 / 448; background: var(--gold); overflow: hidden; }
#tooba-home .tile-calls { grid-column: 3; aspect-ratio: 435 / 448; background: var(--sage); }
#tooba-home .tile-nazr { grid-column: 1; aspect-ratio: 435 / 450; background: #d6bfa5; }
#tooba-home .tile-graphy { grid-column: 2 / 4; aspect-ratio: 893 / 450; background: #697a5b; overflow: hidden; }

/* The two wide tiles have a darker right half split by a diagonal, with a thin light band inside the dark part. */
#tooba-home .tile-tolidat::before,
#tooba-home .tile-graphy::before,
#tooba-home .tile-tolidat::after,
#tooba-home .tile-graphy::after { content: ""; position: absolute; inset: 0; }
#tooba-home .tile-tolidat::before { background: #d0a466; clip-path: polygon(56% 0, 100% 0, 100% 100%, 19.1% 100%); }
#tooba-home .tile-tolidat::after { background: var(--gold); clip-path: polygon(58.5% 0, 60.5% 0, 22.9% 100%, 20.9% 100%); }
#tooba-home .tile-graphy::before { background: var(--moss); clip-path: polygon(67.1% 0, 100% 0, 100% 100%, 32.4% 100%); }
#tooba-home .tile-graphy::after { background: #697a5b; clip-path: polygon(69.8% 0, 72.1% 0, 36.9% 100%, 34.7% 100%); }
#tooba-home .tile-tolidat img, #tooba-home .tile-graphy img,
#tooba-home .tile-tolidat .tile-text, #tooba-home .tile-graphy .tile-text { z-index: 1; }

#tooba-home .tile-tolidat img { width: 54%; left: .3%; top: -5.6%; }
#tooba-home .tile-tolidat .tile-text { right: 9%; top: 50%; translate: 0 -50%; width: 37%; }
#tooba-home .tile-tolidat .t1 { font-size: 10cqw; color: #644f30; margin-bottom: -1.2cqw; }
#tooba-home .tile-tolidat .t2 { font-size: 11.5cqw; color: #fff3e6; }

#tooba-home .tile-calls img { width: 60%; left: 20%; top: 2%; }
#tooba-home .tile-calls .tile-text { left: 0; right: 0; bottom: 11.6%; }
#tooba-home .tile-calls .t1 { font-size: 18cqw; color: #4f473d; margin-bottom: -3cqw; }
#tooba-home .tile-calls .t2 { font-size: 21cqw; color: #fff3e6; }

#tooba-home .tile-nazr img { width: 101.8%; left: -2.8%; top: -20.7%; }
#tooba-home .tile-nazr .tile-text { left: 0; right: 0; bottom: 6%; flex-direction: row-reverse; justify-content: center; gap: 1cqw; align-items: baseline; }
#tooba-home .tile-nazr .t1 { font-size: 18cqw; color: #4f473d; }
#tooba-home .tile-nazr .t2 { font-size: 21cqw; color: #b56b4a; }
#tooba-home .tile-nazr .tile-text { order: 0; }

#tooba-home .tile-graphy img { width: 49.7%; left: .9%; top: 0; }
#tooba-home .tile-graphy .tile-text { right: 8%; top: 50%; translate: 0 -50%; width: 37%; }
#tooba-home .tile-graphy .t1 { font-size: 10cqw; color: #e3b370; margin-bottom: -1.2cqw; }
#tooba-home .tile-graphy .t2 { font-size: 11.5cqw; color: #b8c496; }

@media (max-width: 1023px) {
	#tooba-home .tiles { width: auto; margin: calc(50 * var(--u)) calc(14 * var(--u)) 0; gap: calc(10 * var(--u)); grid-template-columns: 1fr 1fr; }
	#tooba-home .tile { border-radius: calc(22 * var(--u)); }
	#tooba-home .tile-tolidat { grid-column: 1 / 3; grid-row: 1; }
	#tooba-home .tile-calls { grid-column: 1; grid-row: 2; }
	#tooba-home .tile-nazr { grid-column: 2; grid-row: 2; }
	#tooba-home .tile-graphy { grid-column: 1 / 3; grid-row: 3; }
	#tooba-home .hero + .tiles { margin-top: calc(50 * var(--u)); }
}
