/* ==========================================================================
   Aladdin Healthy Landing Page — main.css (deferred)
   Loaded after critical CSS. Below-the-fold + non-hero styles.
   ========================================================================== */

/* -------------------------------------------------- */
/* Accessibility helpers                              */
/* -------------------------------------------------- */
.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; top: -100px; left: 16px;
	background: var(--c-ink); color: var(--c-cream);
	padding: 12px 20px; border-radius: 999px;
	font-size: 14px; font-weight: 600;
	z-index: 1000;
	transition: top .2s ease;
}
.skip-link:focus-visible { top: 16px; outline: 2px solid var(--c-brand); outline-offset: 2px; }

a, button, summary { transition: opacity .15s ease, color .15s ease, background .15s ease; }
:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; border-radius: 4px; }

/* -------------------------------------------------- */
/* Section head (reused across sections)              */
/* -------------------------------------------------- */
.section-head {
	max-width: 880px;
	margin: 0 0 80px;
}
.section-head h2 { margin-bottom: 28px; }
.section-head .lead {
	font-size: clamp(17px, 1.5vw, 20px);
	color: var(--c-ink-2);
	max-width: 56ch;
	line-height: 1.55;
}
.section-head .lead strong { color: var(--c-ink); font-weight: 600; }

/* -------------------------------------------------- */
/* Marquee band — editorial energy, multicultural      */
/* -------------------------------------------------- */
.marquee {
	overflow: hidden;
	padding: 44px 0;
	background: #141210;
	color: #fbf7ee;
	border-top: 1px solid rgba(251,247,238,0.08);
	border-bottom: 1px solid rgba(251,247,238,0.08);
	position: relative;
}
.marquee::before, .marquee::after {
	content: '';
	position: absolute;
	top: 0; bottom: 0;
	width: 120px;
	z-index: 2;
	pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, #141210, transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, #141210, transparent); }
.marquee-track {
	display: flex;
	gap: 48px;
	white-space: nowrap;
	will-change: transform;
	animation: marquee-scroll 42s linear infinite;
}
.marquee-item {
	font-family: var(--f-display);
	font-size: clamp(40px, 5.5vw, 84px);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1;
	display: flex;
	align-items: center;
	gap: 48px;
	flex-shrink: 0;
}
.marquee-item::after {
	content: '';
	display: inline-block;
	width: 10px; height: 10px;
	background: var(--c-brand);
	border-radius: 50%;
	flex-shrink: 0;
}
.marquee-item[lang="ar"] {
	font-family: "Amiri", "Noto Naskh Arabic", var(--f-display);
	font-size: clamp(38px, 5.2vw, 80px);
	direction: rtl;
}
@keyframes marquee-scroll {
	from { transform: translate3d(0,0,0); }
	to   { transform: translate3d(-50%,0,0); }
}

/* -------------------------------------------------- */
/* Section 2 — Pillars (why Mediterranean is healthy) */
/* -------------------------------------------------- */
.pillars { padding: 160px 0 140px; background: var(--c-cream); }
.pillar-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
	margin-top: 60px;
}
.pillar {
	padding: 56px 40px 48px;
	background: #fbf7ee;
	border: 1px solid var(--c-line);
	border-radius: 2px;
	position: relative;
	overflow: hidden;
}
.pillar::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(198,75,46,0.04) 100%);
	opacity: 0;
	transition: opacity .5s ease;
	pointer-events: none;
}
.pillar:hover::before { opacity: 1; }
.pillar-num {
	font-family: var(--f-display);
	font-size: 14px;
	font-weight: 500;
	color: var(--c-brand);
	letter-spacing: 0.18em;
	margin-bottom: 40px;
	display: inline-block;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--c-brand);
}
.pillar h3 { margin-bottom: 24px; font-size: clamp(26px, 2.4vw, 34px); }
.pillar p { font-size: 16px; line-height: 1.62; color: var(--c-ink-2); max-width: 32ch; }
.pillar p strong { color: var(--c-ink); font-weight: 600; }

