   HAPEI Ambassador Page (v2)  |  append to end of assets/css/main.css
   Editorial rhythm: warm hero, illustrated cards, red rotator band,
   campus pill list, portrait-video block, article grid, FAQ, form.
   All namespaced .hp-ambx- so it never collides with the older .hp-amb-.
   Form styles (.hp-amb-form ...) from the previous file are kept -- they
   still power the application form rendered by hapei_ambassador_render_form().
   ========================================================================= */

/* ---- Section head ---- */
.hp-ambx-secH {
	max-width: 720px;
	margin: 0 0 56px;
}
.hp-ambx-secH--center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.hp-ambx-eyebrow {
	display: inline-block;
	color: var(--hp-primary, #e10d0d);
	font-family: var(--hp-body, "Inter", sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.hp-ambx-eyebrow--light { color: var(--hp-primary, #e10d0d); }
.hp-ambx-secH h2 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--hp-ink, #1a0b0b);
	margin: 0 0 16px;
	font-weight: 800;
}
.hp-ambx-secH p {
	font-size: 16px;
	line-height: 1.65;
	color: rgba(26, 11, 11, 0.65);
	margin: 0;
}
.hp-ambx-secH--on-dark h2 { color: #fff; }
.hp-ambx-secH--on-dark p { color: rgba(255, 255, 255, 0.65); }

/* ---- Buttons ---- */
.hp-ambx-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 30px;
	border-radius: 999px;
	font-family: var(--hp-body, "Inter", sans-serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hp-ambx-btn--fill {
	background: var(--hp-primary, #e10d0d);
	color: #fff;
	box-shadow: 0 10px 24px rgba(225, 13, 13, 0.28);
}
.hp-ambx-btn--fill:hover,
.hp-ambx-btn--fill:focus-visible {
	background: var(--hp-primary-dark, #a40000);
	transform: translateY(-2px);
	color: #fff;
	outline: none;
}
.hp-ambx-btn--light {
	background: #fff;
	color: var(--hp-primary, #e10d0d);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
.hp-ambx-btn--light:hover,
.hp-ambx-btn--light:focus-visible {
	background: var(--hp-ink, #1a0b0b);
	color: #fff;
	transform: translateY(-2px);
	outline: none;
}
.hp-ambx-btn--ghost {
	background: transparent;
	color: var(--hp-ink, #1a0b0b);
	border: 1.5px solid rgba(26, 11, 11, 0.15);
}
.hp-ambx-btn--ghost:hover,
.hp-ambx-btn--ghost:focus-visible {
	border-color: var(--hp-primary, #e10d0d);
	color: var(--hp-primary, #e10d0d);
	outline: none;
}

/* ============================ 1. HERO ============================ */
.hp-ambx-hero {
	padding: clamp(64px, 8vw, 112px) 0 0;
	background: #fff;
	position: relative;
}
.hp-ambx-hero__inner {
	text-align: center;
	max-width: 780px;
	margin: 0 auto;
	padding-bottom: 48px;
}
.hp-ambx-hero__eyebrow {
	display: inline-block;
	color: var(--hp-primary, #e10d0d);
	font-family: var(--hp-body, "Inter", sans-serif);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 24px;
}
.hp-ambx-hero__title {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(36px, 6vw, 68px);
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--hp-ink, #1a0b0b);
	margin: 0 0 16px;
	font-weight: 800;
}
.hp-ambx-hero__lead {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(18px, 2vw, 22px);
	color: rgba(26, 11, 11, 0.55);
	margin: 0 0 32px;
	font-weight: 500;
	letter-spacing: -0.01em;
}

/* Portrait strip -- 4 up desktop, 2 up mobile, no gaps between portraits. */
.hp-ambx-portraits {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	max-width: 1100px;
	margin: 0 auto;
	padding-bottom: 24px;
}
.hp-ambx-portrait {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--hp-mist, #fbf6f5);
	border-radius: 4px;
}
.hp-ambx-portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s ease;
}
.hp-ambx-portrait:hover img { transform: scale(1.03); }
.hp-ambx-portrait figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 40px 14px 14px;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
	opacity: 0;
	transition: opacity .3s ease;
}
.hp-ambx-portrait:hover figcaption { opacity: 1; }
.hp-ambx-portrait figcaption span {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	display: block;
}
@media (max-width: 720px) {
	.hp-ambx-portraits { grid-template-columns: repeat(2, 1fr); }
}

/* ============================ 2. WHAT YOU GET ============================ */
.hp-ambx-gets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.hp-ambx-get {
	padding: 32px 28px 28px;
	background: var(--hp-mist, #fbf6f5);
	border-radius: 20px;
	position: relative;
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.hp-ambx-get:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(26, 11, 11, 0.06);
}
.hp-ambx-get__art {
	position: relative;
	width: 100%;
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 22px;
}
.hp-ambx-get__art svg {
	position: relative;
	width: 96px;
	height: 96px;
	z-index: 1;
}
.hp-ambx-get__blob {
	position: absolute;
	inset: 0;
	background: currentColor;
	opacity: 0.12;
	border-radius: 24px 40px 20px 44px / 40px 20px 44px 24px;
	transition: transform .8s ease;
}
.hp-ambx-get:hover .hp-ambx-get__blob { transform: rotate(6deg) scale(1.03); }

.hp-ambx-get--a { color: var(--hp-primary, #e10d0d); }
.hp-ambx-get--b { color: #6b3bdc; }
.hp-ambx-get--b .hp-ambx-get__blob { background: #6b3bdc; }
.hp-ambx-get--c { color: #0f8f56; }
.hp-ambx-get--c .hp-ambx-get__blob { background: #0f8f56; }

.hp-ambx-get h3 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 20px;
	font-weight: 700;
	color: var(--hp-ink, #1a0b0b);
	margin: 0 0 10px;
	line-height: 1.25;
}
.hp-ambx-get p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(26, 11, 11, 0.65);
}
@media (max-width: 900px) { .hp-ambx-gets { grid-template-columns: 1fr; } }

/* ============================ 3. RED ROTATOR BAND ============================ */
.hp-ambx-band {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--hp-primary, #e10d0d) 0%, var(--hp-primary-dark, #a40000) 100%);
	color: #fff;
	padding: clamp(56px, 8vw, 96px) 0;
}
.hp-ambx-band__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.12;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255,255,255,0.4) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(255,255,255,0.3) 0%, transparent 50%),
		repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.04) 20px 21px);
	pointer-events: none;
}
.hp-ambx-band__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}
.hp-ambx-band__lead {
	font-family: var(--hp-body, "Inter", sans-serif);
	font-size: clamp(15px, 1.6vw, 18px);
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 18px;
	font-weight: 500;
	letter-spacing: 0.01em;
}
.hp-ambx-rot {
	position: relative;
	height: clamp(56px, 8vw, 96px);
	margin-bottom: 34px;
}
.hp-ambx-rot__word {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(36px, 6vw, 72px);
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .5s ease, transform .5s ease;
	white-space: nowrap;
}
.hp-ambx-rot__word.is-active {
	opacity: 1;
	transform: translateY(0);
}
.hp-ambx-rot__word.is-leaving {
	opacity: 0;
	transform: translateY(-16px);
	transition: opacity .3s ease, transform .3s ease;
}

/* ============================ 4. CAMPUS REACH ============================ */
.hp-ambx-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	justify-content: center;
	max-width: 980px;
	margin: 0 auto;
}
.hp-ambx-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: #fff;
	border: 1.5px solid rgba(26, 11, 11, 0.08);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: rgba(26, 11, 11, 0.85);
	transition: border-color .2s ease, transform .2s ease, background .2s ease;
	cursor: default;
}
.hp-ambx-pill:hover {
	border-color: var(--hp-primary, #e10d0d);
	background: rgba(225, 13, 13, 0.03);
	transform: translateY(-1px);
}
.hp-ambx-pill__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hp-primary, #e10d0d);
	flex-shrink: 0;
}
.hp-ambx-empty {
	text-align: center;
	color: rgba(26, 11, 11, 0.5);
	font-style: italic;
}
.hp-ambx-reach-cta {
	text-align: center;
	margin-top: 40px;
}

/* ============================ 5. VIDEO / PROFILE STORIES ============================ */
.hp-ambx-vsec {
	position: relative;
	background: linear-gradient(180deg, #4c2fd0 0%, #3d21a8 100%);
	color: #fff;
	padding: clamp(64px, 9vw, 112px) 0;
	overflow: hidden;
}
.hp-ambx-vsec::before {
	content: "";
	position: absolute;
	inset: -50% -20% auto -20%;
	height: 60%;
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
	pointer-events: none;
}
.hp-ambx-vsec > .hp-wrap { position: relative; z-index: 1; }

.hp-ambx-vids {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.hp-ambx-vid {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: 16px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.2);
	text-decoration: none;
	color: inherit;
	transform: translateY(0);
	transition: transform .35s ease, box-shadow .35s ease;
}
.hp-ambx-vid:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.hp-ambx-vid__media {
	position: absolute;
	inset: 0;
	display: block;
}
.hp-ambx-vid__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s ease, filter .3s ease;
}
.hp-ambx-vid:hover .hp-ambx-vid__media img {
	transform: scale(1.06);
	filter: brightness(0.75);
}
.hp-ambx-vid__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
	z-index: 2;
}
.hp-ambx-vid__play svg {
	width: 32px;
	height: 32px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--hp-primary, #e10d0d);
	border-radius: 50%;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
	transition: transform .3s ease, background .3s ease;
	box-sizing: content-box;
}
.hp-ambx-vid:hover .hp-ambx-vid__play svg {
	transform: scale(1.08);
	background: #fff;
}
.hp-ambx-vid__meta {
	position: absolute;
	inset: auto 0 0 0;
	padding: 40px 18px 18px;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.hp-ambx-vid__meta strong {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 16px;
	color: #fff;
	font-weight: 700;
}
.hp-ambx-vid__meta span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 900px) { .hp-ambx-vids { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hp-ambx-vids { grid-template-columns: 1fr; } }

/* ============================ 6. WRITTEN STORIES ============================ */
.hp-ambx-reads {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 20px;
}
.hp-ambx-read {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	border: 1px solid rgba(26, 11, 11, 0.06);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hp-ambx-read:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(26, 11, 11, 0.08);
	border-color: rgba(225, 13, 13, 0.2);
}
.hp-ambx-read__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--hp-mist, #fbf6f5);
}
.hp-ambx-read__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.hp-ambx-read:hover .hp-ambx-read__media img { transform: scale(1.04); }
.hp-ambx-read__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(225,13,13,0.1), rgba(255,75,43,0.06));
}
.hp-ambx-read__body {
	padding: 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.hp-ambx-read__body h3 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--hp-ink, #1a0b0b);
	margin: 0;
	line-height: 1.3;
	transition: color .2s ease;
}
.hp-ambx-read:hover .hp-ambx-read__body h3 { color: var(--hp-primary, #e10d0d); }
.hp-ambx-read__body p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(26, 11, 11, 0.65);
	flex: 1;
}
.hp-ambx-read__date {
	font-size: 12px;
	font-weight: 600;
	color: rgba(26, 11, 11, 0.4);
	letter-spacing: 0.04em;
}
@media (max-width: 900px) { .hp-ambx-reads { grid-template-columns: 1fr; } }

/* ============================ 7. FAQ ============================ */
.hp-ambx-faq-wrap { max-width: 780px; margin: 0 auto; }
.hp-ambx-faq { border-top: 1px solid rgba(26, 11, 11, 0.08); }
.hp-ambx-faq__item { border-bottom: 1px solid rgba(26, 11, 11, 0.08); }
.hp-ambx-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 4px;
	cursor: pointer;
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 17px;
	font-weight: 600;
	color: var(--hp-ink, #1a0b0b);
	list-style: none;
	transition: color .2s ease;
}
.hp-ambx-faq__item summary::-webkit-details-marker { display: none; }
.hp-ambx-faq__item summary::after {
	content: "+";
	font-size: 24px;
	font-weight: 300;
	color: var(--hp-primary, #e10d0d);
	transition: transform .3s ease;
	flex-shrink: 0;
}
.hp-ambx-faq__item[open] summary::after { transform: rotate(45deg); }
.hp-ambx-faq__item summary:hover { color: var(--hp-primary, #e10d0d); }
.hp-ambx-faq__item > div {
	padding: 0 4px 22px;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(26, 11, 11, 0.7);
}

/* ============================ 8. APPLICATION FORM
   (form internals still styled by earlier .hp-amb-* rules) ============================ */
.hp-ambx-form-sec {
	position: relative;
	overflow: hidden;
	background: var(--hp-ink, #1a0b0b);
	color: #fff;
	padding: clamp(64px, 9vw, 112px) 0;
}
.hp-ambx-form-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 30%, rgba(225, 13, 13, 0.25) 0%, transparent 40%),
		radial-gradient(circle at 80% 70%, rgba(255, 75, 43, 0.15) 0%, transparent 45%);
	pointer-events: none;
}
.hp-ambx-form-wrap {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 48px;
	align-items: start;
}
.hp-ambx-form-side {
	position: sticky;
	top: 100px;
	padding-top: 12px;
}
.hp-ambx-form-side .hp-ambx-eyebrow { color: var(--hp-primary, #e10d0d); margin-bottom: 16px; display: block; }
.hp-ambx-form-side h2 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.1;
	color: #fff;
	margin: 0 0 20px;
	letter-spacing: -0.02em;
	font-weight: 800;
}
.hp-ambx-form-side p {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 32px;
}
.hp-ambx-form-side__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.hp-ambx-form-side__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
}
.hp-ambx-form-side__list li span { color: var(--hp-primary, #e10d0d); font-weight: 700; font-size: 18px; }
.hp-ambx-form-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	padding: 40px;
	backdrop-filter: blur(10px);
}
@media (max-width: 900px) {
	.hp-ambx-form-wrap { grid-template-columns: 1fr; }
	.hp-ambx-form-side { position: static; }
	.hp-ambx-form-card { padding: 28px 20px; }
}
/* =========================================================================
   HAPEI Ambassador Form internals  |  append to end of assets/css/main.css
   (or load as a separate file AFTER ambassador.css).
   These are the styles for the multi-step form itself, rendered by
   hapei_ambassador_render_form(). Scoped inside .hp-ambx-form-card so
   they only apply on the dark form panel and do not leak elsewhere.
   ========================================================================= */

.hp-ambx-form-card .hp-amb-notice {
	padding: 16px 20px;
	border-radius: 12px;
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 1.55;
}

.hp-ambx-form-card .hp-amb-notice--ok  { background: rgba(46, 200, 100, 0.12); border: 1px solid rgba(46, 200, 100, 0.3); color: #b6ffcc; }
.hp-ambx-form-card .hp-amb-notice--err { background: rgba(225, 13, 13, 0.15); border: 1px solid rgba(225, 13, 13, 0.4); color: #ffc9c9; }

.hp-ambx-form-card .hp-amb-form { display: block; }

/* Step tabs + progress bar */
.hp-ambx-form-card .hp-amb-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-bottom: 40px;
	position: relative;
}

.hp-ambx-form-card .hp-amb-step-tab {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 4px 20px;
	color: rgba(255, 255, 255, 0.4);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: color .3s ease;
	cursor: default;
}

.hp-ambx-form-card .hp-amb-step-tab.is-active,
.hp-ambx-form-card .hp-amb-step-tab.is-done { color: #fff; cursor: pointer; }

.hp-ambx-form-card .hp-amb-step-tab__n {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.6);
	display: grid;
	place-items: center;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
	transition: background .3s ease, color .3s ease;
}

.hp-ambx-form-card .hp-amb-step-tab.is-active .hp-amb-step-tab__n,
.hp-ambx-form-card .hp-amb-step-tab.is-done   .hp-amb-step-tab__n { background: var(--hp-primary, #e10d0d); color: #fff; }

@media (max-width: 640px) {
	.hp-ambx-form-card .hp-amb-step-tab__l { display: none; }
	.hp-ambx-form-card .hp-amb-step-tab { justify-content: center; }
}

.hp-ambx-form-card .hp-amb-progress {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 3px;
	overflow: hidden;
	grid-column: 1 / -1;
}

.hp-ambx-form-card .hp-amb-progress__fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--hp-primary, #e10d0d), var(--hp-accent, #ff4b2b));
	transition: width .4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 3px;
}

/* Step panels */
.hp-ambx-form-card .hp-amb-step {
	display: none;
	animation: hp-amb-fadein .4s ease-out;
}

.hp-ambx-form-card .hp-amb-step.is-active { display: block; }

@keyframes hp-amb-fadein {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Field grid */
.hp-ambx-form-card .hp-amb-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.hp-ambx-form-card .hp-amb-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hp-ambx-form-card .hp-amb-field--full { grid-column: 1 / -1; }

@media (max-width: 640px) {
	.hp-ambx-form-card .hp-amb-fields { grid-template-columns: 1fr; }
	.hp-ambx-form-card .hp-amb-field--half { grid-column: 1 / -1; }
}

.hp-ambx-form-card .hp-amb-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

.hp-ambx-form-card .hp-amb-req {
	color: var(--hp-primary, #e10d0d);
	font-weight: 700;
}

/* Inputs, textareas, selects */
.hp-ambx-form-card .hp-amb-field input[type=text],
.hp-ambx-form-card .hp-amb-field input[type=email],
.hp-ambx-form-card .hp-amb-field input[type=tel],
.hp-ambx-form-card .hp-amb-field input[type=url],
.hp-ambx-form-card .hp-amb-field input[type=number],
.hp-ambx-form-card .hp-amb-field input[type=date],
.hp-ambx-form-card .hp-amb-field textarea,
.hp-ambx-form-card .hp-amb-field select {
	width: 100%;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	padding: 13px 16px;
	color: #fff;
	font-family: var(--hp-body, "Inter", sans-serif);
	font-size: 15px;
	line-height: 1.4;
	outline: none;
	transition: border-color .2s ease, background .2s ease;
	box-sizing: border-box;
}

.hp-ambx-form-card .hp-amb-field textarea { resize: vertical; min-height: 120px; font-family: inherit; }

.hp-ambx-form-card .hp-amb-field input:focus,
.hp-ambx-form-card .hp-amb-field textarea:focus,
.hp-ambx-form-card .hp-amb-field select:focus {
	border-color: var(--hp-primary, #e10d0d);
	background: rgba(0, 0, 0, 0.4);
}

.hp-ambx-form-card .hp-amb-field input.is-invalid,
.hp-ambx-form-card .hp-amb-field textarea.is-invalid,
.hp-ambx-form-card .hp-amb-field select.is-invalid {
	border-color: #ff6b6b;
	background: rgba(255, 107, 107, 0.06);
}

/* Placeholder colour */
.hp-ambx-form-card .hp-amb-field input::placeholder,
.hp-ambx-form-card .hp-amb-field textarea::placeholder {
	color: rgba(255, 255, 255, 0.3);
}

/* Custom select arrow (native arrow hidden) */
.hp-ambx-form-card .hp-amb-field select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.hp-ambx-form-card .hp-amb-field select option { background: var(--hp-ink, #1a0b0b); color: #fff; }

.hp-ambx-form-card .hp-amb-help {
	margin: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.5;
}

/* Radios + multi checkboxes */
.hp-ambx-form-card .hp-amb-radios,
.hp-ambx-form-card .hp-amb-checks { display: flex; flex-direction: column; gap: 8px; }

.hp-ambx-form-card .hp-amb-radio,
.hp-ambx-form-card .hp-amb-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
	transition: border-color .15s ease, background .15s ease;
	margin: 0;
}

.hp-ambx-form-card .hp-amb-radio:hover,
.hp-ambx-form-card .hp-amb-check:hover {
	border-color: rgba(225, 13, 13, 0.4);
	background: rgba(0, 0, 0, 0.3);
}

.hp-ambx-form-card .hp-amb-radio input,
.hp-ambx-form-card .hp-amb-check input {
	accent-color: var(--hp-primary, #e10d0d);
	width: 16px;
	height: 16px;
	margin: 0;
}

/* Consent checkbox row */
.hp-ambx-form-card .hp-amb-field--consent { gap: 6px; }

.hp-ambx-form-card .hp-amb-consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px;
	background: rgba(225, 13, 13, 0.08);
	border: 1px solid rgba(225, 13, 13, 0.2);
	border-radius: 12px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
}

.hp-ambx-form-card .hp-amb-consent input {
	accent-color: var(--hp-primary, #e10d0d);
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
}

.hp-ambx-form-card .hp-amb-consent span { flex: 1; }

/* File upload */
.hp-ambx-form-card .hp-amb-file { position: relative; }

.hp-ambx-form-card .hp-amb-file input[type=file] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
	width: 100%;
	height: 100%;
}

.hp-ambx-form-card .hp-amb-file__drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 26px 20px;
	background: rgba(0, 0, 0, 0.25);
	border: 2px dashed rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	text-align: center;
	transition: border-color .2s ease, background .2s ease;
	cursor: pointer;
	margin: 0;
}

.hp-ambx-form-card .hp-amb-file:hover .hp-amb-file__drop {
	border-color: var(--hp-primary, #e10d0d);
	background: rgba(225, 13, 13, 0.08);
}

.hp-ambx-form-card .hp-amb-file__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(225, 13, 13, 0.15);
	color: var(--hp-primary, #e10d0d);
	display: grid;
	place-items: center;
}

.hp-ambx-form-card .hp-amb-file__icon svg { width: 20px; height: 20px; }

.hp-ambx-form-card .hp-amb-file__text {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.hp-ambx-form-card .hp-amb-file__text strong { color: var(--hp-primary, #e10d0d); }

.hp-ambx-form-card .hp-amb-file__meta {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.4);
	text-transform: uppercase;
}

.hp-ambx-form-card .hp-amb-file__picked {
	margin-top: 10px;
	padding: 12px 14px;
	background: rgba(46, 200, 100, 0.1);
	border: 1px solid rgba(46, 200, 100, 0.3);
	border-radius: 10px;
	font-size: 13px;
	color: #b6ffcc;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: space-between;
}

.hp-ambx-form-card .hp-amb-file__picked button {
	background: transparent;
	border: 0;
	color: #ff6b6b;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 8px;
}

/* Step navigation footer */
.hp-ambx-form-card .hp-amb-nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	align-items: center;
}

.hp-ambx-form-card .hp-amb-nav .hp-btn:only-child { margin-left: auto; }

/* Buttons (both nav buttons and the submit) */
.hp-ambx-form-card .hp-amb-form .hp-btn,
.hp-ambx-form-card .hp-amb-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 10px;
	border: 0;
	font-family: var(--hp-body, "Inter", sans-serif);
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
	line-height: 1;
}

.hp-ambx-form-card .hp-amb-form .hp-btn--primary,
.hp-ambx-form-card .hp-amb-submit {
	background: var(--hp-primary, #e10d0d);
	color: #fff;
	box-shadow: 0 8px 20px rgba(225, 13, 13, 0.28);
}

.hp-ambx-form-card .hp-amb-form .hp-btn--primary:hover,
.hp-ambx-form-card .hp-amb-submit:hover {
	background: var(--hp-primary-dark, #a40000);
	transform: translateY(-2px);
	color: #fff;
}

.hp-ambx-form-card .hp-amb-form .hp-btn--ghost {
	background: transparent;
	color: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: none;
}

.hp-ambx-form-card .hp-amb-form .hp-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.3);
	color: #fff;
	transform: none;
}

.hp-ambx-form-card .hp-amb-submit { width: 100%; justify-content: center; padding: 16px 32px; font-size: 15px; }

/* Mobile: full-width submit stays sticky-ish */
@media (max-width: 640px) {
	.hp-ambx-form-card .hp-amb-nav { flex-direction: column; }
	.hp-ambx-form-card .hp-amb-nav .hp-btn { width: 100%; justify-content: center; }
}
