/* IndiaForth Footer */

.iff-footer {
	--iff-navy: #1a2733;
	--iff-deep: #0f1a23;
	--iff-blue: #2f4152;
	--iff-gold: #d4a574;
	--iff-gold-soft: #efc9a0;
	--iff-text: rgba(255, 255, 255, .72);
	--iff-dim: rgba(255, 255, 255, .5);
	--iff-line: rgba(255, 255, 255, .1);
	--iff-ease: cubic-bezier(.2, .8, .2, 1);

	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: clamp(56px, 7vw, 96px) 0 0;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(900px 420px at 10% 0%, rgba(74, 98, 120, .38), transparent 62%),
		radial-gradient(720px 380px at 96% 100%, rgba(239, 201, 160, .07), transparent 62%),
		linear-gradient(180deg, #1d2833 0%, #16222d 45%, var(--iff-deep) 100%);
	color: var(--iff-text);
	font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

.iff-footer *,
.iff-footer *::before,
.iff-footer *::after {
	box-sizing: border-box;
}

/* Animated gold hairline along the top edge. */
.iff-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--iff-gold), #fff3e3, var(--iff-gold), transparent);
	background-size: 200% 100%;
	animation: iff-sheen 7s linear infinite;
}

@keyframes iff-sheen {
	from { background-position: 200% 0; }
	to   { background-position: -200% 0; }
}

/* ---------- Atmosphere ---------- */

.iff-footer .iff-grid {
	position: absolute;
	inset: 0;
	z-index: -3;
	pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 76px 76px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 80%);
	mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 80%);
}

.iff-footer .iff-spot {
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 20%), rgba(239, 201, 160, .11), transparent 65%);
}

.iff-footer .iff-orb {
	position: absolute;
	z-index: -2;
	border-radius: 50%;
	pointer-events: none;
	border: 1px solid rgba(239, 201, 160, .12);
}

.iff-footer .iff-orb--a {
	top: -180px;
	right: -120px;
	width: 460px;
	height: 460px;
	box-shadow: 0 0 0 40px rgba(239, 201, 160, .025), inset 0 0 0 40px rgba(239, 201, 160, .015);
	animation: iff-drift 24s ease-in-out infinite alternate;
}

.iff-footer .iff-orb--b {
	bottom: -220px;
	left: -160px;
	width: 380px;
	height: 380px;
	border-color: rgba(255, 255, 255, .07);
	animation: iff-drift 30s ease-in-out infinite alternate-reverse;
}

@keyframes iff-drift {
	from { transform: translate(0, 0) scale(1); }
	to   { transform: translate(-26px, 22px) scale(1.07); }
}

/* ---------- Layout ---------- */

.iff-footer .iff-wrap {
	position: relative;
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
}

.iff-footer .iff-main {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(32px, 4.4vw, 68px);
	padding-bottom: clamp(36px, 5vw, 64px);
}

.iff-footer .iff-col {
	min-width: 0;
}

/* ---------- CTA band (optional) ---------- */

.iff-footer .iff-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 40px;
	margin: 0 0 clamp(44px, 6vw, 76px);
	padding: clamp(26px, 4vw, 48px);
	border: 1px solid rgba(239, 201, 160, .22);
	border-radius: 20px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)),
		radial-gradient(520px 220px at 0% 0%, rgba(239, 201, 160, .12), transparent 70%);
	box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .8);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.iff-footer .iff-cta-copy {
	flex: 1 1 380px;
	max-width: 680px;
}

.iff-footer .iff-cta-title {
	margin: 0 0 10px;
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 600;
	line-height: 1.12;
	color: #fff;
}

.iff-footer .iff-cta-text {
	margin: 0;
	font-size: 16px;
	color: var(--iff-text);
}

.iff-footer .iff-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Buttons ---------- */

.iff-footer a.iff-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	overflow: hidden;
	padding: 15px 28px;
	border-radius: 999px;
	font-family: 'Nunito', system-ui, sans-serif;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: .01em;
	line-height: 1;
	text-decoration: none;
	transition: transform .35s var(--iff-ease), box-shadow .35s, background .3s, color .3s, border-color .3s;
}