/* -------------------------------------------------- */
/* Section 3 — Dishes grid                            */
/* -------------------------------------------------- */
.dishes { padding: 160px 0 140px; background: #efe8d7; }
.dish-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-top: 40px;
}
.dish {
	background: var(--c-cream);
	border: 1px solid var(--c-line);
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	will-change: transform;
}
.dish-link { display: block; color: inherit; }
.dish-figure {
	aspect-ratio: 5 / 4;
	overflow: hidden;
	background: #efe4cd;
	position: relative;
}
.dish-figure img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .9s cubic-bezier(.2,.8,.2,1);
	will-change: transform;
}
.dish:hover .dish-figure img { transform: scale(1.06); }
.dish-body { padding: 28px 28px 32px; }
.dish-cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #7a2d0d;
	margin-bottom: 14px;
}
.dish-name {
	font-size: clamp(22px, 1.8vw, 26px);
	margin-bottom: 12px;
	font-weight: 500;
}
.dish-blurb {
	font-size: 15px;
	line-height: 1.6;
	color: var(--c-muted);
	max-width: 38ch;
}
.dishes-foot { margin-top: 72px; text-align: center; }

/* -------------------------------------------------- */
/* Section 4 — Story                                  */
/* -------------------------------------------------- */
.story {
	padding: 160px 0 140px;
	background: var(--c-ink);
	color: var(--c-cream);
}
.story h2, .story .eyebrow { color: var(--c-cream); }
.story .eyebrow { color: #e6a83a; }
.story h2 { color: #fbf7ee; }
.story-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 120px;
	align-items: start;
}
.story-copy p {
	font-size: 17px;
	line-height: 1.7;
	max-width: 58ch;
	margin-bottom: 20px;
	color: rgba(251,247,238,0.82);
}
.story-copy p.lead { font-size: clamp(19px, 1.6vw, 22px); color: #fbf7ee; }
.story-copy p strong { color: #fbf7ee; font-weight: 500; }
.story-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2px;
	background: rgba(251,247,238,0.08);
	border: 1px solid rgba(251,247,238,0.08);
}
.stat {
	padding: 48px 32px;
	background: var(--c-ink);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 200px;
}
.stat-num {
	font-family: var(--f-display);
	font-size: clamp(54px, 5.5vw, 88px);
	font-weight: 400;
	line-height: 1;
	color: #fbf7ee;
	letter-spacing: -0.03em;
}
.stat-num small {
	font-size: 0.42em;
	color: #e6a83a;
	margin-left: 4px;
	vertical-align: super;
	font-weight: 400;
}
.stat-label {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(251,247,238,0.6);
	margin-top: 16px;
	line-height: 1.3;
}

/* -------------------------------------------------- */
/* Section 5 — Locations (map iframe + icon list)     */
/* Matches live homepage card pattern                  */
/* -------------------------------------------------- */
.locations { padding: 160px 0 140px; background: var(--c-cream); }
.loc-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 48px;
	margin-top: 48px;
}
.loc-card {
	background: #fbf7ee;
	border: 1px solid var(--c-line);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.loc-map {
	position: relative;
	background: #e4dcc9;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.loc-map iframe {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	border: 0; display: block;
	filter: saturate(0.92) contrast(1.05);
}
.loc-info {
	padding: 40px 40px 40px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.loc-info-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 8px;
}
.loc-info h3 {
	font-size: clamp(32px, 2.8vw, 44px);
	font-weight: 500;
	line-height: 1;
	margin: 0;
}
.loc-rating {
	text-align: right;
	font-size: 13px;
	color: var(--c-muted);
	line-height: 1.4;
}
.loc-rating .stars { display: block; margin-bottom: 4px; font-size: 14px; }
.loc-rating strong { color: var(--c-ink); }
.loc-subtitle {
	font-family: var(--f-display);
	font-size: 16px;
	font-style: italic;
	color: var(--c-muted);
	margin: 0 0 28px;
}
.loc-icon-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
}
.loc-icon-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--c-ink-2);
}
.loc-icon-list li svg {
	width: 20px; height: 20px;
	color: var(--c-brand);
	flex-shrink: 0;
	margin-top: 1px;
}
.loc-icon-list li a {
	color: var(--c-ink-2);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(26,26,26,0.25);
	transition: color .2s ease, text-decoration-color .2s ease;
}
.loc-icon-list li a:hover {
	color: var(--c-brand);
	text-decoration-color: var(--c-brand);
}
.loc-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 28px;
	border-top: 1px solid var(--c-line);
}

