/* =========================================================
   TBN Achievement Awards 2026 — Nomination flow
   Dark + orange. Mobile-first.
   Orange is the theme's own #F69A17 (theme.json "primary");
   the dark surfaces sit with the site's black nav and
   #2a2a2a footer, and with the existing awards landing page.
   ========================================================= */

.tbn-nom {
	/* Brand */
	--tbn-primary: #f69a17;
	--tbn-primary-dark: #d07a00;
	--tbn-primary-glow: rgba(246, 154, 23, 0.32);
	--tbn-primary-soft: rgba(246, 154, 23, 0.13);
	--tbn-primary-tint: rgba(246, 154, 23, 0.07);

	/* Surfaces, darkest to lightest */
	--tbn-bg: #0e0e0e;
	--tbn-surface: #1a1a1a;
	--tbn-surface-2: #232323;
	--tbn-surface-3: #2b2b2b;

	/* Lines */
	--tbn-line: #303030;
	--tbn-line-soft: #262626;
	--tbn-line-strong: #3d3d3d;

	/* Text */
	--tbn-ink: #ffffff;
	--tbn-ink-soft: #cfcfcf;
	--tbn-muted: #8f8f8f;

	/* Status — lightened for legibility on dark */
	--tbn-error: #ff7a70;
	--tbn-error-bg: rgba(255, 122, 112, 0.12);
	--tbn-error-line: rgba(255, 122, 112, 0.4);
	--tbn-success: #4ade80;
	--tbn-success-bg: rgba(74, 222, 128, 0.13);

	/* On orange, dark text clears 4.5:1; white does not. */
	--tbn-on-primary: #16120b;

	--tbn-radius: 20px;
	--tbn-radius-pill: 30px;
	--tbn-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);

	padding: 26px 0 48px;
	font-family: var(--wp--preset--font-family--poppins, "Poppins", Helvetica, Arial, sans-serif);
	background: var(--tbn-bg);
	color: var(--tbn-ink);
}

.tbn-nom *,
.tbn-nom *::before,
.tbn-nom *::after {
	box-sizing: border-box;
}

.tbn-nom ::selection {
	background: var(--tbn-primary);
	color: var(--tbn-on-primary);
}

/* ---------------------------------------------------------
   Stepper
   --------------------------------------------------------- */

.tbn-stepper {
	margin: 0 0 24px;
}

.tbn-stepper__list {
	display: none;
}

.tbn-stepper__mobile-text {
	margin: 0 0 9px;
	font-size: 14px;
	color: var(--tbn-muted);
}

.tbn-stepper__mobile-text strong {
	color: var(--tbn-ink);
}

.tbn-stepper__bar {
	height: 5px;
	border-radius: 5px;
	background: var(--tbn-surface-3);
	overflow: hidden;
}

.tbn-stepper__bar span {
	display: block;
	height: 100%;
	border-radius: 5px;
	background: linear-gradient(90deg, var(--tbn-primary-dark), var(--tbn-primary));
	transition: width 0.3s ease;
}

/* Confirmed: the journey is finished, so the bar and the tick go green. */
.tbn-stepper__mobile.is-complete .tbn-stepper__bar span {
	background: var(--tbn-success);
}

.tbn-stepper__mobile.is-failed .tbn-stepper__bar span {
	background: var(--tbn-error);
}

.tbn-stepper__tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-right: 6px;
	border-radius: 50%;
	background: var(--tbn-success-bg);
	color: var(--tbn-success);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
}

.tbn-stepper__tick--failed {
	background: var(--tbn-error-bg);
	color: var(--tbn-error);
}

/* ---------------------------------------------------------
   Masthead banner
   Matches the achievement-awards-2026 landing page: wide crop
   on desktop, taller crop on phones, swapped at 767px by the
   <picture> element rather than by hiding a second image.
   --------------------------------------------------------- */

