/* =========================================================
   Orera — home page
   Sections: hero · welcome · rooms · wine bar · kitchen · events · reserve
   ========================================================= */

body.home main {
	padding: 0;
}

.section {
	padding: clamp(64px, 9vw, 128px) 0;
}

.section--dark {
	background: var(--emerald);
	color: rgba(247, 242, 232, 0.82);
}

.section--dark h2,
.section--dark h3 {
	color: var(--ivory);
}

.section--cream {
	background: #EFE7D8;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--yellow-dark);
}

.section--dark .eyebrow,
.lux-hero .eyebrow {
	color: var(--gold);
}

.eyebrow::before {
	content: '';
	width: 28px;
	height: 1px;
	background: currentColor;
}

.display {
	margin-top: 14px;
	font-size: clamp(30px, 2.6vw + 16px, 54px);
	letter-spacing: 0.04em;
	line-height: 1.12;
}

.accent {
	font-family: var(--font-accent);
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.lead {
	margin-top: 22px;
	max-width: 52ch;
	font-size: clamp(16px, 0.35vw + 15px, 19px);
	line-height: 1.8;
}

.lead + .lead {
	margin-top: 14px;
}

/* gold ornament: line · diamond · line */
.ornament {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 132px;
	margin: 26px 0;
	color: var(--gold);
}

.ornament::before,
.ornament::after {
	content: '';
	flex: 1;
	height: 1px;
	background: currentColor;
	transform-origin: center;
}

.ornament span {
	width: 7px;
	height: 7px;
	border: 1px solid currentColor;
	transform: rotate(45deg);
}

.center {
	text-align: center;
}

.center .ornament,
.center .lead {
	margin-left: auto;
	margin-right: auto;
}

.btn--outline {
	border: 1px solid rgba(201, 169, 110, 0.7);
	color: var(--gold-light);
}

.btn--outline:hover {
	background: rgba(201, 169, 110, 0.12);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

/* Photos with a thin gold frame offset behind them */
.framed {
	position: relative;
}

.framed::before {
	content: '';
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 1px solid rgba(201, 169, 110, 0.6);
	border-radius: 2px;
	pointer-events: none;
}

.photo {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	background: #2a3a33;
}

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

.photo:hover img {
	transform: scale(1.05);
}

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

.lux-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	min-height: min(calc(100vh - var(--header-h)), 860px);
	background:
		radial-gradient(ellipse at 15% 20%, rgba(201, 169, 110, 0.12), transparent 55%),
		var(--emerald);
	color: rgba(247, 242, 232, 0.85);
	overflow: hidden;
}

.lux-hero__text {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 80px);
	padding-left: max(var(--pad-x), calc((100vw - var(--container)) / 2 + var(--pad-x)));
}

.lux-hero h1 {
	margin-top: 22px;
	color: var(--ivory);
	font-size: clamp(40px, 4.2vw + 14px, 84px);
	letter-spacing: 0.14em;
	line-height: 1;
}

.lux-hero h1 .accent {
	display: block;
	margin-top: 16px;
	font-size: 0.42em;
	letter-spacing: 0.01em;
	line-height: 1.2;
	color: var(--gold-light);
}

.lux-hero .lead {
	color: rgba(247, 242, 232, 0.78);
}

.lux-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: 42px;
	padding-top: 22px;
	border-top: 1px solid rgba(201, 169, 110, 0.25);
	font-size: 14px;
	letter-spacing: 0.04em;
	color: rgba(247, 242, 232, 0.6);
}

.lux-hero__facts strong {
	display: block;
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold);
}

.lux-hero__media {
	position: relative;
	overflow: hidden;
}

.lux-hero__media::after {
	/* soft blend of the photo into the emerald panel */
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--emerald) 0%, rgba(18, 36, 29, 0) 22%);
	pointer-events: none;
	z-index: 1;
}

.lux-hero .hero__slide {
	transition: opacity 1.6s ease;
}

.lux-hero .hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.14);
	transition: transform 9s cubic-bezier(0.16, 0.6, 0.3, 1);
}

.lux-hero .hero__slide.is-active img {
	transform: scale(1);
}