.iff-footer a.iff-btn svg {
	width: 18px;
	height: 18px;
	transition: transform .35s var(--iff-ease);
}

.iff-footer a.iff-btn:hover svg {
	transform: translateX(5px);
}

.iff-footer a.iff-btn--gold {
	background: #ffffff;
	box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .7);
	color: var(--iff-navy);
}

.iff-footer a.iff-btn--gold::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(26, 39, 51, .12), transparent);
	transform: skewX(-20deg);
	transition: left .8s var(--iff-ease);
}

.iff-footer a.iff-btn--gold:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 36px -16px rgba(0, 0, 0, .85);
	background: #f6f3ee;
	color: var(--iff-navy);
}

.iff-footer a.iff-btn--gold:hover::after {
	left: 130%;
}

.iff-footer a.iff-btn--ghost {
	border: 1px solid rgba(255, 255, 255, .28);
	color: #fff;
}

.iff-footer a.iff-btn--ghost:hover {
	background: rgba(255, 255, 255, .08);
	border-color: var(--iff-gold-soft);
	color: #fff;
	transform: translateY(-3px);
}

.iff-footer a.iff-btn--sm {
	margin-top: 26px;
	padding: 13px 24px;
	font-size: 14.5px;
}

.iff-footer a.iff-btn:focus-visible,
.iff-footer a:focus-visible {
	outline: 2px solid var(--iff-gold-soft);
	outline-offset: 3px;
}

/* ---------- Brand column ---------- */

.iff-footer a.iff-brand {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 24px;
	text-decoration: none;
}

.iff-footer .iff-badge {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	padding: 9px;
	border-radius: 18px;
	background: linear-gradient(145deg, #ffffff, #e9ecf5);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 18px 34px -16px rgba(0, 0, 0, .8);
	transition: transform .5s var(--iff-ease);
}

.iff-footer a.iff-brand:hover .iff-badge {
	transform: rotate(-6deg) scale(1.05);
}

/* Locked size: themes that force "img { height:auto; width:100% }" cannot enlarge it. */
.iff-footer .iff-badge img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	object-fit: contain;
}

.iff-footer .iff-brand-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.iff-footer .iff-brand-name {
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-size: clamp(30px, 3vw, 38px);
	font-weight: 600;
	line-height: 1;
	letter-spacing: .01em;
	color: #fff;
}

.iff-footer .iff-brand-sub {
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 10.5px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--iff-gold-soft);
}

.iff-footer .iff-tagline {
	max-width: 400px;
	margin: 0 0 30px;
	font-size: 15.5px;
	line-height: 1.8;
	color: var(--iff-text);
}

.iff-footer .iff-follow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}

.iff-footer .iff-follow-label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 11px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--iff-dim);
}

.iff-footer .iff-follow-label::after {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--iff-gold);
}

.iff-footer ul.iff-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.iff-footer .iff-social li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.iff-footer .iff-social a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
	background: rgba(255, 255, 255, .04);
	color: #fff;
	text-decoration: none;
	transition: transform .4s var(--iff-ease), background .35s, color .35s, border-color .35s, box-shadow .35s;
}

.iff-footer .iff-social svg {
	width: 19px;
	height: 19px;
}

.iff-footer .iff-social a:hover {
	transform: translateY(-4px);
	border-color: transparent;
	background: #ffffff;
	color: var(--iff-navy);
	box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .8);
}

/* Tooltip */
.iff-footer .iff-social a::after {
	content: attr(data-tip);
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	padding: 5px 10px;
	border-radius: 6px;
	background: #fff;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 10.5px;
	letter-spacing: .06em;
	white-space: nowrap;
	color: var(--iff-navy);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 4px);
	transition: opacity .25s, transform .3s var(--iff-ease);
}

