/* Edrianne aftercare section. Uses the theme's Big Shoulders Display + Barlow. */
.edr-ac {
	--edr-night: #071329;
	--edr-panel: #101D39;
	--edr-line: #22345F;
	--edr-line-2: #3A4E7E;
	--edr-gold: #FFB81C;
	--edr-bgold: #FFD84A;
	--edr-orange: #F07A00;
	--edr-silver: #C9D3DF;
	--edr-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
	--edr-body: Barlow, "Segoe UI", Arial, sans-serif;
	background: var(--edr-night);
	color: #FFFFFF;
	padding: clamp(64px, 9vw, 110px) 0;
	overflow: hidden;
	font-family: var(--edr-body);
}
.edr-ac *, .edr-ac *::before, .edr-ac *::after { box-sizing: border-box; }
.edr-ac [hidden] { display: none !important; }
/* Same content width as the theme's .container (uses --max when the theme defines it). */
.edr-ac__grid {
	width: min(calc(100% - 54px), var(--max, 1290px)); margin: 0 auto; padding: 0;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "text sign" "action sign"; column-gap: 44px; align-items: center;
}
.edr-ac__text { grid-area: text; align-self: end; }
.edr-ac__action { grid-area: action; align-self: start; }
.edr-ac__signwrap { grid-area: sign; display: flex; justify-content: center; }
.edr-ac__eyebrow { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--edr-gold); }
.edr-ac__eyebrow span { width: 22px; height: 3px; background: var(--edr-orange); display: inline-block; }
.edr-ac__title { margin: 0 0 14px; font-family: var(--edr-display); font-weight: 800; font-size: clamp(40px, 5.4vw, 64px); line-height: .95; text-transform: uppercase; color: #FFFFFF; }
.edr-ac__lead { margin: 0 0 22px; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--edr-silver); }
.edr-ac :focus-visible { outline: 3px solid var(--edr-bgold); outline-offset: 3px; }

