/* ==========================================================================
   GRIT GUIDE — CODED SITE HEADER
   Self-contained. Loads on every page. Replaces the old Elementor header.
   Brand tokens mirror the Companies module (--ggc-*).
   ========================================================================== */

/* ---- Self-hosted Zuume (display) ---- */
@font-face {
	font-family: "Zuume";
	src: url("fonts/Zuume-Regular.otf") format("opentype"),
	     url("fonts/Zuume-Regular.ttf") format("truetype");
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Zuume";
	src: url("fonts/Zuume-Bold.otf") format("opentype"),
	     url("fonts/Zuume-Bold.ttf") format("truetype");
	font-weight: 700; font-style: normal; font-display: swap;
}

.gg-hdr,
.gg-mobile,
.gg-modal {
	/* Colors — exact tokens from the original Elementor header (kit 181). */
	--gg-navy:      #18355E;   /* grit-navy-500 */
	--gg-navy-deep: #0E1E36;   /* grit-bg */
	--gg-black:     #091A2F;   /* grit-navy-900 — nav + display text */
	--gg-pink:      #FF1894;   /* pink-400 */
	--gg-pink-pr:   #E61585;   /* pink-500 */
	--gg-paper:     #FFFFFF;   /* grit-white */
	--gg-card:      #E9EAEB;   /* grey-100 — featured card bg */
	--gg-announce:  #F4F5F5;   /* grey-50 */
	--gg-line:      #D3D5D7;   /* grey-300 — borders */
	--gg-hair:      #E9EAEB;   /* grey-100 — hairlines */
	--gg-grey:      #585B5D;   /* grey-800 */
	--gg-muted:     #19365EAB; /* navy_muted — eyebrows / labels / meta */
	--gg-concrete:  #94989B;   /* grey-500 */
	--gg-disp: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
	--gg-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--gg-raleway: "Raleway", "Helvetica Neue", Arial, sans-serif;
	--gg-wrap: 1280px;
}

/* Reset within the header scopes only */
.gg-hdr *, .gg-mobile *, .gg-modal * { box-sizing: border-box; }
.gg-hdr ul, .gg-mobile ul { list-style: none; margin: 0; padding: 0; }
.gg-hdr a { text-decoration: none; }

/* ==========================================================================
   STICKY SHELL
   ========================================================================== */
.gg-hdr {
	position: sticky;
	top: 0;
	z-index: 900;
	background: var(--gg-paper);
	font-family: var(--gg-body);
	color: var(--gg-navy);
	border-bottom: 1px solid var(--gg-line);
}

/* ---- Announcement bar ---- */
.gg-announce {
	background: var(--gg-announce);
	text-align: center;
	overflow: hidden;
	transition: height .25s ease, opacity .2s ease;
}
.gg-announce-link {
	display: inline-block;
	padding: 8px 16px;
	color: var(--gg-navy);
	font-family: var(--gg-raleway);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.gg-announce-link strong { font-weight: 800; }
.gg-announce-sep { color: var(--gg-concrete); margin: 0 4px; }
.gg-announce-cta { color: var(--gg-navy); border-bottom: 1px solid transparent; }
.gg-announce-link:hover .gg-announce-cta { border-bottom-color: currentColor; }

/* ---- Logo band ---- */
.gg-bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	max-width: var(--gg-wrap);
	margin: 0 auto;
	padding: 20px 32px 16px;
	gap: 16px;
	transition: padding .25s ease;
}
.gg-logo { grid-column: 2; justify-self: center; display: block; }
.gg-logo img {
	display: block;
	height: 68px;
	width: auto;
	transition: height .25s ease;
}
.gg-actions {
	grid-column: 3;
	justify-self: end;
	display: flex;
	gap: 12px;
	align-items: center;
}