.lux-hero__caption {
	position: absolute;
	z-index: 2;
	left: clamp(24px, 4vw, 48px);
	bottom: clamp(22px, 3vw, 36px);
	font-family: var(--font-accent);
	font-style: italic;
	font-size: 20px;
	color: var(--ivory);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.lux-hero .hero__dots {
	z-index: 2;
	gap: 6px;
}

.lux-hero .hero__dots button {
	width: 38px;
}

.lux-hero .hero__dots button::before {
	width: 28px;
	height: 2px;
	border-radius: 0;
	background: rgba(247, 242, 232, 0.4);
}

.lux-hero .hero__dots button[aria-current="true"]::before {
	background: var(--gold);
	transform: none;
}

/* hero text entrance */
.lux-hero__text > * {
	animation: rise 1.1s var(--ease) backwards;
}

.lux-hero__text > :nth-child(2) { animation-delay: 0.12s; }
.lux-hero__text > :nth-child(3) { animation-delay: 0.24s; }
.lux-hero__text > :nth-child(4) { animation-delay: 0.36s; }
.lux-hero__text > :nth-child(5) { animation-delay: 0.48s; }
.lux-hero__text > :nth-child(6) { animation-delay: 0.6s; }

.lux-hero__media {
	animation: unveil 1.6s var(--ease) 0.1s backwards;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(26px);
	}
}

@keyframes unveil {
	from {
		clip-path: inset(0 0 0 100%);
	}
	to {
		clip-path: inset(0 0 0 0);
	}
}

/* ---------- Welcome ---------- */

.welcome {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 110px);
	align-items: center;
}

.welcome__photos {
	position: relative;
	padding: 0 12% 18% 0;
}

.welcome__photos .photo--main {
	aspect-ratio: 1 / 1;
}

.welcome__photos .photo--small {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 46%;
	aspect-ratio: 1 / 1;
	border: 8px solid var(--bg);
	box-shadow: 0 20px 50px rgba(18, 36, 29, 0.25);
}

.signature-line {
	margin-top: 30px;
	font-family: var(--font-accent);
	font-style: italic;
	font-size: 24px;
	color: var(--yellow-dark);
}

/* ---------- Rooms mosaic ---------- */

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head .lead {
	margin-top: 0;
	max-width: 44ch;
}

.mosaic {
	display: grid;
	grid-template-columns: 1.15fr 1fr 1.15fr;
	grid-template-rows: auto auto;
	gap: 14px;
}

/* tall · two squares stacked · tall */
.mosaic .photo:nth-child(1) {
	grid-column: 1;
	grid-row: 1 / 3;
}

.mosaic .photo:nth-child(2) {
	grid-column: 2;
	grid-row: 1;
	aspect-ratio: 1 / 1;
}

.mosaic .photo:nth-child(3) {
	grid-column: 2;
	grid-row: 2;
	aspect-ratio: 1 / 1;
}

.mosaic .photo:nth-child(4) {
	grid-column: 3;
	grid-row: 1 / 3;
}

.mosaic figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 40px 20px 16px;
	font-family: var(--font-accent);
	font-style: italic;
	font-size: 19px;
	color: var(--ivory);
	background: linear-gradient(transparent, rgba(10, 20, 16, 0.75));
	transform: translateY(8px);
	opacity: 0.9;
	transition: transform 0.6s var(--ease), opacity 0.6s;
}

.mosaic .photo:hover figcaption {
	transform: none;
	opacity: 1;
}

/* ---------- Wine bar ---------- */

.feature {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(40px, 7vw, 110px);
	align-items: center;
}

.feature__photos {
	position: relative;
	padding-bottom: 14%;
}

.feature__photos .photo--main {
	aspect-ratio: 4 / 3;
}

.feature__photos .photo--small {
	position: absolute;
	right: -4%;
	bottom: 0;
	width: 34%;
	aspect-ratio: 3 / 4;
	border: 8px solid var(--bg);
	box-shadow: 0 20px 50px rgba(18, 36, 29, 0.3);
}

.wine-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 26px;
}

.wine-list li {
	padding: 6px 14px;
	font-family: var(--font-accent);
	font-style: italic;
	font-size: 18px;
	color: var(--burgundy);
	border: 1px solid rgba(122, 31, 43, 0.25);
	border-radius: 999px;
}

/* ---------- Kitchen cards ---------- */

.dishes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
}

.dish {
	display: block;
	background: var(--card);
	border-radius: 2px;
	box-shadow: 0 1px 0 var(--line);
	transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.dish:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 50px rgba(18, 36, 29, 0.14);
}

.dish .photo {
	aspect-ratio: 4 / 5;
}

.dish__body {
	padding: 22px 24px 26px;
}

.dish h3 {
	font-size: 19px;
	letter-spacing: 0.08em;
}

.dish p {
	margin-top: 6px;
	font-family: var(--font-accent);
	font-style: italic;
	font-size: 19px;
	color: var(--muted);
}

/* ---------- Events ---------- */

.events {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: clamp(40px, 7vw, 110px);
	align-items: center;
}

.events__list {
	margin-top: 26px;
	columns: 2;
	column-gap: 24px;
}