.tbn-banner {
	margin: 0 0 22px;
	border-radius: 14px;
	overflow: hidden;
	background: var(--tbn-surface);
	line-height: 0;
}

.tbn-banner__img {
	display: block;
	width: 100%;
	height: auto;
	/* Reserve the space so the heading below does not jump on load. */
	aspect-ratio: 1920 / 540;
	object-fit: cover;
}

@media (max-width: 767px) {
	.tbn-banner {
		/* Full-bleed out of the container, as on the landing page. */
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		border-radius: 0;
	}

	/* A wide banner shown on a phone keeps its own ratio rather than being
	   cropped to a letterbox sliver. */
	.tbn-banner__img {
		aspect-ratio: auto;
	}
}

/* ---------------------------------------------------------
   Headings
   --------------------------------------------------------- */

.tbn-head {
	margin: 0 0 22px;
}

.tbn-eyebrow {
	margin: 0 0 5px;
	font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--tbn-primary);
}

.tbn-title {
	margin: 0 0 11px;
	font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif);
	font-size: 27px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--tbn-ink);
}

.tbn-title--center,
.tbn-lede--center {
	text-align: center;
}

.tbn-subtitle {
	margin: 0 0 15px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--tbn-ink);
}

.tbn-lede {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--tbn-ink-soft);
}

.tbn-lede + .tbn-lede {
	margin-top: 10px;
}

.tbn-legend {
	margin: 8px 0 2px;
	/* It is an <h2>, so the theme's heading rule would give it Barlow
	   Condensed. Inherit instead, to match the field labels around it. */
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	color: var(--tbn-ink);
}

/* ---------------------------------------------------------
   Card
   --------------------------------------------------------- */

.tbn-card {
	padding: 20px 16px;
	border: 1px solid var(--tbn-line);
	border-radius: var(--tbn-radius);
	background: var(--tbn-surface);
	box-shadow: var(--tbn-shadow);
}

/* ---------------------------------------------------------
   Fields
   --------------------------------------------------------- */

.tbn-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.tbn-field {
	margin: 0 0 18px;
}

.tbn-field--full {
	grid-column: 1 / -1;
}

.tbn-label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--tbn-ink);
}

.tbn-req {
	margin-left: 3px;
	color: var(--tbn-primary);
}

/* 16px minimum: anything smaller makes iOS Safari zoom on focus. */
.tbn-input {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 18px;
	border: 1px solid var(--tbn-line-strong);
	border-radius: var(--tbn-radius-pill);
	background: var(--tbn-surface-2);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	color: var(--tbn-ink);
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tbn-input::placeholder {
	color: #6f6f6f;
	opacity: 1;
}

.tbn-input:hover {
	border-color: #4a4a4a;
}

.tbn-input:focus,
.tbn-input:focus-visible {
	border-color: var(--tbn-primary);
	background: var(--tbn-surface-3);
	box-shadow: 0 0 0 3px var(--tbn-primary-glow);
}

/* Dark-appropriate chevron. */
.tbn-select {
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23b8b8b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	cursor: pointer;
}

/* The OS renders native option lists; keep them dark where supported. */
.tbn-select option {
	background: #1f1f1f;
	color: #ffffff;
}

.tbn-textarea {
	height: auto;
	min-height: 150px;
	padding: 14px 18px;
	border-radius: 16px;
	line-height: 1.6;
	resize: vertical;
}

.tbn-phone {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
	gap: 10px;
}

.tbn-hint {
	margin: 7px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--tbn-muted);
}

.tbn-hint--legend {
	margin: 0 0 12px;
}

.tbn-counter {
	margin: 8px 0 0;
	font-size: 13px;
	text-align: right;
	color: var(--tbn-muted);
}

.tbn-counter.is-near {
	color: var(--tbn-primary);
	font-weight: 600;
}

.tbn-counter.is-over {
	color: var(--tbn-error);
	font-weight: 600;
}

.tbn-error {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--tbn-error);
}