/* Buttons */
.gg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--gg-raleway);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 11px 20px;
	border-radius: 0;
	background: var(--gg-navy);
	color: #fff;
	border: 2px solid var(--gg-navy);
	line-height: 1;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
	white-space: nowrap;
}
.gg-btn:hover { background: var(--gg-pink); border-color: var(--gg-pink); color: #fff; transform: scale(1.05); }
.gg-btn:active { transform: scale(1.02); }
.gg-btn-block { width: 100%; padding: 14px 22px; }

/* clear/outline variant (Subscribe): navy border + clear bg at rest; on hover
   it fills pink + white text + grows, same as the solid button. */
.gg-btn-clear { background: transparent; color: var(--gg-navy); border-color: var(--gg-navy); }

/* ==========================================================================
   NAV ROW
   ========================================================================== */
.gg-nav {
	border-top: 1px solid var(--gg-line);
}
.gg-nav {
	max-width: var(--gg-wrap);
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.gg-nav-list { display: flex; align-items: stretch; }
.gg-nav-item { position: static; }

.gg-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--gg-disp);
	font-weight: 400;
	font-size: 24px;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--gg-black);
	line-height: 22px;
	padding: 17px 12px;
	position: relative;
	transition: color .15s ease;
}
.gg-nav-item:first-child .gg-nav-link { padding-left: 0; }
.gg-nav-link:hover,
.gg-nav-item.is-open > .gg-nav-link { color: var(--gg-pink); }

/* pink underline on hover/open */
.gg-nav-link::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 9px;
	height: 2px;
	background: var(--gg-pink);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .18s ease;
}
.gg-nav-item:first-child .gg-nav-link::after { left: 0; }
.gg-nav-link:hover::after,
.gg-nav-item.is-open > .gg-nav-link::after { transform: scaleX(1); }

/* caret */
.gg-caret {
	width: 0; height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	margin-top: 2px;
	transition: transform .18s ease;
}
.gg-nav-item.is-open .gg-caret { transform: rotate(180deg); }

/* search — icon stays left; the field reveals to its RIGHT on hover/focus.
   The whole group is right-anchored in the nav, so the icon appears to slide
   left as the field grows. */
.gg-search { flex: 0 0 auto; }
.gg-search-form { display: flex; align-items: center; }
.gg-search-toggle {
	background: none; border: 0; cursor: pointer;
	color: var(--gg-navy);
	padding: 12px 6px 12px 12px;
	display: inline-flex; align-items: center; flex: 0 0 auto;
	transition: color .15s ease;
}
.gg-search-toggle svg { width: 20px; height: 20px; }
.gg-search:hover .gg-search-toggle,
.gg-search-toggle:hover,
.gg-search:focus-within .gg-search-toggle { color: var(--gg-pink); }
.gg-search-field {
	width: 0; min-width: 0; opacity: 0;
	border: 1px solid transparent; border-radius: 2px;
	background: #fff;
	font-family: var(--gg-body); font-weight: 400; font-size: 15px;
	color: var(--gg-black);
	padding: 0; margin-left: 0;
	transition: width .3s ease, opacity .25s ease, margin-left .3s ease, padding .3s ease, border-color .3s ease;
	pointer-events: none;
}
.gg-search:hover .gg-search-field,
.gg-search:focus-within .gg-search-field {
	width: 230px; opacity: 1; margin-left: 8px; padding: 8px 12px;
	border-color: var(--gg-line);
	pointer-events: auto;
}
.gg-search-field::placeholder { color: var(--gg-concrete); }
.gg-search-field:focus { outline: none; border-color: var(--gg-navy); }

/* ==========================================================================
   MEGA MENU
   ========================================================================== */
.gg-mega {
	position: absolute;
	left: 0; right: 0;
	top: 100%;
	background: var(--gg-paper);
	border-top: 1px solid var(--gg-line);
	box-shadow: 0 24px 40px -24px rgba(14,30,54,.28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
	z-index: 20;
}
.gg-nav-item:hover > .gg-mega,
.gg-nav-item:focus-within > .gg-mega,
.gg-nav-item.is-open > .gg-mega {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	transition: opacity .16s ease, transform .16s ease;
}
.gg-mega-inner {
	max-width: var(--gg-wrap);
	margin: 0 auto;
	padding: 40px 32px 0;
}
.gg-mega-cols {
	display: grid;
	gap: 48px;
	padding-bottom: 34px;
}
.gg-cols-1 { grid-template-columns: minmax(0, 520px); }
.gg-cols-2 { grid-template-columns: 1.1fr 1fr; }
.gg-cols-3 { grid-template-columns: 1.15fr 1fr 1.15fr; }

/* light-grey vertical divider to the right of the intro column (matches original) */
.gg-col-intro { border-right: 1px solid var(--gg-line); padding-right: 48px; }

/* eyebrow labels (original .mega-heading: Inter 600, 0.7rem, navy_muted, 1.1px) */
.gg-eyebrow {
	display: block;
	font-family: var(--gg-body);
	font-weight: 600;
	font-size: 11.2px;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	color: var(--gg-muted);
	padding-bottom: 12px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--gg-hair);
}
.gg-eyebrow-pink { color: var(--gg-pink); border-bottom: 0; margin-bottom: 14px; padding-bottom: 0; }

