/*
Theme Name: Roosevelt_Shanghai
Theme URI: https://example.com/roosevelt-shanghai
Author: Marketing Connection Studio
Description: A responsive premium hospitality and destination theme for Roosevelt Shanghai, with a full-screen video opening, editorial pages, experiences, happenings and mobile quick navigation.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: roosevelt-shanghai
License: GNU General Public License v2 or later
*/

:root {
	--muse-bg: #f4f2ed;
	--muse-surface: #ffffff;
	--muse-text: #514d43;
	--muse-muted: #8e8572;
	--muse-accent: #b99b5d;
	--muse-footer: #403d35;
	--muse-footer-text: #ffffff;
	--muse-heading-font: Georgia, "Times New Roman", serif;
	--muse-body-font: Arial, Helvetica, sans-serif;
	--muse-container: 1220px;
	--muse-radius: 0px;
	--muse-shadow: 0 12px 32px rgba(38, 34, 27, .12);
	--muse-header-height: 118px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--muse-bg);
	color: var(--muse-text);
	font-family: var(--muse-body-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--muse-accent); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	z-index: 10000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: #fff;
	color: #111;
}

.muse-container {
	width: min(calc(100% - 64px), var(--muse-container));
	margin-inline: auto;
}

.site-header {
	position: absolute;
	z-index: 300;
	top: 0;
	left: 0;
	width: 100%;
	color: #fff;
	transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.site-header:not(.is-sticky) {}
body:not(.muse-front-page) .site-header {
	position: absolute;
	background: var(--muse-footer);
}

.site-header.is-sticky {
	position: fixed;
	background: rgba(40, 38, 33, .96);
	box-shadow: 0 8px 24px rgba(0,0,0,.16);
}

.header-inner { padding-top: 24px; }
.header-utility {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 22px;
	min-height: 28px;
	font-size: 13px;
}

.header-utility a { color: inherit; }
.header-main {
	display: grid;
	grid-template-columns: 190px 1fr;
	align-items: end;
	gap: 42px;
	min-height: 66px;
	border-bottom: 1px solid rgba(255,255,255,.75);
}

.custom-logo-link { align-self: center; padding-bottom: 12px; }
.custom-logo { max-width: 146px; max-height: 62px; width: auto; }
.site-title {
	display: inline-block;
	padding-bottom: 16px;
	font-family: var(--muse-heading-font);
	font-size: 26px;
	letter-spacing: .14em;
	color: #fff;
}

.primary-menu,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: clamp(18px, 2.6vw, 42px);
}

.primary-menu > li > a {
	display: block;
	padding: 20px 0 18px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .035em;
	text-transform: uppercase;
}

.primary-menu li { position: relative; }
.primary-menu .sub-menu {
	position: absolute;
	z-index: 20;
	top: 100%;
	left: 50%;
	min-width: 210px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	background: rgba(55, 52, 45, .98);
	box-shadow: var(--muse-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	transition: .2s ease;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}
.primary-menu .sub-menu a {
	display: block;
	padding: 11px 20px;
	color: #fff;
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.menu-toggle { display: none; }

.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: #161616;
	color: #fff;
}

.hero-media,
.hero-media::after,
.hero-video,
.hero-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-video,
.hero-poster {
	object-fit: cover;
	object-position: var(--muse-hero-position, 50% 50%);
}

.hero-poster {
	background: radial-gradient(circle at 50% 38%, #777168 0, #292725 36%, #111 72%);
}

.hero-media::after {
	content: "";
	z-index: 1;
	background: rgba(0,0,0,var(--muse-hero-overlay, .18));
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--muse-header-height) + 56px) 0 68px;
}

.hero-caption {
	max-width: 650px;
	font-family: var(--muse-heading-font);
	font-size: clamp(38px, 5.2vw, 76px);
	line-height: 1.05;
}

.hero-progress {
	position: absolute;
	z-index: 3;
	left: 0;
	bottom: 36px;
	width: min(14vw, 230px);
	height: 2px;
	background: rgba(255,255,255,.28);
}
.hero-progress span { display: block; width: 55%; height: 100%; background: var(--muse-accent); }