.tbn-field.has-error .tbn-input,
.tbn-check.has-error input {
	border-color: var(--tbn-error);
	background: var(--tbn-error-bg);
}

.tbn-field.has-error .tbn-input:focus {
	box-shadow: 0 0 0 3px rgba(255, 122, 112, 0.22);
}

.tbn-alert {
	/* No width cap: the alert is a sibling of the form card and must line up
	   with it, not sit narrower. */
	margin: 0 0 20px;
	padding: 15px 17px;
	border: 1px solid var(--tbn-error-line);
	border-left-width: 4px;
	border-radius: 12px;
	background: var(--tbn-error-bg);
	font-size: 14px;
	line-height: 1.55;
	color: #ffc9c4;
}

.tbn-alert strong {
	display: block;
	margin-bottom: 3px;
	color: #ffffff;
}

.tbn-alert--notice {
	border-color: rgba(246, 154, 23, 0.42);
	background: var(--tbn-primary-soft);
	color: #f4d3a4;
}

/* Off-canvas without a negative offset, which can widen the scroll area. */
.tbn-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------------------------------------------------------
   Upload
   --------------------------------------------------------- */

.tbn-upload__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.tbn-upload__drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 132px;
	padding: 22px 16px;
	border: 2px dashed var(--tbn-line-strong);
	border-radius: 16px;
	background: var(--tbn-surface-2);
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.tbn-upload__drop:hover,
.tbn-upload.is-dragging .tbn-upload__drop,
.tbn-upload__input:focus-visible + .tbn-upload__drop {
	border-color: var(--tbn-primary);
	background: var(--tbn-primary-tint);
}

.tbn-upload__input:focus-visible + .tbn-upload__drop {
	box-shadow: 0 0 0 3px var(--tbn-primary-glow);
}

.tbn-upload__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tbn-primary);
	color: var(--tbn-on-primary);
	font-size: 19px;
	font-weight: 700;
}

.tbn-upload__cta {
	font-size: 15px;
	font-weight: 600;
	color: var(--tbn-ink);
}

.tbn-upload__meta {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--tbn-muted);
}

/* Files already attached to a nomination being edited. */
.tbn-upload__existing {
	margin: 12px 0 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.03);
}

.tbn-upload__existing {
	border: 1px solid rgba(74, 222, 128, 0.25);
}

.tbn-upload__existing-title {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tbn-ink);
}

.tbn-upload__existing-tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-right: 5px;
	border-radius: 50%;
	background: var(--tbn-success-bg);
	color: var(--tbn-success);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
}

.tbn-upload__existing-list {
	margin: 0;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--tbn-ink);
}

.tbn-upload__existing-note {
	margin: 6px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--tbn-muted);
}

.tbn-upload__list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.tbn-upload__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 13px;
	margin: 0 0 8px;
	border: 1px solid var(--tbn-line);
	border-radius: 12px;
	background: var(--tbn-surface-2);
	font-size: 13.5px;
	color: var(--tbn-ink-soft);
}

.tbn-upload__name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tbn-upload__size {
	flex: 0 0 auto;
	color: var(--tbn-muted);
	font-size: 12.5px;
}

.tbn-upload__item.is-invalid {
	border-color: var(--tbn-error-line);
	background: var(--tbn-error-bg);
	color: #ffc9c4;
}

.tbn-upload__remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: 8px;
	border: 0;
	border-radius: 50%;
	background: var(--tbn-line-strong);
	color: var(--tbn-ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.tbn-upload__remove:hover {
	background: var(--tbn-error);
	color: #ffffff;
}

/* ---------------------------------------------------------
   Consents
   --------------------------------------------------------- */

.tbn-consents {
	margin: 0 0 24px;
	padding: 17px 19px;
	border: 1px solid var(--tbn-line-soft);
	border-radius: 16px;
	background: var(--tbn-surface-2);
}

.tbn-check {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 11px;
	align-items: center;
	min-height: 44px;
	margin: 0 0 10px;
}

.tbn-check:last-child {
	margin-bottom: 0;
}

.tbn-check input[type="checkbox"] {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--tbn-primary);
	cursor: pointer;
}