/* the leading section label of every dropdown is pink */
.gg-mega-cols > .gg-col:first-child .gg-eyebrow { color: var(--gg-pink); }

/* intro column (original .h1: Bebas 3.25rem, navy-900, 0.5px, lh 3.5rem) */
.gg-mega-h {
	font-family: var(--gg-disp);
	font-weight: 400;
	font-size: 52px;
	line-height: 1.05;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--gg-black);
	margin: 0 0 18px;
}
.gg-mega-blurb {
	font-family: var(--gg-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	color: var(--gg-black);
	margin: 0 0 22px;
	max-width: 42ch;
}

/* link lists */
.gg-col-links .gg-eyebrow:not(:first-child) { margin-top: 26px; }
.gg-mlist { margin-bottom: 4px; }
.gg-mlist li { margin: 0; }
.gg-mlink {
	display: block;
	font-family: var(--gg-body);
	font-weight: 600;
	font-size: 16px;
	color: var(--gg-black);
	padding: 3.5px 0;
	transition: color .12s ease, transform .12s ease;
}
.gg-mlink:hover { color: var(--gg-pink); transform: translateX(4px); }

/* single-column list (Resources) */
.gg-col-wide .gg-mlist { columns: 1; }

/* arrow links (original .DUP_button-no-bg: Inter 700, 13px, navy-900, 0.5px) */
.gg-arrowlink {
	display: inline-block;
	margin-top: 16px;
	font-family: var(--gg-body);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .5px;
	color: var(--gg-black);
	border-bottom: 1px solid var(--gg-black);
	padding-bottom: 3px;
	transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.gg-arrowlink:hover { color: var(--gg-pink); border-color: var(--gg-pink-pr); transform: translateX(8px); }
.gg-arrowlink-strong { font-size: 13px; }

/* ---- featured post card (Insights) ---- */
.gg-postcard { display: block; }
.gg-postcard-img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: var(--gg-card) center/cover no-repeat;
	border-radius: 3px;
	margin-bottom: 16px;
}
.gg-postcard-title {
	display: block;
	font-family: var(--gg-disp);
	font-weight: 400;
	font-size: 26px;
	line-height: 1.02;
	letter-spacing: .3px;
	text-transform: uppercase;
	color: var(--gg-black);
	margin-bottom: 10px;
}
.gg-postcard:hover .gg-postcard-title { color: var(--gg-pink); }
.gg-postcard-meta { display: block; font-size: 13px; color: var(--gg-muted); }

/* ---- featured experts (centered, bigger spaced name) ---- */
.gg-experts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gg-expert { display: block; text-align: center; }
.gg-expert-img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--gg-card) center/cover no-repeat;
	border-radius: 3px;
	margin-bottom: 14px;
}
.gg-expert-name {
	display: block;
	font-family: var(--gg-disp);
	font-weight: 400;
	font-size: 25px;
	line-height: 1;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--gg-black);
}
.gg-expert:hover .gg-expert-name { color: var(--gg-pink); }
.gg-expert-role {
	display: block;
	font-family: var(--gg-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gg-muted);
	margin-top: 6px;
}

/* ---- video card (Watch, Now Playing) ---- */
.gg-videocard { display: block; border-radius: 3px; overflow: hidden; background: var(--gg-card); }
.gg-videocard-img {
	display: block; position: relative;
	width: 100%; aspect-ratio: 16 / 9;
	background: var(--gg-navy-deep) center/cover no-repeat;
}
.gg-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
	width: 0; height: 0;
	border-top: 11px solid transparent; border-bottom: 11px solid transparent;
	border-left: 18px solid #fff;
	filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}