.iff-footer .iff-social a:hover::after,
.iff-footer .iff-social a:focus-visible::after {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ---------- Link columns ---------- */

.iff-footer .iff-h {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 6px 0 24px;
	padding: 0;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .24em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--iff-gold-soft);
}

.iff-footer .iff-h::after {
	content: "";
	flex: 0 0 26px;
	height: 1px;
	background: linear-gradient(90deg, var(--iff-gold), transparent);
}

.iff-footer ul.iff-links,
.iff-footer ul.iff-contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.iff-footer .iff-links li {
	margin: 0 0 13px;
	padding: 0;
	list-style: none;
}

.iff-footer .iff-links a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0;
	font-size: 15.5px;
	color: var(--iff-text);
	text-decoration: none;
	transition: color .3s, transform .4s var(--iff-ease), gap .4s var(--iff-ease);
}

.iff-footer .iff-links a::before {
	content: "";
	width: 0;
	height: 1px;
	background: var(--iff-gold-soft);
	transition: width .4s var(--iff-ease), margin .4s var(--iff-ease);
}

.iff-footer .iff-links a:hover {
	color: #fff;
	transform: translateX(2px);
}

.iff-footer .iff-links a:hover::before {
	width: 16px;
	margin-right: 10px;
}

/* ---------- Contact column ---------- */

.iff-footer .iff-contact li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.iff-footer .iff-ico {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(239, 201, 160, .35);
	border-radius: 50%;
	background: rgba(255, 255, 255, .04);
	color: var(--iff-gold-soft);
	transition: background .35s, color .35s, transform .4s var(--iff-ease);
}

.iff-footer .iff-ico svg {
	width: 18px;
	height: 18px;
}

.iff-footer .iff-contact li:hover .iff-ico {
	background: var(--iff-gold-soft);
	color: var(--iff-navy);
	transform: rotate(-8deg) scale(1.06);
}

.iff-footer .iff-ct {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--iff-text);
	overflow-wrap: anywhere;
}

.iff-footer .iff-ct b {
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--iff-dim);
}

.iff-footer .iff-ct a {
	align-self: flex-start;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(var(--iff-gold-soft), var(--iff-gold-soft)) 0 100% / 0 1px no-repeat;
	transition: background-size .4s var(--iff-ease), color .3s;
}

.iff-footer .iff-ct a:hover {
	background-size: 100% 1px;
	color: var(--iff-gold-soft);
}

/* ---------- Watermark ---------- */

.iff-footer .iff-mark {
	display: block;
	height: clamp(44px, 9.6vw, 150px);
	margin: 0;
	overflow: hidden;
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-size: clamp(46px, 12.4vw, 176px);
	font-weight: 700;
	line-height: .86;
	letter-spacing: .02em;
	text-align: center;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px rgba(239, 201, 160, .26);
	-webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 92%);
	mask-image: linear-gradient(180deg, #000 20%, transparent 92%);
	user-select: none;
	pointer-events: none;
}

/* ---------- Bottom bar ---------- */

.iff-footer .iff-bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 10px 24px;
	padding: 22px 0 26px;
	border-top: 1px solid var(--iff-line);
}

.iff-footer .iff-bottom::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 120px;
	height: 1px;
	background: var(--iff-gold);
}

.iff-footer .iff-copy,
.iff-footer .iff-note {
	margin: 0;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 12px;
	letter-spacing: .16em;
	line-height: 1.6;
	text-transform: uppercase;
	color: var(--iff-dim);
}

.iff-footer .iff-copy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 8px;
}

.iff-footer .iff-legalblock {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	min-width: 0;
}

.iff-footer .iff-place {
	margin: 0;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 11px;
	letter-spacing: .2em;
	line-height: 1.6;
	color: var(--iff-dim);
}

.iff-footer .iff-c {
	font-size: 14px;
	color: var(--iff-gold-soft);
}

.iff-footer .iff-copy-text {
	color: rgba(255, 255, 255, .78);
}

.iff-footer .iff-note:empty {
	display: none;
}

