/* Junior & Carolina theme. Values follow design/mockup-*.html. */

:root {
	--jc-ink: #0b0a09;
	--jc-card: #15120f;
	--jc-tile: #1a1714;
	--jc-line: #2a2622;
	--jc-input-line: #4a433c;
	--jc-cream: #f3eee6;
	--jc-cream-2: #e4ddd3;
	--jc-muted: #b9afa3;
	--jc-muted-2: #c9c0b5;
	--jc-gold: #c8a27c;
	--jc-bronze: #7a5a3c;
	--jc-black: #14110f;
	--jc-body-on-white: #3d3630;
	--jc-script: 'Pinyon Script', cursive;
	--jc-top: var(--wp-admin--admin-bar--height, 0px);
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--jc-ink); overflow-x: clip; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > *,
.jc-main > *,
.entry-content > *,
.wp-block-post-content > * { margin-block: 0; }
.jc-main p, .jc-main h1, .jc-main h2, .jc-main h3, .jc-main figure { margin: 0; }
.jc-main img { display: block; max-width: 100%; }
:target { scroll-margin-top: 70px; }

/* ---------- Header ---------- */

.jc-site-header { position: sticky; top: var(--jc-top); z-index: 20; height: 0; }
.jc-header-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	padding: 30px 5%;
	transition: background .4s ease, padding .4s ease;
}
.jc-header-bar.is-scrolled { background: rgba(11, 10, 9, .94); padding-top: 16px; padding-bottom: 16px; }
.jc-logo { margin: 0; font-family: var(--jc-script); font-size: 34px; line-height: 1.2; font-weight: 400; text-transform: none; color: var(--jc-cream); }
.jc-logo a { color: inherit; }

.jc-nav { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; }
.jc-nav .wp-block-navigation__container { gap: clamp(18px, 1.6vw, 30px); }
.jc-nav .jc-nav-cta > a { border: 1px solid rgba(243, 238, 230, .6); padding: 8px 16px; margin: -8px 0; }
.jc-nav .wp-block-navigation__responsive-container-open,
.jc-nav .wp-block-navigation__responsive-container-close { color: var(--jc-cream); }
.jc-nav .wp-block-navigation__responsive-container-open {
	width: 48px; height: 48px; align-items: center; justify-content: center;
	border: 1px solid rgba(243, 238, 230, .6);
}
.jc-nav .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; }
.jc-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 28px 6%; }
.jc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 80px; }
.jc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 26px; font-size: 15px; letter-spacing: .26em; }
.jc-nav .wp-block-navigation__responsive-container.is-menu-open .jc-nav-cta > a { margin: 0; padding: 10px 20px; }
.jc-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* Nine menu items do not fit next to the logo below 1280px: use the menu button. */
@media (max-width: 1280px) {
	.jc-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.jc-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* ---------- Buttons ---------- */

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.jc-buttons { justify-content: center; margin-top: 12px; }
.wp-block-button[class*="is-style-jc-"] .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 42px;
	font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
	border-radius: 0; border: 1px solid var(--jc-cream); background: transparent; color: var(--jc-cream);
	transition: background .35s ease, color .35s ease, letter-spacing .35s ease;
}
.wp-block-button.is-style-jc-solid .wp-block-button__link { background: var(--jc-cream); color: var(--jc-ink); }
.wp-block-button.is-style-jc-solid .wp-block-button__link:hover,
.wp-block-button.is-style-jc-outline .wp-block-button__link:hover { background: var(--jc-cream); color: var(--jc-ink); letter-spacing: .36em; }
.wp-block-button.is-style-jc-dark .wp-block-button__link { background: var(--jc-black); border-color: var(--jc-black); color: var(--jc-cream); }
.wp-block-button.is-style-jc-outline-dark .wp-block-button__link { border-color: var(--jc-black); color: var(--jc-black); }
.wp-block-button.is-style-jc-dark .wp-block-button__link:hover,
.wp-block-button.is-style-jc-outline-dark .wp-block-button__link:hover { background: var(--jc-ink); color: var(--jc-cream); letter-spacing: .36em; }