.tbn-check label {
	font-size: 14px;
	line-height: 1.55;
	color: var(--tbn-ink-soft);
	cursor: pointer;
}

.tbn-check .tbn-error {
	grid-column: 1 / -1;
	margin-top: 2px;
}

.tbn-check a {
	color: var(--tbn-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tbn-check a:hover {
	color: #ffb648;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.tbn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 52px;
	padding: 0 30px;
	border: 0;
	border-radius: var(--tbn-radius-pill);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.tbn-btn--primary {
	background: var(--tbn-primary);
	/* Dark label on orange: ~9:1, where white would be ~2:1. */
	color: var(--tbn-on-primary);
	box-shadow: 0 4px 16px rgba(246, 154, 23, 0.22);
}

.tbn-btn--primary:hover,
.tbn-btn--primary:focus {
	background: #ffab33;
	color: var(--tbn-on-primary);
	transform: translateY(-1px);
	box-shadow: 0 6px 22px rgba(246, 154, 23, 0.34);
}

.tbn-btn--ghost {
	border: 1px solid var(--tbn-primary);
	background: transparent;
	color: var(--tbn-primary);
}

.tbn-btn--ghost:hover {
	background: var(--tbn-primary-soft);
	color: #ffb648;
}

/* Share the words evenly across lines instead of stranding the last one. */
.tbn-btn--block {
	display: flex;
	width: 100%;
	/* Share the words evenly across lines instead of stranding the last one. */
	text-wrap: balance;
}

/* [BACK TO THE BREW NEWS] — caps applied in CSS, not in the markup. */
.tbn-btn--caps {
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

.tbn-btn:focus-visible {
	outline: 3px solid var(--tbn-primary-glow);
	outline-offset: 3px;
}

.tbn-btn.is-busy {
	position: relative;
	color: transparent;
	pointer-events: none;
}

/* The label is hidden rather than removed, so the button keeps its width and
   the layout does not jump when the spinner appears. */
.tbn-btn.is-busy > * {
	visibility: hidden;
}

.tbn-btn.is-busy::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(22, 18, 11, 0.3);
	border-top-color: var(--tbn-on-primary);
	border-radius: 50%;
	animation: tbn-spin 0.7s linear infinite;
}

.tbn-btn--ghost.is-busy::after,
.tbn-btn--secondary.is-busy::after {
	border-color: rgba(255, 255, 255, 0.25);
	border-top-color: var(--tbn-ink);
}

/* ---------------------------------------------------------
   Payment overlay
   Handing off to the gateway takes a moment, and a page that
   looks frozen invites a second click on the pay button.
   --------------------------------------------------------- */

.tbn-loading {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	background: rgba(14, 14, 14, 0.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.tbn-loading.is-visible {
	opacity: 1;
	visibility: visible;
}

.tbn-loading__title {
	margin: 18px 0 6px;
	text-wrap: balance;
	font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--tbn-ink);
}

.tbn-loading__text {
	margin: 0;
	max-width: 320px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--tbn-ink-soft);
	text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) {
	.tbn-btn.is-busy::after,
	.tbn-spinner {
		animation-duration: 2s;
	}

	.tbn-loading {
		transition: none;
	}
}

.tbn-actions {
	text-align: center;
}

.tbn-actions .tbn-btn {
	width: 100%;
}

.tbn-actions__note {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--tbn-muted);
}

/* ---------------------------------------------------------
   Terms
   --------------------------------------------------------- */

.tbn-terms {
	margin: 24px 0 0;
}

.tbn-terms__details {
	border: 1px solid var(--tbn-line);
	border-radius: 16px;
	background: var(--tbn-surface);
}

.tbn-terms__summary {
	padding: 16px 19px;
	font-size: 15px;
	font-weight: 600;
	color: var(--tbn-ink);
	cursor: pointer;
	list-style: none;
}

.tbn-terms__summary::-webkit-details-marker {
	display: none;
}

.tbn-terms__summary::after {
	content: "+";
	float: right;
	font-size: 19px;
	line-height: 1;
	color: var(--tbn-primary);
}

.tbn-terms__details[open] .tbn-terms__summary::after {
	content: "\2212";
}

.tbn-terms__list {
	margin: 0;
	padding: 0 22px 20px 38px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--tbn-ink-soft);
}

.tbn-terms__list li {
	margin-bottom: 10px;
}

.tbn-terms__list li::marker {
	color: var(--tbn-primary);
	font-weight: 700;
}

/* ---------------------------------------------------------
   Step 2 — Review
   --------------------------------------------------------- */

.tbn-review {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.tbn-review__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.tbn-ref {
	padding: 5px 12px;
	border: 1px solid rgba(246, 154, 23, 0.34);
	border-radius: 20px;
	background: var(--tbn-primary-soft);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	color: var(--tbn-primary);
}

.tbn-summary {
	margin: 0;
}

.tbn-summary__row {
	padding: 13px 0;
	border-bottom: 1px solid var(--tbn-line-soft);
}

.tbn-summary__row:last-child {
	border-bottom: 0;
}

.tbn-summary dt {
	margin: 0 0 4px;
	font-size: 12.5px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--tbn-muted);
}

.tbn-summary dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	font-weight: 600;
	color: var(--tbn-ink);
	word-break: break-word;
}

