:root {
	--color-hilton-blue: #002F61;
	--color-hilton-blue-hover: #00448D;
	--color-hilton-beige: #C2B7A2;
	--color-hilton-beige-muted: #D8CFBE;
}

* {
	box-sizing: border-box;
}

::selection {
	background: var(--color-hilton-blue);
	color: white;
}

::-moz-selection {
	background: var(--color-hilton-blue);
	color: white;
}

body {
	background: var(--color-hilton-beige);
	font-family: "Hilton Sans", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: normal;
	color: var(--color-hilton-blue);
	min-width: 360px;
}

@media (min-width: 1440px) {
	body {
		font-size: 18px;
	}
}

header {
	padding: 1em;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
}

header a.logo {
	display: block;
	width: 8em;
}

header a.logo img {
	display: block;
	width: 100%;
	height: auto;
}

a.menu-opener {
	display: block;
	width: 3em;
	height: 3em;
	position: relative;
	background: var(--color-hilton-blue);
	color: white;
	border-radius: 0.75em;
	border: 1px solid white;
	text-decoration: none;
}

a.menu-opener:hover {
	background: var(--color-hilton-blue-hover);
}

a.menu-opener i {
	display: block;
	position: absolute;
	top: 50%;
	left: 0.75em;
	right: 0.75em;
	border-top: 1px solid white;
	transition: margin 0.5s, opacity 0.5s, transform 0.5s;
}

a.menu-opener i:first-of-type {
	margin-top: -0.5em;
}

a.menu-opener i:last-of-type {
	margin-top: 0.5em;
}

.menu-open a.menu-opener i {
	transform: rotateZ(135deg);
	margin-top: 0;
	opacity: 0;
}

.menu-open a.menu-opener i:first-of-type {
	opacity: 1;
}

.menu-open a.menu-opener i:last-of-type {
	opacity: 1;
	transform: rotateZ(225deg);
}

@media (max-width: 959px) {
	header a.logo img.dark {
		display: none;
	}
}

@media (min-width: 960px) {
	header a.logo img.light {
		display: none;
	}
}

@media (min-width: 960px) {
	header {
		padding-left: 2em;
		padding-right: 2em;
	}

	a.menu-opener {
		width: auto;
		height: auto;
		padding: 0.5em 1em;
		font-size: 0.75em;
	}

	a.menu-opener i {
		display: none;
	}

	a.menu-opener::before {
		content: "Menu";
		display: block;
		text-transform: uppercase;
		font-weight: 600;
	}

	.menu-open a.menu-opener::before {
		content: "Close";
	}
}

@media (min-width: 1280px) {
	header {
		padding-left: 4em;
	}
}

section.main {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: space-between;
	height: 100vh;
	overflow: hidden;
}

section.main .image {
	display: block;
	position: relative;
	flex-grow: 1;
	flex-shrink: 1;
}

section.main .image img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

section.main .image img.new-hero {
	opacity: 0;
	z-index: 2;
}

section.main .image img.new-hero-loaded {
	opacity: 1;
	transition: opacity 0.5s;
	z-index: 2;
}

section.main .tool {
	padding: 2em 1em;
	flex-grow: 0;
	flex-shrink: 0;
	display: grid;
	grid-template-rows: 1fr 0 auto;
	transition: grid-template-rows 0.5s;
}

section.main .tool.started-1 {
	grid-template-rows: 0fr 0fr auto;
}

section.main .tool.started-2 {
	grid-template-rows: 0fr 1fr auto;
}

section.main .tool .intro {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: flex-end;
	overflow: hidden;
}

section.main .tool .chat {
	flex-grow: 1;
	flex-shrink: 1;
	max-height: 15em;
	position: relative;
	overflow: hidden;
}

section.main .tool.started-2 .chat {
	min-height: 10em;
}

section.main .tool .chat .contents {
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-snap-type: y proximity;
	scroll-behavior: smooth;
	width: calc(100% + 4em);
	padding-right: 6em;
	margin-right: -4em;
	clip-path: polygon(0 0, calc(100% - 4em) 0, calc(100% - 4em) 100%, 0 100%);
}

section.main .tool .chat .scroller {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 1.5em;
	height: calc(100% - 3em);
	z-index: 2;
	cursor: pointer;
}

section.main .tool .chat .scroller::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	margin-left: -1px;
	border-left: 1px solid var(--color-hilton-blue);
	border-right: 1px solid var(--color-hilton-blue);
}

