/* Designer credit band, full width, directly above the footer's gold bar.
 *
 * Desktop: monogram and name, three contact links and the call to action on
 * one row, with the services line beneath. Tablets wrap the links onto their
 * own row; phones stack everything centred. The decorative gold sweep and
 * circuit art step back on narrow screens so they never crowd the text.
 */

.credit-band {
	position: relative;
	overflow: hidden;
	border-top: 1px solid rgba(201, 162, 74, 0.28);
	background:
		radial-gradient(ellipse 45% 120% at 12% 50%, rgba(40, 90, 180, 0.22), transparent 70%),
		radial-gradient(ellipse 40% 120% at 88% 50%, rgba(40, 90, 180, 0.22), transparent 70%),
		linear-gradient(100deg, #061634 0%, #0a1f4a 50%, #061634 100%);
	color: #fff;
	font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.credit-band__art {
	position: absolute;
	top: 0;
	height: 100%;
	pointer-events: none;
}

.credit-band__art--left {
	left: 0;
	width: min(20rem, 22%);
}

.credit-band__art--right {
	right: 0;
	width: min(22rem, 22%);
}

.credit-band__inner {
	position: relative;
	z-index: 1;
	max-width: max(85vw, 70rem);
	margin: 0 auto;
	padding: 1.75rem var(--gutter) 1.25rem;
}

.credit-band__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
}

.credit-band a {
	color: inherit;
	text-decoration: none;
}

.credit-band a:focus-visible {
	outline: 3px solid #e4c266;
	outline-offset: 4px;
	border-radius: 0.3rem;
}

/* ---- Monogram and name ---------------------------------------------------- */

.credit-band__who {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex: none;
}

.credit-band__monogram {
	width: auto;
	height: 4rem;
	padding-right: 1.25rem;
	border-right: 1px solid rgba(228, 194, 102, 0.55);
	box-sizing: content-box;
}

.credit-band__who-text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.credit-band__eyebrow {
	color: #e4c266;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.credit-band__name {
	font-size: clamp(1.4rem, 1rem + 1vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

.credit-band__role {
	color: #aebbd0;
	font-size: 0.82rem;
}

.credit-band__role span {
	margin: 0 0.35em;
	color: #6b7a93;
}

/* ---- Contact links ------------------------------------------------------- */

.credit-band__links {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.credit-band__links li {
	flex: none; /* never squeeze a link narrower than its text */
	padding: 0 1.4rem;
}

.credit-band__links li + li {
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.credit-band__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.95rem;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.credit-band__links a:hover {
	color: #f3d98b;
}

.credit-band__icon {
	width: 1.9rem;
	height: 1.9rem;
	flex: none;
	fill: none;
	stroke: #e4c266;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.credit-band__jp {
	width: auto;
	height: 1.9rem;
	flex: none;
}

.credit-band__ext {
	width: 1.05rem;
	height: 1.05rem;
	flex: none;
	fill: none;
	stroke: #4d8ef0;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---- Call to action ------------------------------------------------------ */

.credit-band__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	flex: none;
	padding: 0.95rem 1.75rem;
	border: 1px solid rgba(255, 238, 190, 0.7);
	border-radius: 999px;
	background: linear-gradient(180deg, #f7e2a4 0%, #e3bf66 45%, #c99a3c 100%);
	box-shadow:
		0 0 0 3px rgba(228, 194, 102, 0.18),
		0 6px 22px rgba(228, 194, 102, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
	color: #0a1f4a !important;
	font-size: 1.05rem;
	font-weight: 700;
	white-space: nowrap;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.credit-band__cta:hover {
	transform: translateY(-1px);
	box-shadow:
		0 0 0 3px rgba(228, 194, 102, 0.28),
		0 8px 26px rgba(228, 194, 102, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.credit-band__cta svg {
	width: 1.2rem;
	height: 1.2rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---- Services line ------------------------------------------------------- */

.credit-band__services {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.4rem 0;
	margin: 1.35rem 0 0;
	color: #c3cde0;
	font-size: 0.74rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.credit-band__services::before,
.credit-band__services::after {
	content: "";
	flex: 1 1 4rem;
	max-width: 16rem;
	height: 1px;
}

.credit-band__services::before {
	margin-right: 1.5rem;
	background: linear-gradient(90deg, transparent, rgba(228, 194, 102, 0.7));
}

.credit-band__services::after {
	margin-left: 1.5rem;
	background: linear-gradient(90deg, rgba(228, 194, 102, 0.7), transparent);
}

.credit-band__services span {
	padding: 0 1.1rem;
}

.credit-band__services span + span {
	border-left: 1px solid rgba(195, 205, 224, 0.4);
}

/* ---- Responsive ------------------------------------------------------------ */

/* One-row layout (wide screens): every size is in em against a base that is
   a fixed share of the band's own width (container query units), so the row
   scales as one piece and fits at any width rather than at a few tuned ones. */
.credit-band__inner {
	container-type: inline-size;
}

@media (min-width: 90.01rem) {
	.credit-band__row {
		gap: 1.2em 1.4em;
		font-size: clamp(13px, 1.12cqi, 24px);
	}

	.credit-band__who { gap: 1em; }
	.credit-band__monogram { height: 3.6em; padding-right: 1em; }
	.credit-band__eyebrow { font-size: 0.62em; }
	.credit-band__name { font-size: 1.75em; }
	.credit-band__role { font-size: 0.74em; }

	.credit-band__links li { padding: 0 0.95em; }
	.credit-band__links a { gap: 0.6em; font-size: 0.85em; }
	.credit-band__icon { width: 2em; height: 2em; }
	.credit-band__jp { height: 2em; }
	.credit-band__ext { width: 1.15em; height: 1.15em; }

	.credit-band__cta { padding: 0.8em 1.45em; font-size: 0.92em; }
	.credit-band__cta svg { width: 1.15em; height: 1.15em; }
}

/* Laptops: the links move to their own centred row beneath. */
@media (max-width: 90rem) {
	.credit-band__row {
		flex-wrap: wrap;
	}

	.credit-band__links {
		order: 3;
		width: 100%;
		justify-content: center;
		padding-top: 1.1rem;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}
}

/* Tablets: decorations fade back. */
@media (max-width: 62rem) {
	.credit-band__art {
		opacity: 0.45;
	}
}

/* Phones: everything stacks, centred. */
@media (max-width: 40rem) {
	.credit-band__inner {
		padding-top: 1.75rem;
		padding-bottom: 1.5rem;
	}

	.credit-band__row {
		flex-direction: column;
		text-align: center;
	}

	.credit-band__who {
		flex-direction: column;
		gap: 0.9rem;
	}

	.credit-band__monogram {
		height: 3.25rem;
		padding-right: 0;
		border-right: 0;
	}

	.credit-band__links {
		flex-direction: column;
		gap: 0.9rem;
	}

	.credit-band__links li,
	.credit-band__links li + li {
		padding: 0;
		border-left: 0;
	}

	.credit-band__services {
		font-size: 0.66rem;
		letter-spacing: 0.16em;
	}

	.credit-band__services::before,
	.credit-band__services::after {
		display: none;
	}

	/* Two by two, so a wrapped line never starts with a stray divider. */
	.credit-band__services {
		display: grid;
		grid-template-columns: repeat(2, auto);
		justify-content: center;
		gap: 0.6rem 0;
	}

	.credit-band__services span {
		padding: 0 0.8rem;
	}

	.credit-band__services span:nth-child(odd) {
		border-left: 0;
	}

	.credit-band__art {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.credit-band__cta,
	.credit-band__links a {
		transition: none;
	}

	.credit-band__cta:hover {
		transform: none;
	}
}
