/*
 * Aroma Links — mobile-first link page.
 *
 * Brand: Aroma Ink #16110f ground, Cream #efe7dd text, Saffron Gold #c88a36
 * accents, Oxblood #6e2b2e, Sand #d9cfc2. Cormorant Garamond for display
 * (never below 20px), Hanken Grotesk for text and buttons.
 *
 * Layout: one column, 30rem at most. On a desktop the column sits framed
 * like a phone, so the page still reads as the phone page it is.
 */

:root {
	--ink: #16110f;
	--ink-2: #1e1815;
	--cream: #efe7dd;
	--sand: #d9cfc2;
	--gold: #c88a36;
	--gold-hi: #d6a056;
	--oxblood: #6e2b2e;
	--line: rgba(239, 231, 221, 0.12);
	--line-gold: rgba(200, 138, 54, 0.38);
	--field: rgba(239, 231, 221, 0.045);
	--muted: rgba(217, 207, 194, 0.72);
	--display: 'Cormorant Garamond', Georgia, serif;
	--body: 'Hanken Grotesk', system-ui, sans-serif;
	--col: 30rem;
	--pad: 1.25rem;
	--radius: 1.25rem;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	background: var(--ink);
}

body.al {
	margin: 0;
	min-height: 100vh;
	background: var(--ink);
	color: var(--cream);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: currentColor;
	flex: none;
}

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

.al-page {
	position: relative;
	width: 100%;
	max-width: var(--col);
	margin: 0 auto;
	background: var(--ink);
	overflow: hidden;
}

/* ---------------------------------------------------------------- Hero */

.al-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(74vh, 38rem);
	padding: 3rem var(--pad) 4.25rem;
	overflow: hidden;
	isolation: isolate;
}

/*
 * The photo fills the top of the hero only, so the faces sit above the
 * name and the lockup lands on the dark fade, not on someone's face.
 */
.al-hero__photo {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -2;
	width: 100%;
	height: 72%;
	object-fit: cover;
	object-position: 50% 35%;
	transform-origin: 50% 30%;
	transform: scale(1.06);
	animation: al-settle 2.4s var(--ease) both;
}

.al-hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(22, 17, 15, 0.3) 0%, rgba(22, 17, 15, 0.05) 22%, rgba(22, 17, 15, 0.7) 52%, var(--ink) 72%),
		radial-gradient(120% 70% at 50% 100%, rgba(110, 43, 46, 0.45), transparent 70%);
}

.al-hero__body {
	width: 100%;
	text-align: center;
}

.al-hero__logo {
	width: 9.5rem;
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

.al-hero__name {
	margin: 1.1rem 0 0;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(2rem, 8.6vw, 2.5rem);
	line-height: 1.05;
	letter-spacing: 0.005em;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.al-hero__city {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin: 0.6rem 0 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold-hi);
}

.al-hero__city::before,
.al-hero__city::after {
	content: '';
	width: 1.5rem;
	height: 1px;
	background: var(--line-gold);
}

/* Live open / closed status. */

.al-status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0 0;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(22, 17, 15, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--cream);
}

.al-status[hidden] {
	display: none;
}

.al-status__dot {
	position: relative;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #8b8076;
}

.al-status.is-open .al-status__dot {
	background: #7fbf7a;
}

.al-status.is-open .al-status__dot::after {
	content: '';
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 1px solid #7fbf7a;
	animation: al-pulse 2s ease-out infinite;
}

.al-status.is-soon .al-status__dot {
	background: var(--gold-hi);
}

/* ---------------------------------------------------------- Primary CTA */

.al-main {
	padding: 0 var(--pad);
}

.al-cta {
	position: relative;
	margin-top: -2.25rem;
}

.al-book {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 3.75rem;
	padding: 0 1.5rem;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--gold-hi), var(--gold));
	color: var(--ink);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	box-shadow: 0 10px 30px -10px rgba(200, 138, 54, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s;
}

.al-book:hover {
	filter: brightness(1.06);
	box-shadow: 0 14px 34px -10px rgba(200, 138, 54, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.al-book:active {
	transform: scale(0.98);
}

.al-quick {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.625rem;
	margin-top: 0.75rem;
}

.al-quick__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 3rem;
	padding: 0.6rem 0.25rem;
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: var(--field);
	color: var(--cream);
	font: 500 0.8125rem/1.2 var(--body);
	letter-spacing: 0.04em;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
}

.al-quick__btn svg {
	width: 1.125rem;
	height: 1.125rem;
	color: var(--gold-hi);
}

.al-quick__btn:hover {
	border-color: var(--line-gold);
	background: rgba(200, 138, 54, 0.08);
}

.al-quick__btn:active {
	transform: scale(0.97);
}

/* ------------------------------------------------------------- Sections */

.al-section {
	margin-top: 2.5rem;
}

.al-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1rem;
	font-family: var(--display);
	font-weight: 500;
	font-style: italic;
	font-size: 1.5rem;
	line-height: 1.1;
	color: var(--cream);
}

