/* =========================================================
   JC Party Rentals Miami — custom.css
   What theme.json cannot express lives here.
   v1.6.0 (two-voice typography: Playfair Display headings,
   EB Garamond body + nav/chrome)
   ========================================================= */

/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */
html {
	/* mobile overflow guard (NOT on body/header — see footer notes) */
	overflow-x: hidden;
}
/* ---------------------------------------------------------
   Fonts — two-voice system (no Adobe, no Google runtime
   requests). Same unicode-range split Google uses: latin is
   the runtime file; ext subsets load only if copy adds
   characters outside latin.
     headings ....... Playfair Display variable (400-900 axis,
                      headings run 400/500/600)
     body + nav ..... EB Garamond (unchanged)
   --------------------------------------------------------- */
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/wp-content/themes/jcparty/assets/fonts/eb-garamond-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/wp-content/themes/jcparty/assets/fonts/eb-garamond-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("/wp-content/themes/jcparty/assets/fonts/eb-garamond-var-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("/wp-content/themes/jcparty/assets/fonts/eb-garamond-var-italic-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/wp-content/themes/jcparty/assets/fonts/playfair-display-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/wp-content/themes/jcparty/assets/fonts/playfair-display-var-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

body {
  background-color: var(--wp--preset--color--jc-ivory);
}

/* Body scroll lock while the mobile menu overlay is open (theme.js toggles
   the class on <html> and <body>; locking html is what freezes window scrolling). */
body.jc-menu-open {
  overflow: hidden !important;
}
html.jc-menu-open {
  overflow: hidden !important;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
/* v1.4.1: the sticky element is the full-width template-part WRAPPER, not the
   inner group. The wrapper is a DIV classed wp-block-template-part (NOT a
   header element) and it is the FIRST child of .wp-site-blocks; the footer
   part wrapper is also a div.wp-block-template-part, so first-child is what
   separates them. Same visual result, wrapper now stays on top while
   scrolling. backdrop-filter stays OFF below 901px because a filter on a
   sticky ancestor makes it a containing block and traps the nav's
   position:fixed full-screen overlay. */
.wp-site-blocks > .wp-block-template-part:first-child {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.98);
  border-bottom: 1px solid var(--wp--preset--color--jc-line);
  overflow: visible;
}
.wp-site-blocks > .wp-block-template-part:first-child .jc-header {
  background: transparent;
  border-bottom: none;
  overflow: visible;
}
/* Desktop: glass effect is safe above 900px (nav renders inline, no fixed
   overlay below this width... the overlay exists <=900 only). */
@media (min-width: 901px) {
  .wp-site-blocks > .wp-block-template-part:first-child,
  .wp-site-blocks > .wp-block-template-part:first-child .jc-header {
    backdrop-filter: blur(10px) saturate(1.5);
    -webkit-backdrop-filter: blur(10px) saturate(1.5);
    background: rgba(251, 246, 238, 0.9);
  }
}
.jc-header-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0.65rem 1.25rem;
	align-items: center;
}
.jc-brand {
	gap: 0.6rem !important;
	align-items: baseline;
}
.jc-brand .wp-block-site-title a {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--wp--preset--color--jc-plum);
	text-decoration: none;
	/* >=44px hit height via padding + inverse margin (visual position unchanged) */
	display: inline-block;
	padding: 9px 0;
	margin: -9px 0;
}
.jc-header .jc-brand .jc-tagline.wp-block-site-tagline {
	color: var(--wp--preset--color--jc-plum);
	opacity: 1;
}
.jc-header .jc-brand .jc-tagline.wp-block-site-tagline {
	display: none;
}
@media (min-width: 900px) {
	.jc-header .jc-brand .jc-tagline.wp-block-site-tagline {
		display: inline;
		margin-top: 0.15rem;
	}
}

/* Nav voice: EB Garamond, letterspaced caps-chrome look retained.
   (v1.6.0: the chrome face reverted to EB; spacing preserved from the
   approved prior pass. Items carry >=44px tap height via padding and
   inverse margin so the visual bar height is unchanged.) */