/* -------------------------------------------------- */
/* Section 6 — Neighborhoods served                   */
/* -------------------------------------------------- */
.neighborhoods { padding: 160px 0 140px; background: #efe8d7; }
.nb-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid var(--c-line);
}
.nb-time {
	font-family: var(--f-display);
	font-size: clamp(40px, 3.6vw, 58px);
	font-weight: 400;
	color: var(--c-brand);
	letter-spacing: -0.02em;
	margin-bottom: 24px;
	line-height: 1;
}
.nb-col ul {
	list-style: none;
	display: grid;
	gap: 14px;
}
.nb-col li {
	font-size: 16px;
	color: var(--c-ink-2);
	padding: 14px 0;
	border-bottom: 1px solid var(--c-line);
	display: flex;
	align-items: center;
}
.nb-col li::before {
	content: '';
	width: 4px; height: 4px;
	background: var(--c-brand);
	border-radius: 50%;
	margin-right: 14px;
	flex-shrink: 0;
}

/* -------------------------------------------------- */
/* Section 7 — Reviews                                */
/* -------------------------------------------------- */
.reviews { padding: 160px 0 140px; background: var(--c-cream); }
.rev-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-top: 40px;
}
.rev {
	padding: 44px 36px 40px;
	background: #fbf7ee;
	border: 1px solid var(--c-line);
	border-radius: 2px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 280px;
}
.rev blockquote { margin-bottom: 32px; }
.rev blockquote p {
	font-family: var(--f-display);
	font-size: clamp(17px, 1.3vw, 20px);
	line-height: 1.5;
	font-style: italic;
	color: var(--c-ink);
	max-width: none;
	letter-spacing: -0.005em;
}
.rev figcaption .stars { display: block; margin-bottom: 8px; }
.rev-author {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-muted);
	font-weight: 500;
}