/* "Watch our story" */
.jc-watch { justify-content: center; }
.jc-watch .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0;
	background: transparent; border: 0; border-radius: 0; color: var(--jc-cream);
	font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
}
.jc-watch .wp-block-button__link::before {
	content: ""; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--jc-cream);
	background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3eee6' stroke-width='2'%3E%3Cpath d='M7 4l13 8-13 8z'/%3E%3C/svg%3E");
}
.jc-watch .wp-block-button__link:hover { color: var(--jc-gold); }

/* ---------- Type ---------- */

.jc-eyebrow { font-size: 13px; letter-spacing: .45em; text-transform: uppercase; }
.jc-eyebrow-wide { letter-spacing: .5em; }
.jc-gold { color: var(--jc-gold); }
.jc-bronze { color: var(--jc-bronze); }
.jc-muted { color: var(--jc-muted-2) !important; }
.jc-script { font-family: var(--jc-script); font-weight: 400; line-height: 1.25; }
.jc-script-hero { font-size: clamp(30px, 3.6vw, 52px); }
.jc-script-md { font-size: 40px; }
.jc-script-lg { font-size: 52px; }
.jc-hero-quote .jc-script { font-size: 34px; }
.jc-about .jc-script { font-size: 38px; }
.jc-band-dr .jc-script { font-size: 42px; }
.jc-bio .jc-script { font-size: 42px; }

.jc-main h1, .jc-main h2 { font-weight: 300; text-transform: uppercase; }
.jc-h1 { font-size: clamp(46px, 8vw, 124px); letter-spacing: .12em; line-height: 1; }
.jc-h1-page { font-size: clamp(46px, 7vw, 104px); letter-spacing: .14em; }
.jc-h2 { font-size: clamp(38px, 4.4vw, 64px); letter-spacing: .1em; line-height: 1.08; }
.jc-private .jc-h2, .jc-connect .jc-h2 { font-size: clamp(38px, 4.3vw, 60px); }
.jc-h2-xl { font-size: clamp(44px, 7vw, 104px); letter-spacing: .12em; line-height: 1.05; max-width: 1100px; }
.jc-wide-track { letter-spacing: .14em; line-height: 1; }
.jc-band-teaser .jc-h2-xl { font-size: clamp(40px, 6vw, 88px); }
.jc-h2-lg { font-size: clamp(40px, 5.4vw, 80px); letter-spacing: .12em; line-height: 1.05; }
.jc-videos .jc-h2-lg { font-size: clamp(44px, 6vw, 88px); line-height: 1; }
.jc-h2-dr { font-size: clamp(34px, 4.8vw, 70px); letter-spacing: .08em; line-height: 1.1; }
.jc-h2-contact { font-size: 44px; letter-spacing: .2em; }

.jc-lead { font-size: 18px; line-height: 1.7; font-weight: 300; color: var(--jc-cream-2); }
.jc-band-train .jc-lead { font-size: 19px; }
.jc-lead-narrow { max-width: 520px; }
.jc-lead-wide { max-width: 720px; line-height: 1.75; }
.jc-body { font-size: 17px; line-height: 1.8; font-weight: 300; color: var(--jc-body-on-white); max-width: 540px; }
.jc-body-lg { font-size: 18px; line-height: 1.85; max-width: none; }
.jc-body strong { font-weight: 600; color: var(--jc-black); }
.jc-body-dark { font-size: 17px; line-height: 1.7; font-weight: 300; color: var(--jc-muted-2); }
.jc-tags { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.jc-book .jc-tags { letter-spacing: .25em; }
.jc-muted-text { font-size: 16px; font-weight: 300; color: var(--jc-muted-2); }

/* ---------- Bands with a fixed photo ---------- */
/* clip-path on the section + position: fixed on the photo. Unlike background-attachment: fixed, this also works on iOS. */

.jc-band {
	position: relative; clip-path: inset(0); overflow: hidden;
	display: flex; align-items: center; justify-content: center; text-align: center;
}
.jc-band > .jc-fx { margin: 0; }
.jc-band > .jc-fx img {
	position: fixed; top: 0; left: 0; width: 100%; height: 100vh; max-width: none;
	object-fit: cover; object-position: 50% 50%;
}
.jc-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(11, 10, 9, .5); pointer-events: none; }
.jc-band-inner {
	position: relative; z-index: 2;
	display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 0 6%;
}

