@charset "utf-8";
/* =========================================================================
   Crowne Plaza Atlanta-Midtown — wayfinding kiosk
   -------------------------------------------------------------------------
   Authored against the 1920x1080 floor-plan artwork in /img. Every size in
   this file is in artwork pixels; js/app.js scales .stage to the display.

   Colours are sampled from the artwork so the interface sits inside the
   printed design rather than on top of it.
   ========================================================================= */

:root {
	--plum:        #821a55;
	--plum-dark:   #5f1240;
	--pink:        #d11875;
	--teal:        #099eb2;
	--teal-dark:   #06798a;
	--paper:       #ffffff;
	--page:        #e1dddc;
	--ink:         #2b2a2e;
	--ink-soft:    #6d6a71;
	--line:        #d9d4d3;
	--grey:        #928886;
	--shadow:      0 12px 34px rgba(43, 42, 46, .18);
	--radius:      10px;
	--font:        "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

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

html, body {
	height: 100%;
	margin: 0;
	background: #0d0b0e;
	font-family: var(--font);
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
}

/* A kiosk is a fixed, untouchable canvas: no scrolling, no text selection,
   no long-press callouts, no 300ms tap delay. */
body {
	overflow: hidden;
	touch-action: manipulation;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

button { font: inherit; color: inherit; cursor: pointer; }

.is-hidden { display: none !important; }


/* ------------------------------------------------------------ the stage */

.kiosk { position: fixed; inset: 0; }

.stage {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1920px;
	height: 1080px;
	transform-origin: center center;   /* transform itself is set by app.js */
	overflow: hidden;
	background: var(--page);
}

.backdrop {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: opacity .18s ease-in;
}

.view { position: absolute; inset: 0; }


/* ------------------------------------------------- map view: pins */

.pins { position: absolute; inset: 0; }

/* Each pin sits just clear of the room name printed on the artwork and
   states the largest number of guests that space holds — the capacity is
   readable at a glance, without a tap. */
.pin {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 5px;
	height: 36px;
	padding: 0 13px;
	transform: translate(-50%, -50%);
	border: 3px solid var(--paper);
	border-radius: 100px;
	background: var(--plum);
	color: var(--paper);
	white-space: nowrap;
	box-shadow: 0 5px 14px rgba(0, 0, 0, .35);
	transition: transform .12s ease-out, background-color .12s ease-out;
}

.pin:hover  { transform: translate(-50%, -50%) scale(1.08); }
.pin:active { transform: translate(-50%, -50%) scale(.96); }

.pin__count { font-size: 21px; font-weight: 700; line-height: 1; letter-spacing: -.4px; }
.pin__unit  { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; opacity: .78; }

/* Restaurants, bars and amenities carry no capacity — just a tappable dot. */
.pin--amenity,
.pin--outlet {
	width: 34px;
	height: 34px;
	padding: 0;
	justify-content: center;
	border-width: 2px;
	background: var(--grey);
}

.pin__dot { font-size: 17px; font-weight: 700; font-style: italic; line-height: 1; }

.pin.is-selected {
	background: var(--pink);
	transform: translate(-50%, -50%) scale(1.12);
	box-shadow: 0 0 0 7px rgba(209, 24, 117, .25), 0 5px 14px rgba(0, 0, 0, .35);
}

.pin:focus-visible { outline: 4px solid var(--teal); outline-offset: 4px; }


/* ------------------------------------- map view: floor capacity summary */

/* Sits in the empty artwork under the printed legend. */
.summary {
	position: absolute;
	left: 88px;
	top: 752px;
	width: 316px;
}

.summary.is-empty { display: none; }

.summary__title {
	margin: 0 0 12px;
	font-size: 21px;
	font-weight: 700;
	letter-spacing: .3px;
	color: var(--plum);
	text-transform: none;
}

.summary__list {
	margin: 0;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 7px 12px;
	font-size: 15px;
	line-height: 1.25;
}

.summary__list dt { color: var(--ink-soft); }
.summary__list dd { margin: 0; text-align: right; font-weight: 700; color: var(--ink); }

.summary__hint {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.35;
	color: var(--ink-soft);
	font-style: italic;
}


/* ------------------------------------------- map view: capacity card */

/* The band of empty artwork between the floor plan and the printed footer. */
.card {
	position: absolute;
	left: 480px;
	top: 692px;
	width: 1096px;
	height: 238px;
	display: flex;
	gap: 0;
	background: var(--paper);
	border-radius: var(--radius);
	border-top: 5px solid var(--pink);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.card.is-prompt {
	align-items: center;
	justify-content: center;
	height: 92px;
	top: 780px;
	left: 620px;
	width: 820px;
	background: rgba(255, 255, 255, .82);
	border-top-color: var(--teal);
}

/* Amenities have no capacity table, so the card collapses to fit. */
.card.is-amenity { width: 792px; }

.card.is-amenity .card__body { justify-content: center; text-align: center; }

.card__prompt {
	margin: 0;
	padding: 0 40px;
	text-align: center;
	font-size: 19px;
	line-height: 1.4;
	color: var(--ink-soft);
}

/* left column */
.card__head {
	flex: 0 0 288px;
	padding: 18px 20px;
	background: var(--plum);
	color: var(--paper);
}

.card__eyebrow {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .7);
}

.card__name {
	margin: 0 0 12px;
	font-size: 27px;
	font-weight: 700;
	line-height: 1.1;
}

.card__specs {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.card__specs li {
	padding: 4px 9px;
	border-radius: 100px;
	background: rgba(255, 255, 255, .16);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.card__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, .82);
}

/* middle column */
.card__body {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	min-width: 0;
}

.card__headline {
	flex: 0 0 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-right: 16px;
	border-right: 1px solid var(--line);
}

.card__headline-num {
	font-size: 58px;
	font-weight: 700;
	line-height: 1;
	color: var(--pink);
	letter-spacing: -2px;
}

.card__headline-label {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	text-align: center;
	white-space: pre-line;
	color: var(--ink-soft);
}

.capgrid {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px 10px;
	min-width: 0;
}

/* Value over label keeps every seating configuration on one line at the
   width the artwork leaves us. */
.capgrid__cell {
	display: grid;
	align-content: center;
	gap: 1px;
	padding: 7px 10px;
	border-radius: 7px;
	background: #f5f2f2;
}

.capgrid__cell.is-na { opacity: .45; }

.capgrid__value {
	font-size: 25px;
	font-weight: 700;
	line-height: 1.05;
	color: var(--teal-dark);
}

.capgrid__label { font-size: 13px; font-weight: 700; line-height: 1.1; }
.capgrid__hint  { font-size: 10px; color: var(--ink-soft); line-height: 1.15; }

.card__amenity {
	margin: 0;
	font-size: 19px;
	color: var(--ink-soft);
}

/* right column */
.card__aside {
	flex: 0 0 236px;
	padding: 16px 18px;
	border-left: 1px solid var(--line);
	background: #faf8f8;
	display: flex;
	flex-direction: column;
}

.card__aside-title {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.card__bookings { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }

.booking {
	display: grid;
	gap: 1px;
	padding-left: 10px;
	border-left: 3px solid var(--line);
	line-height: 1.2;
}

.booking--now   { border-left-color: var(--pink); }
.booking--ended { opacity: .5; }

.booking__time  { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.booking__title { font-size: 14px; font-weight: 600; }

.card__aside-more,
.card__aside-empty {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--ink-soft);
}

.card__close {
	margin-top: auto;
	align-self: flex-start;
	padding: 9px 20px;
	border: 1px solid var(--line);
	border-radius: 100px;
	background: var(--paper);
	font-size: 14px;
	font-weight: 700;
	color: var(--ink-soft);
}

.card__close:active { background: var(--page); }


/* ================================================= FIND YOUR EVENT view */

/* 272px clears the printed swoosh; 150px clears the printed footer. */
.events { padding: 272px 60px 150px; }

.events__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--plum);
}

.events__title {
	margin: 0;
	font-size: 40px;
	font-weight: 700;
	color: var(--plum);
	letter-spacing: -.5px;
}

.events__date {
	margin: 6px 0 0;
	font-size: 19px;
	color: var(--ink-soft);
}

.events__now { text-align: right; }

.events__clock {
	display: block;
	font-size: 34px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1;
}

.events__count {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--teal-dark);
}