.jc-header .jc-nav .wp-block-navigation__container {
	gap: 1.1rem;
}
.jc-header .jc-nav a.wp-block-navigation-item__link,
.jc-header .jc-nav .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--eb-garamond);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--jc-ink);
	text-decoration: none;
}
.jc-header .jc-nav .wp-block-navigation-item__content a.wp-block-navigation-item__link {
	display: inline-block;
	padding: 10px 6px;
	margin: -10px -6px;
}
.jc-header .jc-nav a.wp-block-navigation-item__link:hover {
	color: var(--wp--preset--color--jc-berry);
}

/* Hamburger: WP renders a 24px button; the box grows to 44px while the glyph
   stays its natural size, centered. Do NOT touch background: WP paints the
   glyph with it. */
@media (max-width: 900px) {
	.jc-header .jc-nav .wp-block-navigation__responsive-container-open {
		font-size: 17px;
		width: 44px;
		height: 44px;
		box-sizing: border-box;
		padding: 0;
		margin: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
	}
}

/* Mobile overlay styling (dark).
   The overlay is position:fixed inset:0; it must never be clipped or trapped:
   no clipping on the header or the sticky wrapper, and no filter on ancestors
   (a filter/backdrop-filter creates a containing block that re-anchors the
   fixed overlay inside the header bar). */
header.wp-block-template-part,
.jc-header {
	overflow: visible !important;
}
.jc-header .has-mobile-menu .wp-block-navigation__responsive-container,
.jc-header .wp-block-navigation__responsive-container[class*="has-modal-"] {
	background: var(--wp--preset--color--jc-plum-deep);
}
@media (max-width: 900px) {
	/* Small screens: when the menu opens, the overlay is its own full-screen
	   surface; force the dark palette on it regardless of open-state class. */
	.jc-header .wp-block-navigation__responsive-container.is-menu-open,
	.jc-header .wp-block-navigation__responsive-container.has-modal-open {
		background: var(--wp--preset--color--jc-plum-deep) !important;
		color: var(--wp--preset--color--jc-cream) !important;
		-webkit-backdrop-filter: none !important;
		backdrop-filter: none !important;
	}
	/* Operator add (2026-10-01): overlay nav links center horizontally —
	   link text AND hit rows. The inner __container shrink-wraps to the
	   widest label and parks right (items-justified-right), so BOTH the
	   container and the rows need full width; then center the text. */
	.jc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
	.jc-header .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container {
		justify-content: center !important;
		align-items: stretch !important;
		width: 100% !important;
	}
	.jc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
	.jc-header .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation-item {
		width: 100% !important;
		justify-content: center;
	}
	.jc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
	.jc-header .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__link,
	.jc-header .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation-item__content,
	.jc-header .wp-block-navigation__responsive-container.has-modal-open a.wp-block-navigation-item__link {
		text-align: center;
		width: 100% !important;
		justify-content: center !important;
	}
}
/* Desktop nav: ink. Overlay (open modal): EB Garamond cream. */
.jc-header .jc-nav .wp-block-navigation__container .wp-block-navigation-item__content,
.jc-header .jc-nav .wp-block-navigation__container a.wp-block-navigation-item__link {
	color: var(--wp--preset--color--jc-ink);
	font-family: var(--wp--preset--font-family--eb-garamond);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}
.jc-header .jc-nav .wp-block-navigation__container a.wp-block-navigation-item__link:hover {
	color: var(--wp--preset--color--jc-berry);
}
.jc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.jc-header .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__link {
	color: var(--wp--preset--color--jc-cream);
	font-family: var(--wp--preset--font-family--eb-garamond);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	/* overlay items stack with 44px+ pitch */
	display: block;
	padding: 10px 0;
	margin: 0;
	min-height: 44px;
	box-sizing: border-box;
}
.jc-header .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__link:hover {
	color: var(--wp--preset--color--jc-gold-soft);
}

/* ---------------------------------------------------------
   Utility: containers
   --------------------------------------------------------- */
/* v1.7.0: the one spacing token every text-on-background band reads from.
   Approved mobile rhythm first (60px at 390), scaled on desktop (72px at
   1200+). The hero keeps its own taller pair (see .jc-hero). Bands currently
   on this token: events/catalog/styling/quote-cta (home), page-head title
   bands (every page), gallery closing CTA, feature caption, footer. */
