/* Home page (frontend/pages/index). Colours and fonts come from site-chrome.css (--sw-*). */

.hm {
	--hm-navy: #0F2152;
	--hm-text: #4A5B74;
	--hm-line: #D7E6F3;
	--hm-orange: #D9480F;
	float: none; clear: both; width: 100%;
	background: #EAF4FB; color: var(--sw-ink); font: 400 15px/1.6 var(--sw-font);
}
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm h1, .hm h2 { font-family: var(--sw-display); color: var(--sw-ink); letter-spacing: 0; margin: 0; }
.hm p { margin: 0; }
.hm ul { margin: 0; padding: 0; list-style: none; }
.hm a { text-decoration: none; }
.hm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------------ hero */
.hm-hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 80% 20%, #1A3B85 0%, var(--hm-navy) 55%, #0A1838 100%); color: #fff; }
/* Icicles hanging from the bottom of the navbar. */
.hm-hero::before {
	content: ""; position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 71px;
	background: url(../img/ice.png) repeat-x left top; pointer-events: none;
}
.hm-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hm-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 72px; }
.hm-pill {
	display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px !important; padding: 6px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .12); color: #BFE0FA; font-size: 13px; font-weight: 600;
}
.hm-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; line-height: 1.08; }
.hm-lead { max-width: 520px; margin-top: 22px !important; color: rgba(255, 255, 255, .86); font-size: 17px; line-height: 1.65; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hm-btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 14px; font: 700 15px/1 var(--sw-font); transition: transform .15s, background .15s; }
.hm-btn:hover { transform: translateY(-1px); text-decoration: none; }
.hm-btn-primary { background: var(--hm-orange); color: #fff; box-shadow: 0 10px 24px rgba(217, 72, 15, .35); }
.hm-btn-primary:hover { background: #C13F0C; color: #fff; }
.hm-btn-ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.hm-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; margin: 34px 0 0; }
.hm-facts div { padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .07); }
.hm-facts dt { font: 700 22px/1.2 var(--sw-display); color: #fff; }
.hm-facts dd { margin: 2px 0 0; color: rgba(255, 255, 255, .7); font-size: 13px; }
.hm-hero-art { position: relative; justify-self: end; width: 100%; max-width: 480px; }
.hm-hero-art img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 70px rgba(0, 8, 30, .55); }

/* ------------------------------------------------------------------ sections */
.hm-section { padding: 72px 0 0; }
.hm-section-tight { padding-top: 56px; }
.hm-section-last { padding-bottom: 80px; }
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.hm-eyebrow { margin-bottom: 6px !important; color: #1D6FA8; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hm h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.15; }
.hm-more { color: #0D5D93; font-weight: 700; font-size: 14px; text-decoration: underline !important; white-space: nowrap; }
.hm-more:hover { color: var(--sw-navy); }

/* activities */
.hm-activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hm-activities a { display: block; height: 100%; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(16, 60, 110, .08); transition: transform .2s, box-shadow .2s; }
.hm-activities a:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(16, 60, 110, .14); }
.hm-activities img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: #DCEBF7; }
.hm-card-body { display: block; padding: 16px 18px 18px; }
.hm-card-body strong { display: block; color: var(--sw-ink); font-size: 17px; }
.hm-card-body small { color: var(--hm-text); font-size: 13px; }

/* tickets */
.hm-tickets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 36px; align-items: center; padding: 40px 36px; border-radius: 28px; background: #fff; box-shadow: 0 12px 34px rgba(16, 60, 110, .08); }
.hm-tickets-copy p:not(.hm-eyebrow) { margin: 14px 0 12px !important; color: var(--hm-text); }
.hm-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.hm-prices li { position: relative; padding: 18px 16px; border: 1.5px solid var(--hm-line); border-radius: 18px; }
.hm-price-name { display: block; color: var(--hm-text); font-size: 13px; font-weight: 600; }
.hm-prices strong { display: block; margin-top: 4px; font: 700 28px/1.2 var(--sw-display); color: var(--sw-ink); }
.hm-prices small { color: var(--hm-text); font-size: 12px; }
.hm-prices li.is-busy { border-color: var(--hm-navy); background: var(--hm-navy); }
.hm-prices li.is-busy .hm-price-name, .hm-prices li.is-busy small { color: rgba(255, 255, 255, .75); }
.hm-prices li.is-busy strong { color: #fff; }
.hm-badge { position: absolute; top: 14px; right: 12px; padding: 2px 8px; border-radius: 999px; background: var(--sw-yellow); color: var(--sw-ink); font-size: 10px; font-weight: 700; }

/* before you go */
.hm-before { padding: 34px 36px; border: 1.5px dashed #A9C9E3; border-radius: 28px; background: rgba(255, 255, 255, .55); }
.hm-before ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 22px; }
.hm-before li { display: flex; gap: 12px; }
.hm-icon { flex: 0 0 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #DCEEFB; color: #1D6FA8; }
.hm-before strong { display: block; font-size: 14px; }
.hm-before p { color: var(--hm-text); font-size: 13px; line-height: 1.5; }
.hm-before a { color: #0D5D93; font-weight: 700; text-decoration: underline; }

/* characters */
.hm-gang { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.hm-gang a { display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; padding: 18px 10px 16px; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(16, 60, 110, .07); transition: transform .2s; }
.hm-gang a:hover { transform: translateY(-3px); }
.hm-gang img { height: 96px; width: auto; max-width: 100%; object-fit: contain; }
.hm-gang span { color: #1D6FA8; font: 700 16px/1.2 var(--sw-display); }

/* groups */
.hm-groups { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; align-items: center; padding: 44px 40px; border-radius: 28px; background: var(--hm-navy); color: #fff; }
.hm-groups h2 { color: #fff; }
.hm-groups .hm-eyebrow { color: #8CC8F2; }
.hm-groups p:not(.hm-eyebrow) { margin-top: 14px !important; color: rgba(255, 255, 255, .78); }
.hm-groups ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hm-groups a { display: block; height: 100%; padding: 18px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .07); color: #fff; transition: background .15s; }
.hm-groups a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.hm-groups strong { display: block; font-size: 16px; }
.hm-groups small { color: rgba(255, 255, 255, .7); font-size: 13px; }

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 991px) {
	.hm-hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 68px; padding-bottom: 56px; }
	.hm-hero-art { justify-self: center; max-width: 420px; }
	.hm-tickets, .hm-groups { grid-template-columns: 1fr; }
	.hm-before ul { grid-template-columns: repeat(2, 1fr); }
	.hm-gang { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
	.hm-wrap { padding-left: 16px; padding-right: 16px; }
	.hm-hero::before { height: 48px; background-size: auto 48px; }
	.hm-activities { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.hm-card-body { padding: 12px 14px 14px; }
	.hm-card-body strong { font-size: 15px; }
	.hm-facts { grid-template-columns: 1fr 1fr; }
	.hm-tickets, .hm-before, .hm-groups { padding: 28px 20px; border-radius: 22px; }
	.hm-groups ul { grid-template-columns: 1fr; }
	.hm-head { flex-wrap: wrap; }
	.hm-section { padding-top: 52px; }
}
@media (max-width: 480px) {
	.hm-activities { grid-template-columns: 1fr; }
	.hm-before ul { grid-template-columns: 1fr; }
	.hm-gang { grid-template-columns: repeat(2, 1fr); }
	.hm-cta .hm-btn { flex: 1 1 auto; justify-content: center; }
}