.events__controls {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 18px 0 18px;
}

.search { position: relative; flex: 0 0 620px; }

.search__label {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.search__input {
	width: 100%;
	height: 62px;
	padding: 0 56px 0 22px;
	border: 2px solid var(--line);
	border-radius: 100px;
	background: var(--paper);
	font: inherit;
	font-size: 20px;
	color: var(--ink);
	box-shadow: 0 3px 10px rgba(43, 42, 46, .06);
}

.search__input::placeholder { color: #a49fa3; }
.search__input:focus { outline: none; border-color: var(--pink); }

.search__clear {
	position: absolute;
	top: 50%;
	right: 12px;
	width: 40px;
	height: 40px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 50%;
	background: var(--page);
	font-size: 17px;
	line-height: 1;
	color: var(--ink-soft);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
	height: 50px;
	padding: 0 22px;
	border: 2px solid var(--line);
	border-radius: 100px;
	background: rgba(255, 255, 255, .75);
	font-size: 17px;
	font-weight: 600;
	color: var(--ink-soft);
}

.chip.is-active {
	border-color: var(--plum);
	background: var(--plum);
	color: var(--paper);
}

/* the board itself */
.events__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 124px;
	gap: 13px;
	height: 452px;
	padding-right: 14px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	/* Fades the last row so it is obvious the board scrolls. */
	mask-image: linear-gradient(to bottom, #000 86%, rgba(0, 0, 0, .15) 100%);
}

.events__list::-webkit-scrollbar { width: 12px; }
.events__list::-webkit-scrollbar-track { background: rgba(0, 0, 0, .05); border-radius: 100px; }
.events__list::-webkit-scrollbar-thumb { background: var(--grey); border-radius: 100px; }

.events__empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 40px;
	font-size: 22px;
	color: var(--ink-soft);
	text-align: center;
}

.event {
	position: relative;
	display: grid;
	grid-template-rows: auto auto auto 1fr;
	gap: 3px;
	padding: 12px 15px;
	border: 0;
	border-left: 6px solid var(--teal);
	border-radius: var(--radius);
	background: var(--paper);
	text-align: left;
	box-shadow: 0 3px 12px rgba(43, 42, 46, .10);
	transition: transform .1s ease-out, box-shadow .1s ease-out;
}

.event:active { transform: translateY(1px); box-shadow: 0 1px 6px rgba(43, 42, 46, .12); }
.event:focus-visible { outline: 4px solid var(--pink); outline-offset: 3px; }

.event--now    { border-left-color: var(--pink); }
.event--ended  { border-left-color: var(--line); opacity: .55; }

.event__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }

