/* MAILAH First Access List */
.mw {
	--mw-wine: #4A1026;
	--mw-ink: #2A0A16;
	--mw-muted: #684450;
	--mw-blush: #EBC0CB;
	--mw-cream: #F7EFEC;
	--mw-line: #E8D5D8;
	--mw-gold: #B8832F;
	--mw-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
	--mw-sans: 'Josefin Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	background: var(--mw-cream);
	color: var(--mw-ink);
	font-family: var(--mw-sans);
	font-weight: 400;
	font-size: 15px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-align: left;
}
.mw *, .mw *::before, .mw *::after { box-sizing: border-box; }
.mw p { margin: 0; }
.mw img { max-width: 100%; }

/* Full page */
.mailah-wl-page { margin: 0; background: #F7EFEC; }
.mw--full { min-height: 100vh; min-height: 100svh; }
.mw--embed { min-height: 680px; border-radius: 4px; overflow: hidden; }
.mw--embed:not(:has(.mw__media)) { grid-template-columns: 1fr; }

/* Media side ---------------------------------------------------------- */
.mw__media { position: relative; overflow: hidden; background: var(--mw-wine); }
.mw--full .mw__media { position: sticky; top: 0; height: 100vh; height: 100svh; }
.mw__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: mw-drift 28s ease-in-out infinite alternate; }
.mw__veil {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(42, 10, 22, .55) 0%, rgba(74, 16, 38, .08) 30%, rgba(74, 16, 38, .05) 60%, rgba(42, 10, 22, .4) 100%),
		radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(42, 10, 22, .35) 100%);
}
.mw__media-top { position: absolute; top: clamp(28px, 4vw, 48px); left: clamp(28px, 4vw, 56px); right: 0; }
.mw__media-logo { width: clamp(120px, 11vw, 168px); height: auto; filter: brightness(0) invert(1); opacity: .96; display: block; }
.mw__media-foot { position: absolute; left: clamp(28px, 4vw, 56px); right: clamp(28px, 4vw, 56px); bottom: clamp(30px, 4.5vw, 56px); color: #fff; }
.mw__media-rule { display: block; width: 44px; height: 1px; background: var(--mw-gold); margin-bottom: 18px; }
.mw__media-line { font-family: var(--mw-serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; letter-spacing: .01em; color: #fff; }
/* Print pattern: tiles seamlessly and drifts slowly */
.mw__print { position: absolute; inset: 0; background-color: #C21E7A; background-size: 560px auto; background-repeat: repeat; animation: mw-print-drift 60s linear infinite; }
.mw__veil--print { background: radial-gradient(120% 90% at 50% 45%, transparent 50%, rgba(74, 16, 38, .32) 100%), linear-gradient(180deg, rgba(74, 16, 38, .35) 0%, transparent 28%); }
	.mw__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@keyframes mw-print-drift { from { background-position: 0 0; } to { background-position: -560px -525px; } }
@keyframes mw-drift { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.18) translate3d(-1.5%, -1%, 0); } }

/* Content side -------------------------------------------------------- */
.mw__panel { display: flex; align-items: center; justify-content: center; padding: clamp(36px, 4.5vw, 64px) clamp(24px, 6vw, 88px); }
.mw__inner { width: 100%; max-width: 500px; animation: mw-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes mw-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.mw__logo { display: none; }
.mw__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px !important; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--mw-wine); font-weight: 400; }
.mw__eyebrow i { width: 4px; height: 4px; background: var(--mw-gold); transform: rotate(45deg); flex: none; }
.mw__headline { margin: 0 0 18px; font-family: var(--mw-serif); font-weight: 300; font-size: clamp(40px, 3.9vw, 58px); line-height: 1.04; letter-spacing: -.01em; color: var(--mw-wine); text-wrap: balance; }
.mw__sub { font-family: var(--mw-serif); font-style: italic; font-weight: 400; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.3; color: #8B3A55; margin-bottom: 18px !important; }
.mw__intro { color: var(--mw-muted); margin-bottom: 24px !important; max-width: 440px; }

.mw__gift { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0 18px; margin-bottom: 24px; border-top: 1px solid var(--mw-line); border-bottom: 1px solid var(--mw-line); }
.mw__gift-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(184, 131, 47, .55); color: var(--mw-gold); display: flex; align-items: center; justify-content: center; }
.mw__gift-title { font-family: var(--mw-serif); font-size: 21px; line-height: 1.25; font-weight: 400; color: var(--mw-wine); margin-bottom: 4px !important; }
.mw__gift-text { font-size: 14px; line-height: 1.6; color: var(--mw-muted); }

/* Form card */
.mw__card { position: relative; background: #fff; border-radius: 18px; padding: 24px 24px 20px; box-shadow: 0 1px 0 rgba(74, 16, 38, .04), 0 24px 60px -28px rgba(74, 16, 38, .28); }
.mw__form-title { font-family: var(--mw-serif); font-size: 28px; line-height: 1.1; font-weight: 400; color: var(--mw-wine); }
.mw__form-text { font-size: 14px; color: var(--mw-muted); margin: 4px 0 18px !important; }

.mw__field { position: relative; margin-bottom: 12px; }
.mw__field input {
	width: 100%; height: 58px; margin: 0; padding: 22px 18px 6px;
	border: 1px solid var(--mw-line); border-radius: 12px; background: #FDFAF9;
	font-family: var(--mw-sans); font-size: 16px; font-weight: 400; color: var(--mw-ink);
	outline: none; box-shadow: none; transition: border-color .2s, background .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.mw__field label {
	position: absolute; left: 19px; top: 19px; margin: 0;
	font-size: 15px; font-weight: 400; color: #8F717A; line-height: 20px;
	pointer-events: none; transform-origin: left top; transition: transform .2s, color .2s;
}
.mw__field input:focus { border-color: var(--mw-wine); background: #fff; box-shadow: 0 0 0 3px rgba(74, 16, 38, .08); }
.mw__field input:focus + label,
.mw__field input:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: var(--mw-wine); letter-spacing: .04em; }
.mw__field input[aria-invalid="true"] { border-color: #B3261E; }

.mw__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.mw__button {
	position: relative; width: 100%; height: 58px; margin-top: 6px; padding: 0 20px;
	border: 0; border-radius: 12px; cursor: pointer; overflow: hidden;
	background: var(--mw-wine); color: #fff;
	font-family: var(--mw-sans); font-size: 13px; font-weight: 400; letter-spacing: .26em; text-transform: uppercase;
	transition: background .25s, transform .15s;
}
.mw__button::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent); transform: skewX(-18deg); transition: left .7s ease; }
.mw__button:hover { background: #5E1531; }
.mw__button:hover::after { left: 120%; }
.mw__button:active { transform: scale(.99); }
.mw__button:focus-visible { outline: 2px solid var(--mw-gold); outline-offset: 3px; }
.mw__button[disabled] { cursor: wait; }
.mw__spinner { display: none; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 1.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: mw-spin .8s linear infinite; }
.mw__button.is-busy .mw__button-label { visibility: hidden; }
.mw__button.is-busy .mw__spinner { display: block; }
@keyframes mw-spin { to { transform: rotate(360deg); } }

.mw__error { margin-top: 12px !important; font-size: 14px; color: #B3261E; font-weight: 400; }
.mw__privacy { margin-top: 12px !important; font-size: 12px; line-height: 1.6; color: #8F717A; text-align: center; }

/* Confirmation */
.mw__success { text-align: center; padding: 22px 6px 18px; outline: none; }
.mw__success:not([hidden]) { animation: mw-pop .7s cubic-bezier(.2, .8, .2, 1) both; }
.mw__success-mark { width: 74px; height: auto; margin: 0 auto 18px; display: block; }
.mw__success-title { font-family: var(--mw-serif); font-weight: 300; font-size: 38px; line-height: 1.1; color: var(--mw-wine); margin-bottom: 8px !important; }
.mw__success-text { font-size: 16px; color: var(--mw-muted); }
@keyframes mw-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

.mw__foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.mw__tagline { font-family: var(--mw-serif); font-style: italic; font-size: 18px; color: var(--mw-wine); }
.mw__social { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mw-wine); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.mw__media ~ .mw__panel .mw__tagline { display: none; }

/* No media: centred single column */
.mw:not(:has(.mw__media)) .mw__logo { display: block; width: 150px; height: auto; margin: 0 0 34px; }

/* Phones -------------------------------------------------------------- */
@media (max-width: 860px) {
	.mw { grid-template-columns: 1fr; }
	.mw--full .mw__media, .mw__media { position: relative; height: 54vh; height: 54svh; min-height: 340px; top: auto; }
	.mw__media-top { left: 0; right: 0; display: flex; justify-content: center; top: 34px; }
	.mw__media-logo { width: 138px; }
	.mw__media-foot { left: 24px; right: 24px; bottom: 54px; text-align: center; }
	.mw__media-rule { margin: 0 auto 14px; }
	.mw__media-line { font-size: 26px; }
	.mw__panel { position: relative; margin-top: -28px; border-radius: 26px 26px 0 0; background: var(--mw-cream); padding: 40px 20px 44px; }
	.mw__eyebrow { margin-bottom: 18px !important; }
	.mw__headline { font-size: 44px; }
	.mw__card { padding: 24px 18px 18px; border-radius: 16px; }
	.mw__foot { justify-content: center; text-align: center; }
	.mw__foot .mw__tagline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.mw__video, .mw__print, .mw__inner, .mw__success:not([hidden]) { animation: none; }
	.mw__button::after { display: none; }
}
