/* You Know The Function — front-end styles */
:root {
	--yk-bg: #070707;
	--yk-line: rgba(255, 255, 255, .10);
	--yk-text: #f6f2ea;
	--yk-muted: rgba(246, 242, 234, .64);
	--yk-red: #d81f30;
	--yk-red-deep: #8e0f19;
	--yk-gold: #e3b54f;
	--yk-gold-soft: rgba(227, 181, 79, .20);
	--yk-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
	--yk-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--yk-radius: 16px;
	--yk-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Canvas ---------- */
html { background: var(--yk-bg); }
body.yktf-site {
	background: var(--yk-bg);
	color: var(--yk-text);
	font-family: var(--yk-body);
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	position: relative;
	isolation: isolate;
	overflow-x: hidden;
}
body.yktf-site::before {
	content: "";
	position: fixed;
	inset: -15%;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(42% 32% at 50% 0%, rgba(216, 31, 48, .50), transparent 72%),
		radial-gradient(34% 30% at 88% 92%, rgba(227, 181, 79, .16), transparent 72%),
		radial-gradient(36% 30% at 8% 88%, rgba(216, 31, 48, .20), transparent 72%);
	animation: yktf-drift 16s ease-in-out infinite alternate;
	will-change: transform;
}
body.yktf-site::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: .10;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes yktf-drift {
	0% { transform: translate3d(0, -2%, 0) scale(1); }
	100% { transform: translate3d(0, 3%, 0) scale(1.08); }
}

.yktf-site ::selection { background: var(--yk-red); color: #fff; }
.yktf-site a { color: var(--yk-gold); }

.yktf-wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.yktf-main { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 4px 16px 48px; box-sizing: border-box; }

/* ---------- Header / footer ---------- */
.yktf-header {
	display: flex; align-items: center; justify-content: space-between;
	width: 100%; max-width: 1100px; margin: 0 auto; box-sizing: border-box;
	padding: max(14px, env(safe-area-inset-top)) 18px 10px;
}
.yktf-site .yktf-header-logo { display: inline-flex; line-height: 0; transition: transform .3s var(--yk-ease); }
.yktf-site .yktf-header-logo:hover { transform: scale(1.04) rotate(-1deg); }
.yktf-header-logo img { height: 46px; width: auto; display: block; }
.yktf-wordmark { font-family: var(--yk-display); text-transform: uppercase; color: var(--yk-text); font-size: 20px; line-height: 1; letter-spacing: .04em; }
.yktf-site .yktf-icon-btn {
	width: 44px; height: 44px; border-radius: 50%;
	display: inline-grid; place-items: center;
	border: 1px solid var(--yk-line); color: var(--yk-text);
	background: rgba(255, 255, 255, .03);
	transition: border-color .25s, color .25s, transform .25s var(--yk-ease), background .25s;
}
.yktf-site .yktf-icon-btn:hover { border-color: var(--yk-gold); color: var(--yk-gold); transform: translateY(-2px); background: rgba(227, 181, 79, .08); }
.yktf-ico { width: 18px; height: 18px; flex: none; }

.yktf-footer { text-align: center; padding: 24px 16px max(30px, env(safe-area-inset-bottom)); color: var(--yk-muted); font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .06); }
.yktf-site .yktf-footer-ig { display: inline-flex; align-items: center; gap: 10px; color: var(--yk-text); text-decoration: none; font-weight: 600; letter-spacing: .02em; padding: 8px 14px; border-radius: 999px; transition: color .25s, background .25s; }
.yktf-site .yktf-footer-ig:hover { color: var(--yk-gold); background: rgba(255, 255, 255, .04); }
.yktf-footer-meta { margin: 10px 0 0; }
.yktf-site .yktf-footer-meta a { color: var(--yk-muted); text-decoration: underline; text-underline-offset: 3px; }
.yktf-site .yktf-footer-meta a:hover { color: var(--yk-gold); }

/* ---------- Type ---------- */
.yktf-site .yktf-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 6px 0 16px; padding: 9px 15px;
	font: 600 11.5px/1 var(--yk-body); letter-spacing: .24em; text-transform: uppercase;
	color: var(--yk-gold);
	border: 1px solid rgba(227, 181, 79, .35); border-radius: 999px;
	background: rgba(227, 181, 79, .06);
}
.yktf-site .yktf-eyebrow--plain { border: 0; background: none; padding: 0; margin: 0 0 8px; }
.yktf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yk-red); box-shadow: 0 0 0 0 rgba(216, 31, 48, .7); animation: yktf-pulse 1.8s infinite; }
@keyframes yktf-pulse {
	0% { box-shadow: 0 0 0 0 rgba(216, 31, 48, .75); }
	70% { box-shadow: 0 0 0 10px rgba(216, 31, 48, 0); }
	100% { box-shadow: 0 0 0 0 rgba(216, 31, 48, 0); }
}
.yktf-site .yktf-title {
	font-family: var(--yk-display); font-weight: 400;
	font-size: clamp(2.7rem, 11vw, 5rem); line-height: .95; letter-spacing: .01em;
	text-transform: uppercase; color: var(--yk-text);
	margin: 0 0 16px;
	text-shadow: 0 6px 40px rgba(216, 31, 48, .35);
}
.yktf-site .yktf-title--sm { font-size: clamp(2rem, 7.5vw, 3.2rem); margin-bottom: 8px; }
.yktf-site .yktf-lead { font-size: 18px; line-height: 1.55; color: var(--yk-text); margin: 0 auto 14px; max-width: 34em; }
.yktf-site .yktf-fineprint { font-size: 13px; line-height: 1.5; color: var(--yk-muted); margin: 14px 0 0; }