:root {
	--jc-band-pad-block: clamp(3.75rem, 6vw, 4.5rem);
	--jc-band-pad-inline: clamp(1.25rem, 5vw, 2rem);
}
.jc-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 var(--jc-band-pad-inline);
}
@media (min-width: 900px) {
	.jc-container {
		padding: 0 2rem;
	}
}

/* Kickers: EB Garamond all-caps voice. (v1.6.0: the chrome face reverted
   to EB; the letterspaced all-caps treatment is retained.) */
.jc-kicker {
	font-family: var(--wp--preset--font-family--eb-garamond);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--jc-gold-soft);
	margin-bottom: 0.75rem !important;
}

/* ---------------------------------------------------------
   Hero (front page)
   --------------------------------------------------------- */
/* v1.7.0: the mobile rhythm (96 above / 64 below at 390) extends to desktop
   by the same clamps: pt clamp(6rem, 11vw, 9rem) -> 144px at 1440,
   pb clamp(4rem, 8vw, 6rem) -> 96px at 1440. Measured text-top and CTA-bottom
   offsets before the fix at 1440 were 0px/0px (flush); after: 144px/96px. */
.jc-hero {
	position: relative;
	padding: clamp(6rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
	border-bottom: none;
	overflow: hidden;
}
.jc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("/wp-content/uploads/jc/dance.webp");
	background-size: cover;
	background-position: center 60%;
	opacity: 0.55;
	z-index: 0;
}
.jc-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(37, 21, 36, 0.93) 0%, rgba(37, 21, 36, 0.82) 48%, rgba(37, 21, 36, 0.55) 100%);
	z-index: 0;
}
.jc-hero-inner {
	position: relative;
	z-index: 1;
	padding-inline: clamp(1.25rem, 5vw, 2rem);
}
.jc-hero-inner > * {
	max-width: 760px;
	margin-left: 0;
	margin-right: auto;
}
.jc-hero-title {
	color: #fff;
	font-size: clamp(2.5rem, 6.4vw, 4.2rem);
	line-height: 1.06;
	margin-block: 0.6rem 1rem !important;
}
.jc-hero-sub {
	color: var(--wp--preset--color--jc-cream);
	font-size: 1.15rem;
	line-height: 1.6;
	margin-block: 0 1.6rem !important;
}
.jc-hero-ctas {
	gap: 0.9rem !important;
	justify-content: flex-start;
}
@media (max-width: 480px) {
	.jc-hero-ctas {
		justify-content: center;
	}
}
.jc-btn-gold .wp-block-button__link {
	background: var(--wp--preset--color--jc-gold) !important;
	color: var(--wp--preset--color--jc-plum-deep) !important;
	font-weight: 700;
}
.jc-btn-gold .wp-block-button__link:hover {
	background: var(--wp--preset--color--jc-gold-soft) !important;
}
.jc-btn-ghost .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.65);
}
.jc-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	border-color: #fff;
}

/* finds 7 — header-to-hero breathing room. Lives on MAIN (padding), not on
   .jc-hero margin: WP's container layout rules zero the first child's
   margin-block-start and the <=782 rhythm block sets margin-block-start:0
   !important on every main child, so a hero margin never survives. WP also
   gives main a 24px margin-block-start (:where rule); padding adds on top,
   so the clamp keeps the TOTAL gap at 24-40px across widths (measured:
   390 ~32px, 1440 40px). */
main.jc-home {
	padding-top: clamp(0rem, 2vw, 1rem);
}

/* ---------------------------------------------------------
   Section bands (shared)
   --------------------------------------------------------- */
main.jc-home > *,
main.jc-page > * {
	padding-block: var(--jc-band-pad-block);
}
/* v1.7.0: hero gets its own taller pair (clamps whose minimums are the
   approved 390 values: 96 above / 64 below), carried with !important so it
   wins the main>child cascade at every width. */
.jc-hero {
	padding-block: clamp(6rem, 11vw, 9rem) clamp(4rem, 8vw, 6rem) !important;
}
.jc-feature {
	padding-block: 0 !important; /* full-bleed image band; caption column carries the padding */
}
/* v1.7.0: the quote-cta band joins the shared band token (was 64px fixed desktop
   / 60px mobile, now 72px desktop / same 60px mobile minimum). */