.iff-footer .iff-note::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 10px;
	border-radius: 50%;
	background: var(--iff-gold);
	box-shadow: 0 0 0 4px rgba(212, 165, 116, .22);
	vertical-align: middle;
}

/* ---------- Back to top ---------- */

.iff-top {
	position: fixed;
	right: max(18px, env(safe-area-inset-right, 0px));
	bottom: max(18px, env(safe-area-inset-bottom, 0px));
	z-index: 99990;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #1a2531;
	box-shadow: 0 14px 28px -10px rgba(8, 14, 20, .8);
	color: #efc9a0;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px) scale(.9);
	transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility .35s, background .3s;
}

.iff-top.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.iff-top:hover {
	background: #263444;
	transform: translateY(-3px);
}

.iff-top:focus-visible {
	outline: 2px solid #efc9a0;
	outline-offset: 3px;
}

.iff-top-ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.iff-top-ring circle {
	fill: none;
	stroke-width: 2;
}

.iff-top-track {
	stroke: rgba(239, 201, 160, .2);
}

.iff-top-bar {
	stroke: #efc9a0;
	stroke-linecap: round;
	stroke-dasharray: 131.95;
	stroke-dashoffset: 131.95;
}

.iff-top-arrow {
	position: relative;
	width: 20px;
	height: 20px;
}

/* ---------- Reveal on scroll ---------- */

.iff-js .iff-rv {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .9s var(--iff-ease) var(--d, 0s), transform .9s var(--iff-ease) var(--d, 0s);
}

.iff-js .iff-rv.is-in {
	opacity: 1;
	transform: none;
}

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

@media (max-width: 1080px) {
	.iff-footer .iff-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 44px 40px;
	}

	.iff-footer .iff-col--brand {
		grid-column: 1 / -1;
	}

	.iff-footer .iff-tagline {
		max-width: 560px;
	}
}

@media (max-width: 640px) {
	.iff-footer .iff-wrap {
		width: calc(100% - 36px);
	}

	.iff-footer .iff-main {
		grid-template-columns: minmax(0, 1fr);
		gap: 38px;
	}

	.iff-footer .iff-bottom {
		flex-direction: column;
		align-items: center;
	}

	.iff-footer .iff-copy,
	.iff-footer .iff-note {
		font-size: 11px;
		letter-spacing: .12em;
	}

	.iff-footer .iff-cta {
		border-radius: 16px;
	}

	.iff-footer a.iff-btn {
		width: 100%;
	}

	.iff-footer .iff-cta-actions {
		width: 100%;
	}

	.iff-footer .iff-social a::after {
		display: none;
	}
}

