/* HD Showcase × HD Give — give.hokedesigns.com */

/* Sample notice */
.hds-give-notice {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 7px 16px;
	background: #fff4e5;
	color: #6b3b00;
	font-size: 14px;
	text-align: center;
	border-bottom: 1px solid #f4dcb5;
}
.hds-give-notice svg { flex: none; color: var(--hd-ember); }

/* HD Give components pick up the house font and palette */
.hdg-form, .hdg-campaign, .hdg-goal, .hdg-wall, .hdg-cgrid, .hdg-dash, .hdg-receipt, .hdg-totals, .hdg-ticker { font-family: var(--hds-font); }
.hdg-form .hdg-btn, .hdg-campaign .hdg-btn, .hdg-cgrid .hdg-btn, .hdg-dash .hdg-btn { font-weight: 500; }

/* ---------- Hero console ---------- */
.hds-gv-console {
	position: relative;
	max-width: 440px;
	margin-left: auto;
	padding: 20px 20px 16px;
	border-radius: 24px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
	border: 1px solid rgba(255, 255, 255, .18);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .15);
	backdrop-filter: blur(14px) saturate(1.2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	color: #e8f1fb;
	transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
	transition: transform .8s var(--hds-ease);
}
.hds-gv-console:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hds-gv-console__head {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff !important;
	text-decoration: none !important;
}
.hds-gv-console__head img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.hds-gv-console__head span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hds-gv-console__head small { color: var(--hd-aqua); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.hds-gv-console__head strong { color: #fff; font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hds-gv-console__match {
	margin-left: auto;
	flex: none;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--hd-coral);
	color: #2a0d04;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	animation: hdsGvPulse 2.4s ease-in-out infinite;
}
@keyframes hdsGvPulse { 50% { box-shadow: 0 0 0 6px rgba(255, 107, 74, .2); } }

