.hoh {
	--hoh-accent: #C5401D;
	--hoh-accent-dark: #8A2914;
	--hoh-green: #1F5A4A;
	--hoh-sand: #FBF4E8;
	--hoh-sun: #FCE3B8;
	--hoh-ink: #1F1A17;
	--hoh-muted: #6B5A4C;
	--hoh-line: #E7D9C4;
	--hoh-error: #B3261E;
	color: var(--hoh-ink);
	max-width: 860px;
	margin: 0 auto;
	box-sizing: border-box;
	line-height: 1.6;
}
.hoh *, .hoh *::before, .hoh *::after { box-sizing: border-box; }
.hoh h2, .hoh h3 { line-height: 1.2; margin: 0 0 .5em; }
.hoh-kicker { color: var(--hoh-accent); font-weight: 600; margin: 0 0 .25em; }
.hoh-muted { color: var(--hoh-muted); }
.hoh-help { color: var(--hoh-muted); font-size: .9em; margin: .4em 0 0; }
.hoh-req { color: var(--hoh-accent); }
.hoh-link { color: var(--hoh-accent); font-weight: 600; }

.hoh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	background: var(--hoh-accent); color: #fff !important; border: 2px solid var(--hoh-accent);
	padding: .8em 1.5em; border-radius: 8px; font: inherit; font-weight: 700; line-height: 1.2;
	cursor: pointer; text-decoration: none !important; min-height: 44px;
	transition: background .2s, transform .2s;
}
.hoh-btn:hover { background: var(--hoh-accent-dark); border-color: var(--hoh-accent-dark); }
.hoh-btn:focus-visible, .hoh input:focus-visible, .hoh select:focus-visible, .hoh textarea:focus-visible, .hoh-choice input:focus-visible + span { outline: 3px solid #2B4C7E; outline-offset: 2px; }
.hoh-btn-ghost { background: transparent; color: var(--hoh-ink) !important; border-color: var(--hoh-ink); }
.hoh-btn-ghost:hover { background: var(--hoh-sand); border-color: var(--hoh-ink); }
.hoh-btn-small { padding: .55em 1.1em; font-size: .95em; }
.hoh-btn.is-busy { opacity: .7; cursor: progress; }

.hoh-card { background: #fff; border: 1px solid var(--hoh-line); border-radius: 14px; padding: 1.5em; margin: 0 0 1.25em; }

/* ---------- Registration form ---------- */
.hoh-form-wrap { background: var(--hoh-sand); border-radius: 18px; padding: clamp(1.25em, 4vw, 2.5em); }
.hoh-form-head h2 { font-size: clamp(1.5em, 3.4vw, 2.1em); }
.hoh-form-head p:last-child { color: var(--hoh-muted); }
.hoh-alert { background: #FDECEA; border-left: 4px solid var(--hoh-error); padding: 1em 1.25em; border-radius: 8px; margin: 1em 0; }
.hoh-alert ul { margin: .5em 0 0 1.2em; padding: 0; }

.hoh-progress { margin: 1.5em 0 1em; }
.hoh-progress-bar { height: 6px; background: var(--hoh-line); border-radius: 99px; overflow: hidden; }
.hoh-progress-bar span { display: block; height: 100%; width: 0; background: var(--hoh-accent); border-radius: 99px; transition: width .45s cubic-bezier(.2,.7,.2,1); }
.hoh-progress-label { margin: .5em 0 0; font-weight: 600; color: var(--hoh-green); font-size: .95em; }

.hoh-step { border: 0; padding: 1.5em; margin: 0 0 1.25em; background: #fff; border-radius: 14px; min-width: 0; }
.hoh-js .hoh-step { animation: hoh-in .4s cubic-bezier(.2,.7,.2,1); }
@keyframes hoh-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hoh-step legend { font-size: 1.25em; font-weight: 700; padding: 0; margin-bottom: .75em; float: left; width: 100%; }
.hoh-step legend + * { clear: both; }
.hoh-sub { font-size: 1.05em; margin: 1.25em 0 .5em; color: var(--hoh-green); }
.hoh-sub span { font-weight: 400; color: var(--hoh-muted); font-size: .9em; }

.hoh-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1em; }
@media (max-width: 600px) { .hoh-row { grid-template-columns: minmax(0, 1fr); } }
.hoh-field { margin: 0 0 1em; }
.hoh-field > label, .hoh-label { display: block; font-weight: 600; margin-bottom: .35em; }
.hoh input[type=text], .hoh input[type=email], .hoh input[type=tel], .hoh input[type=date], .hoh input[type=time], .hoh input[type=number], .hoh input[type=password], .hoh select, .hoh textarea {
	width: 100%; max-width: 100%; padding: .7em .85em; border: 1.5px solid #CDBBA2; border-radius: 8px; background: #fff; font: inherit; color: inherit; min-height: 44px;
}
.hoh textarea { min-height: 0; resize: vertical; }
.hoh-invalid input, .hoh-invalid textarea, .hoh-invalid select, .hoh-sigpad.hoh-invalid { border-color: var(--hoh-error) !important; background: #FFF7F6; }
.hoh-check.hoh-invalid span { color: var(--hoh-error); }
.hoh-step-error { color: var(--hoh-error); font-weight: 600; margin: .5em 0 0; min-height: 0; }
.hoh-step-error:empty { display: none; }

.hoh-choices { display: flex; flex-wrap: wrap; gap: .5em; }
.hoh-choices.hoh-invalid, .hoh-field.hoh-invalid .hoh-choices span { border-color: var(--hoh-error); }
.hoh-choice { position: relative; }
.hoh-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hoh-choice span { display: inline-block; padding: .55em 1em; border: 1.5px solid #CDBBA2; border-radius: 99px; cursor: pointer; background: #fff; transition: background .15s, border-color .15s; }
.hoh-choice input:checked + span { background: var(--hoh-green); border-color: var(--hoh-green); color: #fff; }
.hoh-field.hoh-invalid .hoh-choice span { border-color: var(--hoh-error); }

.hoh-check { display: flex; gap: .65em; align-items: flex-start; margin: .75em 0; cursor: pointer; }
.hoh-check input { width: 20px; height: 20px; margin-top: .2em; flex: none; accent-color: var(--hoh-green); }
.hoh-summary { margin: 0 0 1em 1.2em; padding: 0; }
.hoh-terms-inline { margin: 0 0 1.25em; }
.hoh-terms-inline summary { cursor: pointer; font-weight: 600; color: var(--hoh-green); }
.hoh-terms-box { max-height: 320px; overflow: auto; border: 1px solid var(--hoh-line); border-radius: 10px; padding: 1em 1.25em; margin-top: .75em; font-size: .95em; background: var(--hoh-sand); }

.hoh-sigpad { position: relative; border: 1.5px dashed #CDBBA2; border-radius: 10px; background: #fff; }
.hoh-sigpad canvas { display: block; width: 100%; height: 170px; touch-action: none; cursor: crosshair; }
.hoh-sigpad::after { content: ''; position: absolute; left: 1.25em; right: 1.25em; bottom: 38px; border-bottom: 1px solid var(--hoh-line); pointer-events: none; }
.hoh-sig-clear { position: absolute; top: .5em; right: .5em; background: var(--hoh-sand); border: 1px solid var(--hoh-line); border-radius: 6px; padding: .3em .8em; cursor: pointer; font: inherit; font-size: .9em; }
.hoh-nojs-note { display: block; }
.hoh-js .hoh-nojs-note { display: none; }
.hoh-date-line { color: var(--hoh-muted); }

.hoh-nav { display: flex; justify-content: space-between; gap: 1em; margin-top: 1.25em; flex-wrap: wrap; }
.hoh-nav .hoh-btn:only-child { margin-left: auto; }
.hoh-step-review .hoh-submit { width: 100%; margin-top: 1em; }
.hoh-review h4 { margin: 1.25em 0 .4em; color: var(--hoh-green); font-size: 1em; }
.hoh-review dl { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: .3em 1em; margin: 0; font-size: .95em; }
.hoh-review dt { color: var(--hoh-muted); }
.hoh-review dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .hoh-review dl { grid-template-columns: minmax(0, 1fr); } .hoh-review dd { margin-bottom: .5em; } }
.hoh-review-sig { max-width: 260px; margin-top: 1em; border-bottom: 1px solid var(--hoh-line); }
.hoh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.hoh-thanks { text-align: center; background: var(--hoh-sand); border-radius: 18px; padding: 2.5em 1.5em; }
.hoh-heart svg { animation: hoh-beat 1.4s ease-in-out infinite; }
@keyframes hoh-beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }

/* ---------- Terms page ---------- */
.hoh-terms h3 { margin-top: 1.5em; color: var(--hoh-green); }

/* ---------- Portal ---------- */
.hoh-portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em; flex-wrap: wrap; margin-bottom: 1em; }
.hoh-portal-head h2 { font-size: clamp(1.6em, 4vw, 2.2em); margin: 0; }
.hoh-logout { color: var(--hoh-muted); }
.hoh-notice { background: #E6F2EC; border-left: 4px solid var(--hoh-green); padding: .8em 1em; border-radius: 8px; margin-bottom: 1em; }
.hoh-timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; list-style: none; margin: 0 0 1.5em; padding: 0; counter-reset: s; }
.hoh-timeline li { position: relative; padding-top: 14px; font-size: .82em; color: var(--hoh-muted); }
.hoh-timeline li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 99px; background: var(--hoh-line); }
.hoh-timeline li.done::before { background: var(--hoh-green); }
.hoh-timeline li.current::before { background: var(--hoh-accent); }
.hoh-timeline li.current { color: var(--hoh-ink); font-weight: 700; }
@media (max-width: 600px) { .hoh-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; } }
.hoh-portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25em; }
@media (max-width: 720px) { .hoh-portal-grid { grid-template-columns: minmax(0, 1fr); } }
.hoh-dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3em 1em; margin: 0 0 1em; }
.hoh-dl dt { color: var(--hoh-muted); }
.hoh-dl dd { margin: 0; }
.hoh-compact .hoh-field { margin-bottom: .6em; }
.hoh-cert-card { background: var(--hoh-sun); border-color: transparent; }
.hoh-donate { background: var(--hoh-sand); }
.hoh-seg { display: inline-grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 10px; padding: 4px; margin-bottom: 1em; border: 1px solid var(--hoh-line); }
.hoh-seg label, .hoh-amounts label { position: relative; cursor: pointer; }
.hoh-seg input, .hoh-amounts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hoh-seg span { display: block; padding: .5em 1.2em; border-radius: 8px; font-weight: 600; text-align: center; }
.hoh-seg input:checked + span { background: var(--hoh-ink); color: #fff; }
.hoh-amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5em; margin-bottom: 1em; }
.hoh-amounts span { display: block; text-align: center; padding: .7em .3em; border: 2px solid var(--hoh-line); border-radius: 10px; background: #fff; font-weight: 700; }
.hoh-amounts input:checked + span { background: var(--hoh-accent); border-color: var(--hoh-accent); color: #fff; }
.hoh-seg input:focus-visible + span, .hoh-amounts input:focus-visible + span { outline: 3px solid #2B4C7E; outline-offset: 2px; }
.hoh-bank { white-space: pre-wrap; background: #fff; border: 1px solid var(--hoh-line); border-radius: 10px; padding: 1em; font: inherit; }
.hoh-thanks-box { border-color: var(--hoh-green); }
.hoh-table-wrap { overflow-x: auto; }
.hoh-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.hoh-table th, .hoh-table td { text-align: left; padding: .5em .6em; border-bottom: 1px solid var(--hoh-line); }
.hoh-login form p { margin: 0 0 .8em; }
.hoh-login label { display: block; font-weight: 600; }
.hoh-login input[type=submit] { background: var(--hoh-accent); color: #fff; border: 0; border-radius: 8px; padding: .8em 1.6em; font: inherit; font-weight: 700; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
	.hoh *, .hoh-heart svg { animation: none !important; transition: none !important; }
}

.hoh-logo { display: block; max-width: 100%; height: auto; margin: 0 0 1em; }
.hoh-logo-center { margin: 0 auto 1.25em; }
.hoh-login .hoh-logo { margin-bottom: 1.25em; }

/* Photo picker */
.hoh-photo-pick { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 0 1.1em; }
.hoh-photo-preview { width: 92px; height: 92px; border-radius: 50%; background: var(--hoh-sun) center / cover no-repeat; display: inline-flex; align-items: center; justify-content: center; color: #A0703A; flex: none; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--hoh-line); }
.hoh-photo-preview.has-photo, .hoh-photo-preview[style] { box-shadow: 0 0 0 2px var(--hoh-accent); }
.hoh-photo-text { display: flex; flex-direction: column; align-items: flex-start; gap: .4em; min-width: 0; }
.hoh .hoh-photo-text .hoh-file-btn { display: inline-flex; width: auto; margin: 0; }
.hoh-file-btn { position: relative; overflow: hidden; align-self: flex-start; }
.hoh-file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.hoh-file-btn:focus-within { outline: 3px solid #2B4C7E; outline-offset: 2px; }
.hoh-photo-name { font-size: .9em; color: var(--hoh-green); font-weight: 600; overflow-wrap: anywhere; }
.hoh-hello { display: flex; align-items: center; gap: .6em; }
.hoh-me-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--hoh-accent); }
.hoh-photo-card .hoh-field { margin-bottom: .75em; }