.gg-videocard-body { display: block; padding: 16px 18px 20px; }
.gg-videocard-title {
	display: block;
	font-family: var(--gg-disp); font-weight: 400;
	font-size: 28px; line-height: 1.04; letter-spacing: .3px; text-transform: uppercase;
	color: var(--gg-black); margin: 12px 0 16px;
}
.gg-videocard-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding-top: 14px; border-top: 1px solid var(--gg-line);
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--gg-grey);
}
.gg-cta-arr { font-size: 16px; }
.gg-videocard:hover .gg-videocard-cta { color: var(--gg-pink); }

/* ---- story card (About) ---- */
.gg-storycard { display: block; background: var(--gg-card); border-radius: 3px; overflow: hidden; }
.gg-storycard-img {
	display: block; width: 100%; aspect-ratio: 16 / 10;
	background: var(--gg-card) center/cover no-repeat;
}
.gg-storycard-body { display: block; padding: 18px 20px 22px; }
.gg-storycard-title {
	display: block;
	font-family: var(--gg-disp); font-weight: 400;
	font-size: 26px; line-height: 1.03; letter-spacing: .3px; text-transform: uppercase;
	color: var(--gg-black); margin: 12px 0 16px;
}
.gg-storycard-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding-top: 14px; border-top: 1px solid var(--gg-line);
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--gg-grey);
}
.gg-storycard-cta:hover { color: var(--gg-pink); }

/* shared badge (Now Playing / Why We Built This) */
.gg-badge {
	display: inline-block;
	font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--gg-grey);
	border: 1px solid var(--gg-line);
	padding: 5px 9px; border-radius: 2px;
}

/* ---- mega footer row ---- */
.gg-mega-foot {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	border-top: 1px solid var(--gg-line);
	padding: 18px 0 22px;
	flex-wrap: wrap;
}
.gg-foot-label {
	font-family: var(--gg-body);
	font-weight: 600; font-size: 11.2px; letter-spacing: 1.1px; text-transform: uppercase;
	color: var(--gg-muted);
}
/* pills — original .btn-nav-clear / .btn-nav-navy: Inter 500, 0.775rem, radius
   100px, 1px grey-300; hover fills navy + lifts. */