.muse-section { position: relative; padding: clamp(76px, 10vw, 150px) 0; overflow: hidden; }
.muse-section.has-dots::before,
.muse-section.has-dots::after {
	content: "";
	position: absolute;
	width: 260px;
	height: 370px;
	opacity: .55;
	background-image: radial-gradient(var(--muse-accent) 1px, transparent 1px);
	background-size: 9px 9px;
	pointer-events: none;
}
.muse-section.has-dots::before { left: -55px; top: 72px; }
.muse-section.has-dots::after { right: -56px; bottom: 22px; }

.intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
	gap: clamp(52px, 10vw, 150px);
	align-items: center;
}
.eyebrow {
	display: block;
	margin-bottom: 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
}
.display-title {
	max-width: 760px;
	margin: 0 0 28px;
	font-family: var(--muse-heading-font);
	font-size: clamp(45px, 6vw, 86px);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: .012em;
	color: var(--muse-muted);
}
.intro-copy { max-width: 700px; font-size: 14px; }
.intro-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--muse-shadow); border-radius: var(--muse-radius); }

.outline-button,
.solid-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin-top: 24px;
	padding: 10px 23px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 13px;
	transition: .2s ease;
}
.outline-button:hover { background: var(--muse-text); border-color: var(--muse-text); color: #fff; }
.solid-button { background: var(--muse-muted); color: #fff; border-color: var(--muse-muted); }

.section-heading { margin-bottom: 45px; }
.section-title {
	margin: 0;
	font-family: var(--muse-heading-font);
	font-size: clamp(42px, 5vw, 70px);
	font-weight: 400;
	line-height: 1.12;
	color: var(--muse-muted);
}
.section-kicker { margin: 10px 0 0; font-size: 13px; }

.featured-event {
	display: grid;
	grid-template-columns: 1.65fr .85fr;
	max-width: 1000px;
	margin: 0 auto 70px;
	box-shadow: var(--muse-shadow);
}
.featured-event-image { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.featured-event-copy { padding: 36px; background: var(--muse-muted); color: #fff; }
.featured-event-copy time { display: block; margin-bottom: 20px; font-size: 12px; }
.featured-event-copy h3 { margin: 0 0 14px; font-size: 21px; line-height: 1.25; }
.featured-event-copy p { font-size: 13px; }

.experience-finder { max-width: 1000px; margin: 0 auto 110px; text-align: center; }
.experience-finder h3 { margin: 0 0 28px; font-size: 18px; letter-spacing: .04em; }
.finder-fields {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: 0;
	padding: 10px 14px;
	background: var(--muse-surface);
	box-shadow: var(--muse-shadow);
	text-align: left;
}
.finder-field { padding: 5px 22px; border-right: 1px solid #ddd8cc; }
.finder-field label { display: block; color: var(--muse-accent); font-size: 10px; }
.finder-field select { width: 100%; padding: 5px 0; border: 0; background: transparent; color: var(--muse-text); font-size: 12px; }
.finder-submit { align-self: center; min-width: 88px; min-height: 38px; border: 0; border-radius: 999px; background: var(--muse-muted); color: #fff; cursor: pointer; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.content-card-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.content-card-meta { margin: 14px 0 5px; color: var(--muse-muted); font-size: 11px; }
.content-card-title { margin: 0; font-size: 18px; line-height: 1.35; }
.cards-header { display: flex; justify-content: flex-end; margin-bottom: 22px; font-size: 12px; }

.beyond-title {
	margin: 0 0 52px;
	text-align: center;
	font-family: var(--muse-heading-font);
	font-size: clamp(44px, 5.8vw, 78px);
	font-weight: 400;
	letter-spacing: .06em;
	color: var(--muse-muted);
}
.beyond-card {
	max-width: 570px;
	padding: 58px;
	background: var(--muse-surface);
	box-shadow: var(--muse-shadow);
}
.beyond-card h3 { margin: 0 0 18px; font-size: 31px; line-height: 1.05; }
.beyond-card p { font-size: 13px; }
.beyond-card img { width: 100%; margin-top: 35px; aspect-ratio: 4/3; object-fit: cover; }
.muse-placeholder { border-radius: var(--muse-radius); }

.site-footer { padding: 78px 0 0; background: var(--muse-footer); color: var(--muse-footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 72px; padding-bottom: 62px; }
.footer-menu { columns: 3; column-gap: 30px; }
.footer-menu li { break-inside: avoid; margin-bottom: 14px; }
.footer-menu a { color: inherit; font-size: 13px; }
.footer-heading { margin: 0 0 18px; font-size: 13px; }
.footer-copy { font-size: 13px; opacity: .9; }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.social-links a { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); font-size: 11px; opacity: .8; }

.mobile-dock { display: none; }
.back-to-top {
	position: fixed;
	z-index: 70;
	right: 28px;
	bottom: 28px;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border: 0;
	border-radius: 50%;
	background: var(--muse-footer);
	color: #fff;
	box-shadow: var(--muse-shadow);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: .2s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

.content-area { min-height: 65vh; padding: 180px 0 100px; }
.content-area h1 { font-family: var(--muse-heading-font); font-size: clamp(42px, 6vw, 72px); }
.entry-content { max-width: 860px; }
.entry-content a { color: var(--muse-accent); text-decoration: underline; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }

.inner-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(76vh, 820px);
	padding: 190px 0 74px;
	overflow: hidden;
	background: #24221e;
	color: #fff;
}
.inner-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.66));
}
.inner-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inner-hero-copy { position: relative; z-index: 2; max-width: 820px; }
.inner-kicker { display: block; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.inner-title { margin: 0; font-family: var(--muse-heading-font); font-size: clamp(58px, 9vw, 126px); font-weight: 400; line-height: .92; }
.inner-intro { max-width: 660px; margin: 28px 0 0; font-size: 17px; }
.editorial-split {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(50px, 9vw, 130px);
	align-items: center;
}
.editorial-split.is-reversed { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.editorial-split.is-reversed .editorial-media { order: 2; }
.editorial-media { position: relative; }
.editorial-media img { width: 100%; min-height: 480px; object-fit: cover; border-radius: var(--muse-radius); box-shadow: var(--muse-shadow); }
.editorial-media::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -38px;
	bottom: -38px;
	width: 55%;
	height: 55%;
	background-image: radial-gradient(var(--muse-accent) 1px, transparent 1px);
	background-size: 9px 9px;
}
.editorial-copy h2 { margin: 0 0 25px; font-family: var(--muse-heading-font); font-size: clamp(44px, 5vw, 72px); font-weight: 400; line-height: 1.05; color: var(--muse-muted); }
.editorial-copy p { max-width: 600px; }
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 35px; background: #d9d4ca; border: 1px solid #d9d4ca; }
.detail-list div { padding: 20px; background: var(--muse-surface); }
.detail-list strong { display: block; margin-bottom: 6px; color: var(--muse-accent); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.experience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.experience-card { position: relative; min-height: 540px; overflow: hidden; color: #fff; box-shadow: var(--muse-shadow); }
.experience-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.experience-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,19,17,.85)); }
.experience-card-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 34px; }
.experience-card h2 { margin: 0; font-family: var(--muse-heading-font); font-size: 38px; font-weight: 400; }
.experience-card:hover img { transform: scale(1.04); }
.award-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #d7d1c5; }
.award-item { padding: clamp(34px, 6vw, 74px); background: var(--muse-surface); }
.award-year { color: var(--muse-accent); font-family: var(--muse-heading-font); font-size: 54px; }
.award-item h2 { margin: 12px 0; font-size: 22px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(55px, 9vw, 130px); }
.contact-panel { padding: 42px; background: var(--muse-footer); color: var(--muse-footer-text); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.contact-form input,
.contact-form textarea,
.contact-form select { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #b8b1a3; background: transparent; color: var(--muse-text); }
.contact-form button { grid-column: 1 / -1; justify-self: start; cursor: pointer; }
.inner-page-content { max-width: 860px; margin-top: 56px; }

@media (max-width: 980px) {
	body.admin-bar .site-header { top: 46px; }
	.muse-container { width: min(calc(100% - 40px), var(--muse-container)); }
	.header-utility, .primary-navigation { display: none; }
	.header-main { grid-template-columns: 1fr auto; min-height: 86px; border: 0; }
	.menu-toggle {
		display: grid;
		place-items: center;
		width: 52px;
		height: 52px;
		border: 1px solid rgba(255,255,255,.7);
		border-radius: 50%;
		background: rgba(0,0,0,.2);
		color: #fff;
		cursor: pointer;
	}
	.primary-navigation.is-open {
		position: fixed;
		inset: 0;
		z-index: 200;
		display: grid;
		place-items: center;
		background: rgba(44,42,36,.98);
	}
	.primary-navigation.is-open .primary-menu { flex-direction: column; gap: 8px; }
	.primary-navigation.is-open .primary-menu a { padding: 10px; font-size: 18px; }
	.primary-navigation.is-open .sub-menu { position: static; min-width: 0; padding: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; text-align: center; }
	.primary-navigation.is-open .sub-menu a { padding: 6px 10px; font-size: 13px; opacity: .75; }
	.primary-navigation.is-open + .menu-toggle { position: fixed; z-index: 201; top: 22px; right: 22px; }
	.intro-grid { gap: 54px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-nav { grid-column: 1 / -1; }
	.archive-grid { grid-template-columns: repeat(2, 1fr); }
	.experience-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	body.muse-has-mobile-dock { padding-bottom: 86px; }
	.muse-container { width: min(calc(100% - 34px), var(--muse-container)); }
	.site-header { position: absolute; }
	.header-inner { padding-top: 12px; }
	.header-main { display: flex; justify-content: space-between; min-height: 78px; }
	.custom-logo { max-width: 118px; max-height: 56px; }
	.site-title { padding-bottom: 10px; font-size: 20px; }
	.hero,
	.hero-content { min-height: 100svh; }
	.hero-content { padding-bottom: 110px; }
	.hero-caption { font-size: clamp(38px, 13vw, 62px); }
	.hero-progress { bottom: 46px; width: 120px; }
	.muse-section { padding: 76px 0; }
	.muse-section.has-dots::before,
	.muse-section.has-dots::after { width: 140px; height: 220px; }
	.intro-grid { grid-template-columns: 1fr; gap: 44px; }
	.display-title { font-size: clamp(42px, 14vw, 67px); }
	.intro-image { order: -1; }
	.section-title { font-size: 45px; }
	.featured-event { grid-template-columns: 1fr; margin-bottom: 55px; }
	.featured-event-image { min-height: 235px; }
	.featured-event-copy { padding: 28px; }
	.finder-fields { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
	.finder-field { border-right: 0; border-bottom: 1px solid #ddd8cc; }
	.finder-submit { width: 100%; }
	.experience-finder { margin-bottom: 70px; }
	.card-grid { grid-template-columns: 1fr; gap: 42px; }
	.beyond-title { text-align: left; font-size: 45px; }
	.beyond-card { padding: 34px 24px; }
	.footer-grid { grid-template-columns: 1fr; gap: 35px; }
	.footer-nav { grid-column: auto; }
	.footer-menu { columns: 2; }
	.footer-bottom { flex-direction: column; }
	.mobile-dock {
		position: fixed;
		z-index: 150;
		left: 0;
		bottom: 0;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		width: 100%;
		height: 86px;
		padding: 8px 5px 6px;
		background: rgba(255,255,255,.97);
		box-shadow: 0 -8px 24px rgba(0,0,0,.08);
	}
	.mobile-dock a,
	.mobile-dock button {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		border: 0;
		background: transparent;
		color: var(--muse-text);
		font-size: 11px;
	}
	.mobile-dock .dock-menu {
		width: 70px;
		height: 70px;
		margin: -28px auto 0;
		border-radius: 50%;
		background: var(--muse-accent);
		color: #fff;
		box-shadow: 0 8px 20px rgba(65,55,38,.22);
	}
	.dock-icon { font-size: 23px; line-height: 1; }
	.back-to-top { right: 18px; bottom: 105px; width: 50px; height: 50px; }
	.content-area { padding-top: 130px; }
	.archive-grid { grid-template-columns: 1fr; }
	.inner-hero { min-height: 74svh; padding: 140px 0 60px; }
	.inner-title { font-size: clamp(54px, 18vw, 78px); }
	.editorial-split,
	.editorial-split.is-reversed,
	.contact-layout { grid-template-columns: 1fr; }
	.editorial-split.is-reversed .editorial-media { order: 0; }
	.editorial-media img { min-height: 350px; }
	.experience-grid { grid-template-columns: 1fr; }
	.experience-card { min-height: 450px; }
	.award-grid { grid-template-columns: 1fr; }
	.contact-form { grid-template-columns: 1fr; }
	.contact-form .full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-video { display: none; }
	* { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