.event__time { font-size: 14px; font-weight: 700; color: var(--ink-soft); }

.event__status {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 100px;
	background: var(--page);
	color: var(--ink-soft);
	white-space: nowrap;
}

.event--now .event__status { background: var(--pink); color: var(--paper); }

.event__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.event__host {
	margin: 0;
	font-size: 13px;
	color: var(--ink-soft);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.event__where { display: flex; align-items: baseline; gap: 8px; align-self: end; }

.event__room  { font-size: 15px; font-weight: 700; color: var(--plum); }
.event__floor { font-size: 12px; color: var(--ink-soft); }

.event__cta {
	position: absolute;
	right: 14px;
	bottom: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .6px;
	color: var(--teal-dark);
}


/* --------------------------------------------------- on-screen keyboard */

.keyboard {
	position: absolute;
	left: 50%;
	bottom: 160px;
	transform: translateX(-50%);
	width: 1180px;
	padding: 18px 18px 22px;
	border-radius: 18px;
	background: rgba(35, 33, 37, .96);
	box-shadow: var(--shadow);
}

.keyboard__row { display: flex; justify-content: center; gap: 10px; margin-bottom: 10px; }
.keyboard__row:last-child { margin-bottom: 0; }

.key {
	min-width: 96px;
	height: 68px;
	padding: 0 14px;
	border: 0;
	border-radius: 9px;
	background: #4a464c;
	color: var(--paper);
	font-size: 24px;
	font-weight: 600;
}

.key:active { background: var(--pink); }
.key--wide  { min-width: 150px; font-size: 20px; }
.key--space { flex: 0 0 520px; font-size: 18px; }
.key--done  { min-width: 150px; background: var(--teal-dark); font-size: 20px; }


/* ============================================= hotspots over the artwork */

/* The footer buttons are part of the background artwork; these transparent
   targets sit exactly on top of them (coordinates measured from the JPGs). */
.hotspots { position: absolute; inset: 0; pointer-events: none; }

.hotspot {
	position: absolute;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	pointer-events: auto;
}

.hotspot:active { background: rgba(255, 255, 255, .22); }
.hotspot:focus-visible { outline: 3px solid var(--paper); outline-offset: -3px; }

.hotspot--page { top: 968px; width: 342px; height: 85px; }

#nav-maps   { left: 45px; }
#nav-events { left: 431px; }

.floor-nav { position: absolute; inset: 0; pointer-events: none; }

.hotspot--floor { top: 1005px; width: 191px; height: 48px; }

/* Lobby / Ballroom / 3rd / 4th / 25th, left to right in the artwork. */
.hotspot--floor:nth-child(1) { left: 852px; }
.hotspot--floor:nth-child(2) { left: 1060px; }
.hotspot--floor:nth-child(3) { left: 1267px; }
.hotspot--floor:nth-child(4) { left: 1475px; }
.hotspot--floor:nth-child(5) { left: 1682px; }