.events__list li {
	position: relative;
	padding: 7px 0 7px 22px;
	break-inside: avoid;
	color: rgba(247, 242, 232, 0.85);
}

.events__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	border: 1px solid var(--gold);
	transform: translateY(-50%) rotate(45deg);
}

.events__photos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	align-items: start;
}

.events__photos .photo {
	aspect-ratio: 4 / 5.4;
}

.events__photos .photo:nth-child(2) {
	margin-top: 56px;
}

.events__photos .photo:nth-child(3) {
	margin-top: 112px;
}

.events .tel {
	color: var(--gold-light);
	border-bottom: 1px solid rgba(201, 169, 110, 0.5);
}

/* ---------- Reserve (chandelier backdrop) ---------- */

.reserve {
	position: relative;
	padding: clamp(90px, 13vw, 180px) 0;
	color: rgba(247, 242, 232, 0.85);
	text-align: center;
	background:
		linear-gradient(rgba(10, 22, 17, 0.55), rgba(10, 22, 17, 0.8)),
		url("../assets/cta-bg.webp") center 35% / cover fixed var(--emerald);
}

.reserve h2 {
	color: var(--ivory);
}

.reserve .btn-row {
	justify-content: center;
}

.reserve__info {
	margin-top: 34px;
	font-size: 15px;
	letter-spacing: 0.06em;
	color: rgba(247, 242, 232, 0.7);
}

.reserve__info a {
	color: var(--gold-light);
}

/* ---------- Scroll reveal (enabled by site.js) ---------- */

.js-reveal [data-reveal] {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
	transition-delay: var(--d, 0s);
}

.js-reveal [data-reveal="photo"] {
	transform: none;
	clip-path: inset(12% 0 0 0);
	transition: opacity 1.2s var(--ease), clip-path 1.4s var(--ease);
	transition-delay: var(--d, 0s);
}

.js-reveal [data-reveal].is-visible {
	opacity: 1;
	transform: none;
	clip-path: inset(0 0 0 0);
}

.js-reveal .ornament[data-reveal]::before,
.js-reveal .ornament[data-reveal]::after {
	transform: scaleX(0);
	transition: transform 1.2s var(--ease) 0.3s;
}

.js-reveal .ornament[data-reveal].is-visible::before,
.js-reveal .ornament[data-reveal].is-visible::after {
	transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
	.welcome,
	.feature,
	.events {
		grid-template-columns: 1fr;
	}

	.welcome__photos {
		max-width: 560px;
	}

	.feature__photos {
		margin-right: 4%;
	}

	.section-head {
		display: block;
	}

	.section-head .lead {
		margin-top: 18px;
	}
}

@media (max-width: 760px) {
	/* full-bleed photo, text over its lower part */
	.lux-hero {
		display: block;
		min-height: calc(100svh - var(--header-h));
	}

	.lux-hero__media {
		position: absolute;
		inset: 0;
	}

	.lux-hero__media::after {
		background: linear-gradient(0deg, var(--emerald) 0%, rgba(18, 36, 29, 0.9) 42%, rgba(18, 36, 29, 0.6) 68%, rgba(18, 36, 29, 0.2) 100%);
	}

	.lux-hero__text {
		min-height: calc(100svh - var(--header-h));
		justify-content: flex-end;
		padding: 120px 22px 34px;
	}

	.lux-hero__caption {
		display: none;
	}

	.lux-hero .hero__dots {
		left: auto;
		right: 14px;
		top: 18px;
		bottom: auto;
	}

	.lux-hero__facts {
		margin-top: 28px;
	}

	.lux-hero .lead {
		font-size: 16px;
		line-height: 1.65;
	}

	.mosaic {
		grid-template-columns: 1fr 1fr;
	}

	.mosaic .photo:nth-child(n) {
		grid-column: auto;
		grid-row: auto;
		aspect-ratio: 4 / 5;
	}

	.dishes {
		grid-template-columns: 1fr;
		max-width: 460px;
		margin: 0 auto;
	}

	.events__photos .photo:nth-child(2) {
		margin-top: 28px;
	}

	.events__photos .photo:nth-child(3) {
		margin-top: 56px;
	}

	.events__list {
		columns: 1;
	}

	.reserve {
		background-attachment: scroll;
	}

	.framed::before {
		inset: 12px -10px -12px 10px;
	}
}

@media (hover: none) {
	.reserve {
		background-attachment: scroll;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lux-hero__text > *,
	.lux-hero__media {
		animation: none;
	}

	.lux-hero .hero__slide img {
		transform: none;
		transition: none;
	}

	.js-reveal [data-reveal] {
		opacity: 1;
		transform: none;
		clip-path: none;
		transition: none;
	}

	.photo img,
	.dish {
		transition: none;
	}
}