@media (hover: none) {
	.iff-footer .iff-spot {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.iff-footer *,
	.iff-footer *::before,
	.iff-footer *::after {
		animation-duration: .001s !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001s !important;
		transition-delay: 0s !important;
	}

	.iff-js .iff-rv {
		opacity: 1;
		transform: none;
	}
}

/* Back-to-top: beat theme button styles (hover colours, borders, shadows). */
body button.iff-top,
body button.iff-top:hover,
body button.iff-top:focus {
	min-width: 0;
	min-height: 0;
	border: 0 !important;
	border-radius: 50% !important;
	color: #efc9a0 !important;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1;
}

body button.iff-top {
	background: #1a2531 !important;
}

body button.iff-top:hover {
	background: #263444 !important;
}

/* ---------- Creator card (opens from the bottom line) ---------- */

/* The trigger looks and behaves exactly like the surrounding text. */
.iff-footer .iff-credit-trigger {
	color: inherit;
	cursor: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.iff-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s ease, visibility .35s;
	font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
	-webkit-font-smoothing: antialiased;
}

.iff-modal *,
.iff-modal *::before,
.iff-modal *::after {
	box-sizing: border-box;
}

.iff-modal.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

html.iff-lock {
	overflow: hidden;
}

.iff-modal .iff-modal-backdrop {
	position: absolute;
	inset: 0;
	background: radial-gradient(900px 500px at 50% 40%, rgba(40, 58, 74, .55), rgba(6, 11, 16, .86));
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.iff-modal .iff-card {
	position: relative;
	width: min(420px, 100%);
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	border: 1px solid rgba(239, 201, 160, .28);
	border-radius: 24px;
	background: linear-gradient(180deg, #1f2b37 0%, #131f29 100%);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 50px 100px -30px rgba(0, 0, 0, .9);
	color: rgba(255, 255, 255, .78);
	outline: none;
	transform: perspective(1000px) rotateX(10deg) translateY(28px) scale(.94);
	transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.iff-modal.is-open .iff-card {
	transform: none;
}

/* Photo */
.iff-modal .iff-card-media {
	position: relative;
	height: clamp(220px, 38vh, 300px);
	overflow: hidden;
	background:
		radial-gradient(260px 200px at 50% 30%, rgba(239, 201, 160, .22), transparent 70%),
		linear-gradient(160deg, #2a3a4a, #18242f);
}

.iff-modal .iff-card-mono {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 96px;
	font-weight: 600;
	letter-spacing: .04em;
	color: rgba(239, 201, 160, .55);
}

.iff-modal .iff-card-media img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	object-fit: cover;
	object-position: center 22%;
}

.iff-modal .iff-card-media::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 55%;
	background: linear-gradient(180deg, transparent, #172430 92%);
	pointer-events: none;
}

.iff-modal .iff-card-chip {
	position: absolute;
	left: 20px;
	bottom: 18px;
	z-index: 2;
	padding: 7px 13px;
	border: 1px solid rgba(239, 201, 160, .4);
	border-radius: 999px;
	background: rgba(15, 26, 35, .6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 10.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #efc9a0;
}

/* Body */
.iff-modal .iff-card-body {
	padding: 6px 28px 30px;
}

.iff-modal h2.iff-card-name {
	margin: 0;
	padding: 0;
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-size: clamp(32px, 8vw, 40px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: .005em;
	text-transform: none;
	color: #fff;
}

.iff-modal .iff-card-role {
	margin: 8px 0 0;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 11.5px;
	letter-spacing: .2em;
	line-height: 1.5;
	text-transform: uppercase;
	color: #efc9a0;
}

.iff-modal .iff-card-rule {
	display: block;
	width: 56px;
	height: 1px;
	margin: 20px 0;
	background: linear-gradient(90deg, #d4a574, transparent);
}

.iff-modal .iff-card-text {
	margin: 0 0 26px;
	font-size: 16px;
	line-height: 1.75;
	color: rgba(255, 255, 255, .78);
}

.iff-modal a.iff-card-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 15px 24px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .75);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	color: #1a2733;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s, box-shadow .3s;
}

.iff-modal a.iff-card-btn svg {
	width: 18px;
	height: 18px;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.iff-modal a.iff-card-btn:hover {
	transform: translateY(-3px);
	background: #f6f3ee;
	box-shadow: 0 20px 36px -16px rgba(0, 0, 0, .9);
	color: #1a2733;
}

.iff-modal a.iff-card-btn:hover svg {
	transform: translateX(5px);
}

.iff-modal a.iff-card-btn:focus-visible,
body button.iff-modal-x:focus-visible {
	outline: 2px solid #efc9a0;
	outline-offset: 3px;
}

/* Close */
body button.iff-modal-x,
body button.iff-modal-x:hover,
body button.iff-modal-x:focus {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .25) !important;
	border-radius: 50% !important;
	background: rgba(15, 26, 35, .55) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: none;
	color: #fff !important;
	line-height: 1;
	cursor: pointer;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s;
}

body button.iff-modal-x:hover {
	background: rgba(255, 255, 255, .18) !important;
	transform: rotate(90deg);
}

body button.iff-modal-x svg {
	width: 18px;
	height: 18px;
}

@media (prefers-reduced-motion: reduce) {
	.iff-modal,
	.iff-modal .iff-card {
		transition-duration: .001s !important;
	}
}

/* ---------- Privacy Policy: bottom-bar button ---------- */

.iff-footer .iff-legal-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.iff-footer a.iff-pv-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 11px 20px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .04);
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	color: rgba(255, 255, 255, .85);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: transform .4s var(--iff-ease), background .35s, color .35s, border-color .35s, box-shadow .35s;
}

.iff-footer a.iff-pv-btn svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	color: var(--iff-gold-soft);
	transition: color .35s;
}

.iff-footer a.iff-pv-btn:hover,
.iff-footer a.iff-pv-btn:focus-visible {
	transform: translateY(-3px);
	border-color: transparent;
	background: #ffffff;
	color: var(--iff-navy);
	box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .8);
}

.iff-footer a.iff-pv-btn:hover svg,
.iff-footer a.iff-pv-btn:focus-visible svg {
	color: var(--iff-navy);
}

/* ---------- Privacy Policy: flashcard popup ---------- */

.iff-modal .iff-pv {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(660px, 100%);
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: hidden;
	border: 1px solid rgba(239, 201, 160, .28);
	border-radius: 24px;
	background:
		radial-gradient(520px 260px at 0% 0%, rgba(239, 201, 160, .09), transparent 70%),
		linear-gradient(180deg, #1f2b37 0%, #131f29 100%);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 50px 100px -30px rgba(0, 0, 0, .9);
	color: rgba(255, 255, 255, .78);
	outline: none;
	transform: perspective(1000px) rotateX(10deg) translateY(28px) scale(.94);
	transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.iff-modal.is-open .iff-pv {
	transform: none;
}

/* Header: label, counter, progress */
.iff-modal .iff-pv-top {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 22px 76px 0 28px;
}

.iff-modal .iff-pv-label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 10.5px;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: #efc9a0;
}

.iff-modal .iff-pv-label::after {
	content: "";
	width: 26px;
	height: 1px;
	background: linear-gradient(90deg, #d4a574, transparent);
}

.iff-modal .iff-pv-count {
	margin-left: auto;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 11px;
	letter-spacing: .16em;
	color: rgba(255, 255, 255, .5);
}

.iff-modal .iff-pv-count b {
	font-weight: 500;
	color: #fff;
}

.iff-modal .iff-pv-progress {
	height: 2px;
	margin: 16px 28px 0;
	overflow: hidden;
	border-radius: 2px;
	background: rgba(255, 255, 255, .09);
}

.iff-modal .iff-pv-progress span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 2px;
	background: linear-gradient(90deg, #d4a574, #efc9a0);
	transition: width .55s cubic-bezier(.2, .8, .2, 1);
}

/* Stage: every card sits in the same grid cell, so all cards share one height. */
.iff-modal .iff-pv-stage {
	position: relative;
	display: grid;
	min-height: 0;
	margin: 18px 22px 0;
	perspective: 1200px;
}

.iff-modal .iff-pv-slide {
	grid-area: 1 / 1;
	position: relative;
	max-height: 440px;
	max-height: max(220px, min(500px, calc(100vh - 280px)));
	max-height: max(220px, min(500px, calc(100dvh - 280px)));
	overflow-y: auto;
	padding: 28px 28px 26px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 18px;
	background:
		radial-gradient(340px 180px at 0% 0%, rgba(239, 201, 160, .1), transparent 70%),
		linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
	opacity: 0;
	visibility: hidden;
	transform: translateX(46px) rotateY(-10deg) scale(.97);
	transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .6s;
	scrollbar-width: thin;
	scrollbar-color: rgba(239, 201, 160, .3) transparent;
	-webkit-overflow-scrolling: touch;
}

/* Soft fade at the bottom edge when a card has more to scroll. */
.iff-modal .iff-pv-slide.has-more {
	-webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 44px), transparent);
	mask-image: linear-gradient(180deg, #000 calc(100% - 44px), transparent);
}

.iff-modal .iff-pv-slide.is-before {
	transform: translateX(-46px) rotateY(10deg) scale(.97);
}

.iff-modal .iff-pv-slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.iff-modal .iff-pv-num {
	position: absolute;
	top: 14px;
	right: 24px;
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-size: 68px;
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(239, 201, 160, .32);
	pointer-events: none;
	user-select: none;
}

.iff-modal .iff-pv-eyebrow {
	display: inline-block;
	margin: 0 0 16px;
	padding: 7px 13px;
	border: 1px solid rgba(239, 201, 160, .4);
	border-radius: 999px;
	background: rgba(15, 26, 35, .5);
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 10.5px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #efc9a0;
}

.iff-modal h2.iff-pv-title,
.iff-modal h3.iff-pv-h {
	margin: 0;
	padding: 0;
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	font-weight: 600;
	letter-spacing: .005em;
	text-transform: none;
	color: #fff;
}

.iff-modal h2.iff-pv-title {
	font-size: clamp(38px, 8vw, 54px);
	line-height: 1.02;
}

.iff-modal h3.iff-pv-h {
	padding-right: 76px;
	font-size: clamp(27px, 6vw, 34px);
	line-height: 1.1;
}

.iff-modal .iff-pv-chip {
	display: inline-block;
	margin: 18px 0 0;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	font-size: 13.5px;
	color: rgba(255, 255, 255, .6);
}

.iff-modal .iff-pv-chip b {
	font-weight: 700;
	color: #fff;
}

.iff-modal .iff-pv-rule {
	display: block;
	width: 56px;
	height: 1px;
	margin: 20px 0;
	background: linear-gradient(90deg, #d4a574, transparent);
}

.iff-modal .iff-pv-body p {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.78;
	color: rgba(255, 255, 255, .78);
}

.iff-modal .iff-pv-body p:last-child {
	margin-bottom: 0;
}

.iff-modal .iff-pv-hint {
	margin: 22px 0 0;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 10.5px;
	letter-spacing: .14em;
	line-height: 1.6;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .42);
}

/* Numbered list cards */
.iff-modal ul.iff-pv-list {
	display: grid;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	counter-reset: iffpv;
}

.iff-modal ul.iff-pv-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 11px 16px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 14px;
	background: rgba(255, 255, 255, .04);
	list-style: none;
	font-size: 15.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .86);
	counter-increment: iffpv;
}