.tbn-summary__bio {
	font-weight: 400;
	color: var(--tbn-ink-soft);
}

.tbn-summary__meta {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--tbn-muted);
}

.tbn-summary__link {
	color: var(--tbn-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-all;
}

.tbn-summary__link:hover,
.tbn-summary__link:focus {
	color: var(--tbn-ink);
}

.tbn-summary__files {
	margin: 0;
	padding-left: 18px;
	font-weight: 400;
	font-size: 14px;
	color: var(--tbn-ink-soft);
}

.tbn-cat {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 6px 14px;
	border: 1px solid rgba(246, 154, 23, 0.3);
	border-radius: 20px;
	background: var(--tbn-primary-soft);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tbn-primary);
}

.tbn-review__edit {
	margin: 15px 0 0;
	padding-top: 15px;
	border-top: 1px solid var(--tbn-line-soft);
	font-size: 13px;
	line-height: 1.6;
	color: var(--tbn-muted);
}

.tbn-review__edit a {
	color: var(--tbn-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tbn-pay {
	background: linear-gradient(180deg, var(--tbn-surface-2), var(--tbn-surface));
	border-color: var(--tbn-line-strong);
}

/* Who the fee is being paid for, restated at the point of payment. */
.tbn-pay__for {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--tbn-line);
	border-radius: 12px;
	background: var(--tbn-surface-2);
}

.tbn-pay__for-label {
	font-size: 11.5px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--tbn-muted);
}

.tbn-pay__for-name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--tbn-ink);
	word-break: break-word;
}

.tbn-pay__for-company {
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--tbn-primary);
	word-break: break-word;
}

.tbn-pay__lines {
	margin: 0 0 12px;
}

.tbn-pay__line {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed var(--tbn-line);
	font-size: 14px;
	line-height: 1.45;
	color: var(--tbn-ink-soft);
}

.tbn-pay__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 0 18px;
	padding: 14px 0 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--tbn-ink);
}

.tbn-pay__total strong {
	font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif);
	font-size: 29px;
	line-height: 1;
	color: var(--tbn-primary);
}

.tbn-pay__secure {
	margin: 13px 0 0;
	font-size: 13px;
	text-align: center;
	color: var(--tbn-muted);
}

.tbn-pay__secure strong {
	color: var(--tbn-primary);
}