main.jc-home > .jc-quote-cta {
	padding-block: var(--jc-band-pad-block) !important;
}
/* v1.7.0: page-start gap identical on every template; home measured 32px at 390
   and 40px at 1440 via this clamp on main (WP's :where 24px margin adds on top). */
main.jc-page {
	padding-top: clamp(0rem, 2vw, 1rem);
}
/* 404 main gets home's main-padding pattern + the token (v1.7.0). */
main.jc-404 {
	padding-top: clamp(0rem, 2vw, 1rem);
	padding-block-end: var(--jc-band-pad-block);
}
main.jc-404 > * {
	padding-inline: var(--jc-band-pad-inline);
}
main.jc-404 > .jc-page-head {
	padding-inline: var(--jc-band-pad-inline) !important;
}
.jc-events-band {
	text-align: center;
}
.jc-events-band > * {
	max-width: 720px;
	margin-inline: auto;
}
.jc-events-copy {
	font-size: 1.1rem;
	color: var(--wp--preset--color--jc-muted);
}

/* Category cards
   (WP core drops alignwide on grid-layout groups, so force width here.)
*/
main .jc-catalog .jc-cards {
	max-width: 100% !important;
	width: 100%;
	margin-inline: 0;
}
.jc-cards {
	gap: 1.5rem !important;
}
.jc-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--jc-line);
	border-radius: 10px;
	margin-block: 0 !important;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.jc-card-img {
	margin: 0;
	display: block;
}
.jc-card-img img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	display: block;
}
.jc-card .wp-block-heading,
.jc-card p {
	margin-block: 0.55rem !important;
}
.jc-card .jc-card-img + .wp-block-heading {
	margin-top: 0.9rem !important;
}
.jc-card .wp-block-heading {
	padding-inline: 1.1rem;
	font-size: 1.2rem;
}
.jc-card .wp-block-heading + p,
.jc-card p:not(.jc-card-link) {
	padding-inline: 1.1rem;
}
.jc-card p {
	flex-grow: 1;
}
/* Card link paragraphs: <a> gets a >=44px hit area via padding + inverse
   margin (visual position unchanged). */
.jc-card .jc-card-link {
	padding-inline: 1.1rem;
	padding-bottom: 1rem;
	margin-top: 0.2rem !important;
	margin-block-end: 0 !important;
}
.jc-card .jc-card-link a {
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--wp--preset--color--jc-berry);
	display: inline-block;
	padding: 13px 4px;
	margin: -13px -4px -13px;
}
.jc-card .jc-card-link a:hover {
	text-decoration: underline;
}
.jc-card {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.jc-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(51, 26, 48, 0.12);
}

/* Full-bleed feature band */
.jc-feature {
	background: var(--wp--preset--color--jc-plum);
}
.jc-feature .jc-feature-img {
	margin: 0;
	max-height: 380px;
	overflow: hidden;
}
.jc-feature .jc-feature-img img {
	width: 100%;
	max-height: 380px;
	object-fit: cover;
	display: block;
	margin: 0;
}
/* v1.7.0: caption column joins the shared band token (was 32px/40px fixed). */
.jc-feature-caption {
	padding-block: var(--jc-band-pad-block);
	text-align: center;
}
.jc-feature-caption h2,
.jc-feature-caption p {
	color: #fff;
}
.jc-feature-caption p {
	color: var(--wp--preset--color--jc-cream);
	max-width: 640px;
	margin-inline: auto;
}

