/* Tickets (slug: tickets). Short and decisive: a hero with one action, two ticket stubs, three payment tiles,
   the camping upgrade and a fact list. Loaded only on this page (inc/pages.php). */

.hs-tk {
	--tk-night: #0b0c0a;
	--tk-ember: #15130f;
	--tk-hair: rgba(255, 247, 234, .14);
	--tk-pad: clamp(1rem, 4vw, 2.5rem);
	--tk-max: 1240px;
	--tk-sans: "neue-haas-unica", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--tk-serif: "p22-mackinac-pro", Mackinac, Georgia, serif;
	--tk-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
	position: relative; isolation: isolate;
	font-family: var(--tk-sans);
	padding: clamp(3.5rem, 9vw, 6.5rem) var(--tk-pad);
	margin-block: 0 !important;
}
.hs-tk:not(.wp-block-cover) > * { max-width: var(--tk-max); margin-inline: auto; }
.hs-tk:not(.wp-block-cover)::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: url("../../img/grain.png") 0 0 / 128px 128px repeat; opacity: .07;
}
.hs-tk h1, .hs-tk h2, .hs-tk h3 { font-family: var(--tk-serif); }
.hs-tk h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.hs-tk p { margin: 0; }
.hs-tk-kicker { font: 700 0.75rem/1.3 var(--tk-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--hs-mist); margin: 0 0 1rem !important; }
.hs-tk-sub { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); line-height: 1.55; color: var(--hs-bone); max-width: 40rem; margin-top: 1rem !important; }
.hs-tk-small { font-size: 0.875rem; line-height: 1.5; color: var(--hs-mist); margin-top: 1rem !important; }
.hs-tk-head { margin-bottom: clamp(2rem, 4vw, 3rem) !important; }

/* Switchable "to be confirmed" marker (Settings > Build markers). */
mark.hs-tbc {
	background: transparent; color: var(--hs-gap); border: 1px dashed var(--hs-gap);
	font: 700 0.6875rem/1.3 var(--tk-mono, monospace); letter-spacing: 0.08em; text-transform: uppercase;
	padding: 0.15em 0.5em; display: inline-block; max-width: 100%; white-space: normal;
}
body:not(.hs-show-slots) mark.hs-tbc { display: none; }