.tbn-pay__note {
	margin: 10px 0 0;
	font-size: 12.5px;
	line-height: 1.55;
	text-align: center;
	color: var(--tbn-muted);
}

/* Sticky mobile pay bar — the price stays visible while scrolling. */
.tbn-paybar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px calc(11px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--tbn-line-strong);
	background: rgba(18, 18, 18, 0.96);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.tbn-paybar.is-visible {
	display: flex;
}

.tbn-paybar__amount {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.tbn-paybar__amount span {
	font-size: 11.5px;
	color: var(--tbn-muted);
}

.tbn-paybar__amount strong {
	font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif);
	font-size: 22px;
	color: var(--tbn-primary);
}

.tbn-paybar .tbn-btn {
	min-height: 46px;
	padding: 0 22px;
	font-size: 15px;
}

/* ---------------------------------------------------------
   Step 3 — Confirmed
   --------------------------------------------------------- */

.tbn-done {
	position: relative;
	max-width: 620px;
	margin: 0 auto;
	padding: 40px 22px 34px;
	text-align: center;
	overflow: hidden;
}

/* Warm glow behind the confirmation, so the page feels like an arrival. */
.tbn-done::before {
	content: "";
	position: absolute;
	top: -140px;
	left: 50%;
	width: 320px;
	height: 260px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse at center, rgba(246, 154, 23, 0.16), rgba(246, 154, 23, 0) 70%);
	pointer-events: none;
}

.tbn-done > * {
	position: relative;
}

.tbn-done__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	margin: 0 auto 22px;
	border: 1px solid rgba(74, 222, 128, 0.4);
	border-radius: 50%;
	background: var(--tbn-success-bg);
	box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.06);
	color: var(--tbn-success);
	font-size: 36px;
	font-weight: 700;
	line-height: 1;
}

/* Step 3 headline. Uppercased in CSS so the markup stays sentence-case and
   screen readers do not spell it out letter by letter. */
.tbn-done__headline {
	margin: 0 0 20px;
	font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--tbn-ink);
}

.tbn-done__mark--failed {
	border-color: var(--tbn-error-line);
	background: var(--tbn-error-bg);
	box-shadow: 0 0 0 8px rgba(255, 122, 112, 0.06);
	color: var(--tbn-error);
}

.tbn-done--failed .tbn-done__headline {
	color: var(--tbn-error);
}

.tbn-done__text {
	max-width: 480px;
	margin: 0 auto 16px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--tbn-ink-soft);
}

.tbn-done__text strong {
	color: var(--tbn-ink);
	font-weight: 600;
}

/* The awards name reads as one unit, on its own line rather than broken
   across two. Narrow phones fall back to wrapping instead of overflowing. */
.tbn-done__award {
	display: block;
	white-space: nowrap;
}

@media (max-width: 380px) {
	.tbn-done__award {
		white-space: normal;
	}
}

.tbn-done__text--email {
	margin-bottom: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--tbn-line-soft);
}

.tbn-done__text--email strong {
	color: var(--tbn-primary);
	word-break: break-word;
}

.tbn-spinner {
	width: 42px;
	height: 42px;
	margin: 0 auto 22px;
	border: 3px solid var(--tbn-surface-3);
	border-top-color: var(--tbn-primary);
	border-radius: 50%;
	animation: tbn-spin 0.9s linear infinite;
}

@keyframes tbn-spin {
	to {
		transform: rotate(360deg);
	}
}

.tbn-closed {
	max-width: 620px;
	margin: 0 auto;
	text-align: center;
}

.tbn-closed .tbn-btn {
	margin-top: 20px;
}

/* ---------------------------------------------------------
   Tablet — 768px and up
   --------------------------------------------------------- */