/* Interior two-col styling section */
.jc-styling-cols {
	gap: 2.5rem;
}
.jc-styling-img img {
	border-radius: 10px;
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.jc-styling-copy {
	position: relative;
}

/* Quote CTA band (home + merged gallery closing band) */
.jc-quote-cta {
	background: var(--wp--preset--color--jc-plum-deep);
	padding-block: clamp(2.5rem, 6vw, 4rem) !important;
}
.jc-quote-cta h2,
.jc-quote-cta p {
	color: #fff;
}
.jc-quote-cta .jc-quote-copy {
	color: var(--wp--preset--color--jc-cream);
	max-width: 640px;
	margin-inline: auto;
}
.jc-quote-cta > .jc-container > * {
	text-align: center;
}
.jc-quote-cta .jc-quote-btns {
	justify-content: center;
}

/* finds 4 — CTA alignment rule: every mid-page CTA row centers its buttons
   at every width; the home hero CTAs are the one exception (left-aligned
   inside the hero column on desktop, centered on small screens). */
main .wp-block-buttons {
	justify-content: center !important;
}
main .jc-hero-ctas {
	justify-content: flex-start !important;
}
@media (max-width: 782px) {
	body main .wp-block-buttons {
		justify-content: center !important;
	}
	body main .wp-block-buttons > .wp-block-button .wp-block-button__link {
		margin-inline: auto;
	}
}

/* ---------------------------------------------------------
   Inner pages — closing CTA band
   --------------------------------------------------------- */
/* v1.7.0: gallery's closing CTA moves from bare paragraphs onto the same
   plum-deep band the home ending uses (same bg, same band token padding,
   centered copy, one gold CTA). Copy unchanged, word for word. */
.jc-close-cta {
	background: var(--wp--preset--color--jc-plum-deep);
	padding-block: var(--jc-band-pad-block) !important;
	text-align: center;
}
/* alignfull inside post-content stays inside the content column on this
   stack (post-content IS the 780 column), so the full-bleed here is done
   the standard way: breakout margins from the column to the viewport.
   html carries overflow-x:hidden (mobile guard) so 50vw cannot scroll. */
.jc-close-cta.alignfull {
	max-width: 100vw;
	margin-inline: calc(50% - 50vw) !important;
	padding-inline: var(--jc-band-pad-inline);
}
.jc-close-cta p,
.jc-close-cta p a {
	color: var(--wp--preset--color--jc-cream);
}
.jc-close-cta p a:hover {
	color: var(--wp--preset--color--jc-gold-soft);
}
.jc-close-cta .jc-quote-btns {
	justify-content: center;
}

/* ---------------------------------------------------------
   Inner pages
   --------------------------------------------------------- */
/* finds 6 — title band on every page: ONE treatment. v1.7.0: full-bleed
   alignfull band + inner constrained column (same pattern as jc-hero /
   jc-hero-inner), same background + padding tokens on every template
   (page, about, contact, gallery, 404, index). Ivory/plum/gold system:
   plum-deep→plum gradient, cream H1, gold rule under the title. */
.jc-page-head {
	padding-block: var(--jc-band-pad-block);
	margin-block-end: 0;
}
.jc-page-head-inner {
	padding-inline: clamp(1.25rem, 5vw, 2rem);
}
.jc-page-head-dark {
	background: linear-gradient(120deg, var(--wp--preset--color--jc-plum-deep) 0%, var(--wp--preset--color--jc-plum) 100%);
	margin-top: -1px;
}
.jc-page-head-dark .wp-block-post-title,
.jc-page-head-dark h1.wp-block-heading {
	color: #fff;
}
.jc-page-head-dark .wp-block-post-title::after,
.jc-page-head-dark h1.wp-block-heading::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 1rem;
	background: var(--wp--preset--color--jc-gold);
	border-radius: 2px;
}

/* Gallery filter chips (real <button> elements; no-JS renders everything) */
.jc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-block: 0.4rem 1.8rem !important;
}
.jc-chip {
	font-family: var(--wp--preset--font-family--eb-garamond);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--jc-plum);
	background: #fff;
	border: 1px solid var(--wp--preset--color--jc-line);
	border-radius: 999px;
	min-height: 44px;
	padding: 0.45rem 1.1rem;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.jc-chip:hover {
	border-color: var(--wp--preset--color--jc-berry);
	color: var(--wp--preset--color--jc-berry);
}
.jc-chip.is-active {
	background: var(--wp--preset--color--jc-plum);
	border-color: var(--wp--preset--color--jc-plum);
	color: var(--wp--preset--color--jc-cream);
}
.jc-chip:focus-visible {
	outline: 2px solid var(--wp--preset--color--jc-gold);
	outline-offset: 2px;
}