.gg-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.gg-pill {
	font-family: var(--gg-body);
	font-weight: 500; font-size: 12.4px;
	padding: 8px 15px; border-radius: 100px; line-height: 1;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.gg-pill-outline { background: #fff; color: var(--gg-black); border: 1px solid var(--gg-line); }
.gg-pill-outline:hover { background: var(--gg-navy); color: #fff; border-color: var(--gg-navy); transform: translateY(-3px); }
.gg-pill-solid { background: var(--gg-navy); color: #fff; border: 1px solid var(--gg-navy); }
.gg-pill-solid:hover { background: #fff; color: var(--gg-navy); transform: translateY(-3px); }

/* ==========================================================================
   STICKY-SHRINK (added by JS on scroll)
   ========================================================================== */
.gg-hdr.is-stuck .gg-announce { height: 0 !important; opacity: 0; }
.gg-hdr.is-stuck .gg-bar { padding-top: 10px; padding-bottom: 8px; }
.gg-hdr.is-stuck .gg-logo img { height: 46px; }

/* ==========================================================================
   MOBILE — horizontal swipe-strip nav (like the company "On This Page" nav)
   ========================================================================== */
.gg-mnav { display: none; }

@media (max-width: 1080px) {
	.gg-nav { display: none; }              /* desktop mega nav off */
	.gg-mnav { display: block; }            /* swipe strip on */
	.gg-btn { padding: 10px 14px; font-size: 13px; letter-spacing: .06em; }

	/* logo left, actions right (no centered grid on mobile so buttons fit) */
	.gg-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 12px; }
	.gg-logo { grid-column: auto; justify-self: auto; }
	.gg-actions { grid-column: auto; }
	.gg-logo img { height: 60px; }

	/* the swipe strip */
	.gg-mnav { max-width: 100%; }
	.gg-mnav-strip {
		display: flex;
		align-items: stretch;
		gap: 0;
		width: 100%;
		max-width: 100vw;
		min-width: 0;
		box-sizing: border-box;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0 14px;
		border-top: 1px solid var(--gg-line);
	}
	.gg-mnav-strip::-webkit-scrollbar { display: none; }
	.gg-mnav-tab {
		flex: 0 0 auto;
		display: inline-flex; align-items: center; gap: 4px;
		background: none; border: 0; cursor: pointer;
		font-family: var(--gg-disp); font-weight: 400; font-size: 25px;
		letter-spacing: .01em; text-transform: uppercase; color: var(--gg-black);
		white-space: nowrap;
		padding: 15px 9px 13px;
		border-bottom: 2px solid transparent;
		transition: color .15s ease, border-color .15s ease;
	}
	.gg-mnav-caret {
		width: 0; height: 0;
		border-left: 4px solid transparent; border-right: 4px solid transparent;
		border-top: 5px solid currentColor;
		margin-top: 2px; transition: transform .2s ease;
	}
	.gg-mnav-tab[aria-expanded="true"] .gg-mnav-caret { transform: rotate(180deg); }
	.gg-mnav-tab:hover { color: var(--gg-pink); }
	.gg-mnav-tab[aria-expanded="true"] { color: var(--gg-pink); border-bottom-color: var(--gg-pink); }

	/* the slide-open sub-panel = a stacked version of the desktop mega.
	   Cap its height to the space below the strip (starts ~166px down) and let
	   it scroll internally so tall dropdowns are fully reachable. */
	.gg-mnav-panel {
		border-top: 1px solid var(--gg-hair);
		padding: 22px 20px 34px;
		animation: gg-mnav-slide .22s ease;
		max-height: calc(100vh - 166px);
		max-height: calc(100dvh - 166px);
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
	.gg-mnav-cols { display: flex; flex-direction: column; gap: 28px; }
	.gg-mnav-cols .gg-col-intro { border-right: 0; padding-right: 0; }   /* drop the desktop divider */
	.gg-hdr .gg-mnav-cols .gg-mega-h { font-size: 30px !important; line-height: 1.02 !important; margin-bottom: 14px; }
	.gg-mnav-cols .gg-mega-blurb { font-size: 15px; margin-bottom: 14px; }
	.gg-mnav-cols .gg-mlink { font-size: 17px; padding: 4px 0; }
	.gg-mnav-cols .gg-arrowlink { margin-bottom: 16px; }
	.gg-mnav-cols > .gg-col:first-child .gg-eyebrow { color: var(--gg-pink); }  /* pink leading label */
	.gg-hdr .gg-mnav-cols .gg-postcard-title,
	.gg-hdr .gg-mnav-cols .gg-videocard-title,
	.gg-hdr .gg-mnav-cols .gg-storycard-title { font-size: 24px; }
	.gg-mnav-panel .gg-mega-foot {
		flex-direction: column; align-items: flex-start; gap: 12px;
		padding: 22px 0 2px; margin-top: 6px; border-top: 1px solid var(--gg-line);
	}
	.gg-mnav-panel .gg-pills { gap: 8px; }

	/* sticky-shrink stays gentle on mobile */
	.gg-hdr.is-stuck .gg-bar { padding-top: 12px; padding-bottom: 10px; }
	.gg-hdr.is-stuck .gg-logo img { height: 44px; }
}
@keyframes gg-mnav-slide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 520px) {
	.gg-actions .gg-signin { display: none; } /* keep just Subscribe on tiny screens */
	.gg-mnav-tab { font-size: 23px; padding-left: 7px; padding-right: 7px; }
}

/* ==========================================================================
   SUBSCRIBE MODAL + BACKDROP
   ========================================================================== */
.gg-backdrop {
	position: fixed; inset: 0; z-index: 950;
	background: rgba(14,30,54,.5);
	opacity: 0; transition: opacity .2s ease;
}
.gg-backdrop.is-open { opacity: 1; }

.gg-modal {
	position: fixed; inset: 0; z-index: 1010;
	display: flex; align-items: center; justify-content: center;
	padding: 24px;
}
.gg-modal-card {
	position: relative;
	width: 100%; max-width: 460px;
	background: var(--gg-paper);
	border-radius: 6px;
	padding: 40px 36px 36px;
	box-shadow: 0 30px 60px -20px rgba(14,30,54,.5);
}
.gg-modal-close {
	position: absolute; top: 12px; right: 14px;
	background: none; border: 0; cursor: pointer;
	font-size: 30px; line-height: 1; color: var(--gg-concrete);
}
.gg-modal-close:hover { color: var(--gg-navy); }
.gg-modal-h {
	font-family: var(--gg-disp); font-weight: 700;
	font-size: 44px; line-height: .95; text-transform: uppercase;
	color: var(--gg-navy); margin: 6px 0 12px;
}
.gg-modal-p { font-size: 15.5px; line-height: 1.55; color: var(--gg-grey); margin: 0 0 22px; }
.gg-modal-slot { min-height: 40px; }

/* ---- HubSpot "Built To Win" form, themed LIGHT for the Grit Guide modal ---- */
#gg-subscribe-modal .hs-form-html {
	--hsf-global__font-family: var(--gg-body);
	--hsf-global__color: var(--gg-navy);
	--hsf-global-error__color: var(--gg-pink-pr);
	--hsf-field-input__font-size: 15px;
	--hsf-row__vertical-spacing: 14px;
	--hsf-background__background-color: transparent;
	--hsf-button__font-family: var(--gg-raleway);
	--hsf-button__font-weight: 700;
	--hsf-button__font-size: 15px;
	--hsf-button__color: #fff;
	--hsf-button__background-color: var(--gg-pink);
	--hsf-button__border-radius: 999px;
	--hsf-button__width: 100%;
	--hsf-button--hover__background-color: var(--gg-pink-pr);
	color: var(--gg-navy);
	font-family: var(--gg-body);
}
#gg-subscribe-modal .hs-form-html,
#gg-subscribe-modal .hs-form-html *:not(input):not(textarea):not(select):not(button) {
	background-color: transparent !important;
	box-shadow: none !important;
	border-color: transparent;
}
#gg-subscribe-modal .hs-form-html label,
#gg-subscribe-modal .hs-form-html .hsfc-FieldLabel {
	font: 700 12px/1.3 var(--gg-body) !important;
	letter-spacing: .04em; text-transform: uppercase;
	color: var(--gg-grey) !important; margin-bottom: 6px;
}
#gg-subscribe-modal .hs-form-html .hsfc-FieldLabel__RequiredIndicator,
#gg-subscribe-modal .hs-form-html [class*="Required"] { color: var(--gg-pink) !important; }
#gg-subscribe-modal .hs-form-html p,
#gg-subscribe-modal .hs-form-html span,
#gg-subscribe-modal .hs-form-html [class*="Consent"],
#gg-subscribe-modal .hs-form-html [class*="Legal"],
#gg-subscribe-modal .hs-form-html [class*="RichText"] { color: var(--gg-grey) !important; }
#gg-subscribe-modal .hs-form-html a { color: var(--gg-pink-pr) !important; text-decoration: underline; }
#gg-subscribe-modal .hs-form-html input[type="email"],
#gg-subscribe-modal .hs-form-html input[type="text"],
#gg-subscribe-modal .hs-form-html input[type="tel"],
#gg-subscribe-modal .hs-form-html input[type="number"],
#gg-subscribe-modal .hs-form-html textarea,
#gg-subscribe-modal .hs-form-html select {
	width: 100% !important; box-sizing: border-box;
	background: #fff !important;
	border: 1px solid var(--gg-line) !important;
	border-radius: 10px !important;
	padding: 13px 15px !important;
	color: var(--gg-navy) !important;
	font: 400 15px var(--gg-body) !important;
	outline: none; transition: border-color .18s, box-shadow .18s;
}
#gg-subscribe-modal .hs-form-html input::placeholder,
#gg-subscribe-modal .hs-form-html textarea::placeholder { color: var(--gg-concrete) !important; }
#gg-subscribe-modal .hs-form-html input:focus,
#gg-subscribe-modal .hs-form-html textarea:focus,
#gg-subscribe-modal .hs-form-html select:focus {
	border-color: var(--gg-pink) !important;
	box-shadow: 0 0 0 3px rgba(255,24,148,.18) !important;
}
#gg-subscribe-modal .hs-form-html input[type="checkbox"] {
	-webkit-appearance: none !important; appearance: none !important;
	width: 20px !important; height: 20px !important; min-width: 20px !important;
	margin: 2px 10px 0 0 !important; flex: 0 0 auto;
	border: 1.5px solid var(--gg-line) !important; border-radius: 5px !important;
	background: #fff !important; position: relative; cursor: pointer;
}
#gg-subscribe-modal .hs-form-html input[type="checkbox"]:checked {
	background: var(--gg-pink) !important; border-color: var(--gg-pink) !important;
}
#gg-subscribe-modal .hs-form-html input[type="checkbox"]:checked::after {
	content: "" !important; position: absolute !important;
	left: 6px !important; top: 2px !important; width: 5px !important; height: 10px !important;
	border: solid #fff !important; border-width: 0 2px 2px 0 !important; transform: rotate(45deg) !important;
}
#gg-subscribe-modal .hs-form-html [class*="Consent"] label,
#gg-subscribe-modal .hs-form-html [class*="Legal"] label,
#gg-subscribe-modal .hs-form-html [class*="Checkbox"] label {
	display: flex !important; align-items: flex-start; gap: 2px;
	font-weight: 400 !important; text-transform: none !important; line-height: 1.45;
	color: var(--gg-grey) !important;
}
#gg-subscribe-modal .hs-form-html button[type="submit"],
#gg-subscribe-modal .hs-form-html input[type="submit"],
#gg-subscribe-modal .hs-form-html .hsfc-Button {
	width: 100% !important; background: var(--gg-pink) !important; color: #fff !important;
	border: none !important; border-radius: 999px !important;
	padding: 14px 22px !important; font: 700 15px var(--gg-disp) !important;
	letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
	transition: background .18s; margin-top: 8px;
}
#gg-subscribe-modal .hs-form-html button[type="submit"]:hover,
#gg-subscribe-modal .hs-form-html input[type="submit"]:hover,
#gg-subscribe-modal .hs-form-html .hsfc-Button:hover { background: var(--gg-pink-pr) !important; }
#gg-subscribe-modal .hs-form-html [class*="Error"] { color: var(--gg-pink-pr) !important; font-size: 12.5px !important; }
/* Post-submit thank-you: HubSpot swaps the form's inner content. Detect it
   structurally (email input gone) and keep the message legible on white. */