/* House button: grained ink, cream hairline that dissolves on hover. */
.hs-tk .wp-block-button__link {
	min-height: 48px; padding: 0 1.5rem; border-radius: 2px;
	font: 700 0.8125rem/1.2 var(--tk-sans); letter-spacing: 0.16em; text-transform: uppercase;
	background: transparent; color: var(--hs-cream); border: 1px solid rgba(255, 247, 234, .5);
	transition: border-color .35s ease, background-color .35s ease;
}
.hs-tk .wp-block-button__link:focus-visible { border-color: var(--hs-cream); background: rgba(255, 247, 234, .06); color: var(--hs-cream); }
.hs-tk .is-style-house .wp-block-button__link { background: linear-gradient(rgba(11, 12, 10, .86), rgba(11, 12, 10, .86)), url("../../img/grain.png") 0 0 / 128px 128px repeat; background-color: #0b0c0a; }
.hs-tk .is-style-house .wp-block-button__link:focus-visible { border-color: rgba(255, 247, 234, 0); background-color: #0b0c0a; }
.hs-tk .wp-block-button__link:focus-visible { outline: 2px solid var(--hs-cream); outline-offset: 3px; }
.hs-tk-ctas { gap: 0.75rem; margin-top: 1.75rem !important; }
@media (max-width: 480px) {
	.hs-tk-ctas { flex-direction: column; align-items: stretch; }
	.hs-tk-ctas .wp-block-button, .hs-tk-ctas .wp-block-button__link { width: 100%; }
}

/* 1. Hero */
.hs-tk-hero.wp-block-cover { padding: clamp(6rem, 14vw, 8rem) var(--tk-pad) clamp(2.5rem, 6vw, 4.5rem); align-items: flex-end; }
.hs-tk-hero .wp-block-cover__background { background: linear-gradient(to top, rgba(11, 12, 10, .92) 0%, rgba(11, 12, 10, .55) 45%, rgba(11, 12, 10, .2) 100%) !important; opacity: 1 !important; }
.hs-tk-hero .wp-block-cover__inner-container { max-width: var(--tk-max) !important; margin-inline: auto !important; width: 100% !important; }
.hs-tk-hero .wp-block-cover__image-background { object-position: 50% 40%; }
.hs-tk-title { font-size: clamp(3rem, 7vw, 4.5rem) !important; font-weight: 800; line-height: 0.9; letter-spacing: -0.03em; margin: 0 0 1rem !important; color: var(--hs-cream); }
.hs-tk-lead { font-family: var(--tk-serif); font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.3; color: var(--hs-cream); max-width: 34rem; }
.hs-tk-hero .hs-tk-kicker { color: var(--hs-bone); }

/* 2. Ticket stubs: a printed ticket with a perforated tear line. */
.hs-tk-types { background: var(--tk-night); }
.hs-tk-stubs { display: grid; gap: 1.25rem; }
@media (min-width: 1180px) { .hs-tk-stubs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hs-tk-stub {
	--notch: 14px;
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 !important;
	background: #eae8da; color: #0b0c0a; border-radius: 3px;
}
.hs-tk-stub > * { margin: 0 !important; }
.hs-tk-stub__main { padding: 1.5rem 1.4rem 1.25rem; }
.hs-tk-stub__side { padding: 1.25rem 1.4rem 1.5rem; border-top: 2px dashed rgba(11, 12, 10, .35); display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; }
.hs-tk-stub__kind { font: 700 0.6875rem/1.3 var(--tk-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #3b3a33; }
.hs-tk-stub__name { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; font-weight: 800; line-height: 1.05; color: #0b0c0a !important; margin: 0.5rem 0 1rem !important; }
.hs-tk-stub__list { list-style: none; padding: 0; margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.hs-tk-stub__list li { padding: 0.45rem 0; border-top: 1px solid rgba(11, 12, 10, .14); }
.hs-tk-stub__price { font-family: var(--tk-serif); font-size: 1.5rem; font-weight: 800; }
.hs-tk-stub__btn .wp-block-button, .hs-tk-stub__btn .wp-block-button__link { width: 100%; }
.hs-tk-stub__btn .wp-block-button__link { padding: 0 0.9rem; letter-spacing: 0.12em; }
@media (min-width: 600px) {
	.hs-tk-stub { grid-template-columns: 60% 40%; -webkit-mask: radial-gradient(circle var(--notch) at 60% 0, transparent 98%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 60% 100%, transparent 98%, #000 100%) bottom / 100% 51% no-repeat; mask: radial-gradient(circle var(--notch) at 60% 0, transparent 98%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 60% 100%, transparent 98%, #000 100%) bottom / 100% 51% no-repeat; }
	.hs-tk-stub__side { border-top: 0; border-left: 2px dashed rgba(11, 12, 10, .35); padding: 1.5rem 1.4rem; }
}

/* 3. Pay your way */
.hs-tk-pay { background: var(--tk-ember); border-top: 1px solid var(--tk-hair); }
.hs-tk-tiles { display: grid; gap: 1rem; }
@media (min-width: 900px) { .hs-tk-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.hs-tk-tile { margin: 0 !important; border-top: 1px solid rgba(255, 247, 234, .4); padding-top: 1.1rem; }
.hs-tk-tile > * { margin: 0 !important; }
.hs-tk-tile__k { font: 700 0.75rem/1.3 var(--tk-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hs-mist); }
.hs-tk-tile__v { font-family: var(--tk-serif); font-size: 1.5rem !important; font-weight: 800; color: var(--hs-cream); margin: 0 0 0.6rem !important; }
.hs-tk-tile p:not([class*="hs-"]) { color: var(--hs-bone); line-height: 1.55; font-size: 0.9875rem; }

/* 4. Camping upgrade */
.hs-tk-up { background: var(--tk-night); display: grid; gap: 2rem; }
.hs-tk-up > * { max-width: none !important; margin: 0 !important; }
.hs-tk-up__img { margin: 0 !important; }
.hs-tk-up__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 2px; }
@media (min-width: 900px) {
	.hs-tk-up { grid-template-columns: minmax(0, 440px) minmax(0, 640px); justify-content: center; align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
	.hs-tk-up__img img { aspect-ratio: 4 / 5; }
}

/* 5. Good to know */
.hs-tk-know { background: var(--tk-ember); border-top: 1px solid var(--tk-hair); }
.hs-tk-facts { margin: 0 auto; border-top: 1px solid var(--tk-hair); }
.hs-tk-fact { display: grid; gap: 0.25rem; padding: 1rem 0; border-bottom: 1px solid var(--tk-hair); }
@media (min-width: 700px) { .hs-tk-fact { grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; } }
.hs-tk-fact dt { font: 700 0.75rem/1.5 var(--tk-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hs-mist); }
.hs-tk-fact dd { margin: 0; color: var(--hs-bone); line-height: 1.55; }
.hs-tk-end { margin-top: clamp(3rem, 7vw, 5rem) !important; text-align: left; }
.hs-tk-end__title { font-size: clamp(2rem, 4vw, 3.25rem) !important; }

@media (prefers-reduced-motion: reduce) { .hs-tk * { transition: none !important; } }

/* ==========================================================================================
   R1 creative review fixes (17 Nov).
   ========================================================================================== */
/* One solid primary: every "Buy tickets" is moss with ink text (7:1); secondary stays an outline. */
.hs-tk .is-style-house .wp-block-button__link {
	background: var(--hs-moss); background-image: none; color: #0b0c0a; border-color: var(--hs-moss);
}
.hs-tk .is-style-house .wp-block-button__link:focus-visible { background: var(--hs-cream); color: #0b0c0a; border-color: var(--hs-cream); }
.hs-tk .wp-block-button:not(.is-style-house) .wp-block-button__link:focus-visible { border-color: var(--hs-cream); background: rgba(255, 247, 234, .08); }
@media (hover: hover) {
	.hs-tk .is-style-house .wp-block-button__link:hover { background: var(--hs-cream); color: #0b0c0a; border-color: var(--hs-cream); }
	.hs-tk .wp-block-button:not(.is-style-house) .wp-block-button__link:hover { border-color: var(--hs-cream); background: rgba(255, 247, 234, .08); }
}

/* Hero: golden-hour crowd, the text block sits low-left over the crowd, nothing lettered behind it. */
.hs-tk-hero .wp-block-cover__image-background { object-position: 50% 62%; }
.hs-tk-hero .wp-block-cover__background { background: linear-gradient(to top, rgba(11, 12, 10, .94) 0%, rgba(11, 12, 10, .7) 38%, rgba(11, 12, 10, .1) 75%, rgba(11, 12, 10, 0) 100%) !important; }

/* Ticket stubs: price as a labelled line, not a GAP headline. */
.hs-tk-stub__pricebox > * { margin: 0 !important; }
.hs-tk-stub__plabel { font: 700 0.6875rem/1.3 var(--tk-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #3b3a33; }
.hs-tk-stub__pval { font-size: 0.9375rem; line-height: 1.45; color: #0b0c0a; margin-top: 0.35rem !important; }
.hs-tk-stub__list a { color: #0b0c0a; text-decoration-color: #3d6334; }
.hs-tk-stub .is-style-house .wp-block-button__link { background: #0b0c0a; color: var(--hs-cream); border-color: #0b0c0a; }
.hs-tk-stub .is-style-house .wp-block-button__link:focus-visible { background: #3d6334; color: #fff7ea; border-color: #3d6334; outline-color: #0b0c0a; }
@media (hover: hover) { .hs-tk-stub .is-style-house .wp-block-button__link:hover { background: #3d6334; color: #fff7ea; border-color: #3d6334; } }

/* Pay-your-way tiles: real headings, GAPs in the body. */
.hs-tk-tile .hs-tk-tile__v { margin-top: 0 !important; }

/* Camping block caption: the yurt is the upgrade, not the included pitch. */
.hs-tk-cap { font: 700 0.6875rem/1.3 var(--tk-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--hs-mist); margin-top: 0.6rem !important; }

/* Inline text links: a 44px tall hit area without moving the text. */
.hs-tk p a:not(.wp-block-button__link), .hs-tk dd a, .hs-tk li a { padding-block: 0.7rem; margin-block: -0.7rem; }

/* Fit the fold (Josh, 17 Nov): the camping image+text module fits inside the viewport with space around it. */
.hs-tk-up__img img { max-height: 60vh; }
@media (min-width: 900px) {
	.hs-tk-up { padding-block: clamp(4rem, 12vh, 8rem) !important; grid-template-columns: minmax(0, 420px) minmax(0, 640px); }
	.hs-tk-up__img img { aspect-ratio: 4 / 5; max-height: min(62vh, 560px); }
}

/* Josh, 17 Nov (round 4): smaller buttons. min-height 48px; padding 0 1.4rem; 700 0.75rem/1.2; tracking 0.16em. */
.hs-tk .wp-block-button__link { min-height: 48px; padding: 0 1.4rem; font-size: 0.75rem; letter-spacing: 0.16em; }

/* R2 review (17 Nov): hero H1 within the type cap. */
.hs-tk-title { font-size: clamp(2.5rem, 5vw, 4rem) !important; }