/* Gallery filter: second chip row for the color axis */
.jc-chips:has(+ .jc-filter-label) {
	margin-block-end: 0.55rem !important;
}
.jc-filter-label {
	margin: 0 0 0.35rem;
	font-family: var(--wp--preset--font-family--eb-garamond);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--jc-plum);
}
.jc-chips-colors {
	margin-block: 0 1.8rem !important;
}
.jc-chip-color {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}
.jc-swatch {
	width: 13px;
	height: 13px;
	border-radius: 50%;
	flex: none;
	background: var(--jc-swatch, transparent);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}
/* A row that holds a single photo stays photo-sized instead of stretching. */
.jc-row > .wp-block-column:only-child {
	max-width: 520px;
	margin-inline: auto;
}
/* A two-photo row filtered down to one photo keeps that same size, so a
   filtered view does not blow single photos up to full width. */
.jc-row.jc-row-solo > .wp-block-column {
	max-width: 520px;
	margin-inline: auto;
}

/* Photo-level type + colour filter: JS puts [hidden] on the figures (and on the
   rows, columns and sections they leave empty), and on the section h2/intro
   while a category chip is active. Nothing is hidden by CSS alone, so a no-JS
   visitor still sees every photo, every heading and every section. */
.jc-page .jc-cat[hidden],
.jc-page .jc-row[hidden],
.jc-page .wp-block-column[hidden],
.jc-page figure.jc-photo[hidden],
.jc-page .jc-cat h2[hidden],
.jc-page .jc-cat p.wp-block-paragraph[hidden] {
	display: none !important;
}
/* Stand-in for the six section headings while one category chip is active;
   created by JS, so it never exists on "All setups" or with JS off. */
.jc-empty {
	margin: 0.2rem 0 2.4rem;
	text-align: center;
	font-style: italic;
	color: var(--wp--preset--color--jc-plum);
}
.jc-summary {
	margin-top: 1.6rem;
	margin-bottom: 1.6rem;
	font-variant-numeric: tabular-nums;
}

/* Rental/Gallery content images */
.jc-page .wp-block-image img {
	border-radius: 8px;
	width: 100%;
	height: auto;
}
.jc-page .wp-block-columns {
	gap: 1.2rem;
}

/* ---------------------------------------------------------
   Quote form
   --------------------------------------------------------- */
.jc-form {
	max-width: 640px;
	margin: 2rem auto 0 auto;
	display: grid;
	gap: 1rem;
}
/* finds 12/13: placeholders render in the serif voice at muted plum, not
   UA-default black Arial. Kept literal (no CSS var): Chrome's UA shadow set
   ignores var()-carrying placeholder rules on form controls; a literal
   stack computes correctly. */