#gg-subscribe-modal .hs-form-html:not(:has(input[type="email"])),
#gg-subscribe-modal .hs-form-html:not(:has(input[type="email"])) * { color: var(--gg-navy) !important; }
#gg-subscribe-modal .hs-form-html [role="listbox"],
#gg-subscribe-modal .hs-form-html [class*="ptions"] {
	background: #fff !important; border: 1px solid var(--gg-line) !important;
	border-radius: 10px !important; box-shadow: 0 18px 40px -12px rgba(14,30,54,.25) !important;
	padding: 6px !important; z-index: 5; max-height: 230px; overflow: auto;
}
#gg-subscribe-modal .hs-form-html [role="option"] { background: transparent !important; color: var(--gg-navy) !important; padding: 9px 12px !important; border-radius: 8px !important; cursor: pointer; }
#gg-subscribe-modal .hs-form-html [role="option"]:hover,
#gg-subscribe-modal .hs-form-html [role="option"][aria-selected="true"] { background: rgba(255,24,148,.12) !important; color: var(--gg-navy) !important; }

/* prevent body scroll when a drawer/modal is open */
body.gg-lock { overflow: hidden; }

/* Accessibility helper */
.gg-hdr [hidden], .gg-mobile[hidden], .gg-modal[hidden], .gg-backdrop[hidden] { display: none !important; }

