/*
Theme Name: Projector Screen Guide
Template: aff-base
Description: Backyard-cinema-night look for projector-screen-guide.com: deep indigo, glowing screen white, popcorn butter and marquee red, with marquee-bulb and film-strip motifs.
Version: 1.0.0
*/

:root {
	--bg: #f7f5fb;
	--surface: #ffffff;
	--surface-2: #eeebf7;
	--ink: #17142e;
	--ink-2: #3b3760;
	--muted: #6d6a8a;
	--line: #e0dcef;
	--accent: #3d2fa0;
	--accent-ink: #ffffff;
	--accent-soft: #e8e4fb;
	--accent-2: #d7263d;
	--accent-2-ink: #ffffff;
	--good: #1f7a55;
	--bad: #c0283d;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(23, 20, 46, .05), 0 10px 26px rgba(23, 20, 46, .08);
	--font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display-weight: 400;
	--display-tracking: 0.02em;
	--night: #15113a;
	--night-2: #221b5a;
	--butter: #ffd166;
	--bulbs: radial-gradient(circle, var(--butter) 0 2.2px, rgba(255, 209, 102, .35) 2.8px, transparent 4px) 0 50% / 18px 8px repeat-x;
	--stars:
		radial-gradient(1.2px 1.2px at 12% 18%, #fff, transparent),
		radial-gradient(1px 1px at 27% 62%, rgba(255, 255, 255, .8), transparent),
		radial-gradient(1.4px 1.4px at 44% 12%, #fff, transparent),
		radial-gradient(1px 1px at 63% 40%, rgba(255, 255, 255, .7), transparent),
		radial-gradient(1.3px 1.3px at 78% 22%, #fff, transparent),
		radial-gradient(1px 1px at 90% 70%, rgba(255, 255, 255, .75), transparent),
		radial-gradient(1px 1px at 6% 80%, rgba(255, 255, 255, .6), transparent);
}

/* Headings in Bebas need a little more size to read as well as a serif */
h1, h2, h3, h4 { line-height: 1.05; }
.prose h2 { font-size: clamp(31px, 3.3vw, 40px); }
.prose h3 { font-size: 27px; }
.prose h4 { font-size: 21px; }

/* Header: night-sky bar with a row of marquee bulbs underneath */
.site-header { background: var(--night); border-bottom: 0; backdrop-filter: none; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: var(--bulbs), var(--night); }
.brand { color: #fff; }
.brand__name { font-size: 27px; letter-spacing: .04em; padding-top: 3px; }
.nav__list a { color: #d8d4f3; font-weight: 600; font-size: 14.5px; }
.nav__list a:hover, .nav__list .current-menu-item a { background: rgba(255, 255, 255, .09); color: var(--butter); }
.nav-toggle { background: var(--night-2); border-color: #3a3290; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { background: #fff; }

/* Hero: backyard at night. The art's ground fades into the bottom of the section. */
.hero { position: relative; padding: 72px 0 0; border-bottom: 0; color: #fff; background:
	var(--stars),
	radial-gradient(700px 360px at 50% 78%, rgba(201, 191, 255, .2), transparent 70%),
	linear-gradient(180deg, #0d0a26 0%, #1b1550 48%, #221b5c 76%, #120e2e 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--bulbs), #120e2e; }
.hero__title { color: #fff; font-size: clamp(50px, 7.4vw, 92px); letter-spacing: .025em; line-height: .95; max-width: 12em; margin-left: auto; margin-right: auto; text-shadow: 0 0 34px rgba(255, 240, 200, .25); }
.hero__text { color: #d4cff2; }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--butter); padding: 8px 16px; border: 1.5px dashed rgba(255, 209, 102, .55); border-radius: 6px; }
.hero .btn--primary { background: var(--butter); color: var(--night); box-shadow: 0 0 0 4px rgba(255, 209, 102, .18), 0 8px 24px rgba(255, 190, 70, .25); }
.hero .btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: var(--night); }
.hero-center .hero__art { max-width: 780px; margin-top: 18px; }

/* Buttons */
.btn--primary { box-shadow: 0 6px 16px rgba(61, 47, 160, .2); }

/* Silo tiles: cinema tickets with notches and a perforation line above the stub */
.silo { position: relative; padding: 22px 24px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
	-webkit-mask: radial-gradient(circle 10px at 0 calc(100% - 50px), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% calc(100% - 50px), #0000 97%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 10px at 0 calc(100% - 50px), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% calc(100% - 50px), #0000 97%, #000) right / 51% 100% no-repeat; }
.silo::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 49px; border-top: 2px dashed var(--line); }
.silo:hover { box-shadow: none; border-color: var(--line); background: linear-gradient(180deg, #fff, var(--accent-soft)); }
.silo__icon { width: 58px; height: 58px; padding: 10px; border-radius: 10px; background: var(--night); color: var(--butter); box-shadow: inset 0 0 0 2px #2f2777, 0 6px 16px rgba(21, 17, 58, .18); }
.silo__name { font-size: 25px; margin-bottom: 16px; }
.silo__count { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }

.silo-head { background: var(--stars), linear-gradient(180deg, #120e33, #1f1854); color: #fff; border-bottom: 0; position: relative; }
.silo-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--bulbs); }
.silo-head h1 { color: #fff; font-size: clamp(42px, 5.6vw, 66px); }
.silo-head__intro { color: #d4cff2; }
.silo-head__icon { color: var(--butter); }
.silo-head .crumbs, .silo-head .crumbs a { color: #b9b3e3; }
.silo-head .crumbs a:hover { color: #fff; }

/* Cards */
.card__title { font-size: 25px; line-height: 1.05; }
.card--lg .card__title { font-size: 32px; }
.card--lg .card__link { background: linear-gradient(160deg, #ebe7fc, var(--surface) 62%); }
.card__icon { color: var(--accent); }
.card__more { color: var(--accent-2); }

/* Quick picks: glowing marquee bulbs */
.quick-picks { border-color: var(--line); }
.quick-picks li { position: relative; padding-left: 52px; }
.quick-picks li::before { content: ""; position: absolute; left: 20px; top: 19px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #fff7dc 0 22%, var(--butter) 60%); box-shadow: 0 0 0 4px rgba(255, 209, 102, .22), 0 0 14px rgba(255, 180, 60, .65); }
.quick-picks li:nth-child(3n+2)::before { background: radial-gradient(circle at 38% 35%, #ffe0e4 0 22%, #ff4d63 62%); box-shadow: 0 0 0 4px rgba(215, 38, 61, .16), 0 0 14px rgba(255, 77, 99, .55); }
.quick-picks li strong { font-size: 22px; letter-spacing: .03em; }

/* Product box: film strip along the left edge */
.aff-product { position: relative; overflow: hidden; padding-left: 38px; border-color: var(--line); }
.aff-product::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 18px; background: linear-gradient(to bottom, var(--bg) 0 7px, transparent 7px) 50% 5px / 7px 14px repeat-y, var(--night); }
.aff-product__icon { background: var(--night); color: var(--butter); }
.aff-product__icon--art { background: var(--surface-2); color: var(--ink); }
.aff-product__name { font: 700 17.5px/1.35 var(--font-body); letter-spacing: 0; }
.aff-product__badge { background: var(--night); color: var(--butter); }
.aff-cta strong { font: 700 17.5px/1.35 var(--font-body); }

/* FAQ questions in the body face: easier to scan than all-caps */
.faq summary { font: 700 18px/1.4 var(--font-body); letter-spacing: 0; }
.faq summary::after { color: var(--accent-2); }

/* Tool teaser: a dark screening-room panel */
.teaser__inner { background: var(--stars), linear-gradient(135deg, #15113a, #2a2170); color: #d4cff2; box-shadow: 0 18px 40px rgba(21, 17, 58, .22); }
.teaser__copy h2 { color: #fff; font-size: clamp(34px, 3.8vw, 46px); }
.teaser .kicker { color: var(--butter); }
.teaser .btn--primary { background: var(--butter); color: var(--night); }

.promise__item { border-top: 4px solid var(--accent-2); box-shadow: var(--shadow); }
.promise__item h3 { font-size: 25px; }
.section__head h2 { font-size: clamp(32px, 3.6vw, 44px); }
.article__title { font-size: clamp(40px, 5.4vw, 62px); line-height: 1; }
.aff-tool__result strong { font-size: 28px; letter-spacing: .02em; }

/* Footer: deep night with a strip of bulbs on top */
.site-footer { position: relative; background: var(--stars), #0e0b27; color: #b9b3e3; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--bulbs); }
.site-footer .brand__mark { color: inherit; }
.site-footer .brand__name { font-size: 27px; }
.site-footer__title { color: var(--butter); }
.site-footer a:hover { color: #fff; }

/* ---------- Tools ---------- */
.agts-src { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }
.agts-size__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0 !important; }
.agts-size__card { display: flex; flex-direction: column; gap: 3px; padding: 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.agts-size__card.is-main { background: var(--night); border-color: var(--night); color: #d4cff2; box-shadow: 0 0 0 3px rgba(255, 209, 102, .35); }
.agts-size__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.is-main .agts-size__label { color: var(--butter); }
.agts-size__diag { font: 400 40px/1 var(--font-display); color: var(--ink); letter-spacing: .02em; }
.is-main .agts-size__diag { color: #fff; }
.agts-size__dims { font-size: 13.5px; font-weight: 600; }
.agts-size__note { font-size: 13px; color: var(--muted); }
.is-main .agts-size__note { color: #b9b3e3; }
.agts-size__stock { margin: 12px 0 0; font-size: 14.5px; }
.agts-size__stock b { display: inline-block; margin: 2px 2px 0 0; padding: 2px 9px; border-radius: 999px; background: var(--butter); color: var(--night); font-size: 13.5px; }
.agts-size__plan, .agts-throw__plan { margin-top: 16px; }
.agts-size__plan svg, .agts-throw__plan svg { display: block; width: 100%; height: auto; }

.agts-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; padding: 4px; border: 0; border-radius: 999px; background: var(--surface-2); }
.aff-tool .agts-seg label { margin: 0; font-size: 14.5px; }
.agts-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agts-seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.agts-seg input:checked + span { background: var(--night); color: var(--butter); }
.agts-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.agts-throw__sub { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }

@media (max-width: 1120px) {
	.nav { background: var(--night); border-bottom-color: #2f2777; }
	.nav__list a { color: #e6e3fa; }
}
@media (max-width: 760px) {
	.site-header .brand__name { font-size: 22px; white-space: nowrap; }
	.hero { padding-top: 44px; }
	.hero__title { font-size: clamp(44px, 13vw, 60px); }
	.agts-size__cards { grid-template-columns: 1fr; }
	.agts-seg { display: flex; border-radius: var(--radius-sm); }
	.agts-seg label { flex: 1 1 100%; }
	.agts-seg span { width: 100%; justify-content: center; border-radius: 7px; }
	.aff-product { padding-left: 32px; }
}

/* Amazon photos: frame in this site's style */
:root { --photo-radius: 14px; --photo-stage: linear-gradient(145deg, var(--night), var(--night-2)); --photo-frame: 8px; }