.jc-form ::placeholder {
	font-family: "EB Garamond", Georgia, serif;
	opacity: 1;
	color: #6E5F70;
}
.jc-form input::placeholder,
.jc-form textarea::placeholder {
	font-style: italic;
}
.jc-form-row {
	display: grid;
	gap: 0.35rem;
}
.jc-form-row label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--wp--preset--color--jc-plum);
}
.jc-form-row input,
.jc-form-row textarea {
	border: 1px solid var(--wp--preset--color--jc-line);
	border-radius: 6px;
	padding: 0.7rem 0.9rem;
	font: inherit;
	background: #fff;
}
.jc-form-row input:focus,
.jc-form-row textarea:focus {
	outline: 2px solid var(--wp--preset--color--jc-gold);
	outline-offset: 1px;
	border-color: var(--wp--preset--color--jc-gold);
}
.jc-form button {
	background: var(--wp--preset--color--jc-plum);
	color: #fff;
	border: none;
	padding: 0.9rem 1.6rem;
	border-radius: 8px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.jc-form button:hover {
	background: var(--wp--preset--color--jc-plum-deep);
}
.jc-form-note {
	font-size: 0.85rem;
	color: var(--wp--preset--color--jc-muted);
	margin-top: 0.5rem;
}
.jc-form-success {
	background: #fff;
	border: 1px solid var(--wp--preset--color--jc-line);
	border-left: 4px solid var(--wp--preset--color--jc-gold);
	border-radius: 8px;
	padding: 1rem 1.2rem;
	margin-block: 1.5rem 0 !important;
}
.jc-form-error {
	background: #fff;
	border: 1px solid var(--wp--preset--color--jc-line);
	border-left: 4px solid var(--wp--preset--color--jc-berry);
	border-radius: 8px;
	padding: 1rem 1.2rem;
	margin-block: 1.5rem 0 !important;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.jc-footer {
	background: var(--wp--preset--color--jc-plum-deep);
	color: var(--wp--preset--color--jc-cream);
	padding-block: var(--jc-band-pad-block);
}
.jc-footer .jc-footer-grid {
	gap: 2rem !important;
}
.jc-footer .wp-block-site-title a {
	font-family: var(--wp--preset--font-family--playfair);
	color: #fff;
	font-size: 1.2rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	padding: 9px 4px;
	margin: -9px -4px;
}
.jc-footer .jc-footer-tagline.wp-block-site-tagline,
.jc-footer .jc-credit {
	color: var(--wp--preset--color--jc-gold-soft);
	font-size: 0.85rem;
}
.jc-footer .jc-credit {
	margin-top: 1rem;
}
.jc-footer .jc-footer-heading {
	font-family: var(--wp--preset--font-family--eb-garamond);
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--jc-gold-soft);
	margin-block: 0 0.4rem !important;
}
.jc-footer .jc-footer-nap a,
.jc-footer .jc-footer-nap,
.jc-footer .jc-footer-serve-copy {
	color: var(--wp--preset--color--jc-cream);
	line-height: 1.7;
}
.jc-footer .jc-footer-nap a {
	text-decoration: none;
	font-weight: 600;
	display: inline-block;
	padding: 10px 0;
	margin: -10px 0;
}
.jc-footer .jc-footer-nap a:hover {
	color: #fff;
	text-decoration: underline;
}
.jc-footer .jc-footer-nav {
	gap: 0 !important;
}
/* finds 3: footer nav links carry >=44px hit height via padding + inverse
   margin (visual list pitch unchanged; width grows for easier tapping).
   NOTE: simple custom links render as <a class="wp-block-navigation-item__content">
   with no li wrapper and no __link subclass — target BOTH shapes.
   v1.6.0: the chrome face reverted to EB, treatments kept. */
.jc-footer .jc-footer-nav a.wp-block-navigation-item__link,
.jc-footer .jc-footer-nav a.wp-block-navigation-item__content,
.jc-footer .jc-footer-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--jc-cream);
	font-family: var(--wp--preset--font-family--eb-garamond);
	font-size: 0.88rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}
.jc-footer .jc-footer-nav a.wp-block-navigation-item__link,
.jc-footer .jc-footer-nav a.wp-block-navigation-item__content {
	display: inline-block;
	padding: 10px 8px;
	margin: -10px -8px;
	min-height: 44px;
	box-sizing: border-box;
	width: auto;
}
.jc-footer .jc-footer-nav .wp-block-navigation-item__content:hover,
.jc-footer .jc-footer-nav a.wp-block-navigation-item__link:hover {
	color: #fff;
}
.jc-footer .jc-footer-copy {
	border-top: 1px solid rgba(232, 204, 160, 0.25);
	margin-top: 2rem;
	padding-top: 1.2rem;
	color: var(--wp--preset--color--jc-muted);
	font-size: 0.85rem;
	text-align: center;
}
.jc-footer .jc-footer-copy,
.jc-footer .jc-footer-copy * {
	color: #B9A6BC;
}

/* finds 3b: inline content links (See tents, gallery, tel:, email) carry a
   >=44px hit area via padding + inverse margin; line boxes stay unchanged
   because the outer margin box stays at the text height. */
main p a,
main li a {
	display: inline-block;
	padding: 13px 2px;
	margin: -13px -2px;
}

/* ---------------------------------------------------------
   Mobile
   (breakpoints: 782px WP, 900px nav swap, 480px small)
   --------------------------------------------------------- */