/* ==========================================================================
   THEME HARDENING
   Elementor is still active site-wide and its global kit injects
   `.elementor-kit-12 h2 { font-family: Oswald }` (specificity 0,1,1), which
   outranked our `.gg-mega-h` / `.gg-modal-h` (0,1,0) and knocked Zuume out of
   the mega + modal headings — they rendered in Oswald and looked mis-sized.
   Force our exact font stacks (display vs body) so no theme/Elementor rule can
   change them, and re-pin the two heading tags' metrics. font-family is never
   altered in media queries, so !important here is safe for responsive sizing.
   ========================================================================== */
/* Bebas Neue (display) for nav + all headline/title text. */
.gg-hdr .gg-nav-link,
.gg-hdr .gg-mega-h,
.gg-hdr .gg-postcard-title,
.gg-hdr .gg-expert-name,
.gg-hdr .gg-videocard-title,
.gg-hdr .gg-storycard-title,
.gg-hdr .gg-mnav-tab,
.gg-modal .gg-modal-h {
	font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif !important;
}
/* Raleway for the top banner + all button text. */
.gg-hdr .gg-announce-link,
.gg-hdr .gg-btn,
.gg-modal .gg-btn,
.gg-modal .hs-form-html button[type="submit"],
.gg-modal .hs-form-html input[type="submit"] {
	font-family: "Raleway", "Helvetica Neue", Arial, sans-serif !important;
}
/* Keep button text white on hover (beats the kit's a:hover color). */
.gg-hdr .gg-btn:hover, .gg-hdr .gg-btn:focus-visible,
.gg-modal .gg-btn:hover, .gg-modal .gg-btn:focus-visible { color: #fff !important; }
/* Clear/outline button (Subscribe) — outline at rest, pink fill + white on
   hover. !important beats the kit's navy button bg + white hover text. */
.gg-hdr .gg-btn-clear, .gg-modal .gg-btn-clear {
	background: transparent !important;
	color: var(--gg-navy) !important;
	border-color: var(--gg-navy) !important;
}
.gg-hdr .gg-btn-clear:hover, .gg-hdr .gg-btn-clear:focus-visible,
.gg-modal .gg-btn-clear:hover, .gg-modal .gg-btn-clear:focus-visible {
	background: var(--gg-pink) !important;
	color: #fff !important;
	border-color: var(--gg-pink) !important;
}
/* Mobile nav tabs are <button>s — beat the kit's white text AND its 24px
   padding (which was spreading the tabs far apart). */
.gg-hdr .gg-mnav-tab { color: var(--gg-black) !important; font-weight: 400 !important; padding: 15px 9px 13px !important; margin: 0 !important; min-height: 0 !important; }
.gg-hdr .gg-mnav-tab:hover,
.gg-hdr .gg-mnav-tab[aria-expanded="true"] { color: var(--gg-pink) !important; }
/* Search field must fully collapse at rest (beats Elementor's default input
   width) so the icon sits flush right; it expands only on hover/focus. */
.gg-hdr .gg-search-field { width: 0 !important; min-width: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.gg-hdr .gg-search:hover .gg-search-field,
.gg-hdr .gg-search:focus-within .gg-search-field { width: 230px !important; padding-left: 12px !important; padding-right: 12px !important; }
/* Inter (body) for labels, links, blurbs, pills, search field. */
.gg-hdr .gg-eyebrow,
.gg-hdr .gg-mega-blurb,
.gg-hdr .gg-mlink,
.gg-hdr .gg-arrowlink,
.gg-hdr .gg-expert-role,
.gg-hdr .gg-postcard-meta,
.gg-hdr .gg-foot-label,
.gg-hdr .gg-pill,
.gg-hdr .gg-search-field,
.gg-modal .gg-modal-p {
	font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
/* Re-pin the headings the kit targets so its h2 rule can't resize them. */
.gg-hdr .gg-mega-h { font-size: 52px !important; line-height: 1.05 !important; }
.gg-modal .gg-modal-h { font-size: 44px !important; line-height: .95 !important; }
@media (max-width: 520px) {
	.gg-modal .gg-modal-h { font-size: 34px !important; }
}

/* --------------------------------------------------------------------------
   Elementor's kit also styles EVERY <button> navy (`.elementor-kit-12 button`
   { background:#18355E; padding; border-radius }, specificity 0,1,1), which
   boxed our icon/tab buttons. Reset our header/modal buttons back to bare.
   The HubSpot submit keeps its pink (higher-specificity rule above wins).
   -------------------------------------------------------------------------- */
.gg-hdr .gg-search-toggle,
.gg-hdr .gg-searchform button,
.gg-hdr .gg-mnav-tab,
.gg-modal .gg-modal-close {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	min-height: 0 !important;
}
.gg-hdr .gg-search-toggle { color: var(--gg-navy) !important; padding: 12px 0 12px 12px !important; width: auto !important; height: auto !important; }
.gg-hdr .gg-search-toggle:hover { background: none !important; color: var(--gg-pink) !important; }
.gg-hdr .gg-searchform button { color: var(--gg-navy) !important; padding: 0 !important; }
.gg-hdr .gg-searchform button:hover { background: none !important; }
.gg-modal .gg-modal-close { color: var(--gg-concrete) !important; padding: 0 !important; }
.gg-modal .gg-modal-close:hover { background: none !important; color: var(--gg-navy) !important; }