section.main .tool .chat .scroller a {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	width: 1em;
	text-align: center;
	height: 1em;
	line-height: 1em;
	font-family: "hilton-ai-icons";
	font-size: 1.5em;
	text-decoration: none;
	color: var(--color-hilton-blue);
}

section.main .tool .chat .scroller a:hover {
	color: var(--color-hilton-blue-hover);
}

section.main .tool .chat .scroller a.next {
	top: calc(100% + 1em);
}

section.main .tool .chat .scroller a.prev::before {
	content: "\e901";
}

section.main .tool .chat .scroller a.next::before {
	content: "\e900";
}

section.main .tool .chat .scroller .handle {
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	width: 1em;
	height: 1em;
	background: white;
	border-radius: 50%;
	margin-left: -0.5em;
	margin-top: -1em;
	pointer-events: none;
}

@media (min-width: 768px) {
	section.main .tool .chat {
		min-height: 10em;
		max-height: 18em;
	}
}

@media (min-width: 960px) {
	section.main .tool .chat {
		min-height: 0;
		max-height: none;
	}
}

section.main .tool .chat .interaction {
	scroll-snap-align: end;
	min-height: 100%;
}

section.main .tool .chat .interaction + .interaction {
	margin-top: 2em;
}

section.main .tool .chat .interaction .thinking {
	font-family: "Hilton Serif", serif;
	color: var(--color-hilton-blue);
	background: rgba(0, 0, 0, 0.1);
	padding: 0.75em 1em;
	display: table;
	border-radius: 1em;
	width: 10em;
	white-space: nowrap;
}

section.main .tool .chat .interaction .thinking::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 1.5em;
	height: 1.5em;
	margin-right: 6em;
	margin-left: 2em;
	--color-1: #fff;
	font-size: 0.2em;
	text-indent: -9999em;
	animation: mulShdSpin 1.3s infinite linear;
	border-radius: 50%;
}

/* .prompt-input::after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	--color-1: #fff;
	--size: 1px;
	margin-top: -9em;
	margin-left: -0.5em;

	color: var(--color-hilton-blue);
	font-size: calc(10 * var(--size));
	width: 1em;
	height: 1em;
	border-radius: 50%;
	text-indent: -9999em;
	animation: mulShdSpin 1.3s infinite linear;
	transform: translateZ(0);
	z-index: 9;
	pointer-events: none;
	transition: opacity 0.5s;
	opacity: 0;
}

.prompt-input.waiting::after {
	opacity: 1;
	pointer-events: auto;
} */

section.main .tool .chat .input {
	color: white;
	line-height: 1.5em;
	padding-bottom: 2em;
}

section.main .tool .chat .input::after {
	content: "";
	display: block;
	border-bottom: 1px solid currentcolor;
	width: 8em;
	margin-top: 2em;
}

section.main .tool .chat .output {
	line-height: 1.3em;
	font-size: 1.25em;
	font-family: "Hilton Serif", serif;
	margin: 0.5em 0;
	padding-left: 1em;
	position: relative;
}

@media (min-width: 1280px) {
	section.main .tool .chat .output {
		font-size: 1.5em;
	}
}

section.main .tool .chat .output::before {
	content: open-quote;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	font-family: "hilton-ai-icons";
	font-size: 0.5em;
	line-height: 1.5em;
}

section.main .tool .chat .output::after {
	content: close-quote;
	font-family: "hilton-ai-icons";
	font-size: 0.5em;
	vertical-align: top;
	display: inline;
	margin-left: 0.75em;
	margin-bottom: -0.125em;
	line-height: 1em;
}

section.main .tool .chat .interaction .buttons {
	margin-top: 2em;
	transition: opacity 0.5s;
}

section.main .tool .chat .contact-info {
	padding: 0 1rem;
	border-left: 1px solid currentcolor;
	font-size: 0.75em;
	margin: 2rem 0 0 1.75rem;
}

section.main .tool .chat .contact-info .company,
section.main .tool .chat .contact-info .name {
	font-family: "Hilton Serif", serif;
	font-size: 1.4em;
	margin: 0 0 0.5em;
}

section.main .tool .chat .contact-info .email,
section.main .tool .chat .contact-info .phone,
section.main .tool .chat .contact-info .mobile,
section.main .tool .chat .contact-info .website {
	color: inherit;
	text-decoration: none;
	padding: 0.5em 1em 0.5em 2em;
	position: relative;
	display: table;
}

