.fys-root {
	--fys-ink: #1C2541;
	--fys-ivory: #F8F4EC;
	--fys-gold: #C6A15B;
	--fys-gold-soft: #E8DAB9;
	--fys-burgundy: #6B2737;
	--fys-charcoal: #3A3A3A;

	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1.25rem;
	overflow: hidden;
	border-radius: 10px;
	background: radial-gradient(ellipse at top, #26314c 0%, #141c2e 55%, #0f1526 100%);
	font-family: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: rgba(198,161,91,.25);
}
.fys-root *,
.fys-root *::before,
.fys-root *::after {
	box-sizing: border-box;
}

.fys-bg-photo {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}
.fys-bg-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(15,21,38,.55) 0%, rgba(15,21,38,.74) 100%);
}

.fys-stage {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: clamp(420px, 55vw, 620px);
}

.fys-event-mark {
	display: flex;
	align-items: center;
	gap: .75rem;
	color: var(--fys-gold-soft);
	font-size: .68rem;
	letter-spacing: .32em;
	text-transform: uppercase;
	margin-bottom: 1.1rem;
}
.fys-rule {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--fys-gold), transparent);
}
.fys-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fys-panel {
	background: var(--fys-ivory);
	border: 1px solid var(--fys-gold-soft);
	border-radius: 10px;
	box-shadow: 0 24px 60px rgba(0,0,0,.35);
	padding: 2.5rem 1.75rem 2.25rem;
}

.fys-panel h1 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 600;
	font-size: clamp(1.7rem, 6vw, 2.3rem);
	color: var(--fys-ink);
	text-align: center;
	margin: 0 0 .4rem;
}
.fys-hint {
	text-align: center;
	font-size: .85rem;
	color: var(--fys-charcoal);
	opacity: .7;
	margin: 0 0 1.75rem;
}

.fys-field input {
	width: 100%;
	border: none;
	border-bottom: 1.5px solid var(--fys-gold);
	background: transparent;
	font-family: 'Jost', sans-serif;
	font-size: 1.08rem;
	color: var(--fys-ink);
	padding: .65rem .2rem;
	outline: none;
	transition: border-color .2s ease;
}
.fys-field input::placeholder {
	color: rgba(28,37,65,.42);
	font-style: italic;
}
.fys-field input:focus-visible {
	border-bottom-color: var(--fys-burgundy);
}