.hds-gv-console__ring { position: relative; width: min(260px, 70vw); aspect-ratio: 1; margin: 18px auto 8px; }
.hds-gv-console__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.hds-gv-console__ring circle { fill: none; stroke-width: 14; }
.hds-gv-console__track { stroke: rgba(255, 255, 255, .12); }
.hds-gv-console__fill {
	stroke: url(#hdsgv-ring);
	stroke-linecap: round;
	stroke-dasharray: var(--circ);
	stroke-dashoffset: var(--circ);
	filter: drop-shadow(0 0 10px rgba(62, 207, 178, .55));
	transition: stroke-dashoffset 2.2s var(--hds-ease);
}
.hds-gv-console.is-in .hds-gv-console__fill { stroke-dashoffset: var(--off); }
.hds-gv-console__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.hds-gv-console__num strong { font-size: clamp(30px, 4vw, 40px); font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hds-gv-console__num span { font-size: 13px; color: #b9cde3; }
.hds-gv-console__num .hds-gv-console__pct { margin-top: 6px; color: var(--hd-aqua); font-weight: 500; font-size: 14px; }
.hds-gv-console__num strong.is-bump { animation: hdsGvBump .7s var(--hds-ease); }
@keyframes hdsGvBump { 30% { transform: scale(1.12); color: var(--hd-aqua); } }

/* little sparks orbiting the ring */
.hds-gv-console__spark {
	position: absolute;
	top: 50%; left: 50%;
	width: 8px; height: 8px;
	margin: -4px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 12px 3px rgba(62, 207, 178, .9);
	offset-path: circle(46% at 50% 50%);
	animation: hdsGvOrbit 9s linear infinite;
	opacity: .85;
}
.hds-gv-console__spark:nth-of-type(2) { animation-delay: -3s; box-shadow: 0 0 12px 3px rgba(3, 169, 244, .9); }
.hds-gv-console__spark:nth-of-type(3) { animation-delay: -6s; box-shadow: 0 0 12px 3px rgba(255, 107, 74, .9); }
@keyframes hdsGvOrbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }

.hds-gv-console__stats { display: flex; justify-content: center; gap: 18px; margin-bottom: 14px; font-size: 13px; color: #b9cde3; }
.hds-gv-console__stats b { color: #fff; font-weight: 500; }

.hds-gv-console__feed { position: relative; height: 186px; margin: 0; padding: 0; list-style: none; overflow: hidden; mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 100%); }
.hds-gv-gift {
	position: absolute;
	left: 0; right: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .12);
	font-size: 14px;
	transition: transform .7s var(--hds-ease), opacity .7s;
}
.hds-gv-gift__av {
	display: grid; place-items: center; flex: none;
	width: 32px; height: 32px; border-radius: 50%;
	background: linear-gradient(135deg, hsl(var(--h) 62% 55%), hsl(calc(var(--h) + 40) 60% 45%));
	color: #fff; font-size: 12px; font-weight: 600;
}
.hds-gv-gift__txt { min-width: 0; flex: 1; line-height: 1.3; }
.hds-gv-gift__txt b { color: #fff; font-weight: 500; }
.hds-gv-gift__txt small { display: block; color: #9fb7d1; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hds-gv-gift__amt { flex: none; color: var(--hd-aqua); font-weight: 600; }
.hds-gv-gift.is-new { animation: hdsGvIn .7s var(--hds-ease) both; }
@keyframes hdsGvIn { from { opacity: 0; transform: translateY(40px) scale(.94); } }

@media (max-width: 900px) {
	.hds-gv-console { margin: 8px auto 0; transform: none; }
}

/* ---------- Fee calculator ---------- */
.hds-gv-fees {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(24px, 4vw, 56px);
	padding: clamp(22px, 3.5vw, 40px);
	border-radius: 24px;
	background: #fff;
	box-shadow: var(--hds-shadow);
	border: 1px solid var(--hd-line);
}
.hds-gv-fees__controls { display: flex; flex-direction: column; gap: 20px; }
.hds-gv-fees__amount { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px 12px; margin: 0; }
.hds-gv-fees__amount > span { color: var(--hd-slate); font-size: 15px; }
.hds-gv-fees__amount output { font-size: clamp(30px, 4vw, 42px); font-weight: 600; color: var(--hd-navy); font-variant-numeric: tabular-nums; line-height: 1; }
.hds-gv-fees__amount input { grid-column: 1 / -1; width: 100%; accent-color: var(--hd-teal); height: 28px; }
.hds-gv-fees__chips, .hds-gv-fees__methods { display: flex; flex-wrap: wrap; gap: 8px; }
.hds-gv-fees__chips button {
	padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--hd-line); background: #fff;
	font: inherit; font-size: 14px; color: var(--hd-ink); cursor: pointer; transition: all .2s;
}
.hds-gv-fees__chips button:hover, .hds-gv-fees__chips button.is-on { border-color: var(--hd-teal); color: var(--hd-teal); }
.hds-gv-fees__methods label { cursor: pointer; margin: 0; }
.hds-gv-fees__methods input { position: absolute; opacity: 0; }
.hds-gv-fees__methods span { display: inline-block; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--hd-line); font-size: 14px; transition: all .2s; }
.hds-gv-fees__methods input:checked + span { background: var(--hd-navy); border-color: var(--hd-navy); color: #fff; }
.hds-gv-fees__methods input:focus-visible + span { outline: 2px solid var(--hd-sky); outline-offset: 2px; }
.hds-gv-fees__toggle { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 15px; cursor: pointer; }
.hds-gv-fees__toggle input { position: absolute; opacity: 0; }
.hds-gv-switch { position: relative; width: 44px; height: 26px; flex: none; border-radius: 999px; background: #c5ced6; transition: background .25s; }
.hds-gv-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .4s var(--hds-ease); }
.hds-gv-fees__toggle input:checked + .hds-gv-switch { background: var(--hd-teal); }
.hds-gv-fees__toggle input:checked + .hds-gv-switch::after { transform: translateX(18px); }
.hds-gv-fees__toggle input:focus-visible + .hds-gv-switch { outline: 2px solid var(--hd-sky); outline-offset: 2px; }
.hds-gv-fees__year { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; font-size: 15px; color: var(--hd-slate); }
.hds-gv-fees__year input { width: 120px; padding: 8px 12px; border: 1.5px solid var(--hd-line); border-radius: 10px; font: inherit; text-align: right; }

.hds-gv-fees__big { margin: 0 0 22px; font-size: 18px; color: var(--hd-slate); }
.hds-gv-fees__big strong { display: block; font-size: clamp(36px, 5vw, 54px); line-height: 1.05; color: var(--hd-teal); font-weight: 600; font-variant-numeric: tabular-nums; }
.hds-gv-fees__rows { display: flex; flex-direction: column; gap: 16px; }
.hds-gv-fees__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 15px; }
.hds-gv-fees__label b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--hd-navy); }
.hds-gv-fees__row--us .hds-gv-fees__label span { font-weight: 500; color: var(--hd-teal); }
.hds-gv-fees__bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: var(--hd-mist); }
.hds-gv-fees__bar i { display: block; height: 100%; width: 0; transition: width .7s var(--hds-ease); }
.hds-gv-fees__bar .is-cause, .hds-gv-fees__legend .is-cause::before { background: linear-gradient(90deg, var(--hd-teal), var(--hd-aqua)); }
.hds-gv-fees__bar .is-proc, .hds-gv-fees__legend .is-proc::before { background: #9aa6b4; }
.hds-gv-fees__bar .is-plat, .hds-gv-fees__legend .is-plat::before { background: var(--hd-coral); }
.hds-gv-fees__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--hd-slate); }
.hds-gv-fees__legend li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.hds-gv-fees__year-out { margin: 20px 0 0; padding: 14px 16px; border-radius: 14px; background: #e8f7f3; color: #0c5a5f; font-size: 16px; }
.hds-gv-fees__year-out span { font-weight: 600; font-size: 1.15em; }
.hds-gv-fees__fine { margin: 14px 0 0; font-size: 12.5px; color: var(--hd-slate); line-height: 1.5; }
@media (max-width: 900px) { .hds-gv-fees { grid-template-columns: 1fr; } }

/* ---------- Campaign hero ---------- */
.hds-gv-chero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: clamp(420px, 62svh, 640px);
	display: flex;
	align-items: flex-end;
	padding: 120px 0 clamp(110px, 12vw, 160px);
	background: var(--hd-navy);
	color: #dbe8f5;
}
.hds-gv-chero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: hdsGvKen 30s ease-in-out infinite alternate; }
@keyframes hdsGvKen { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hds-gv-chero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 27, 68, .15) 0%, rgba(0, 27, 68, .55) 50%, rgba(0, 15, 43, .92) 100%), linear-gradient(90deg, rgba(0, 27, 68, .65), transparent 70%); }
.hds-gv-chero__copy { position: relative; z-index: 1; }
.hds-gv-chero h1 { color: #fff; max-width: 18ch; margin: 14px 0 .3em; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hds-gv-chero .hds-lede { color: #e1ecf7; max-width: 52ch; }
.hds-gv-back { display: inline-block; margin-bottom: 18px; color: #cfe3f5 !important; text-decoration: none; font-size: 15px; }
.hds-gv-back:hover { color: #fff !important; }
.hds-gv-chero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hds-gv-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 14px; backdrop-filter: blur(8px); }
.hds-gv-chip--coral { background: var(--hd-coral); border-color: var(--hd-coral); color: #2a0d04; }
.hds-gv-chip--done { background: rgba(0, 0, 0, .35); }
.hds-gv-chip--live i { width: 8px; height: 8px; border-radius: 50%; background: var(--hd-aqua); box-shadow: 0 0 0 0 rgba(62, 207, 178, .7); animation: hdsGvLive 1.8s infinite; }
@keyframes hdsGvLive { 70% { box-shadow: 0 0 0 9px rgba(62, 207, 178, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 207, 178, 0); } }
.hds-gv-chero .hds-hero__ridge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(50px, 8vw, 110px); }

.hds-gv-cwrap { width: min(80vw, 1400px); margin: clamp(-90px, -6vw, -40px) auto clamp(64px, 8vw, 110px); position: relative; z-index: 2; }
.hds-gv-cwrap .hdg-campaign__aside { top: calc(var(--hds-header, 72px) + 24px); }
.hds-gv-cwrap .hdg-goal { box-shadow: 0 30px 60px -36px rgba(0, 27, 68, .45); }
.hds-gv-cwrap .hdg-campaign__story { font-size: 18px; line-height: 1.7; }
.hds-gv-cwrap .hdg-campaign__story h3 { margin-top: 1.6em; }
@media (max-width: 1100px) { .hds-gv-cwrap { width: auto; margin-left: var(--hds-gutter); margin-right: var(--hds-gutter); } }
@media (prefers-reduced-motion: reduce) { .hds-gv-chero__img, .hds-gv-console__spark, .hds-gv-console__match { animation: none; } .hds-gv-console { transform: none; } }

/* ---------- Lists ---------- */
.hds-gv-listhero .hds-wrap { position: relative; z-index: 2; }
.hds-gv-listhero h1 { color: #fff; }
.hds-gv-listhero .hds-lede { color: #d7e5f4; max-width: 56ch; }
.hds-gv-listhero .hdg-totals { --hdg-c: #3ecfb2; text-align: left; margin-top: 28px; color: #c9dcf0; }
.hds-gv-listhero .hdg-totals__label { color: #b9cde3; }
.hds-gv-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hds-gv-pills .hds-pill.is-active { background: var(--hd-navy); color: #fff; border-color: var(--hd-navy); }

/* ---------- Landing extras ---------- */
.hds-gv-ticker { padding: 26px 0; background: var(--hd-mist); border-block: 1px solid var(--hd-line); }
.hds-gv-ticker .hdg-ticker { --hdg-c: var(--hd-teal); }
.hds-gv-try { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hds-gv-try .hdg-form { margin: 0; }
.hds-gv-try__card { padding: 18px 20px; border-radius: 16px; background: var(--hd-mist); font-size: 15px; }
.hds-gv-try__card code { padding: 2px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--hd-line); font-size: 14px; }
.hds-gv-try ol { margin: 18px 0; padding-left: 1.2em; }
.hds-gv-try li { margin-bottom: 8px; }
@media (max-width: 900px) { .hds-gv-try { grid-template-columns: 1fr; } }
.hds-gv-pays { display: flex; flex-wrap: wrap; gap: 10px; }
.hds-gv-pays span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--hd-line); font-size: 15px; box-shadow: 0 6px 16px -12px rgba(0, 27, 68, .35); }
.hds-gv-pays svg { width: 20px; height: 20px; stroke: var(--hd-teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hds-gv-dashcta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hds-gv-dashmock { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--hd-line); box-shadow: var(--hds-shadow); }
.hds-gv-dashmock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.hds-gv-dashmock__stats div { padding: 12px; border-radius: 14px; background: #e9f3fa; }
.hds-gv-dashmock__stats b { display: block; font-size: 22px; color: var(--hd-blue); font-weight: 600; }
.hds-gv-dashmock__stats span { font-size: 12px; color: var(--hd-slate); }
.hds-gv-dashmock__row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--hd-line); font-size: 14px; }
.hds-gv-dashmock__row:last-child { border-bottom: 0; }
.hds-gv-dashmock__row em { font-style: normal; padding: 1px 8px; border-radius: 999px; background: #e3f4ea; color: #1f6b3a; font-size: 12px; }
@media (max-width: 900px) { .hds-gv-dashcta { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.hds-gv-faq details { border-bottom: 1px solid var(--hd-line); }
.hds-gv-faq summary { position: relative; padding: 20px 40px 20px 0; font-size: 1.1rem; font-weight: 500; color: var(--hd-navy); cursor: pointer; list-style: none; }
.hds-gv-faq summary::-webkit-details-marker { display: none; }
.hds-gv-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--hd-teal); border-bottom: 2px solid var(--hd-teal); transform: rotate(45deg); transition: transform .35s var(--hds-ease); }
.hds-gv-faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.hds-gv-faq details p { margin: 0 0 20px; color: var(--hd-slate); }
.hds-gv-faq details[open] p { animation: hdsGvFade .45s var(--hds-ease); }
@keyframes hdsGvFade { from { opacity: 0; transform: translateY(-6px); } }