.iff-modal ul.iff-pv-list li::before {
	content: counter(iffpv);
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-top: 1px;
	border: 1px solid rgba(239, 201, 160, .45);
	border-radius: 50%;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	font-size: 11px;
	color: #efc9a0;
}

.iff-modal .iff-pv-body a.iff-pv-link {
	color: #efc9a0;
	text-decoration: none;
	background: linear-gradient(#efc9a0, #efc9a0) 0 100% / 100% 1px no-repeat;
	transition: background-size .4s cubic-bezier(.2, .8, .2, 1), color .3s;
}

.iff-modal .iff-pv-body a.iff-pv-link:hover {
	background-size: 0 1px;
	color: #fff;
}

/* Navigation */
.iff-modal .iff-pv-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 28px 0;
}

body button.iff-pv-arrow,
body button.iff-pv-arrow:focus {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .22) !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .05) !important;
	box-shadow: none;
	color: #fff !important;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s, color .3s, opacity .3s;
}

body button.iff-pv-arrow:hover:not(:disabled) {
	background: #fff !important;
	color: #1a2733 !important;
	transform: translateY(-2px);
}

body button.iff-pv-arrow:disabled {
	opacity: .3;
	cursor: default;
}

body button.iff-pv-arrow svg {
	width: 19px;
	height: 19px;
}

