/* ==========================================================================
   ARFA KHUSHBOO — homepage-only components.

   Everything here is a component theme.css does not already cover: the hero,
   the collection tiles, the discovery block and the how-to-order steps.
   Colour, type and spacing come from the tokens in theme.css; no new values
   are introduced.
   ========================================================================== */

/* -------------------------------------------------------------------- hero */

.ak-hero {
	position: relative;
	background: var(--ak-cream);
}

/* Fixed ratio in both breakpoints so the page never reflows once the
   image decodes. */
/* Square on mobile. The brand creatives carry their own wordmark and product
   name near the edges, so a taller crop slices the type off. */
.ak-hero__media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.ak-hero__media img,
.ak-hero__fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ak-hero__fallback {
	background: linear-gradient(140deg, var(--ak-cream) 0%, var(--ak-gold-pale) 45%, var(--ak-gold-soft) 100%);
}

.ak-hero__body {
	padding-block: 2rem 2.5rem;
	text-align: center;
}

.ak-hero__eyebrow {
	margin: 0 0 .75rem;
	font-size: var(--ak-fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ak-muted);
}

.ak-hero__title {
	margin: 0 0 .5rem;
	font-size: var(--ak-fs-xl);
	color: var(--ak-black);
}

.ak-hero__sub {
	margin: 0 auto;
	max-width: 46ch;
	color: var(--ak-muted);
}

.ak-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	margin-top: 1.5rem;
}

.ak-hero__ctas .ak-btn { flex: 1 1 14rem; }

/* From tablet up: a split, NOT copy-over-image.

   Every brand creative already carries its own typography — the product name,
   the Arabic, the notes bar. Laying a headline over that produces two competing
   sets of words in the same space. The split gives the artwork its own column
   and keeps the headline on a clean ground. */
@media (min-width: 900px) {
	.ak-hero {
		display: grid;
		grid-template-columns: 1fr 1fr;
		align-items: stretch;
		min-height: min(78vh, 620px);
	}

	.ak-hero__media {
		order: 2;
		aspect-ratio: auto;
		height: 100%;
	}

	.ak-hero__body {
		order: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: start;
		padding-block: 3rem;
	}

	/* The copy column is already inside the split, so it should not also
	   claim the full page gutter width. */
	.ak-hero__body .ak-wrap {
		margin-inline: 0 auto;
		max-width: 34rem;
		padding-inline-end: 2rem;
	}

	.ak-hero__title { font-size: var(--ak-fs-2xl); max-width: 15ch; }
	.ak-hero__sub   { margin-inline: 0; color: var(--ak-muted); }
	.ak-hero__ctas  { justify-content: flex-start; }
	.ak-hero__ctas .ak-btn { flex: 0 0 auto; }
}

@media (min-width: 1200px) {
	.ak-hero__title { font-size: var(--ak-fs-3xl); }
}

/* --------------------------------------------------------- category tiles */

.ak-tiles {
	display: grid;
	gap: var(--ak-gap);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.ak-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
}

.ak-tile { display: block; }

.ak-tile__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--ak-radius);
	background: var(--ak-cream-deep);
}

.ak-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ak-ease);
}

.ak-tile:hover .ak-tile__media img { transform: scale(1.04); }

.ak-tile__label {
	display: block;
	padding-top: .75rem;
	font-size: var(--ak-fs-sm);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ak-black);
	text-align: center;
}

.ak-tile:hover .ak-tile__label { color: var(--ak-gold); }

/* --------------------------------------------------------------- discovery */

.ak-discovery {
	display: grid;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 900px) {
	.ak-discovery { grid-template-columns: 1.5fr 1fr; gap: 3rem; }
}

.ak-discovery__eyebrow {
	margin: 0 0 .75rem;
	font-size: var(--ak-fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ak-gold);
}

.ak-discovery__title {
	margin: 0 0 .75rem;
	font-size: var(--ak-fs-xl);
	color: var(--ak-black);
}

.ak-discovery__copy p { margin: 0 0 1rem; color: var(--ak-muted); }

.ak-discovery__list {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: .5rem;
	font-size: var(--ak-fs-sm);
}

.ak-discovery__list li {
	position: relative;
	padding-inline-start: 1.25rem;
}

.ak-discovery__list li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: .55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ak-gold);
}

.ak-discovery__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

.ak-discovery__price {
	margin: 0;
	padding: 2rem 1.5rem;
	border: 1px solid var(--ak-line);
	border-radius: var(--ak-radius-lg);
	background: var(--ak-white);
	text-align: center;
}

.ak-discovery__price-label,
.ak-discovery__price-note {
	display: block;
	font-size: var(--ak-fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ak-muted);
}

.ak-discovery__price-value {
	display: block;
	margin-block: .35rem;
	font-size: var(--ak-fs-2xl);
	color: var(--ak-black);
}

.ak-discovery__price-note { text-transform: none; letter-spacing: .04em; }

/* ---------------------------------------------------------- how-to-order */

/* Three numbered steps, stacked on a phone and side by side from tablet up.
   Bordered rather than filled: the section sits on white between the cream
   discovery block and the prose, and a filled card would read as a third
   background colour. */
.ak-steps {
	display: grid;
	gap: var(--ak-gap);
	grid-template-columns: 1fr;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

@media (min-width: 700px) {
	.ak-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

.ak-step {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .65rem;
	padding: 1.5rem;
	border: 1px solid var(--ak-line);
	border-radius: var(--ak-radius-lg);
	background: var(--ak-white);
}

.ak-step__num {
	display: inline-grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--ak-black);
	color: var(--ak-white);
	font-size: var(--ak-fs-xs);
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1;
}

.ak-step__title {
	margin: 0;
	font-size: var(--ak-fs-sm);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.35;
	color: var(--ak-black);
}

.ak-step__text {
	margin: 0;
	font-size: var(--ak-fs-sm);
	line-height: 1.65;
	color: var(--ak-muted);
}

.ak-steps__foot {
	margin: 1.25rem 0 0;
	font-size: var(--ak-fs-sm);
	color: var(--ak-muted);
}

.ak-steps__foot a {
	color: var(--ak-black);
	font-weight: 600;
	border-bottom: 1px solid var(--ak-line);
}

.ak-steps__foot a:hover { color: var(--ak-gold); border-bottom-color: currentColor; }