section.main .tool .chat .contact-info .email:hover,
section.main .tool .chat .contact-info .phone:hover,
section.main .tool .chat .contact-info .mobile:hover,
section.main .tool .chat .contact-info .website:hover {
	color: var(--color-hilton-blue-hover);
}

section.main .tool .chat .contact-info .email::before,
section.main .tool .chat .contact-info .phone::before,
section.main .tool .chat .contact-info .mobile::before,
section.main .tool .chat .contact-info .website::before {
	content: "\e904";
	display: block;
	position: absolute;
	top: 0.125em;
	left: 0;
	font-size: 1.5em;
	font-family: "hilton-ai-icons";
}

section.main .tool .chat .contact-info .phone::before { content: "\e903"; }
section.main .tool .chat .contact-info .mobile::before { content: "\e903"; }
section.main .tool .chat .contact-info .website::before { content: "\e902"; }

section.main .tool .chat .gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
	padding: 1em 1.5em;
}

section.main .tool .chat .gallery a {
	display: block;
	position: relative;
	border: 1px solid white;
	border-radius: 0.5em;
	overflow: hidden;
	color: white;
	text-decoration: none;
}

section.main .tool .chat .gallery a::before {
	content: "";
	display: block;
	padding: 56.67% 0 0 0;
	position: relative;
	z-index: 1;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.2s;
}

section.main .tool .chat .gallery a::after {
	content: "\e905";
	display: block;
	position: absolute;
	bottom: 0.5em;
	right: 0.5em;
	width: 1em;
	height: 1em;
	font-family: "hilton-ai-icons";
	text-align: center;
	line-height: 1em;
	z-index: 2;
}

section.main .tool .chat .gallery a:hover::before {
	opacity: 1;
}

section.main .tool .chat .gallery a.video::after {
	content: "\e906";
}

section.main .tool .chat .gallery a img,
section.main .tool .chat .gallery a video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	position: absolute;
	top: 0;
	left: 0;
}

section.main .tool .chat .interaction .recommendations {
	margin-top: 2em;
}

section.main .tool .chat .interaction .recommendation {
	position: relative;
	display: flex;
	padding: 1rem 1.5rem;
	gap: 1.5em;
	max-width: 35em;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: space-between;
	font-size: 0.75em;
	margin: 1em 0;
}

section.main .tool .chat .interaction .recommendation::before {
	content: "";
	display: block;
	width: 8rem;
	border-top: 1px solid var(--color-hilton-blue);
	position: absolute;
	top: -0.5em;
	left: 1.5rem;
}

section.main .tool .chat .interaction .recommendations .thumb {
	display: block;
	width: 10em;
	flex-grow: 1;
	flex-shrink: 0;
	position: relative;
	border-radius: 0.5em;
	border: 1px solid white;
	overflow: hidden;
}

section.main .tool .chat .interaction .recommendations img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

section.main .tool .chat .interaction .recommendations .text {
	align-self: center;
	flex-grow: 1;
	flex-shrink: 1;
}

section.main .tool .chat .interaction .recommendations h3 {
	margin: 0 0 0.5em;
	font-family: "Hilton Serif", serif;
	font-weight: normal;
	font-size: 1.4em;
}

section.main .tool .chat .interaction .buttons,
section.main .tool .chat .interaction .recommendations,
section.main .tool .chat .interaction .contact-info,
section.main .tool .chat .interaction .gallery {
	opacity: 0;
	transition: opacity 0.5s;
}

section.main .tool .chat .interaction.typed .buttons,
section.main .tool .chat .interaction.typed .recommendations,
section.main .tool .chat .interaction.typed .contact-info,
section.main .tool .chat .interaction.typed .gallery {
	opacity: 1;
}

@media (min-width: 768px) {
	section.main .image::before {
		padding: 75% 0 0 0;
	}

	section.main .tool .chat .gallery {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}

@media (min-width: 960px) {
	section.main {
		height: 100vh;
		display: flex;
		flex-direction: row-reverse;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: space-between;
	}

	section.main .image {
		width: calc(50% - 2em);
		margin: 1em;
		border-radius: 1em;
		overflow: hidden;
		flex-grow: 0;
		flex-shrink: 0;
	}

	section.main .image::before {
		display: none;
	}

	section.main .tool {
		padding: 8em 2em 4em 2em;
		flex-grow: 1;
		flex-shrink: 1;
	}

	section.main .tool .chat .interaction .recommendations .thumb {
		width: 14em;
	}
}

@media (min-width: 1280px) {
	section.main .tool {
		padding-left: 4em;
	}
}

h1 {
	font-family: "Hilton Serif", serif;
	font-weight: normal;
	font-size: 2em;
	margin: 0;
}

p {
	line-height: 1.5em;
}

@media (min-width: 1280px) {
	h1 {
		font-size: 3em;
	}
}

.prompt-input {
	margin-top: 2em;
	position: relative;
	flex-grow: 0;
	flex-shrink: 0;
}

.prompt-input::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-hilton-beige);
	z-index: 8;
	opacity: 0;
	transition: opacity 0.5s;
	pointer-events: none;
}