.fys-suggestions {
	list-style: none;
	margin: 1.1rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.fys-suggestion {
	width: 100%;
	min-height: 46px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	background: rgba(198,161,91,.08);
	border: 1px solid transparent;
	border-radius: 7px;
	padding: .75rem 1rem;
	font-family: 'Jost', sans-serif;
	font-size: 1rem;
	color: var(--fys-ink);
	cursor: pointer;
	text-align: left;
	touch-action: manipulation;
	transition: background .15s ease, border-color .15s ease;
}
.fys-suggestion:hover { background: var(--fys-gold-soft); }
.fys-suggestion:focus-visible { outline: 2px solid var(--fys-burgundy); outline-offset: 2px; border-color: var(--fys-gold); }
.fys-suggestion mark { background: transparent; color: var(--fys-burgundy); font-weight: 600; }
.fys-suggestion .fys-chevron { opacity: .45; font-size: .9rem; }

.fys-empty-state {
	text-align: center;
	font-size: .85rem;
	font-style: italic;
	color: var(--fys-charcoal);
	opacity: .7;
	margin: 1.1rem 0 0;
}

.fys-secondary-action { text-align: center; margin-top: 1.4rem; }
.fys-link-btn {
	background: none;
	border: none;
	padding: .5rem;
	margin: -.5rem;
	cursor: pointer;
	font-family: 'Jost', sans-serif;
	font-size: .85rem;
	color: var(--fys-burgundy);
	text-decoration: none;
	border-bottom: 1px solid rgba(107,39,55,.35);
	touch-action: manipulation;
}
.fys-link-btn:hover { border-bottom-color: var(--fys-burgundy); }
.fys-link-btn:focus-visible { outline: 2px solid var(--fys-burgundy); outline-offset: 2px; }

.fys-reveal-panel { perspective: 1200px; }
.fys-reveal-card {
	text-align: center;
	padding: .5rem 0 1rem;
	animation: fysCardOpen .65s cubic-bezier(.2,.8,.2,1) both;
	transform-origin: center;
}
@keyframes fysCardOpen {
	0% { transform: rotateY(-82deg); opacity: 0; }
	55% { opacity: 1; }
	100% { transform: rotateY(0deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.fys-reveal-card { animation: none; }
}

.fys-welcome-label {
	font-size: .7rem;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--fys-burgundy);
	margin: 0 0 .6rem;
}
.fys-reveal-name {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 600;
	font-size: clamp(1.5rem, 7vw, 2.1rem);
	color: var(--fys-ink);
	margin: 0 0 1.35rem;
}
.fys-divider { display: flex; align-items: center; gap: .6rem; margin: 0 0 .35rem; }
.fys-line { flex: 1; height: 1px; background: var(--fys-gold); }
.fys-divider-label {
	font-size: .72rem;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--fys-charcoal);
	opacity: .75;
}
.fys-reveal-table {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 700;
	font-size: clamp(3.4rem, 18vw, 4.8rem);
	color: var(--fys-burgundy);
	line-height: 1;
	margin: .15rem 0 .5rem;
}
.fys-reveal-zone-name {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 600;
	font-size: 1.15rem;
	color: var(--fys-ink);
	margin: .1rem 0 0;
}
.fys-reveal-zone-ref {
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--fys-burgundy);
	opacity: .85;
	margin: .2rem 0 .9rem;
}
.fys-reveal-verse {
	margin: 0 0 1.6rem;
	padding: 0 .5rem;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-style: italic;
	font-size: 1.05rem;
	line-height: 1.5;
	color: var(--fys-charcoal);
}
.fys-reveal-verse::before { content: "\201C"; }
.fys-reveal-verse::after { content: "\201D"; }

.fys-back-btn {
	background: transparent;
	border: 1px solid var(--fys-gold);
	color: var(--fys-ink);
	min-height: 44px;
	padding: .65rem 1.5rem;
	border-radius: 999px;
	font-family: 'Jost', sans-serif;
	font-size: .82rem;
	letter-spacing: .05em;
	cursor: pointer;
	touch-action: manipulation;
	transition: background .15s ease;
}
.fys-back-btn:hover { background: var(--fys-gold-soft); }
.fys-back-btn:focus-visible { outline: 2px solid var(--fys-burgundy); outline-offset: 2px; }

.fys-table-chip {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: .75rem;
	background: rgba(198,161,91,.08);
	border: 1px solid var(--fys-gold-soft);
	border-radius: 7px;
	padding: .7rem 1rem;
	font-family: 'Jost', sans-serif;
	font-size: .95rem;
	color: var(--fys-ink);
}
.fys-table-chip .fys-seats {
	font-size: .78rem;
	color: var(--fys-burgundy);
	font-weight: 600;
	white-space: nowrap;
}

/* Narrow phones (older iPhone SE, budget Android ~320-380px wide) */
@media (max-width: 380px) {
	.fys-root { padding: 1.75rem .75rem; }
	.fys-panel { padding: 1.75rem 1.1rem 1.6rem; }
	.fys-event-mark { font-size: .6rem; gap: .5rem; }
	.fys-reveal-table { font-size: clamp(2.8rem, 16vw, 3.6rem); }
}

/* Tablets and up — the card itself already grows via clamp() on .fys-stage;
   this scales the content inside it to match rather than just adding padding
   around text that stayed phone-sized. */
@media (min-width: 700px) {
	.fys-panel { padding: 3rem 3rem 2.75rem; }
	.fys-panel h1 { font-size: 2.6rem; }
	.fys-hint { font-size: .95rem; margin-bottom: 2rem; }
	.fys-field input { font-size: 1.2rem; }
	.fys-reveal-table { font-size: 5.6rem; }
	.fys-reveal-name { font-size: 2.4rem; }
	.fys-reveal-verse { font-size: 1.15rem; }
}
