/* End of Year page (page-end-of-year.php). Everything is scoped to .eoy so the rest of the theme is untouched. */

.eoy {
	--eoy-bg: #f3f2f1; --eoy-ink: #111; --eoy-muted: color-mix(in srgb, #111 55%, transparent); --eoy-faint: color-mix(in srgb, #111 40%, transparent);
	--eoy-line: color-mix(in srgb, black 10%, transparent); --green: #5a9e7a; --eoy-radius: clamp(1.6rem, 2vw, 2.4rem);
	--eoy-startup: 'Startup', sans-serif; --eoy-pad: clamp(2.4rem, 3.6vw, 4.8rem); --eoy-gap: clamp(8rem, 11vw, 14rem);
	color: var(--eoy-ink); font-family: Gilroy, sans-serif;
}
.eoy :where(h1, h2, h3, p, ul, ol) { margin: 0; }
.eoy :where(ul, ol) { padding: 0; list-style: none; }
.eoy :where(img) { display: block; max-width: 100%; }
.eoy :where(h1, h2, h3, p, li, span, b, small, summary) { color: inherit; }
.eoy-sec { margin-block-end: var(--eoy-gap); }
.eoy-sec-first { margin-block-end: var(--eoy-gap); }
.eoy-h2 { font-family: var(--eoy-startup); font-weight: 500; font-size: clamp(3.2rem, 4vw, 5.4rem); line-height: 110%; text-wrap: balance; }
.eoy-lead { font-size: 1.85rem; font-weight: 500; color: var(--eoy-muted) !important; max-width: 62ch; }
.eoy-head { display: grid; gap: 1.6rem; justify-items: center; text-align: center; margin-block-end: clamp(3.2rem, 4.5vw, 6.4rem); }
.eoy-eye { display: inline-flex; align-items: center; gap: .8rem; font-size: 1.4rem; font-weight: 600; color: var(--eoy-muted) !important; }
.eoy-eye i { width: .8rem; height: .8rem; border-radius: 50%; background: var(--green); flex: none; }
.eoy-card { background: #fff; border-radius: var(--eoy-radius); }
.eoy a:not(.Button) { color: inherit; }
.eoy-admin-note { padding: 1.6rem 2rem; border-radius: 1.2rem; background: #fff4d6; font-size: 1.4rem; }

/* Buttons (same look as the theme button; own copy so the page does not depend on theme CSS order) */
.eoy .Button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding: .4rem; padding-inline: 1.8rem .4rem; border-radius: 1.2rem; font: 500 1.6rem/1.2 Gilroy, sans-serif; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; transition: background .15s; }
.eoy .Button > .eoy-i { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; border-radius: .8rem; flex: none; background: #fff; }
.eoy .Button.--green { background: var(--green); color: #fff; }
.eoy .Button.--green:hover { background: #4a8e6a; }
.eoy .Button.--white { background: #f0f0f0; color: #000; }
.eoy .Button.--white > .eoy-i { background: #000; }
.eoy .Button.--white > .eoy-i path { stroke: #fff; }
.eoy .Button.--sm { font-size: 1.4rem; padding-inline-start: 1.4rem; }
.eoy .Button.--sm > .eoy-i { width: 3.6rem; height: 3.6rem; }
.eoy .Button:focus-visible { outline: .2rem solid #000; outline-offset: .2rem; }
[dir="rtl"] .eoy .Button > .eoy-i svg { transform: scaleX(-1); }
.eoy-acts { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Countdown (numbers are filled by eoy.js) */
.eoy-cd { display: inline-flex; align-items: flex-start; gap: clamp(.8rem, 1.6vw, 2rem); font-variant-numeric: tabular-nums; direction: ltr; }
[dir="rtl"] .eoy-cd { flex-direction: row-reverse; }
.eoy-cd > div { text-align: center; }
.eoy-cd b { display: block; font-family: var(--eoy-startup); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.eoy-cd small { display: block; margin-block-start: .8rem; font-size: 1.25rem; font-weight: 600; opacity: .65; }
.eoy-cd-sep { font-family: var(--eoy-startup); line-height: 1; opacity: .35; }
.eoy-cd-short { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; unicode-bidi: isolate; }
.eoy.--ended [data-eoy-live] { display: none !important; }

/* Top strip */
.eoy-strip { background: #111; color: #fff; margin-block: 0 1.6rem; }
.eoy-strip .Centered { display: flex; align-items: center; justify-content: center; gap: 1.6rem; min-height: 5.2rem; font-size: 1.45rem; flex-wrap: wrap; padding-block: .8rem; }
.eoy-strip b { font-weight: 600; letter-spacing: .04em; }
.eoy-strip a { color: #fff !important; font-weight: 600; text-underline-offset: .3rem; }
.eoy-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #fff; opacity: .4; }

/* 1. Hero */
.eoy-hx { position: relative; overflow: hidden; border-radius: var(--eoy-radius); min-height: min(76rem, 90vh); background: #d9d3cc;
	display: grid; grid-template-columns: 1fr minmax(0, 52rem); grid-template-rows: 1fr auto; align-items: center; gap: clamp(1.6rem, 3vw, 4.8rem); padding: clamp(2.4rem, 4vw, 5.6rem); }
.eoy-hx-stage { position: absolute; inset: 0; }
.eoy-hx-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.eoy-hx-card { position: relative; z-index: 1; grid-column: 2; grid-row: 1; background: #fff; border-radius: var(--eoy-radius); padding: clamp(2.8rem, 3.4vw, 4.4rem); display: grid; gap: 1.8rem; box-shadow: 0 2rem 6rem rgba(0,0,0,.08); }
.eoy-hx-card h1 { font-family: var(--eoy-startup); font-weight: 500; font-size: clamp(4rem, 4.6vw, 6.4rem); line-height: 100%; letter-spacing: -0.02em; }
.eoy-hx-desc { color: var(--eoy-muted) !important; font-size: 1.7rem; }
.eoy-hx-desc b { color: var(--eoy-ink); }
.eoy-hx-checks { display: flex; flex-wrap: wrap; gap: .6rem; }
.eoy-hx-checks span { font-size: 1.25rem; font-weight: 600; background: var(--eoy-bg); border-radius: 10rem; padding: .5rem 1.1rem; }
.eoy-hx-cd { display: grid; gap: 1rem; padding: 1.6rem; border-radius: 1.6rem; background: #111; color: #fff; }
.eoy-hx-cd > small { font-size: 1.3rem; font-weight: 600; color: rgba(255,255,255,.7); }
.eoy-hx-cd .eoy-cd b { font-size: clamp(3.2rem, 3vw, 4.4rem); }
.eoy-hx-cd .eoy-cd-sep { font-size: clamp(2.8rem, 2.6vw, 3.6rem); }
.eoy-hx-card .Button { justify-self: stretch; }
.eoy-hx-link { justify-self: center; font-size: 1.4rem; font-weight: 600; text-underline-offset: .4rem; }
.eoy-hx-logos { position: relative; z-index: 1; grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; gap: 2rem; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 1.6rem; padding-block: 1rem; padding-inline: 2rem 1rem; }
.eoy-hx-logos > span { font-size: 1.3rem; font-weight: 600; color: var(--eoy-muted); white-space: nowrap; }
.eoy-hx-logos > div { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 1rem; overflow-x: auto; scrollbar-width: none; }
.eoy-hx-logos > div::-webkit-scrollbar { display: none; }
.eoy-hx-logos img { height: 4rem; width: 11rem; flex: none; object-fit: contain; }

/* 2. WorkBooth One in stock */
.eoy-one { display: grid; grid-template-columns: 5fr 7fr; gap: 1.6rem; }
.eoy-one-img { position: relative; border-radius: var(--eoy-radius); overflow: hidden; background: #e9e7e4; min-height: 60rem; }
.eoy-one-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eoy-stock, .eoy-cap { position: absolute; z-index: 1; inset-block-start: 1.2rem; display: inline-flex; align-items: center; gap: .6rem; background: #fff; border-radius: 10rem; padding: .6rem 1.2rem; font-size: 1.25rem; font-weight: 600; }
.eoy-stock { inset-inline-start: 1.2rem; }
.eoy-cap { inset-inline-end: 1.2rem; }
.eoy-stock i { width: .7rem; height: .7rem; border-radius: 50%; background: var(--green); }
.eoy-one-body { padding: var(--eoy-pad); display: flex; flex-direction: column; gap: 2.4rem; }
.eoy-left { display: grid; gap: .6rem; }
.eoy-left-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.35rem; font-weight: 600; }
.eoy-left-top b { font-family: var(--eoy-startup); font-weight: 500; font-size: 2.4rem; }
.eoy-left-bar { height: .4rem; border-radius: 1rem; background: var(--eoy-bg); overflow: hidden; }
.eoy-left-bar i { display: block; width: 100%; height: 100%; background: #000; border-radius: 1rem; }
.eoy-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.eoy-spec { background: var(--eoy-bg); border-radius: 1.6rem; padding: 2rem; display: grid; gap: .6rem; align-content: start; }
.eoy-spec b { font-family: var(--eoy-startup); font-weight: 500; font-size: 2.2rem; line-height: 1.15; }
.eoy-spec span { font-size: 1.4rem; color: var(--eoy-muted); }
.eoy-one-note { font-size: 1.4rem; color: var(--eoy-muted) !important; padding-block-start: 1.6rem; border-block-start: .1rem solid var(--eoy-line); }
.eoy-one-note a { font-weight: 600; }

/* 3. Booth vs building a room */
.eoy-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.eoy-vs > div { border-radius: var(--eoy-radius); padding: var(--eoy-pad); display: grid; gap: 2rem; align-content: start; }
.eoy-vs-old { background: #e7e5e2; }
.eoy-vs-new { background: #111; color: #fff; }
.eoy-vs h3 { font-family: var(--eoy-startup); font-weight: 500; font-size: clamp(2.4rem, 2.4vw, 3.2rem); }
.eoy-vs ul { display: grid; gap: 1.4rem; }
.eoy-vs li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1.2rem; font-size: 1.6rem; }
.eoy-vs li::before { content: ""; width: 2.4rem; height: 2.4rem; border-radius: .6rem; }
.eoy-vs-old li { color: var(--eoy-muted); }
.eoy-vs-old li::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }
.eoy-vs-new li::before { background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat; }
.eoy-vs-k { font-size: 1.3rem; font-weight: 600; letter-spacing: .06em; opacity: .6; }

/* 4 + 8. Card grids */
.eoy-adv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.eoy-adv .eoy-card { padding: clamp(2.4rem, 2.6vw, 3.2rem); display: flex; flex-direction: column; gap: 1.6rem; min-height: 30rem; }
.eoy-ico { width: 5.6rem; height: 5.6rem; border-radius: 1.4rem; background: var(--eoy-bg); display: grid; place-items: center; }
.eoy-adv b { font-family: var(--eoy-startup); font-weight: 500; font-size: clamp(3.6rem, 3.6vw, 5.2rem); line-height: 1; margin-block-start: auto; }
.eoy-adv h3 { font-size: 1.9rem; font-weight: 600; }
.eoy-adv p { color: var(--eoy-muted) !important; font-size: 1.5rem; }

/* 5. WhatsApp band */
.eoy-wa { display: flex; align-items: center; justify-content: space-between; gap: 2.4rem; flex-wrap: wrap; padding: clamp(2.4rem, 3vw, 3.6rem) var(--eoy-pad); }
.eoy-wa-l { display: flex; align-items: center; gap: 2rem; }
.eoy-wa-ico { width: 5.6rem; height: 5.6rem; border-radius: 1.4rem; background: #000; display: grid; place-items: center; flex: none; }
.eoy-wa h3 { font-family: var(--eoy-startup); font-weight: 500; font-size: clamp(2.2rem, 2.2vw, 2.8rem); }
.eoy-wa p { color: var(--eoy-muted) !important; font-size: 1.5rem; }

/* 6. Big countdown */
.eoy-big { position: relative; overflow: hidden; border-radius: var(--eoy-radius); color: #fff; text-align: center; padding: clamp(5.6rem, 8vw, 10rem) 2.4rem; background: #222; }
.eoy-big > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eoy-big::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.eoy-big > div { position: relative; z-index: 1; display: grid; justify-items: center; gap: 2.4rem; }
.eoy-big .eoy-eye { color: rgba(255,255,255,.8) !important; }
.eoy-big h2 { max-width: 22ch; color: #fff; }
.eoy-big .eoy-cd b { font-size: clamp(5.6rem, 8vw, 11.2rem); }
.eoy-big .eoy-cd-sep { font-size: clamp(4.8rem, 7vw, 9.6rem); }

/* 7. Before you order + plan */
.eoy-bp { display: grid; grid-template-columns: 7fr 5fr; gap: 1.6rem; }
.eoy-bfo { display: grid; gap: 1.6rem; }
.eoy-bfo .eoy-card { padding: clamp(2.4rem, 3vw, 3.6rem); display: grid; gap: 1rem; align-content: center; }
.eoy-bfo h3 { font-size: clamp(2rem, 1.8vw, 2.6rem); font-weight: 600; }
.eoy-bfo p { color: var(--eoy-muted) !important; font-size: 1.6rem; }
.eoy-bfo a { font-weight: 600; text-underline-offset: .3rem; }
.eoy-plan { padding: var(--eoy-pad); display: flex; flex-direction: column; gap: 2rem; }
.eoy-plan-h { font-family: var(--eoy-startup); font-weight: 500; font-size: clamp(2.6rem, 2.6vw, 3.4rem); }
.eoy-tl { display: grid; counter-reset: eoytl; }
.eoy-tl li { position: relative; display: grid; gap: .2rem; padding-inline-start: 4.4rem; padding-block-end: 2.2rem; counter-increment: eoytl; }
.eoy-tl li::before { content: counter(eoytl); position: absolute; inset-inline-start: 0; top: 0; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-family: var(--eoy-startup); font-size: 1.5rem; }
.eoy-tl li::after { content: ""; position: absolute; inset-inline-start: 1.5rem; top: 3.4rem; bottom: .2rem; width: .2rem; background: #dfe6ea; }
.eoy-tl li.--last::after { display: none; }
.eoy-tl li.--last::before { background: var(--eoy-bg); color: #000; box-shadow: inset 0 0 0 .2rem #000; }
.eoy-tl b { font-family: var(--eoy-startup); font-weight: 500; font-size: 2rem; }
.eoy-tl span { color: var(--eoy-muted); font-size: 1.5rem; }
.eoy-plan .Button { align-self: flex-start; margin-block-start: auto; }
.eoy-plan-note { font-size: 1.3rem; color: var(--eoy-muted) !important; }

/* 10. FAQ */
.eoy-faq { max-width: 96rem; margin-inline: auto; display: grid; gap: 1rem; }
.eoy-faq details { background: #fff; border-radius: 1.6rem; padding: 2.4rem 2.8rem; }
.eoy-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 2rem; font-size: 1.8rem; font-weight: 600; }
.eoy-faq summary::-webkit-details-marker { display: none; }
.eoy-faq summary::after { content: "+"; font-family: var(--eoy-startup); font-size: 2.4rem; line-height: 1; }
.eoy-faq details[open] summary::after { content: "−"; }
.eoy-faq details p { margin-block-start: 1.2rem; color: var(--eoy-muted) !important; max-width: 70ch; }

/* 11. Manager card, sits on top of the standard form (desktop) or above it (phone) */
.eoy-form { position: relative; }
.eoy-mgr-wrap { position: relative; height: 0; z-index: 5; }
.eoy-mgr { position: absolute; inset-inline-start: calc(clamp(1.2rem, 4vw, 4rem) + clamp(2.4rem, 4vw, 5.6rem)); top: 4rem; width: min(40rem, 34vw); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 1.6rem; padding: 2rem; display: grid; gap: 1.2rem; box-shadow: 0 1rem 4rem rgba(0,0,0,.1); }
.eoy-mgr-who { display: flex; align-items: center; gap: 1.4rem; }
.eoy-mgr-ph { width: 5.6rem; height: 5.6rem; border-radius: 50%; object-fit: cover; background: #111; color: #fff; display: grid; place-items: center; font-family: var(--eoy-startup); font-size: 1.8rem; flex: none; }
.eoy-mgr b { display: block; font-size: 1.7rem; font-weight: 600; }
.eoy-mgr-who span { font-size: 1.3rem; color: var(--eoy-muted); }
.eoy-mgr p { font-size: 1.5rem; }

/* Phone: bottom bar */
.eoy-mbar { display: none; }

@media (max-width: 950px) {
	.eoy-hx { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding: 1.6rem; align-items: stretch; }
	.eoy-hx-stage { position: relative; min-height: 36rem; margin: -1.6rem -1.6rem 0; order: 1; }
	.eoy-hx-card { grid-column: 1; grid-row: auto; order: 2; }
	.eoy-hx-logos { grid-column: 1; grid-row: auto; order: 3; flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1.4rem; }
	.eoy-hx-logos > div { width: 100%; justify-content: flex-start; }
	.eoy-hx-logos img { width: 9rem; height: 3.2rem; }
	.eoy-adv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eoy-one, .eoy-bp, .eoy-vs { grid-template-columns: 1fr; }
	.eoy-one-img { min-height: 36rem; }
	.eoy-mgr-wrap { height: auto; margin-block-end: 1.2rem; }
	.eoy-mgr { position: static; width: auto; box-shadow: none; background: #fff; }
}
@media (max-width: 700px) {
	.eoy-strip .Centered { font-size: 1.3rem; gap: .8rem 1.2rem; }
	.eoy-strip .eoy-dot, .eoy-strip a { display: none; }
	.eoy-adv, .eoy-specs { grid-template-columns: 1fr; }
	.eoy-adv .eoy-card { min-height: 0; }
	.eoy-wa-l { align-items: flex-start; }
	.eoy .Button { white-space: normal; text-align: start; }
	.eoy-cd { gap: .6rem; }
	.eoy-cd-sep { display: none; }
	.eoy-cd > div { min-width: 6.4rem; background: rgba(255,255,255,.08); border-radius: 1.2rem; padding: 1.2rem .4rem; }
	.eoy-big .eoy-cd b, .eoy-hx-cd .eoy-cd b { font-size: 4rem; }
	.eoy-mbar { display: flex; position: fixed; z-index: 150; inset-inline: .8rem; inset-block-end: .8rem; background: #111; color: #fff; border-radius: 1.6rem; padding-block: .6rem; padding-inline: 1.4rem .6rem; align-items: center; gap: 1rem; box-shadow: 0 .8rem 3rem rgba(0,0,0,.25); }
	.eoy-mbar small { display: block; font-size: 1.1rem; opacity: .6; }
	.eoy-mbar-t { flex: 1; font-size: 1.4rem; font-weight: 600; color: #fff; }
	.eoy-mbar-wa { width: 4.4rem; height: 4.4rem; border-radius: 1.2rem; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
	.eoy .eoy-mbar .Button { white-space: nowrap; }
	body.eoy-has-mbar { padding-block-end: 8rem; }
}