.iff-modal .iff-pv-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

body button.iff-pv-dot,
body button.iff-pv-dot:hover,
body button.iff-pv-dot:focus {
	position: relative;
	width: 8px;
	height: 8px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, .24) !important;
	box-shadow: none;
	cursor: pointer;
	transition: width .4s cubic-bezier(.2, .8, .2, 1), background .3s;
}

body button.iff-pv-dot::after {
	content: "";
	position: absolute;
	inset: -10px -4px;
}

body button.iff-pv-dot:hover {
	background: rgba(255, 255, 255, .5) !important;
}

body button.iff-pv-dot.is-on,
body button.iff-pv-dot.is-on:hover {
	width: 26px;
	background: #efc9a0 !important;
}

/* Actions */
.iff-modal .iff-pv-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 18px 28px 28px;
}

.iff-modal a.iff-pv-page {
	display: inline-flex;
	flex: 1 1 260px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 24px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .75);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	color: #1a2733;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s, box-shadow .3s;
}

.iff-modal a.iff-pv-page svg {
	width: 18px;
	height: 18px;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.iff-modal a.iff-pv-page:hover {
	transform: translateY(-3px);
	background: #f6f3ee;
	box-shadow: 0 20px 36px -16px rgba(0, 0, 0, .9);
	color: #1a2733;
}

.iff-modal a.iff-pv-page:hover svg {
	transform: translateX(5px);
}

body button.iff-pv-ghost,
body button.iff-pv-ghost:focus {
	flex: 0 0 auto;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 15px 26px;
	border: 1px solid rgba(255, 255, 255, .28) !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none;
	font-family: 'Nunito', system-ui, sans-serif;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .01em;
	text-transform: none;
	color: #fff !important;
	cursor: pointer;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .3s, border-color .3s;
}

body button.iff-pv-ghost:hover {
	background: rgba(255, 255, 255, .08) !important;
	border-color: #efc9a0 !important;
	transform: translateY(-3px);
}

.iff-modal a.iff-pv-page:focus-visible,
body button.iff-pv-arrow:focus-visible,
body button.iff-pv-dot:focus-visible,
body button.iff-pv-ghost:focus-visible,
.iff-modal .iff-pv-body a.iff-pv-link:focus-visible {
	outline: 2px solid #efc9a0;
	outline-offset: 3px;
}

@media (max-width: 640px) {
	.iff-modal--pv {
		padding: 10px;
	}

	.iff-modal .iff-pv {
		border-radius: 20px;
	}

	.iff-modal .iff-pv-top {
		padding: 20px 64px 0 20px;
	}

	.iff-modal .iff-pv-progress {
		margin: 14px 20px 0;
	}

	.iff-modal .iff-pv-stage {
		margin: 14px 14px 0;
	}

	.iff-modal .iff-pv-slide {
		max-height: 400px;
		max-height: max(200px, min(460px, calc(100vh - 310px)));
		max-height: max(200px, min(460px, calc(100dvh - 310px)));
		padding: 22px 20px 22px;
	}

	.iff-modal .iff-pv-num {
		top: 12px;
		right: 18px;
		font-size: 54px;
	}

	.iff-modal h3.iff-pv-h {
		padding-right: 60px;
	}

	.iff-modal .iff-pv-body p {
		font-size: 15.5px;
	}

	.iff-modal .iff-pv-nav {
		padding: 16px 16px 0;
	}

	.iff-modal .iff-pv-dots {
		gap: 6px;
	}

	.iff-modal .iff-pv-actions {
		flex-direction: column;
		padding: 16px 16px 20px;
	}

	.iff-modal a.iff-pv-page,
	body button.iff-pv-ghost {
		width: 100%;
		flex: 0 0 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.iff-modal .iff-pv,
	.iff-modal .iff-pv-slide,
	.iff-modal .iff-pv-progress span {
		transition-duration: .001s !important;
	}
}

@media (max-width: 380px) {
	.iff-modal .iff-pv-label {
		letter-spacing: .14em;
		white-space: nowrap;
	}

	.iff-modal .iff-pv-label::after {
		display: none;
	}

	.iff-modal .iff-pv-count {
		white-space: nowrap;
		letter-spacing: .1em;
	}

	.iff-modal h3.iff-pv-h {
		font-size: 25px;
		padding-right: 52px;
	}

	.iff-modal h2.iff-pv-title {
		font-size: 36px;
	}
}