@media (min-width: 768px) {

	.tbn-nom {
		padding: 36px 0 64px;
	}

	.tbn-stepper__mobile {
		display: none;
	}

	.tbn-stepper__list {
		display: flex;
		align-items: center;
		gap: 8px;
		margin: 0 0 4px;
		padding: 0;
		list-style: none;
	}

	.tbn-stepper__item {
		display: flex;
		flex: 1 1 0;
		align-items: center;
		gap: 10px;
		padding: 12px 15px;
		border: 1px solid var(--tbn-line);
		border-radius: var(--tbn-radius-pill);
		background: var(--tbn-surface);
		font-size: 14px;
		font-weight: 600;
		color: var(--tbn-muted);
	}

	.tbn-stepper__dot {
		display: flex;
		flex: 0 0 auto;
		align-items: center;
		justify-content: center;
		width: 26px;
		height: 26px;
		border-radius: 50%;
		background: var(--tbn-surface-3);
		color: var(--tbn-muted);
		font-size: 13px;
	}

	.tbn-stepper__item.is-current {
		border-color: rgba(246, 154, 23, 0.45);
		background: var(--tbn-primary-soft);
		color: var(--tbn-primary);
	}

	.tbn-stepper__item.is-current .tbn-stepper__dot {
		background: var(--tbn-primary);
		color: var(--tbn-on-primary);
	}

	.tbn-stepper__item.is-done {
		border-color: rgba(74, 222, 128, 0.32);
		background: var(--tbn-success-bg);
		color: var(--tbn-success);
	}

	.tbn-stepper__item.is-done .tbn-stepper__dot {
		background: var(--tbn-success);
		color: #0e2b17;
	}

	/* Payment declined: the step needs attention, not celebration. */
	.tbn-stepper__item.is-failed {
		border-color: var(--tbn-error-line);
		background: var(--tbn-error-bg);
		color: var(--tbn-error);
	}

	.tbn-stepper__item.is-failed .tbn-stepper__dot {
		background: var(--tbn-error);
		color: #2b0e0c;
	}

	.tbn-card {
		padding: 30px 32px;
	}

	.tbn-title {
		font-size: 35px;
	}

	.tbn-lede {
		font-size: 16px;
		max-width: 720px;
	}

	.tbn-lede--center {
		margin-left: auto;
		margin-right: auto;
	}

	.tbn-grid {
		grid-template-columns: 1fr 1fr;
		column-gap: 22px;
	}

	.tbn-field {
		margin-bottom: 22px;
	}

	.tbn-done {
		padding: 48px 40px 40px;
	}

	.tbn-done__headline {
		font-size: 31px;
	}

	.tbn-done__text {
		font-size: 15.5px;
	}

	.tbn-actions {
		text-align: left;
	}

	.tbn-actions .tbn-btn {
		width: auto;
		min-width: 290px;
	}

	.tbn-actions__note {
		margin-top: 13px;
	}

	.tbn-summary__row {
		display: grid;
		grid-template-columns: 190px 1fr;
		gap: 16px;
		align-items: baseline;
	}

	.tbn-summary dt {
		margin: 0;
	}

	.tbn-paybar {
		display: none !important;
	}
}

/* ---------------------------------------------------------
   Desktop — 1024px and up
   --------------------------------------------------------- */

@media (min-width: 1024px) {

	.tbn-title {
		font-size: 41px;
	}

	.tbn-review {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 24px;
		align-items: start;
	}

	.tbn-pay {
		position: sticky;
		top: 24px;
	}

	.tbn-form,
	.tbn-head,
	.tbn-terms,
	.tbn-stepper,
	.tbn-alert {
		max-width: 980px;
	}

	/* The confirmation card is narrower than the form for readability, but it
	   must centre on the form's 980px band — not on the wider .container, which
	   is what "margin: 0 auto" would do and which pushed it visibly right. */
	.tbn-done {
		margin-left: calc((980px - 620px) / 2);
		margin-right: auto;
	}
}

/* ---------------------------------------------------------
   Motion preferences
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.tbn-nom *,
	.tbn-nom *::before,
	.tbn-nom *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.tbn-btn:hover {
		transform: none;
	}
}
