/* Cheers San Diego v2 upgrades: hero, reviews, packages, FAQ, gallery.
   Accent sampled from company_logo.png: gold #fbce13, brown #532c16. */
:root {
	--cx-gold: #fbce13;
	--cx-gold-deep: #9a7406;
	--cx-brown: #532c16;
	--cx-espresso: #1c130c;
	--cx-ink: #2a2019;
	--cx-muted: #7a6c5e;
	--cx-line: #e8dfcf;
	--cx-cream: #fbf7ef;
}

/* ---------- 1. HERO: scroll media expansion ---------- */
#wrapper { overflow: clip !important; }

.cx-hero {
	position: relative;
	width: 100%;
	height: 165vh;
	background: var(--cx-espresso);
	font-family: "Inter", Helvetica, Arial, sans-serif;
	--p: 0;
}
.cx-hero__stage {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
}
.cx-hero__bg { position: absolute; inset: 0; opacity: calc(.45 * (1 - var(--p))); }
.cx-hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.7) brightness(.55); }
.cx-hero__stage { --it: 15vh; --ix: 20vw; --ib: 15vh; --r: 24px; }
.cx-hero__media {
	position: absolute;
	inset: 0;
	clip-path: inset(calc(var(--it) * (1 - var(--p))) calc(var(--ix) * (1 - var(--p))) calc(var(--ib) * (1 - var(--p))) calc(var(--ix) * (1 - var(--p))) round calc(var(--r) * (1 - var(--p))));
	will-change: clip-path;
}
.cx-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 45%;
	display: block;
	transform: scale(calc(1.08 - 0.08 * var(--p)));
	transform-origin: 50% 40%;
}
.cx-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 13, 8, .88) 0%, rgba(20, 13, 8, .55) 34%, rgba(20, 13, 8, 0) 62%);
}
.cx-hero__copy {
	position: absolute;
	left: calc(var(--ix) * (1 - var(--p)) + 56px);
	right: calc(var(--ix) * (1 - var(--p)) + 56px);
	bottom: calc(var(--ib) * (1 - var(--p)) + 52px);
	max-width: 1000px;
	color: #fff;
	z-index: 2;
}
.cx-hero__eyebrow {
	font-family: "Dancing Script", cursive;
	font-size: 2rem;
	color: var(--cx-gold);
	margin: 0 0 6px;
	line-height: 1;
}
.cx-hero h1 {
	font-family: "Inter", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: clamp(2.6rem, 6.4vw, 6rem);
	line-height: .98;
	letter-spacing: -0.035em;
	margin: 0;
	text-transform: none;
}
.cx-hero__sub {
	font-size: clamp(1rem, 1.35vw, 1.25rem);
	line-height: 1.45;
	color: rgba(255, 255, 255, .86);
	margin: 18px 0 28px;
	max-width: 26em;
}
.cx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: "Inter", Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: .01em;
	text-decoration: none;
	border-radius: 999px;
	padding: 15px 26px;
	min-height: 48px;
	box-sizing: border-box;
	transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
	cursor: pointer;
}
.cx-btn--gold { background: var(--cx-gold); color: #241708; box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.cx-btn--gold:hover { background: #ffdc3d; transform: translateY(-1px); }
.cx-btn--dark { background: var(--cx-espresso); color: #fff; }
.cx-btn--dark:hover { background: var(--cx-brown); }
.cx-btn:focus-visible, .cx-faq summary:focus-visible, .cx-bento__item:focus-visible, .cx-lb button:focus-visible {
	outline: 3px solid var(--cx-gold);
	outline-offset: 3px;
}
.cx-btn svg { width: 18px; height: 18px; }

@media (max-width: 800px) {
	.cx-hero { height: 150vh; }
	.cx-hero__stage { --it: 74px; --ix: 12px; --ib: 12px; --r: 22px; }
	.cx-hero__media img { object-position: 52% 45%; }
	.cx-hero__copy { left: calc(var(--ix) * (1 - var(--p)) + 22px); right: calc(var(--ix) * (1 - var(--p)) + 22px); bottom: calc(var(--ib) * (1 - var(--p)) + 26px); }
	.cx-hero__eyebrow { font-size: 1.6rem; }
	.cx-hero__sub { margin: 14px 0 22px; }
}

/* ---------- 2. REVIEWS: testimonial columns ---------- */
.cx-reviews { width: 100%; font-family: "Inter", Helvetica, Arial, sans-serif; container-type: inline-size; }
.cx-reviews__title { margin: 0 0 8px; }
.cx-reviews__rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--cx-ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--cx-line);
	padding-bottom: 2px;
}
.cx-reviews__rating:hover { border-bottom-color: var(--cx-gold-deep); }
.cx-stars { color: var(--cx-gold); letter-spacing: 2px; font-size: .95rem; white-space: nowrap; }
.cx-reviews__cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.cx-reviews.is-live .cx-reviews__cols {
	height: 620px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.cx-reviews.is-live .cx-reviews__cols[data-cols="2"] { grid-template-columns: 1fr 1fr; }
.cx-reviews.is-live .cx-reviews__cols[data-cols="3"] { grid-template-columns: 1fr 1fr 1fr; }
.cx-col { min-width: 0; }
.cx-track { display: flex; flex-direction: column; gap: 16px; padding-bottom: 16px; }
.cx-reviews.is-live .cx-track { animation: cx-rise var(--dur, 44s) linear infinite; }
.cx-reviews.is-live .cx-reviews__cols:hover .cx-track,
.cx-reviews.is-live .cx-reviews__cols:focus-within .cx-track { animation-play-state: paused; }
@keyframes cx-rise { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.cx-card {
	background: var(--cx-cream);
	border: 1px solid var(--cx-line);
	border-radius: 22px;
	padding: 22px 22px 20px;
	box-shadow: 0 10px 24px -16px rgba(83, 44, 22, .35);
	margin: 0;
	color: var(--cx-ink);
	text-align: left;
	letter-spacing: normal;
}
.cx-card blockquote { margin: 10px 0 16px; font-size: .95rem; line-height: 1.55; }
.cx-card figcaption { display: flex; align-items: center; gap: 10px; font-size: .875rem; }
.cx-card__mono {
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--cx-brown); color: var(--cx-gold);
	display: grid; place-items: center;
	font-weight: 700; font-size: .85rem; flex: none;
}
.cx-card__name { font-weight: 700; display: block; }
.cx-card__role { color: var(--cx-muted); display: block; font-size: .8rem; }
@media (prefers-reduced-motion: reduce) {
	.cx-reviews.is-live .cx-track { animation: none; }
	.cx-reviews.is-live .cx-reviews__cols { height: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- 3. PACKAGES: pricing cards ---------- */
.cx-pk { font-family: "Inter", Helvetica, Arial, sans-serif; container-type: inline-size; width: 100%; }
.cx-pk__grid { display: grid; grid-template-columns: 1fr; gap: 18px; list-style: none; margin: 0; padding: 0; }
.cx-pk__card {
	position: relative;
	background: #fffdf9;
	border: 1px solid var(--cx-line);
	border-radius: 20px;
	padding: 28px 26px 26px;
	color: var(--cx-ink);
	display: flex;
	flex-direction: column;
	text-align: left;
	letter-spacing: normal;
}
.cx-pk__card--hi {
	background: var(--cx-espresso);
	border-color: var(--cx-gold);
	color: #f6efe2;
	box-shadow: 0 18px 40px -22px rgba(28, 19, 12, .7);
}
.cx-pk__badge {
	position: absolute;
	top: -12px;
	left: 26px;
	background: var(--cx-gold);
	color: #241708;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
}
.cx-pk__name { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0; color: var(--cx-brown); }
.cx-pk__card--hi .cx-pk__name { color: var(--cx-gold); }
.cx-pk__price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 2px; }
.cx-pk__amt { font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.cx-pk__from { font-size: .85rem; color: var(--cx-muted); }
.cx-pk__card--hi .cx-pk__from { color: #c9bba6; }
.cx-pk__tag { font-size: .95rem; line-height: 1.45; margin: 6px 0 18px; color: var(--cx-muted); }
.cx-pk__card--hi .cx-pk__tag { color: #d9ccb8; }
.cx-pk__list { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--cx-line); display: grid; gap: 10px; font-size: .925rem; line-height: 1.4; }
.cx-pk__card--hi .cx-pk__list { border-top-color: rgba(251, 206, 19, .28); }
.cx-pk__list li { position: relative; padding-left: 26px; }
.cx-pk__list li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 3px;
	width: 6px;
	height: 11px;
	border: solid var(--cx-gold-deep);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}
.cx-pk__card--hi .cx-pk__list li::before { border-color: var(--cx-gold); }
.cx-pk__card .cx-btn { margin-top: auto; width: 100%; }
.cx-pk__card:not(.cx-pk__card--hi) .cx-btn { background: transparent; color: var(--cx-ink); border: 2px solid var(--cx-ink); }
.cx-pk__card:not(.cx-pk__card--hi) .cx-btn:hover { background: var(--cx-ink); color: #fff; }
.cx-pk__note { font-size: .9rem; color: var(--cx-muted); margin: 18px 0 0; line-height: 1.5; text-align: left; letter-spacing: normal; }

/* three across when there is room (packages page) */
@container (min-width: 860px) {
	.cx-pk__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
	.cx-pk__card--hi { transform: translateY(-10px); }
}
/* compact horizontal rows in a half-width column (index) */
@container (min-width: 500px) and (max-width: 859px) {
	.cx-pk--compact .cx-pk__card { display: grid; grid-template-columns: 170px 1fr; column-gap: 24px; padding: 26px 24px; }
	.cx-pk--compact .cx-pk__head { grid-column: 1; grid-row: 1 / span 2; display: flex; flex-direction: column; }
	.cx-pk--compact .cx-pk__list { grid-column: 2; grid-row: 1; margin: 0; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--cx-line); align-self: center; }
	.cx-pk--compact .cx-pk__card--hi .cx-pk__list { border-left-color: rgba(251, 206, 19, .28); }
	.cx-pk--compact .cx-pk__tag { margin-bottom: 16px; }
	.cx-pk--compact .cx-btn { margin-top: auto; padding: 12px 14px; font-size: .9rem; }
	.cx-pk--compact .cx-pk__amt { font-size: 2.5rem; }
}
.cx-pk-section { padding: 56px 24px 64px; display: flex; justify-content: center; background: #fff; }
.cx-pk-section .cx-pk { max-width: 1120px; }

/* ---------- 4. FAQ accordion ---------- */
.cx-faq { width: 100%; font-family: "Inter", Helvetica, Arial, sans-serif; border-top: 1px solid var(--cx-line); letter-spacing: normal; }
.cx-faq details { border-bottom: 1px solid var(--cx-line); }
.cx-faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 2px;
	font-weight: 600;
	font-size: 1.02rem;
	color: var(--cx-ink);
	line-height: 1.35;
}
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-faq summary::after {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	margin-right: 6px;
	border: solid var(--cx-brown);
	border-width: 0 2px 2px 0;
	transform: translateY(-3px) rotate(45deg);
	transition: transform .28s cubic-bezier(.2, .7, .2, 1);
}
.cx-faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.cx-faq summary:hover { color: var(--cx-brown); }
.cx-faq__a { padding: 0 34px 20px 2px; color: #4a3f35; line-height: 1.6; font-size: .97rem; }
.cx-faq details[open] .cx-faq__a { animation: cx-fade .3s ease both; }
@keyframes cx-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.cx-faq summary::after { transition: none; }
	.cx-faq details[open] .cx-faq__a { animation: none; }
}

/* ---------- 5. GALLERY bento + lightbox ---------- */
.cx-bento {
	display: grid;
	grid-template-columns: 0.95fr 1.55fr 1fr;
	grid-auto-rows: 330px 270px;
	grid-auto-flow: row dense;
	gap: 14px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 28px 24px 8px;
	box-sizing: border-box;
	width: 100%;
}
.cx-bento__item {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
	border: 0;
	padding: 0;
	margin: 0;
	background: var(--cx-espresso);
	cursor: zoom-in;
	display: block;
	width: 100%;
	height: 100%;
	text-align: left;
	font: inherit;
}
.cx-bento__item:nth-child(4n+1) { grid-column: 1; grid-row: span 2; }
.cx-bento__item:nth-child(4n+2), .cx-bento__item:nth-child(4n+3) { grid-column: 2; }
.cx-bento__item:nth-child(4n+4) { grid-column: 3; grid-row: span 2; }
.cx-bento__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cx-bento__item:hover img, .cx-bento__item:focus-visible img { transform: scale(1.06); }
.cx-bento__cap {
	position: absolute;
	left: 12px;
	bottom: 12px;
	right: 12px;
	font-family: "Inter", Helvetica, Arial, sans-serif;
	font-size: .85rem;
	font-weight: 600;
	color: #fff;
	pointer-events: none;
}
.cx-bento__cap span { background: rgba(28, 19, 12, .78); padding: 7px 12px; border-radius: 999px; display: inline-block; }
@media (max-width: 760px) {
	.cx-bento { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: none; grid-auto-rows: auto; padding: 16px 14px 4px; gap: 12px; }
	.cx-bento__item, .cx-bento__item:nth-child(n) { grid-area: auto; height: auto; aspect-ratio: 4 / 5; }
	.cx-bento__item:nth-child(4n+2), .cx-bento__item:nth-child(4n+3) { aspect-ratio: 3 / 2; }
}
@media (prefers-reduced-motion: reduce) { .cx-bento__item img { transition: none; } }

.cx-lb {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(16, 11, 7, .94);
	display: none;
	align-items: center;
	justify-content: center;
	font-family: "Inter", Helvetica, Arial, sans-serif;
}
.cx-lb.is-open { display: flex; }
.cx-lb figure { margin: 0; max-width: min(92vw, 1200px); display: flex; flex-direction: column; align-items: center; }
.cx-lb img { max-width: 100%; max-height: 80vh; max-height: 80svh; border-radius: 10px; display: block; }
.cx-lb figcaption { color: #efe6d6; margin-top: 14px; font-size: .95rem; text-align: center; }
.cx-lb__count { color: var(--cx-gold); margin-right: 10px; font-weight: 700; }
.cx-lb button {
	position: absolute;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .25);
	color: #fff;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
}
.cx-lb button:hover { background: var(--cx-gold); color: #241708; border-color: var(--cx-gold); }
.cx-lb button svg { width: 22px; height: 22px; }
.cx-lb__close { top: 18px; right: 18px; }
.cx-lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.cx-lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
	.cx-lb__prev, .cx-lb__next { top: auto; bottom: 18px; transform: none; }
	.cx-lb__prev { left: calc(50% - 60px); }
	.cx-lb__next { right: calc(50% - 60px); }
	.cx-lb img { max-height: 68vh; max-height: 68svh; }
}

/* let the reviews column take the full half-width instead of shrink-wrapping */
.section_content:has(.cx-reviews) { width: 100%; max-width: 680px; box-sizing: border-box; }
.cx-btn { white-space: nowrap; }
@container (min-width: 500px) and (max-width: 859px) {
	.cx-pk--compact .cx-pk__card { grid-template-columns: 186px 1fr; }
	.cx-pk--compact .cx-btn { padding: 12px 12px; font-size: .88rem; gap: 8px; }
	.cx-pk--compact .cx-btn svg { width: 16px; height: 16px; }
}