/* ---------- Buttons ---------- */
.yktf-site .yktf-btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 60px; padding: 0 40px; box-sizing: border-box;
	border: 0; border-radius: 999px; cursor: pointer;
	background: linear-gradient(135deg, #ec3343 0%, #c3121f 55%, #8e0f19 100%);
	color: #fff; text-decoration: none;
	font-family: var(--yk-display); font-weight: 400; font-size: 21px; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
	box-shadow: 0 14px 34px -10px rgba(216, 31, 48, .8), inset 0 0 0 1px rgba(255, 255, 255, .14);
	transition: transform .25s var(--yk-ease), box-shadow .25s var(--yk-ease), filter .25s;
	-webkit-tap-highlight-color: transparent;
}
.yktf-site .yktf-btn::after {
	content: ""; position: absolute; z-index: -1; top: 0; left: -70%; width: 45%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
	transform: skewX(-20deg);
	animation: yktf-shine 4s ease-in-out infinite;
}
@keyframes yktf-shine { 0%, 62% { left: -70%; } 100% { left: 135%; } }
.yktf-site .yktf-btn:hover, .yktf-site .yktf-btn:focus-visible {
	color: #fff; transform: translateY(-2px);
	box-shadow: 0 20px 44px -10px rgba(216, 31, 48, .95), inset 0 0 0 1.5px rgba(227, 181, 79, .75);
}
.yktf-site .yktf-btn:active { transform: translateY(0) scale(.98); }
.yktf-site .yktf-btn:focus-visible { outline: 3px solid var(--yk-gold); outline-offset: 3px; }
.yktf-site .yktf-btn .yktf-ico { width: 22px; height: 22px; transition: transform .25s var(--yk-ease); }
.yktf-site .yktf-btn:hover .yktf-ico { transform: translateX(4px); }
.yktf-site .yktf-btn--block { width: 100%; }
.yktf-site .yktf-btn--ghost {
	background: rgba(255, 255, 255, .04); color: var(--yk-text);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
	font-size: 17px; min-height: 52px; padding: 0 26px;
}
.yktf-site .yktf-btn--ghost::after { display: none; }
.yktf-site .yktf-btn--ghost:hover { color: var(--yk-gold); box-shadow: inset 0 0 0 1.5px var(--yk-gold); background: rgba(227, 181, 79, .06); }
.yktf-site .yktf-btn--ghost:hover .yktf-ico { transform: none; }
.yktf-site .yktf-btn[disabled] { opacity: .75; cursor: progress; }
.yktf-site .yktf-btn.is-loading::after { animation-duration: 1.1s; }