.prompt-input.waiting::before {
	opacity: 0.75;
	pointer-events: auto;
}

@keyframes mulShdSpin {
  0%,
  100% {
    box-shadow:
      0 -3em 0 0.2em,
      2em -2em 0 0em,
      3em 0 0 -1em,
      2em 2em 0 -1em,
      0 3em 0 -1em,
      -2em 2em 0 -1em,
      -3em 0 0 -1em,
      -2em -2em 0 0;
  }
  12.5% {
    box-shadow:
      0 -3em 0 0,
      2em -2em 0 0.2em,
      3em 0 0 0,
      2em 2em 0 -1em,
      0 3em 0 -1em,
      -2em 2em 0 -1em,
      -3em 0 0 -1em,
      -2em -2em 0 -1em;
  }
  25% {
    box-shadow:
      0 -3em 0 -0.5em,
      2em -2em 0 0,
      3em 0 0 0.2em,
      2em 2em 0 0,
      0 3em 0 -1em,
      -2em 2em 0 -1em,
      -3em 0 0 -1em,
      -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow:
      0 -3em 0 -1em,
      2em -2em 0 -1em,
      3em 0em 0 0,
      2em 2em 0 0.2em,
      0 3em 0 0em,
      -2em 2em 0 -1em,
      -3em 0em 0 -1em,
      -2em -2em 0 -1em;
  }
  50% {
    box-shadow:
      0 -3em 0 -1em,
      2em -2em 0 -1em,
      3em 0 0 -1em,
      2em 2em 0 0em,
      0 3em 0 0.2em,
      -2em 2em 0 0,
      -3em 0em 0 -1em,
      -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow:
      0 -3em 0 -1em,
      2em -2em 0 -1em,
      3em 0 0 -1em,
      2em 2em 0 -1em,
      0 3em 0 0,
      -2em 2em 0 0.2em,
      -3em 0 0 0,
      -2em -2em 0 -1em;
  }
  75% {
    box-shadow:
      0em -3em 0 -1em,
      2em -2em 0 -1em,
      3em 0em 0 -1em,
      2em 2em 0 -1em,
      0 3em 0 -1em,
      -2em 2em 0 0,
      -3em 0em 0 0.2em,
      -2em -2em 0 0;
  }
  87.5% {
    box-shadow:
      0em -3em 0 0,
      2em -2em 0 -1em,
      3em 0 0 -1em,
      2em 2em 0 -1em,
      0 3em 0 -1em,
      -2em 2em 0 0,
      -3em 0em 0 0,
      -2em -2em 0 0.2em;
  }
}

.prompt-input .prompt {
	margin-bottom: 2em;
}

.prompt-input textarea {
	display: block;
	background: white;
	padding: 1em;
	font-family: "Hilton Sans", sans-serif;
	font-size: 1em;
	font-style: italic;
	border: none;
	resize: none;
	color: inherit;
	width: 100%;
	height: 5em;
	border-radius: 0.5em;
	outline: 0;
}

.prompt-input .characters {
	float: left;
	padding: 0.5rem 1rem;
	font-size: 0.8em;
}

.prompt-input .characters::after {
	content: " / " attr(data-max) " characters";
}

.prompt-input input[type="submit"] {
	display: block;
	margin-left: auto;
	background: transparent;
	font: inherit;
	font-weight: bold;
	text-transform: uppercase;
	color: inherit;
	cursor: pointer;
	border: none;
	padding: 1em 0.5em;
}

.prompt-input input[type="submit"]:hover {
	color: var(--color-hilton-blue-hover);
}

.prompt-input .options.hidden {
	display: none!important;
}

.prompt-input .options .question {
	text-transform: uppercase;
	text-align: center;
}