/* -------------------------------------------------- */
/* Section 8 — FAQ                                    */
/* -------------------------------------------------- */
.faq { padding: 160px 0 140px; background: #efe8d7; }
.faq-list {
	max-width: 900px;
	margin: 40px 0 0;
	border-top: 1px solid var(--c-line);
}
.faq-item {
	border-bottom: 1px solid var(--c-line);
	padding: 0;
}
.faq-item summary {
	padding: 32px 0;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
	font-size: clamp(20px, 1.6vw, 26px);
	font-weight: 500;
	color: var(--c-ink);
	transition: color .2s ease;
	letter-spacing: -0.01em;
	margin: 0;
}
.faq-item summary:hover h3 { color: var(--c-brand); }
.faq-toggle {
	font-family: var(--f-display);
	font-size: 28px;
	line-height: 1;
	color: var(--c-brand);
	font-weight: 300;
	flex-shrink: 0;
	transition: transform .3s ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer {
	padding: 0 0 36px;
	max-width: 80ch;
	animation: faq-slide .4s cubic-bezier(.2,.8,.2,1);
}
.faq-answer p {
	font-size: 16px;
	line-height: 1.68;
	color: var(--c-ink-2);
}
@keyframes faq-slide {
	from { opacity: 0; transform: translateY(-10px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------- */
/* Section 9 — Final CTA                              */
/* -------------------------------------------------- */
.cta-final {
	padding: 180px 0;
	background: var(--c-ink);
	color: var(--c-cream);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cta-final::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(circle at 50% 100%, rgba(198,75,46,0.22) 0%, transparent 62%);
	pointer-events: none;
}
.cta-final .wrap { position: relative; z-index: 2; }
.cta-final h2 {
	color: #fbf7ee;
	font-size: clamp(48px, 7vw, 112px);
	margin-bottom: 32px;
}
.cta-final .lead {
	font-size: clamp(17px, 1.5vw, 20px);
	color: rgba(251,247,238,0.75);
	max-width: 52ch;
	margin: 0 auto 56px;
}
.cta-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
}
.cta-final .btn-primary { background: var(--c-brand); color: #fbf7ee; }
.cta-final .btn-primary:hover { background: #fbf7ee; color: var(--c-ink); }
.cta-final .btn-ghost {
	border-color: rgba(251,247,238,0.28);
	color: #fbf7ee;
}
.cta-final .btn-ghost:hover {
	background: #fbf7ee;
	color: var(--c-ink);
	border-color: #fbf7ee;
}

/* -------------------------------------------------- */
/* Footer                                             */
/* -------------------------------------------------- */
.ahlp-footer {
	padding: 100px 0 60px;
	background: #0f0f0f;
	color: rgba(251,247,238,0.68);
	border-top: 1px solid rgba(251,247,238,0.08);
}
.foot-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 60px;
	margin-bottom: 72px;
}
.foot-logo {
	font-family: var(--f-display);
	font-size: 32px;
	font-weight: 500;
	color: #fbf7ee;
	margin-bottom: 20px;
	letter-spacing: -0.01em;
}
.foot-brand p {
	font-size: 15px;
	line-height: 1.65;
	max-width: 36ch;
}
.foot-loc h3, .foot-links h3 {
	font-family: var(--f-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fbf7ee;
	margin-bottom: 20px;
}
.foot-loc address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.7;
}
.foot-loc a { color: #fbf7ee; text-decoration: underline; text-underline-offset: 3px; }
.foot-links ul { list-style: none; }
.foot-links li { margin-bottom: 10px; font-size: 14px; }
.foot-links a { color: rgba(251,247,238,0.68); }
.foot-links a:hover { color: #fbf7ee; }
.foot-legal {
	display: flex;
	justify-content: space-between;
	padding-top: 36px;
	border-top: 1px solid rgba(251,247,238,0.08);
	font-size: 12px;
	letter-spacing: 0.06em;
	color: rgba(251,247,238,0.72);
}

/* -------------------------------------------------- */
/* Animation base states (GSAP-owned, CSS fallback)    */
/* -------------------------------------------------- */
/* Hero word split — mask reveal (owned by GSAP; pure CSS fallback via .is-loaded) */
.hero h1 .word {
	display: inline-block;
	overflow: hidden;
	line-height: 1;
	vertical-align: top;
	padding-bottom: 0.08em;
}
.hero h1 .word > span {
	display: inline-block;
	transform: translate3d(0, 110%, 0);
	will-change: transform;
}
.hero.is-loaded h1 .word > span {
	transform: translate3d(0, 0, 0);
	transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}
/* Dish stagger seeds — hidden until GSAP sets them OR .in fallback */
.dish {
	opacity: 0;
	transform: translate3d(0, 60px, 0);
	will-change: transform, opacity;
}
.dish.in {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}

/* -------------------------------------------------- */
/* Responsive                                         */
/* -------------------------------------------------- */
@media (max-width: 1060px) {
	.pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.dish-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
	.story-grid { grid-template-columns: 1fr; gap: 60px; }
	.nb-grid { grid-template-columns: repeat(2, 1fr); }
	.rev-grid { grid-template-columns: repeat(2, 1fr); }
	.loc-grid { grid-template-columns: 1fr; }
	.foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
	.pillars, .dishes, .story, .locations, .neighborhoods, .reviews, .faq { padding: 100px 0 90px; }
	.cta-final { padding: 120px 0; }
	.section-head { margin-bottom: 56px; }
	.pillar-grid { grid-template-columns: 1fr; }
	.dish-grid { grid-template-columns: 1fr; gap: 32px; }
	.nb-grid { grid-template-columns: 1fr; gap: 36px; }
	.rev-grid { grid-template-columns: 1fr; }
	.story-stats { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr; gap: 40px; }
	.foot-legal { flex-direction: column; gap: 10px; }
	.loc-head { flex-direction: column; }
	.loc-rating { text-align: left; }
	.marquee-item { gap: 32px; }
	.hero { padding: 140px 0 60px; }
	.hero-meta { position: static; margin-top: 48px; padding: 0 var(--gutter); flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* -------------------------------------------------- */
/* Reduced motion                                     */
/* -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.dish, .hero h1 .word > span {
		opacity: 1 !important;
		transform: none !important;
	}
	.marquee-track { animation: none !important; }
	html { scroll-behavior: auto; }
}