.al-eyebrow::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--line-gold), transparent);
}

/* Photo tiles: Menu and Happy Hour, the two most-wanted. */

.al-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.al-tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--ink-2);
	box-shadow: 0 0 0 1px var(--line);
	transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.al-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.al-tile::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(22, 17, 15, 0.6) 55%, rgba(22, 17, 15, 0.96) 100%);
}

.al-tile:hover img {
	transform: scale(1.05);
}

.al-tile:hover {
	box-shadow: 0 0 0 1px var(--line-gold);
}

.al-tile:active {
	transform: scale(0.98);
}

.al-tile__text {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.9rem;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.al-tile__title {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.al-tile__sub {
	font-size: 0.75rem;
	line-height: 1.35;
	color: var(--sand);
}

.al-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
	background: var(--gold);
	color: var(--ink);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.al-badge::before {
	content: '';
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: var(--ink);
	animation: al-blink 1.6s ease-in-out infinite;
}

.al-badge[hidden] {
	display: none;
}

/* Swipeable dish strip. */

.al-strip {
	margin-top: 1.5rem;
}

.al-strip__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}

.al-strip__title {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold-hi);
}

.al-strip__hint {
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
	margin: 0;
	font-size: 0.75rem;
	color: var(--muted);
}

.al-strip__hint svg {
	width: 0.9rem;
	height: 0.9rem;
	animation: al-nudge 1.8s ease-in-out infinite;
}

.al-strip__track {
	display: flex;
	gap: 0.625rem;
	margin: 0 calc(var(--pad) * -1);
	padding: 0 var(--pad) 0.25rem;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--pad);
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.al-strip__track::-webkit-scrollbar {
	display: none;
}

.al-strip__track li {
	flex: 0 0 34%;
	scroll-snap-align: start;
}

.al-dish {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: 1rem;
	overflow: hidden;
	background: var(--ink-2);
	box-shadow: 0 0 0 1px var(--line);
}

.al-dish img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.al-dish::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(22, 17, 15, 0.85));
}

.al-dish span {
	position: absolute;
	right: 0.6rem;
	bottom: 0.55rem;
	left: 0.6rem;
	z-index: 1;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
}

.al-dish:hover img {
	transform: scale(1.06);
}

/* List rows with thumbnails. */

.al-rows {
	display: grid;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.al-row {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-height: 4.75rem;
	padding: 0.6rem 0.9rem 0.6rem 0.6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--field);
	transition: border-color 0.2s, background-color 0.2s, transform 0.15s;
}

.al-row:hover {
	border-color: var(--line-gold);
	background: rgba(110, 43, 46, 0.28);
}

.al-row:active {
	transform: scale(0.985);
}

.al-row__thumb {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 0.8rem;
	object-fit: cover;
	flex: none;
}

.al-row__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
	flex: 1;
}

.al-row__title {
	font-size: 0.975rem;
	font-weight: 600;
	line-height: 1.25;
}

.al-row__sub {
	font-size: 0.8125rem;
	line-height: 1.35;
	color: var(--muted);
}

.al-row__go {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(200, 138, 54, 0.12);
	color: var(--gold-hi);
	flex: none;
	transition: transform 0.2s var(--ease), background-color 0.2s;
}

.al-row__go svg {
	width: 1rem;
	height: 1rem;
}

.al-row:hover .al-row__go {
	transform: translateX(2px);
	background: var(--gold);
	color: var(--ink);
}

/* Hours. */

.al-hours {
	margin-top: 0.625rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--field);
	overflow: hidden;
}

.al-hours summary {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 3.5rem;
	padding: 0 1rem;
	font-size: 0.975rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.al-hours summary::-webkit-details-marker {
	display: none;
}

.al-hours summary > svg {
	color: var(--gold-hi);
}

.al-hours summary > span:nth-of-type(1) {
	flex: 1;
}

.al-hours__chev {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(200, 138, 54, 0.12);
	color: var(--gold-hi);
	transition: transform 0.25s var(--ease);
}

.al-hours__chev svg {
	width: 1rem;
	height: 1rem;
	transform: rotate(90deg);
}

.al-hours[open] .al-hours__chev {
	transform: rotate(180deg);
}

.al-hours dl {
	margin: 0;
	padding: 0 1rem 0.75rem;
}

.al-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.65rem 0.75rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
}

.al-hours__row dt {
	color: var(--sand);
}

.al-hours__row dd {
	margin: 0;
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.al-hours__row.is-today {
	background: rgba(200, 138, 54, 0.12);
}

.al-hours__row.is-today dt {
	color: var(--cream);
	font-weight: 600;
}

.al-hours__row.is-today dt::after {
	content: 'Today';
	display: block;
	margin-top: 0.15rem;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-hi);
}