/* ---------- Event page ---------- */
.yktf-event, .yktf-empty { max-width: 560px; margin: 0 auto; text-align: center; }
.yktf-empty { padding: 12vh 0; }
.yktf-meta { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.yktf-meta li {
	display: inline-flex; align-items: center; gap: 8px; margin: 0;
	padding: 9px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .05); border: 1px solid var(--yk-line);
	font-size: 14px; font-weight: 500; color: var(--yk-text);
}
.yktf-meta .yktf-ico { color: var(--yk-gold); width: 16px; height: 16px; }
.yktf-flyer {
	position: relative; margin: 0 auto 26px; border-radius: var(--yk-radius); overflow: hidden;
	box-shadow: 0 40px 90px -30px rgba(216, 31, 48, .65), 0 0 0 1px rgba(255, 255, 255, .10);
	transform: perspective(1200px) rotateX(0deg);
	transition: transform .6s var(--yk-ease), box-shadow .6s var(--yk-ease);
	background: #1a0306;
}
.yktf-flyer::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .10) 50%, transparent 65%);
	transform: translateX(-100%);
	animation: yktf-sheen 7s ease-in-out 1.2s infinite;
}
@keyframes yktf-sheen { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.yktf-flyer img { display: block; width: 100%; height: auto; }
@media (hover: hover) {
	.yktf-flyer:hover { transform: perspective(1200px) rotateX(2deg) translateY(-4px); box-shadow: 0 50px 100px -30px rgba(216, 31, 48, .8), 0 0 0 1px rgba(227, 181, 79, .35); }
}
.yktf-cta { margin: 0 auto; max-width: 440px; }
.yktf-info { margin: 26px auto 0; padding-top: 22px; border-top: 1px solid var(--yk-line); color: var(--yk-muted); line-height: 1.6; font-size: 15px; }
.yktf-info p { margin: 0 0 8px; }

/* ---------- Alerts ---------- */
.yktf-alert { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--yk-line); color: var(--yk-text); font-size: 15px; text-align: center; }
.yktf-alert--error { background: rgba(216, 31, 48, .14); border-color: rgba(255, 90, 105, .45); color: #ffd6da; margin-bottom: 18px; text-align: left; }

/* ---------- RSVP form ---------- */
.yktf-rsvp { max-width: 600px; margin: 0 auto; }
.yktf-rsvp-head { display: flex; align-items: center; gap: 18px; margin: 4px 0 22px; }
.yktf-site .yktf-rsvp-thumb { flex: none; width: 84px; border-radius: 10px; overflow: hidden; line-height: 0; box-shadow: 0 14px 30px -12px rgba(216, 31, 48, .7), 0 0 0 1px rgba(255, 255, 255, .12); transform: rotate(-3deg); transition: transform .3s var(--yk-ease); }
.yktf-site .yktf-rsvp-thumb:hover { transform: rotate(0deg) scale(1.03); }
.yktf-rsvp-thumb img { width: 100%; height: auto; display: block; }
.yktf-rsvp-when { margin: 0; color: var(--yk-muted); font-size: 14px; font-weight: 500; }
.yktf-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
	border: 1px solid var(--yk-line); border-radius: 22px;
	padding: 22px 18px 24px;
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
}
@media (min-width: 600px) { .yktf-card { padding: 34px 34px 32px; } }
.yktf-grid { display: grid; gap: 16px; }
.yktf-grid--2 { grid-template-columns: 1fr 1fr; gap: 12px; }
.yktf-field { min-width: 0; }
.yktf-site .yktf-field label {
	display: block; margin: 0 0 8px;
	font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yk-muted);
}
.yktf-req { color: var(--yk-red); }
.yktf-site .yktf-field input,
.yktf-site .yktf-field select {
	display: block; width: 100%; box-sizing: border-box; margin: 0;
	min-height: 54px; padding: 14px 16px;
	border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16);
	background-color: rgba(0, 0, 0, .45); color: var(--yk-text);
	font: 500 16px/1.2 var(--yk-body);
	box-shadow: none; outline: none;
	-webkit-appearance: none; appearance: none;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.yktf-site .yktf-field select {
	padding-right: 42px; cursor: pointer;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3b54f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
/* Theme (Kadence) styles inputs and :focus states with dark text; force readable cream text in every state. */
body.yktf-site .yktf-form input:not([type=checkbox]):not([type=hidden]),
body.yktf-site .yktf-form input:not([type=checkbox]):not([type=hidden]):hover,
body.yktf-site .yktf-form input:not([type=checkbox]):not([type=hidden]):focus,
body.yktf-site .yktf-form input:not([type=checkbox]):not([type=hidden]):active,
body.yktf-site .yktf-form select,
body.yktf-site .yktf-form select:hover,
body.yktf-site .yktf-form select:focus,
body.yktf-site .yktf-form select:active,
body.yktf-site .yktf-form textarea,
body.yktf-site .yktf-form textarea:focus {
	color: #f6f2ea !important;
	-webkit-text-fill-color: #f6f2ea !important;
	caret-color: #e3b54f;
}
body.yktf-site .yktf-form input:not([type=checkbox]):focus,
body.yktf-site .yktf-form select:focus,
body.yktf-site .yktf-form textarea:focus {
	background-color: #0d0d0d !important;
	border-color: #e3b54f !important;
	box-shadow: 0 0 0 4px rgba(227, 181, 79, .20) !important;
	outline: none !important;
}
body.yktf-site .yktf-form input:-webkit-autofill,
body.yktf-site .yktf-form input:-webkit-autofill:hover,
body.yktf-site .yktf-form input:-webkit-autofill:focus,
body.yktf-site .yktf-form input:-webkit-autofill:active {
	-webkit-text-fill-color: #f6f2ea !important;
	-webkit-box-shadow: 0 0 0 100px #151515 inset !important;
	box-shadow: 0 0 0 100px #151515 inset !important;
	caret-color: #e3b54f;
	transition: background-color 9999s ease-out 0s;
}
body.yktf-site .yktf-form select option,
body.yktf-site .yktf-form select optgroup {
	background-color: #151515 !important;
	color: #f6f2ea !important;
	-webkit-text-fill-color: #f6f2ea !important;
}
body.yktf-site .yktf-form select option:disabled { color: #8d877d !important; -webkit-text-fill-color: #8d877d !important; }
body.yktf-site .yktf-form input::placeholder { color: rgba(246, 242, 234, .35) !important; -webkit-text-fill-color: rgba(246, 242, 234, .35) !important; }
body.yktf-site .yktf-form select:invalid { color: rgba(246, 242, 234, .45) !important; -webkit-text-fill-color: rgba(246, 242, 234, .45) !important; }
body.yktf-site .yktf-form .yktf-field.has-error input,
body.yktf-site .yktf-form .yktf-field.has-error select { border-color: #ff5a69 !important; }
body.yktf-site .yktf-form .yktf-field.has-error input:focus,
body.yktf-site .yktf-form .yktf-field.has-error select:focus { box-shadow: 0 0 0 4px rgba(255, 90, 105, .22) !important; }
body.yktf-site .yktf-form input[type=checkbox] { background: transparent; box-shadow: none; outline-offset: 2px; }
body.yktf-site .yktf-form input[type=checkbox]:focus-visible { outline: 2px solid #e3b54f; }
.yktf-site .yktf-field input::placeholder { color: rgba(246, 242, 234, .32); }
.yktf-site .yktf-field input:hover, .yktf-site .yktf-field select:hover { border-color: rgba(255, 255, 255, .28); }
.yktf-site .yktf-field input:focus, .yktf-site .yktf-field select:focus {
	border-color: var(--yk-gold); background-color: rgba(0, 0, 0, .6);
	box-shadow: 0 0 0 4px var(--yk-gold-soft);
}
.yktf-site .yktf-field input:-webkit-autofill { -webkit-text-fill-color: var(--yk-text); -webkit-box-shadow: 0 0 0 100px #151515 inset; caret-color: var(--yk-text); }
.yktf-site .yktf-field.has-error input, .yktf-site .yktf-field.has-error select { border-color: #ff5a69; }
.yktf-error { margin: 7px 0 0; color: #ff8a95; font-size: 13px; }
.yktf-site .yktf-field input[type=number] { -moz-appearance: textfield; }
.yktf-site .yktf-field input[type=number]::-webkit-inner-spin-button,
.yktf-site .yktf-field input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.yktf-consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--yk-line); }
.yktf-consent.has-error { border-color: #ff5a69; }
.yktf-site .yktf-consent input[type=checkbox] {
	flex: none; width: 22px; height: 22px; margin: 1px 0 0; cursor: pointer;
	accent-color: var(--yk-red);
}
.yktf-site .yktf-consent label { font-size: 14px; line-height: 1.5; color: var(--yk-muted); cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0; font-weight: 400; }
.yktf-site .yktf-consent a { color: var(--yk-gold); }
.yktf-submit { margin-top: 22px; }
.yktf-form .yktf-fineprint { text-align: center; }
.yktf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Thank you ---------- */
.yktf-thanks { max-width: 560px; margin: 0 auto; text-align: center; padding: 6vh 0 2vh; }
.yktf-check {
	width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
	display: grid; place-items: center; color: #111;
	background: radial-gradient(circle at 30% 30%, #ffe08f, var(--yk-gold) 60%, #b98a2a);
	box-shadow: 0 0 0 10px rgba(227, 181, 79, .12), 0 20px 50px -10px rgba(227, 181, 79, .55);
	animation: yktf-pop .7s var(--yk-ease) both;
}
.yktf-check .yktf-ico { width: 40px; height: 40px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: yktf-draw .6s .35s ease forwards; }
@keyframes yktf-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes yktf-draw { to { stroke-dashoffset: 0; } }
.yktf-thanks-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* ---------- Prose (privacy notice) ---------- */
.yktf-prose { max-width: 740px; margin: 0 auto; padding: 10px 0 20px; color: rgba(246, 242, 234, .84); font-size: 16px; line-height: 1.75; }
.yktf-site .yktf-prose h2 { font-family: var(--yk-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 1.55rem; line-height: 1.1; color: var(--yk-text); margin: 2em 0 .5em; }
.yktf-site .yktf-prose h3 { color: var(--yk-text); font-size: 1.1rem; margin: 1.5em 0 .4em; }
.yktf-site .yktf-prose p, .yktf-site .yktf-prose li { color: rgba(246, 242, 234, .84); }
.yktf-site .yktf-prose strong { color: var(--yk-text); }

/* ---------- Entrance motion ---------- */
.yktf-reveal > * { opacity: 0; transform: translateY(16px); animation: yktf-up .8s var(--yk-ease) forwards; }
.yktf-reveal > *:nth-child(2) { animation-delay: .08s; }
.yktf-reveal > *:nth-child(3) { animation-delay: .16s; }
.yktf-reveal > *:nth-child(4) { animation-delay: .24s; }
.yktf-reveal > *:nth-child(5) { animation-delay: .32s; }
.yktf-reveal > *:nth-child(n+6) { animation-delay: .4s; }
@keyframes yktf-up { to { opacity: 1; transform: none; } }

/* ---------- Welcome page (built in Elementor): plain solid black ---------- */
html:has(body.home.yktf-site), body.home.yktf-site { background: #000 !important; }
body.home.yktf-site::before, body.home.yktf-site::after { display: none !important; content: none !important; }

/* ---------- Mobile sticky RSVP ---------- */
.yktf-sticky { display: none; }
@media (max-width: 700px) {
	.yktf-sticky {
		display: block; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
		padding: 12px 16px max(12px, env(safe-area-inset-bottom));
		background: linear-gradient(180deg, rgba(7, 7, 7, 0), rgba(7, 7, 7, .92) 40%);
		transform: translateY(110%); transition: transform .35s var(--yk-ease);
		pointer-events: none;
	}
	.yktf-sticky.is-visible { transform: none; pointer-events: auto; }
	.yktf-sticky .yktf-btn { min-height: 56px; }
	body.has-yktf-sticky .yktf-footer { padding-bottom: 110px; }
}

/* ---------- Small screens ---------- */
@media (max-width: 420px) {
	.yktf-header-logo img { height: 40px; }
	.yktf-site .yktf-btn { font-size: 19px; padding: 0 28px; }
	.yktf-rsvp-head { gap: 14px; }
	.yktf-site .yktf-rsvp-thumb { width: 68px; }
	.yktf-meta li { font-size: 13px; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.yktf-site *, .yktf-site *::before, .yktf-site *::after, body.yktf-site::before { animation: none !important; transition: none !important; }
	.yktf-reveal > * { opacity: 1; transform: none; }
	.yktf-check .yktf-ico { stroke-dashoffset: 0; }
}