.jc-hero { min-height: 100vh; }
.jc-hero::before { background: linear-gradient(180deg, rgba(11, 10, 9, .55) 0%, rgba(11, 10, 9, .6) 55%, #0b0a09 100%); }
.jc-hero::after { content: ""; position: absolute; z-index: 2; bottom: 28px; left: 50%; width: 1px; height: 56px; background: linear-gradient(180deg, rgba(243, 238, 230, 0), var(--jc-cream)); }
.jc-hero .jc-band-inner { padding: 120px 6% 110px; }
.jc-hero .jc-d-only img { object-position: 55% 30%; }
.jc-hero .jc-m-only { display: none; }
.jc-hero .jc-m-only img { object-position: 50% 20%; }
.jc-hero-quote { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.jc-hero .jc-buttons { margin-top: 14px; }

.jc-band-train { min-height: 880px; }
.jc-band-train .jc-fx img { object-position: 50% 20%; }
.jc-band-dr { min-height: 760px; }
.jc-band-dr .jc-band-inner { max-width: 940px; }
.jc-band-gallery { min-height: 720px; }
.jc-band-gallery .jc-fx img { object-position: 50% 40%; }

.jc-band-page { min-height: 640px; }
.jc-band-page::before { background: linear-gradient(180deg, rgba(11, 10, 9, .55) 0%, rgba(11, 10, 9, .6) 60%, #0b0a09 100%); }
.jc-band-page .jc-band-inner { padding: 120px 6% 40px; }
.jc-band-page .jc-fx.jc-pos-blauw img { object-position: 55% 30%; }
.jc-band-gallery-hero { min-height: 620px; }
.jc-band-gallery-hero .jc-band-inner { gap: 18px; }
.jc-band-page .jc-fx.jc-pos-30 img { object-position: 50% 30%; }
.jc-band-teaser { min-height: 600px; }
.jc-band-teaser::before { background: rgba(11, 10, 9, .55); }
.jc-band-teaser .jc-fx img { object-position: 50% 28%; }

/* ---------- Running text ---------- */

.jc-marquee { overflow: hidden; border-top: 1px solid var(--jc-line); border-bottom: 1px solid var(--jc-line); padding: 22px 0; }
.jc-track {
	display: flex; width: max-content; gap: 60px; padding-right: 60px;
	font-family: var(--jc-script); font-size: 40px; line-height: 1.3; color: var(--jc-gold); white-space: nowrap;
	animation: jcmarq 38s linear infinite;
}
.jc-track .jc-light { color: var(--jc-cream); }
@keyframes jcmarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Numbers ---------- */

.jc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.jc-stat { padding: 48px 24px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.jc-stat-num { font-size: 44px; font-weight: 300; line-height: 1.3; }
.jc-stat-label { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--jc-muted); }

/* ---------- White studio panels ---------- */

.jc-white { background: #fff; color: var(--jc-black); display: flex; flex-wrap: wrap; align-items: center; overflow: hidden; }
.jc-white a:not(.wp-element-button):hover { color: var(--jc-bronze); }

.jc-about-media { flex: 1 1 480px; align-self: stretch; min-height: 760px; position: relative; overflow: hidden; }
.jc-about-media > figure { position: absolute; inset: 0; }
.jc-about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 16% 30%; }
.jc-about-text { flex: 1 1 480px; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 90px 7%; }

.jc-private { align-items: flex-end; justify-content: center; padding-top: 80px; }
.jc-private-photo { flex: 1 1 280px; display: flex; justify-content: center; }
.jc-private-photo img { height: 560px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 40px; }
.jc-private-text { flex: 1 1 360px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 40px 4% 110px; }
.jc-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; text-align: left; margin: 6px 0 8px; }
.jc-skills p { display: flex; align-items: center; gap: 12px; font-size: 15px; letter-spacing: .06em; }
.jc-skills .jc-ico::before { width: 22px; height: 22px; color: var(--jc-bronze); }

.jc-book-text { flex: 1 1 480px; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 100px 7%; }
.jc-book-text .jc-body { max-width: 520px; }
.jc-book-media { flex: 1 1 480px; display: flex; justify-content: center; align-items: flex-end; padding-top: 70px; }
.jc-book-media figure { width: 100%; max-width: 540px; }
.jc-book-media img { width: 100%; height: 780px; object-fit: contain; object-position: center bottom; }

.jc-bio { align-items: flex-start; }
.jc-bio-photo { flex: 1 1 420px; display: flex; justify-content: center; padding-top: 80px; position: sticky; top: 0; }
.jc-bio-photo figure { width: 100%; max-width: 520px; }
.jc-bio-photo img { width: 100%; height: 760px; object-fit: contain; object-position: center bottom; }
.jc-bio-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 26px; padding: 110px 7% 110px 5%; max-width: 760px; }
.jc-bio-text .wp-block-buttons { margin-top: 12px; }

/* ---------- Dark sections ---------- */

.jc-section { padding: 140px 6%; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.jc-section-head { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.jc-stories { padding-bottom: 40px; gap: 56px; }
.jc-stories .jc-section-head { gap: 16px; }

.jc-grid { display: grid; gap: 28px; width: 100%; max-width: 1240px; }
.jc-grid-3, .jc-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.jc-grid-narrow { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.jc-grid-reels { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: 1000px; }

/* Training cards */
.jc-cards { padding: 120px 6%; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.jc-cards .jc-features { margin-top: 36px; }
.jc-photo-card { position: relative; display: flex; flex-direction: column; background: var(--jc-card); color: var(--jc-cream); }
.jc-card-img { height: 320px; overflow: hidden; }
.jc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.jc-pos-online img { object-position: 50% 55%; }
.jc-pos-membership img { object-position: 72% 35%; }
.jc-pos-teacher img { object-position: 58% 30%; }
.jc-card-body { padding: 34px; display: flex; flex-direction: column; gap: 12px; }
.jc-card-title { font-size: 22px; letter-spacing: .16em; text-transform: uppercase; }
.jc-card-text { font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--jc-muted-2); }
.jc-card-link { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--jc-gold); margin-top: 8px !important; }
.jc-card-link a::after { content: ""; position: absolute; inset: 0; }
.jc-card img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.jc-card:hover img { transform: scale(1.08); }

.jc-feature {
	display: grid; grid-template-columns: 34px 1fr; column-gap: 22px; row-gap: 6px; align-items: center;
	padding: 30px 34px; border: 1px solid var(--jc-line);
}
.jc-feature.jc-ico::before { grid-row: 1 / span 2; width: 34px; height: 34px; color: var(--jc-gold); }
.jc-feature-title { font-size: 20px; letter-spacing: .16em; text-transform: uppercase; }
.jc-feature-text { font-size: 15px; font-weight: 300; color: var(--jc-muted-2); }
.jc-cards-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }

/* Student stories */
.jc-story { display: flex; flex-direction: column; gap: 18px; padding: 36px; border: 1px solid var(--jc-line); background: var(--jc-card); }
.jc-story::before { content: "\201C"; font-family: var(--jc-script); font-size: 60px; line-height: .5; height: 30px; color: var(--jc-gold); }
.jc-story-quote { font-size: 19px; line-height: 1.6; font-weight: 300; }
.jc-story-name { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--jc-muted); }

/* Events */
.jc-rows { width: 100%; max-width: 1040px; display: flex; flex-direction: column; border-bottom: 1px solid var(--jc-line); }
.jc-row {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px;
	padding: 28px 0; border-top: 1px solid var(--jc-line);
	transition: padding-left .4s ease, background .4s ease;
}
.jc-row:hover { padding-left: 18px; background: rgba(243, 238, 230, .04); }
.jc-row-date { font-size: 14px; letter-spacing: .2em; color: var(--jc-gold); min-width: 210px; }
.jc-row-city { font-size: 24px; font-weight: 300; letter-spacing: .1em; text-transform: uppercase; flex: 1 1 200px; }
.jc-row-name { font-size: 15px; color: var(--jc-muted); font-weight: 300; }

/* Videos */
.jc-video {
	position: relative; overflow: hidden; background: var(--jc-tile); color: var(--jc-cream);
	display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px;
	aspect-ratio: 9 / 16; text-align: left; cursor: pointer;
}
.jc-video > .wp-block-video, .jc-video > .jc-video-poster { position: absolute; inset: 0; margin: 0; }
.jc-video video, .jc-video .jc-video-poster img { width: 100%; height: 100%; object-fit: cover; }
.jc-video::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11, 10, 9, 0) 45%, rgba(11, 10, 9, .9) 100%); }
.jc-video.is-ready::before {
	content: ""; position: absolute; z-index: 2; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 50%;
	border: 1px solid var(--jc-cream);
	background: rgba(11, 10, 9, .35) no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3eee6' stroke-width='1.5'%3E%3Cpath d='M7 4l13 8-13 8z'/%3E%3C/svg%3E");
	transition: transform .4s ease, background-color .4s ease;
}
.jc-video.is-ready:hover::before, .jc-video.is-ready:focus-visible::before { transform: scale(1.08); background-color: rgba(11, 10, 9, .6); }
.jc-video:focus-visible { outline: 2px solid var(--jc-gold); outline-offset: 4px; }
.jc-video > p { position: relative; z-index: 2; }
.jc-video-sub { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--jc-gold); }
.jc-video-title { font-size: 18px; font-weight: 300; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.jc-video-featured { width: 100%; max-width: 1240px; aspect-ratio: 16 / 9; padding: 30px 36px; gap: 8px; }
.jc-video-featured::after { background: linear-gradient(180deg, rgba(11, 10, 9, .1) 0%, rgba(11, 10, 9, .3) 55%, rgba(11, 10, 9, .85) 100%); }
.jc-video-featured.is-ready::before { top: 50%; right: auto; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; background-size: 28px; }
.jc-video-featured .jc-video-sub { font-size: 12px; }
.jc-video-featured .jc-video-title { font-size: 28px; line-height: 1.2; }

/* Stay connected */
.jc-connect { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 56px; padding-bottom: 40px; }
.jc-connect-text { flex: 1 1 380px; max-width: 520px; display: flex; flex-direction: column; gap: 20px; }
.jc-connect-media { flex: 2 1 520px; display: flex; flex-direction: column; gap: 26px; }
.jc-insta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.jc-insta figure { aspect-ratio: 1 / 1; overflow: hidden; }
.jc-insta figure a, .jc-insta img { display: block; width: 100%; height: 100%; }
.jc-insta img { object-fit: cover; object-position: 50% 50%; }
.jc-insta .jc-pos-40 img { object-position: 50% 40%; }
.jc-insta .jc-pos-teacher img { object-position: 55% 30%; }
.jc-connect-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.jc-social.wp-block-social-links { display: flex; gap: 14px; margin: 0; padding: 0; }
.jc-social .wp-social-link {
	width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(243, 238, 230, .5); border-radius: 50%; background: transparent !important; color: var(--jc-cream) !important;
}
.jc-social .wp-social-link a { padding: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.jc-social .wp-social-link svg { width: 20px; height: 20px; fill: currentColor; }
.jc-social .wp-social-link:hover { border-color: var(--jc-gold); color: var(--jc-gold) !important; transform: none; }

/* Contact */
.jc-contact { padding: 140px 6% 110px; gap: 40px; }
.jc-contact-mail { font-size: 15px; color: var(--jc-muted); letter-spacing: .08em; }
.jc-contact-form { width: 100%; max-width: 640px; }

/* ---------- Forms (Contact Form 7 and the preview before it is set up) ---------- */

.jc-form form, .jc-form .wpcf7-form { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.jc-form p { margin: 0; }
.jc-form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--jc-muted); }
.jc-form br { display: none; }
.jc-form .wpcf7-form-control-wrap { display: block; }
.jc-form input[type="text"], .jc-form input[type="email"], .jc-form textarea {
	width: 100%; box-sizing: border-box; background: transparent; border: 0; border-bottom: 1px solid var(--jc-input-line); border-radius: 0;
	color: var(--jc-cream); font-family: inherit; font-size: 16px; letter-spacing: normal; text-transform: none; padding: 12px 0; min-height: 44px;
}
.jc-form textarea { resize: vertical; height: auto; }
.jc-form input:focus, .jc-form textarea:focus { outline: none; border-color: var(--jc-gold); }
.jc-form button, .jc-form input[type="submit"] {
	min-height: 50px; padding: 0 56px; border: 1px solid var(--jc-cream); border-radius: 0; background: transparent; color: var(--jc-cream);
	font-family: inherit; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; cursor: pointer;
	transition: background .35s ease, color .35s ease, letter-spacing .35s ease;
}
.jc-form button:hover, .jc-form input[type="submit"]:hover { background: var(--jc-cream); color: var(--jc-ink); letter-spacing: .36em; }
.jc-form-contact .jc-form-submit, .jc-form-contact form > p:last-of-type { display: flex; justify-content: center; margin-top: 14px; }
.jc-form .wpcf7-spinner { position: absolute; }
.jc-form .wpcf7-response-output { margin: 0 !important; border-color: var(--jc-line) !important; color: var(--jc-muted-2); font-size: 14px; }
.jc-form .wpcf7-not-valid-tip { font-size: 12px; letter-spacing: .05em; text-transform: none; color: var(--jc-gold); }

.jc-form-newsletter form, .jc-form-newsletter .wpcf7-form { margin-top: 8px; gap: 12px; }
.jc-form-newsletter form > p:first-of-type { display: flex; flex-wrap: nowrap; }
.jc-form-newsletter label, .jc-form-newsletter .wpcf7-form-control-wrap { flex: 1 1 auto; min-width: 0; display: flex; }
.jc-form-newsletter input[type="email"] { flex: 1; min-height: 52px; padding: 0 18px; border: 1px solid var(--jc-input-line); font-size: 15px; }
.jc-form-newsletter button, .jc-form-newsletter input[type="submit"] { min-height: 52px; padding: 0 36px; background: var(--jc-cream); color: var(--jc-ink); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Footer ---------- */

.jc-footer {
	border-top: 1px solid var(--jc-line); padding: 40px 5%;
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
	font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--jc-muted);
}
.jc-footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.jc-footer-logo { margin: 0; font-family: var(--jc-script); font-size: 30px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--jc-cream); }
.jc-footer-tagline { margin: 0; font-family: var(--jc-script); font-size: 20px; letter-spacing: 0; text-transform: none; }
.jc-footer-nav .wp-block-navigation__container { gap: 22px; }
.jc-footer p { margin: 0; }