.al-hours__row--hh {
	margin-top: 0.25rem;
	border-top: 1px dashed var(--line);
	border-radius: 0;
}

.al-hours__row--hh dt {
	color: var(--gold-hi);
}

/* --------------------------------------------------------------- Footer */

.al-foot {
	margin-top: 3rem;
	padding: 2rem var(--pad) calc(6.5rem + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	text-align: center;
	background: radial-gradient(80% 100% at 50% 0%, rgba(110, 43, 46, 0.28), transparent 70%);
}

.al-foot__label {
	margin: 0 0 0.9rem;
	font-family: var(--display);
	font-style: italic;
	font-size: 1.25rem;
	color: var(--sand);
}

.al-social {
	display: flex;
	justify-content: center;
	gap: 0.875rem;
}

.al-social a {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border: 1px solid var(--line-gold);
	border-radius: 50%;
	color: var(--gold-hi);
	transition: background-color 0.2s, color 0.2s, transform 0.15s;
}

.al-social a:hover {
	background: var(--gold);
	color: var(--ink);
}

.al-social a:active {
	transform: scale(0.94);
}

.al-foot__lotus {
	width: 2rem;
	height: auto;
	margin: 2rem auto 0.5rem;
	opacity: 0.75;
}

.al-foot__copy {
	margin: 0;
	font-size: 0.75rem;
	color: var(--muted);
}

/* Floating Book bar once the main button has scrolled away. */

.al-dock {
	position: fixed;
	bottom: 0;
	left: 50%;
	z-index: 20;
	width: 100%;
	max-width: var(--col);
	padding: 0.75rem var(--pad) calc(0.75rem + env(safe-area-inset-bottom));
	background: linear-gradient(180deg, transparent, rgba(22, 17, 15, 0.92) 35%);
	transform: translate(-50%, 110%);
	transition: transform 0.35s var(--ease);
	pointer-events: none;
}

.al-dock.is-shown {
	transform: translate(-50%, 0);
	pointer-events: auto;
}

.al-book--dock {
	min-height: 3.25rem;
}

/* Copied-link toast. */

.al-toast {
	position: fixed;
	bottom: 5.5rem;
	left: 50%;
	z-index: 30;
	margin: 0;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	background: var(--cream);
	color: var(--ink);
	font-size: 0.875rem;
	font-weight: 500;
	opacity: 0;
	transform: translate(-50%, 0.5rem);
	transition: opacity 0.25s, transform 0.25s var(--ease);
	pointer-events: none;
}

.al-toast.is-shown {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ----------------------------------------------------- Entrance motion */

/* First screen: CSS only, never waits on a script. */
.al-in {
	animation: al-up 0.8s var(--ease) both;
	animation-delay: calc(var(--d, 0) * 90ms + 100ms);
}

@keyframes al-up {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

/* Further down: revealed as it scrolls into view. */
.js .al-rise {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	transition-delay: calc(var(--d, 0) * 70ms);
	/* Safety: shows anyway if the script never runs. */
	animation: al-show 0s 2.5s forwards;
}

.js .al-rise.is-in {
	opacity: 1;
	transform: none;
	animation: none;
}

@keyframes al-show {
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes al-settle {
	from {
		transform: scale(1.14);
	}
	to {
		transform: scale(1.06);
	}
}

@keyframes al-pulse {
	from {
		transform: scale(0.6);
		opacity: 1;
	}
	to {
		transform: scale(2.2);
		opacity: 0;
	}
}

@keyframes al-blink {
	50% {
		opacity: 0.35;
	}
}

@keyframes al-nudge {
	50% {
		transform: translateX(3px);
	}
}

/* ------------------------------------------------------- Narrow screens */

/* Below ~300px the quick-action row only fits on one line with tighter spacing. */
@media (max-width: 18.75rem) {
	.al-quick {
		gap: 0.375rem;
	}

	.al-quick__btn {
		gap: 0.3rem;
		letter-spacing: 0.02em;
	}
}

/* --------------------------------------------------------- Wide screens */

@media (min-width: 23.5rem) {
	.al-strip__track li {
		flex-basis: 31%;
	}
}

@media (min-width: 48rem) {
	body.al {
		padding: 2.5rem 0;
		background: radial-gradient(60% 50% at 50% 0%, rgba(110, 43, 46, 0.35), transparent 70%), var(--ink);
	}

	.al-page {
		border: 1px solid var(--line);
		border-radius: 2rem;
		box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
	}

	.al-dock {
		bottom: 1rem;
		border-radius: 0 0 2rem 2rem;
	}
}

/* --------------------------------------------------------- Calm motion */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.js .al-rise {
		opacity: 1;
		transform: none;
	}

	.al-hero__photo {
		transform: none;
	}
}
