/* ============================================================================
   Pre-launch landing — templates/front-page-prelaunch.html and its patterns
   (parts/header-prelaunch.html, hero-prelaunch, prelaunch-newsletter).
   Reuses the home hero + about + Vibemap section styles; only the header anchor
   nav and the dark newsletter band are net-new.
   ========================================================================== */

/* In-page anchor targets, offset for the sticky header. */
.hmd-anchor { display: block; height: 0; margin: 0; scroll-margin-top: 100px; }

/* ── Header anchor nav (scrolls within the one-pager) ─────────────────────*/
.hmd-prelaunch-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.hmd-prelaunch-nav a { color: var(--ink); text-decoration: none; opacity: 0.85; transition: opacity .15s ease, color .15s ease; }
.hmd-prelaunch-nav a:hover { opacity: 1; color: var(--magenta); }
.hmd-prelaunch-nav__cta {
	background: var(--magenta);
	color: #fff !important;
	opacity: 1 !important;
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	letter-spacing: 0.1em;
}
.hmd-prelaunch-nav__cta:hover { background: var(--magenta-deep); color: #fff !important; }

/* ── Directory: centered heading above the Vibemap map ────────────────────*/
.hmd-maphead { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.hmd-maphead .hmd-eyebrow { justify-content: center; }
.hmd-maphead__title {
	font-family: var(--font-display); font-weight: 900;
	font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 0.95;
	margin: 0.5rem 0 0.75rem; color: var(--ink);
}
.hmd-maphead__lede { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.6; margin: 0; }

/* ── Newsletter band (pink accent, so it separates from the ink footer) ───*/
.hmd-prelaunch-news .hmd-eyebrow { color: var(--ink); }
.hmd-prelaunch-news__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	align-items: center;
}
.hmd-prelaunch-news__title {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(2rem, 4vw, 3rem);
	letter-spacing: -0.03em;
	line-height: 0.95;
	margin: 0.5rem 0 1rem;
	color: var(--ink);
}
.hmd-prelaunch-news__title .accent { color: #fff; }
.hmd-prelaunch-news__lede { color: rgba(26, 26, 46, 0.82); font-size: 1.0625rem; line-height: 1.6; margin: 0; max-width: 34rem; }

/* Placeholder form (shown until Gravity Forms is installed + the form imported) */
.hmd-news-fallback__label {
	display: block;
	font-family: var(--font-body);
	font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
	color: rgba(26, 26, 46, 0.7); margin-bottom: 0.6rem;
}
.hmd-news-fallback__row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hmd-news-fallback__input {
	flex: 1 1 240px;
	background: #fff;
	border: 2px solid transparent;
	border-radius: 12px;
	padding: 15px 18px; color: var(--ink); font-size: 1rem;
	transition: border-color .15s ease;
}
.hmd-news-fallback__input::placeholder { color: var(--ink-soft); }
.hmd-news-fallback__input:focus { outline: 0; border-color: var(--ink); }
.hmd-news-fallback__btn {
	background: var(--ink); color: #fff; border: 0; border-radius: 999px;
	font-family: var(--font-display); font-weight: 900; font-size: 0.85rem;
	letter-spacing: 0.08em; text-transform: uppercase; padding: 0 1.75rem; cursor: pointer;
	transition: background .15s ease;
}
.hmd-news-fallback__btn:hover { background: var(--magenta-deep); }
.hmd-news-fallback__note { font-size: 0.75rem; color: rgba(26, 26, 46, 0.6); margin: 0.85rem 0 0; }

/* ── Gravity Forms skin (applies once GF renders the form on the pink band) ─*/
.hmd-prelaunch-news .gform_wrapper .gfield_label { color: rgba(26, 26, 46, 0.7) !important; font-family: var(--font-body) !important; font-size: 0.6875rem !important; font-weight: 800 !important; letter-spacing: 0.14em !important; text-transform: uppercase !important; }
.hmd-prelaunch-news .gform_wrapper input[type=email],
.hmd-prelaunch-news .gform_wrapper input[type=text] {
	background: #fff !important; border: 2px solid transparent !important;
	border-radius: 12px !important; padding: 15px 18px !important; color: var(--ink) !important; font-size: 1rem !important;
}
.hmd-prelaunch-news .gform_wrapper input:focus { border-color: var(--ink) !important; box-shadow: none !important; outline: 0 !important; }
.hmd-prelaunch-news .gform_wrapper .gform_footer input[type=submit],
.hmd-prelaunch-news .gform_wrapper .gform_footer button {
	background: var(--ink) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
	font-family: var(--font-display) !important; font-weight: 900 !important; text-transform: uppercase !important;
	letter-spacing: 0.08em !important; padding: 1rem 2rem !important; cursor: pointer !important;
}
.hmd-prelaunch-news .gform_wrapper .gform_footer input[type=submit]:hover { background: var(--magenta-deep) !important; }

/* ── Pre-launch footer (brand + contact + on-page nav; no links away) ─────*/
.hmd-footer__pre-grid { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.hmd-footer--prelaunch .hmd-footer__brand { max-width: none; }
.hmd-footer--prelaunch .hmd-footer__contact { flex-direction: row; flex-wrap: wrap; gap: 2rem 3.5rem; }
.hmd-footer__pre-nav { display: flex; flex-direction: column; gap: 0.65rem; align-items: flex-start; }
.hmd-footer__pre-nav .hmd-footer__office-h { margin: 0; }
.hmd-footer__pre-nav a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 0.8125rem; }
.hmd-footer__pre-nav a:hover { color: var(--pink); }
.hmd-footer__pre-cta { color: var(--yellow) !important; font-weight: 800; margin-top: 0.25rem; }

/* ── Responsive ───────────────────────────────────────────────────────────*/
@media (max-width: 900px) {
	.hmd-prelaunch-news__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 782px) {
	/* Below the tablet breakpoint the compact wordmark + anchor links + CTA no
	   longer fit on one line, so the pill used to wrap to a second row. Keep the
	   header to a single tidy row: logo on the left, the "Notify Me" CTA on the
	   right, and drop the in-page anchor links (the page is a scroll on mobile). */
	.hmd-header--prelaunch .hmd-mainbar > .alignwide { flex-wrap: nowrap; gap: 1rem; }
	.hmd-header--prelaunch .hmd-logo { flex: 0 1 auto; min-width: 0; }
	/* Keep the full stacked lockup (with the "Business Improvement District" line)
	   on mobile — scaled down proportionally — instead of the wordmark-only mark. */
	.hmd-header--prelaunch .hmd-logo .hmd-logo__img--full { display: block; height: auto; width: min(300px, 54vw); }
	.hmd-header--prelaunch .hmd-logo .hmd-logo__img--compact { display: none; }
	.hmd-prelaunch-nav { flex: 0 0 auto; gap: 1rem; font-size: 0.6875rem; }
	.hmd-prelaunch-nav a:not(.hmd-prelaunch-nav__cta) { display: none; }
	.hmd-prelaunch-nav__cta { white-space: nowrap; }
	.hmd-footer--prelaunch .hmd-footer__contact { flex-direction: column; gap: 1.5rem; }
}
@media (max-width: 420px) {
	/* Tightest phones: trim the lockup a touch more so the CTA never crowds it. */
	.hmd-header--prelaunch .hmd-logo .hmd-logo__img--full { width: min(280px, 52vw); }
	.hmd-prelaunch-nav__cta { padding: 0.6rem 1.05rem; }
}

/* ── Instagram band (between the map and the calendar) ────────────────────*/
.hmd-ig-band__grid {
	display: grid;
	grid-template-columns: 1.2fr auto;
	gap: 3rem;
	align-items: center;
}
.hmd-ig-band__title {
	font-size: clamp(2.25rem, 4.5vw, 3.75rem);
	letter-spacing: -0.03em;
	line-height: 0.95;
	margin: 0 0 1rem;
	color: #fff;
}
.hmd-ig-band__title .accent { color: var(--pink); }
.hmd-ig-band__lede {
	font-size: 1rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
	max-width: 480px;
	margin: 0;
}
.hmd-ig-band__action { justify-self: end; }
.hmd-ig-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.125rem 2rem;
	border-radius: 999px;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(135deg, var(--yellow) 0%, var(--coral) 45%, var(--magenta) 100%);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	white-space: nowrap;
	transition: transform .15s ease, box-shadow .15s ease;
}
.hmd-ig-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(200, 23, 122, 0.35);
}
.hmd-ig-btn:focus-visible {
	outline: 3px solid var(--yellow);
	outline-offset: 3px;
}
.hmd-ig-btn__ico { width: 22px; height: 22px; flex: none; }

@media (max-width: 900px) {
	.hmd-ig-band__grid { grid-template-columns: 1fr; gap: 2rem; }
	.hmd-ig-band__action { justify-self: start; }
}