@media (max-width: 782px) {
	/* The mobile rhythm equals the shared token floor (60px at 390): every
	   top-level section breathes evenly, and WP's stray 24px sibling margin
	   is dropped so spacing stays even. Values are inherited from the token
	   (v1.7.0: one source, no mobile-only overrides). */
	main.jc-home > *,
	main.jc-page > * {
		padding-block: var(--jc-band-pad-block) !important;
		margin-block-start: 0 !important;
	}
	main.jc-home > .jc-hero,
	main.jc-home > .jc-feature {
		padding-block: 0 !important;
	}
	main.jc-home > .jc-hero {
		padding-block: clamp(6rem, 11vw, 9rem) clamp(4rem, 8vw, 6rem) !important; /* hero keeps its taller presence */
	}

	/* finds 2: consistent side gutters on main content at <=782px.
	   Every main child gets the same gutter (`--jc-band-pad-inline`) the
	   header and footer already use. Full-bleed imagery (.jc-hero,
	   .jc-feature, .jc-quote-cta, .jc-page-head) stays edge-to-edge by
	   design and is excluded below. */
	main.jc-page > *,
	main.jc-home > .jc-events-band,
	main.jc-home > .jc-catalog,
	main.jc-home > .jc-styling {
		padding-inline: var(--jc-band-pad-inline) !important;
		box-sizing: border-box;
	}
	/* full-bleed bands keep edge-to-edge imagery; text keeps its own
	   inline padding (band token, v1.7.0) */
	main.jc-home > .jc-hero,
	main.jc-home > .jc-feature,
	main.jc-home > .jc-quote-cta {
		padding-inline: 0 !important;
	}
	.jc-feature-caption,
	.jc-quote-cta > .jc-container {
		padding-inline: var(--jc-band-pad-inline);
	}
	/* page-head band: inner column already carries the gutter; the band
	   itself stays edge-to-edge at 390 like every other full-bleed band */
	main.jc-page > .jc-page-head,
	main.jc-404 > .jc-page-head,
	main.jc-page > .alignfull.jc-page-head {
		padding-inline: 0 !important;
	}

	/* Column-based sections need their own gutters on mobile */
	.jc-styling-cols .wp-block-column {
		padding-inline: clamp(1.25rem, 5vw, 2rem);
	}
	.jc-styling-cols .jc-styling-img {
		padding-inline: clamp(1.25rem, 5vw, 2rem);
	}
	.jc-styling-cols,
	.jc-form-row .jc-form-cols {
		display: block;
	}
	.jc-styling-cols .wp-block-column + .wp-block-column {
		margin-top: 1.2rem;
	}
	/* WP switches nav to hamburger below 782px automatically; styling only */
	.jc-header-inner {
		padding: 0.7rem 1rem;
	}
	.jc-cards {
		grid-template-columns: 1fr !important;
	}
	.jc-card-img img {
		height: 240px;
	}
	.jc-footer {
		padding-inline: var(--jc-band-pad-inline) !important; /* side gutter so footer content is not flush to the screen edge */
	}
	.jc-footer .jc-footer-grid {
		grid-template-columns: 1fr;
		gap: 1.6rem !important;
	}
	.jc-footer .jc-credit,
	.jc-footer .jc-footer-copy {
		text-align: left;
	}
}
/* Mobile button centering (kept from the sibling pass; the base rule above
   already centers at all widths — this preserves margin-auto behavior). */
@media (max-width: 782px) {
	body main .wp-block-buttons > .wp-block-button .wp-block-button__link {
		margin-inline: auto;
	}
}
@media (max-width: 480px) {
	.jc-hero-title {
		font-size: clamp(1.9rem, 9vw, 2.4rem);
	}
	.jc-hero-sub {
		font-size: 1.02rem;
	}
	.jc-hero-ctas {
		flex-direction: column;
		gap: 0.6rem !important;
	}
	.jc-hero-ctas .wp-block-button {
		width: 100%;
	}
	.jc-hero-ctas .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
	.jc-chips {
		gap: 0.4rem;
	}
	.jc-chip {
		padding: 0.4rem 0.9rem;
		font-size: 0.85rem;
	}
	.jc-form {
		padding: 0 0.25rem;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	.jc-card,
	.jc-chip {
		transition: none !important;
		animation: none !important;
	}
}

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--wp--preset--color--jc-gold);
	outline-offset: 2px;
}
.jc-card a:focus-visible {
	outline-offset: 3px;
}

/* Print: hide nav/CTA chrome */
@media print {
	.jc-hero::before,
	.jc-hero::after,
	.jc-header,
	header.wp-block-template-part {
		display: none !important;
	}
	.jc-feature-caption,
	.jc-quote-cta {
		background: none !important;
		color: #000 !important;
	}
}