/* ---------- Gallery page ---------- */

.jc-gallery { padding: 0 5% 120px; }
.jc-gallery-back { display: flex; justify-content: center; padding: 0 6%; }
.jc-gallery-back .wp-block-buttons { justify-content: center; }
.jc-gallery-cats { max-width: 1400px; margin: 0 auto 140px; display: flex; flex-direction: column; gap: 40px; }
.jc-gallery-cats.is-ready { display: none; }
.jc-gallery-cat figcaption { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--jc-muted); }

.jc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 30px 6% 50px; }
.jc-tab {
	min-height: 44px; padding: 0 4px; background: transparent; border: 0; border-bottom: 1px solid transparent; color: var(--jc-muted);
	font-family: inherit; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; cursor: pointer;
	transition: color .3s ease, border-color .3s ease;
}
.jc-tab:hover { color: var(--jc-cream); }
.jc-tab[aria-pressed="true"] { color: var(--jc-gold); border-bottom-color: var(--jc-gold); }
.jc-masonry { columns: 3 320px; column-gap: 16px; max-width: 1400px; margin: 0 auto 140px; }
.jc-tile { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: var(--jc-card); overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.jc-tile img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
.jc-tile:hover img { transform: scale(1.06); filter: brightness(1.08); }
.jc-tile:focus-visible { outline: 2px solid var(--jc-gold); outline-offset: 3px; }

/* ---------- Video player and lightbox ---------- */

.jc-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.jc-modal[hidden] { display: none; }
.jc-modal-backdrop { position: absolute; inset: 0; background: rgba(11, 10, 9, .94); border: 0; padding: 0; cursor: pointer; }
.jc-modal.is-photo .jc-modal-backdrop { background: rgba(11, 10, 9, .95); cursor: zoom-out; }
.jc-modal-body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; }
.jc-modal video { display: block; max-width: min(1200px, 92vw); max-height: 82vh; background: #000; }
.jc-modal-photo { display: block; max-width: min(1400px, 88vw); max-height: 86vh; object-fit: contain; }
.jc-modal-caption { font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: var(--jc-cream); text-align: center; }
.jc-modal-btn {
	position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(243, 238, 230, .7);
	background: rgba(11, 10, 9, .4); color: var(--jc-cream); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.jc-modal-btn[hidden], .jc-modal-counter[hidden] { display: none; }
.jc-modal-btn:hover { border-color: var(--jc-gold); color: var(--jc-gold); }
.jc-modal-close { top: 24px; right: 24px; background: transparent; }
.jc-modal-prev { left: 20px; top: 50%; margin-top: -26px; }
.jc-modal-next { right: 20px; top: 50%; margin-top: -26px; }
.jc-modal-counter { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--jc-muted); }
body.jc-modal-open { overflow: hidden; }

/* ---------- Icons ---------- */

.jc-ico::before {
	content: ""; display: inline-block; flex: none; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: var(--jc-ico) center / contain no-repeat; mask: var(--jc-ico) center / contain no-repeat;
}
.jc-ico-mentorship { --jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2'%3E%3Ccircle cx='8' cy='7' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.4'/%3E%3Cpath d='M2.5 20c0-3.3 2.5-5.5 5.5-5.5s5.5 2.2 5.5 5.5M14 20c.2-2.6 1.6-4.2 3.5-4.2 2 0 3.5 1.6 3.5 4.2'/%3E%3C/svg%3E"); }
.jc-ico-certification { --jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.2'%3E%3Crect x='3' y='4' width='18' height='12' rx='1'/%3E%3Cpath d='M7 8h10M7 11h6'/%3E%3Ccircle cx='16' cy='17' r='3'/%3E%3Cpath d='M14.5 19.5L14 23l2-1 2 1-.5-3.5'/%3E%3C/svg%3E"); }
.jc-ico-technique { --jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v6l-4 7M12 13l4 7M7 10h10'/%3E%3C/svg%3E"); }
.jc-ico-musicality { --jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M9 18V5l11-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='17' cy='16' r='3'/%3E%3C/svg%3E"); }
.jc-ico-footwork { --jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M7 3c2 0 3 2 3 5s-1 5-3 5-3-2-3-5 1-5 3-5zM17 11c2 0 3 2 3 5s-1 5-3 5-3-2-3-5 1-5 3-5z'/%3E%3C/svg%3E"); }
.jc-ico-styling { --jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7l-2 6 2 8M12 7l3 4 4-2M10 13l-4 1'/%3E%3C/svg%3E"); }
.jc-ico-partnerwork { --jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Ccircle cx='8' cy='5' r='2'/%3E%3Ccircle cx='16' cy='5' r='2'/%3E%3Cpath d='M8 7v6l-2 8M16 7v6l2 8M8 10h8'/%3E%3C/svg%3E"); }
.jc-ico-feedback { --jc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M4 5h16v10H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E"); }

/* ---------- Plain pages (posts, 404) ---------- */

.jc-plain { padding: 160px 6% 120px; display: flex; flex-direction: column; gap: 24px; }
.jc-plain p { font-weight: 300; line-height: 1.8; color: var(--jc-muted-2); }

/* ---------- Scroll animations ---------- */
/* Only where the browser supports scroll-driven animations. Without support everything simply stays visible. */

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.up { animation: jcup ease-out both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
		@keyframes jcup { from { opacity: 0; transform: translateY(90px); } to { opacity: 1; transform: none; } }
		.fl { animation: jcfl ease-out both; animation-timeline: view(); animation-range: entry 5% cover 32%; }
		@keyframes jcfl { from { opacity: 0; transform: translateX(-120px); } to { opacity: 1; transform: none; } }
		.fr { animation: jcfr ease-out both; animation-timeline: view(); animation-range: entry 5% cover 32%; }
		@keyframes jcfr { from { opacity: 0; transform: translateX(120px); } to { opacity: 1; transform: none; } }
		.wipe { animation: jcwipe ease-out both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
		@keyframes jcwipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
		.hero-out { animation: jcout linear both; animation-timeline: view(); animation-range: exit 0% exit 70%; }
		@keyframes jcout { to { opacity: 0; transform: translateY(-140px); } }
		.navbg { animation: jcnav linear both; animation-timeline: scroll(root); animation-range: 0px 360px; }
		@keyframes jcnav {
			from { background: rgba(11, 10, 9, 0); padding-top: 30px; padding-bottom: 30px; }
			to { background: rgba(11, 10, 9, .94); padding-top: 16px; padding-bottom: 16px; }
		}
		.d1 { animation-range: entry 12% cover 34%; }
		.d2 { animation-range: entry 20% cover 40%; }
		.d3 { animation-range: entry 28% cover 46%; }
		.jc-gallery .up { animation-range: entry 5% cover 25%; }
	}
}
@media (prefers-reduced-motion: reduce) {
	.jc-track { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Phone ---------- */

@media (max-width: 760px) {
	.jc-hero { min-height: 100svh; }
	.jc-hero .jc-d-only { display: none; }
	.jc-hero .jc-m-only { display: block; }
	.jc-band-train, .jc-band-dr, .jc-band-gallery { min-height: 560px; }
	.jc-logo { font-size: 30px; }
	.jc-about-media { min-height: 520px; }
	.jc-private-photo img { height: 440px; }
	.jc-book-media img, .jc-bio-photo img { height: auto; max-height: 640px; }
	.jc-bio-photo { position: static; }
	.jc-section { padding-top: 100px; padding-bottom: 100px; }
	.jc-skills { gap: 16px 20px; }
	.jc-insta { gap: 8px; }
	.jc-video-featured { aspect-ratio: 4 / 5; }
	.jc-modal-prev { left: 8px; }
	.jc-modal-next { right: 8px; }
}