/* Buttons */
.edr-ac__open, .edr-ac__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
	border: 2px solid var(--edr-gold); background: var(--edr-gold); color: var(--edr-night);
	font-family: var(--edr-display); font-weight: 800; font-size: 19px; letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none; cursor: pointer;
}
.edr-ac__open:hover, .edr-ac__btn:hover { background: var(--edr-bgold); border-color: var(--edr-bgold); color: var(--edr-night); }
.edr-ac__btn--dark { background: #0F2150; border-color: var(--edr-line-2); color: #FFFFFF; }
.edr-ac__btn--ghost { background: transparent; border-color: var(--edr-silver); color: #FFFFFF; }
/* Secondary buttons light up their border on hover instead of turning gold, so "Send" stays the main action. */
.edr-ac__btn--dark:hover { background: #16295C; border-color: var(--edr-gold); color: #FFFFFF; }
.edr-ac__btn--ghost:hover { background: rgba(255, 184, 28, .08); border-color: var(--edr-gold); color: #FFFFFF; }
.edr-ac__btn { transition: background-color .25s, border-color .25s, box-shadow .25s; }
.edr-ac__btn:hover { box-shadow: 0 0 18px rgba(255, 184, 28, .25); }
.edr-ac__btn[disabled] { opacity: .6; cursor: wait; }
.edr-ac__nojs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

/* The sign */
.edr-ac__sign {
	width: 100%; max-width: 470px; padding: 22px 26px; text-align: center;
	background: linear-gradient(#0F2150, #0B1A42); border: 6px solid var(--edr-silver);
	box-shadow: inset 0 0 0 2px #050C1E, 0 26px 60px rgba(0, 0, 0, .5);
	transition: box-shadow .6s;
}
.edr-ac__sign.is-fixed { box-shadow: inset 0 0 0 2px #050C1E, 0 26px 60px rgba(0, 0, 0, .5), 0 0 70px rgba(255, 184, 28, .28); }
.edr-ac__bulbs { display: flex; justify-content: space-between; }
.edr-ac__bulbs span { width: 10px; height: 10px; border-radius: 50%; background: var(--edr-bgold); box-shadow: 0 0 10px var(--edr-gold); }
.edr-ac__sign:not(.is-fixed) .edr-ac__bulbs span:nth-child(3n) { background: #4A4A3A; box-shadow: none; }
.edr-ac__sign.is-fixed .edr-ac__bulbs span { animation: edr-ac-chase 1.6s linear infinite; }
.edr-ac__sign.is-fixed .edr-ac__bulbs span:nth-child(2) { animation-delay: .2s; }
.edr-ac__sign.is-fixed .edr-ac__bulbs span:nth-child(3) { animation-delay: .4s; }
.edr-ac__sign.is-fixed .edr-ac__bulbs span:nth-child(4) { animation-delay: .6s; }
.edr-ac__sign.is-fixed .edr-ac__bulbs span:nth-child(5) { animation-delay: .8s; }
.edr-ac__sign.is-fixed .edr-ac__bulbs span:nth-child(6) { animation-delay: 1s; }
.edr-ac__sign.is-fixed .edr-ac__bulbs span:nth-child(7) { animation-delay: 1.2s; }
.edr-ac__sign.is-fixed .edr-ac__bulbs span:nth-child(8) { animation-delay: 1.4s; }
.edr-ac__word { margin: 18px 0 6px; font-family: var(--edr-display); font-weight: 900; font-size: clamp(58px, 7vw, 92px); line-height: 1; letter-spacing: .04em; }
.edr-ac__word span { color: var(--edr-bgold); text-shadow: 0 0 8px rgba(255, 184, 28, .95), 0 0 26px rgba(240, 122, 0, .7); }
.edr-ac__sign:not(.is-fixed) .is-dead { color: #2B3556; text-shadow: none; }
.edr-ac__sign:not(.is-fixed) .is-flicker { animation: edr-ac-flicker 2.6s infinite steps(1); }
.edr-ac__sign:not(.is-fixed) .is-flicker2 { animation: edr-ac-flicker 3.4s .7s infinite steps(1); }
.edr-ac__sign.is-fixed .edr-ac__word span { animation: edr-ac-relight .9s ease-out both; }
.edr-ac__caption { margin: 0 0 18px; font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--edr-silver); }

/* Form */
.edr-ac__form { padding: 22px; background: var(--edr-panel); border: 1px solid var(--edr-line); }
.edr-ac__form.is-in { animation: edr-ac-in .5s ease-out both; }
.edr-ac__types { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.edr-ac__types legend { margin-bottom: 10px; font-size: 15px; font-weight: 700; color: #FFFFFF; }
.edr-ac__chip { position: relative; cursor: pointer; }
.edr-ac__chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.edr-ac__chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--edr-line-2); font-weight: 600; font-size: 15px; color: #FFFFFF; }
.edr-ac__chip input:checked + span { background: var(--edr-gold); border-color: var(--edr-gold); color: var(--edr-night); font-weight: 700; }
.edr-ac__chip input:focus-visible + span { outline: 3px solid var(--edr-bgold); outline-offset: 2px; }
.edr-ac__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.edr-ac__field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.edr-ac__field--wide { grid-column: 1 / -1; }
.edr-ac__field label { font-size: 14px; font-weight: 700; color: var(--edr-silver); }
.edr-ac__field label span { font-weight: 500; }
.edr-ac__field input, .edr-ac__field textarea {
	min-height: 46px; padding: 10px 12px; border: 1px solid var(--edr-line-2); border-radius: 0;
	background: #0A1737; color: #FFFFFF; font-family: var(--edr-body); font-size: 16px;
}
.edr-ac__field input::placeholder, .edr-ac__field textarea::placeholder { color: #8D9BBA; }
.edr-ac__field [aria-invalid="true"] { border-color: #FF8A80; }
.edr-ac__err { min-height: 0; font-size: 14px; color: #FFB4AE; }
.edr-ac__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.edr-ac__consent { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--edr-silver); }
.edr-ac__consent label { display: flex; gap: 10px; align-items: flex-start; }
.edr-ac__consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--edr-gold); }
.edr-ac__consent a { color: var(--edr-gold); }
.edr-ac__turnstile:not(:empty) { margin-top: 14px; }
.edr-ac__hint { margin: 14px 0; font-size: 14px; color: var(--edr-silver); }
.edr-ac__buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.edr-ac__buttons > :first-child { grid-column: 1 / -1; }
.edr-ac__buttons .edr-ac__btn { width: 100%; padding: 0 14px; font-size: 17px; }
.edr-ac__status { margin: 14px 0 0; font-weight: 600; color: var(--edr-bgold); }
.edr-ac__status:empty { margin: 0; }
.edr-ac__status.is-error { color: #FFB4AE; }

@keyframes edr-ac-flicker {
	0%, 100% { opacity: 1; }
	8% { opacity: .15; text-shadow: none; }
	11% { opacity: 1; }
	49% { opacity: .1; text-shadow: none; }
	52% { opacity: .85; }
	55% { opacity: .1; text-shadow: none; }
	60% { opacity: 1; }
}
@keyframes edr-ac-relight {
	0% { opacity: .1; text-shadow: none; }
	30% { opacity: 1; }
	40% { opacity: .3; }
	55% { opacity: 1; text-shadow: 0 0 14px #FFB81C, 0 0 40px #F07A00; }
	100% { opacity: 1; }
}
@keyframes edr-ac-chase { 0%, 100% { opacity: .35; box-shadow: none; } 20% { opacity: 1; box-shadow: 0 0 14px #FFB81C; } }
@keyframes edr-ac-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 680px) {
	.edr-ac__grid { width: min(calc(100% - 30px), var(--max, 1290px)); }
}
@media (max-width: 760px) {
	.edr-ac__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "sign" "action"; row-gap: 26px; }
	.edr-ac__sign { padding: 16px 18px; }
	.edr-ac__word { font-size: 64px; margin: 12px 0 4px; }
	.edr-ac__fields { grid-template-columns: minmax(0, 1fr); }
	.edr-ac__open, .edr-ac__btn { width: 100%; }
	.edr-ac__buttons { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.edr-ac *, .edr-ac__form.is-in { animation: none !important; transition: none !important; }
}