.prompt-input .options .answers {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: stretch;
	margin-top: 1em;
	gap: 1em;
}

.prompt-input .options .answers .answer {
	display: flex;
	flex-grow: 0;
	flex-shrink: 0;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	width: calc(50% - 0.5em);
	background: var(--color-hilton-blue);
	color: white;
	padding: 0.75em 1em;
	text-align: center;
	text-decoration: none;
	border-radius: 0.5em;
	flex-grow: 1;
	flex-shrink: 1;
}

.prompt-input .options .answers .answer.hidden {
	display: none!important;
}

.prompt-input .options .answers .answer:hover {
	background: var(--color-hilton-blue-hover);
}

.prompt-input .options .answers .answer span {
	display: block;
}

@media (min-width: 768px) {
	.prompt-input .options .answers {
		flex-wrap: nowrap;
	}

	.prompt-input .options .answers .answer {
		width: auto;
		flex-basis: 0;
	}
}

@media (min-width: 768px) and (max-width: 959px) {
	.prompt-input textarea {
		height: 6em;
	}
}

@media (min-width: 960px) {
	.prompt-input {
		margin-top: 2em;
	}

	.prompt-input .options .question {
		text-align: left;
	}
}

@media (min-width: 1280px) {
	.prompt-input textarea {
		height: 6em;
	}
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-hilton-beige-muted);
	opacity: 0.75;
	z-index: 99;
	transition: opacity 0.5s;
}

.modal-overlay.hidden {
	opacity: 0;
	pointer-events: none;	
}

.modal {
	position: fixed;
	top: 2em;
	left: 2em;
	right: 2em;
	bottom: 2em;
	background: var(--color-hilton-beige);
	z-index: 100;
	box-shadow: 0.25em 0.5em 1em rgba(0, 0, 0, 0.25);
	transition: opacity 0.5s, transform 0.5s;
	display: flex;
	flex-direction: column;
	border-radius: 0.5em;
}

.modal.hidden {
	transform: scale(0.75) translate3d(0, -20em, 0);
	opacity: 0;
	pointer-events: none;
}

.modal .modal-inner {
	display: block;
	height: 100%;
	padding: 2em;
	overflow: hidden;
	overflow-y: auto;
	width: calc(100% + 4em);
	padding-right: 6em;
	clip-path: polygon(0 0, calc(100% - 4em) 0, calc(100% - 4em) 100%, 0 100%);
}

.modal .modal-close {
	display: block;
	position: absolute;
	top: 0;
	left: 100%;
	background: var(--color-hilton-blue);
	color: white;
	text-decoration: none;
	font-size: 2em;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	text-align: center;
	margin-top: -0.75em;
	margin-left: -0.75em;
	border-radius: 50%;
	font-family: "hilton-ai-icons";
	cursor: pointer;
	box-shadow: 0.125rem 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
}

.modal .modal-close:hover {
	background: var(--color-hilton-blue-hover);
}

.modal .modal-close::before {
	content: "x";
}

.modal h3 {
	font-family: "Hilton Serif", serif;
	font-weight: normal;
	font-size: 2em;
	margin: 0 0 0.5em;
}

.modal .buttons {
	margin: 0 0 2em;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0.75em;
}

.button {
	display: inline-block;
	margin: 0;
	background: var(--color-hilton-blue);
	color: white;
	padding: 0.75em 1em;
	text-align: center;
	text-decoration: none;
	border-radius: 0.5em;
	text-decoration: none;
}

.button:hover {
	background: var(--color-hilton-blue-hover);
}

.button.secondary {
	background: transparent;
	color: inherit;
	border: 1px solid currentcolor;
}

.button.secondary:hover {
	background: rgba(255, 255, 255, 0.2);
}

.modal-image,
.modal-video {
	display: block;
	width: 100%;
	height: auto;
	max-height: calc(100vh - 8em);
	object-fit: cover;
	object-position: center center;
}

@media (min-width: 768px) {
	.modal {
		top: 4em;
		left: 4em;
		right: 4em;
		bottom: 4em;
	}

	.modal-image,
	.modal-video {
		max-height: calc(100vh - 12em);
	}
}

@media (min-width: 960px) {
	.modal {
		left: 50%;
		right: auto;
		width: 60em;
		margin-left: -30em;
		bottom: auto;
		height: auto;
		max-height: calc(100vh - 8em);
	}

	.modal-image,
	.modal-video {
		max-height: calc(100vh - 12em);
	}
}