/* ==========================================================================
   Blanding Theme Suite 4 — design system
   모든 색상·모서리는 CSS 변수(--bts-*)로 제어됩니다. inc/tokens.php 참고.
   ========================================================================== */

:root {
	--bts-font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
	--bts-font-head: var(--bts-font-body);
	--bts-head-weight: 750;
	--bts-head-track: -0.035em;
	--bts-shell: 1240px;
	--bts-gutter: clamp(20px, 4vw, 40px);
	--bts-gap: clamp(16px, 2.2vw, 28px);
	--bts-sec-pad: clamp(72px, 9vw, 136px);
	--bts-fs-hero: clamp(40px, 6vw, 84px);
	--bts-fs-h2: clamp(30px, 3.9vw, 54px);
	--bts-fs-h3: clamp(19px, 1.5vw, 22px);
	--bts-fs-lead: clamp(16.5px, 1.3vw, 19px);
	--bts-ease: cubic-bezier(.2, .75, .25, 1);
	--bts-header-h: 76px;
}

.bts-font-serif { --bts-font-head: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif; --bts-head-weight: 600; --bts-head-track: -0.03em; }
.bts-font-display { --bts-head-weight: 850; --bts-head-track: -0.055em; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.bts {
	margin: 0;
	background: var(--bts-bg);
	color: var(--bts-fg);
	font-family: var(--bts-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	word-break: keep-all;
	overflow-wrap: break-word;
}
.bts img { max-width: 100%; height: auto; }
.bts a { color: inherit; }
.bts h1, .bts h2, .bts h3, .bts h4 { font-family: var(--bts-font-head); font-weight: var(--bts-head-weight); letter-spacing: var(--bts-head-track); line-height: 1.15; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: var(--bts-fg); color: var(--bts-bg); }
:focus-visible { outline: 2px solid var(--bts-accent); outline-offset: 3px; }

.bts-shell { width: min(100% - (var(--bts-gutter) * 2), var(--bts-shell)); margin-inline: auto; }
.bts-shell--narrow { width: min(100% - (var(--bts-gutter) * 2), 820px); }

/* Reset spacing inside block sections (layout is handled with gap). */
.bts-blocks .wp-block-group > *,
.bts-blocks .wp-block-buttons > * { margin-block: 0; }
.bts-blocks :is(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; }
.bts-blocks .wp-block-group.bts-sec { margin: 0; }

/* ---------- Buttons ---------- */
.bts .wp-block-button__link,
.bts .bts-button,
.bts .bts-header__cta,
.bts .bts-nav__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 28px;
	border: 1.5px solid var(--bts-accent);
	border-radius: 999px;
	background: var(--bts-accent);
	color: var(--bts-accent-ink);
	font-family: var(--bts-font-body);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform .3s var(--bts-ease), box-shadow .3s var(--bts-ease), background .3s, color .3s, border-color .3s;
}
.bts .wp-block-button__link:hover,
.bts .bts-button:hover,
.bts .bts-header__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--bts-accent) 70%, transparent); }
.bts .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--bts-fg);
	border: 1.5px solid color-mix(in srgb, var(--bts-fg) 28%, transparent);
	padding: 0 28px;
}
.bts .wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--bts-fg); box-shadow: none; }
.bts-btn-square .wp-block-button__link,
.bts-btn-square .bts-button,
.bts-btn-square .bts-header__cta,
.bts-btn-square .bts-nav__cta { border-radius: min(var(--bts-radius), 8px); }
.bts .wp-block-buttons.bts-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bts-actions--center { justify-content: center; }

/* ---------- Header ---------- */
.bts-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 60;
	background: color-mix(in srgb, var(--bts-bg) 86%, transparent);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--bts-line);
	color: var(--bts-fg);
	transition: background .35s, color .35s, border-color .35s, box-shadow .35s;
}
.bts-header__inner { display: flex; align-items: center; gap: 32px; width: min(100% - (var(--bts-gutter) * 2), 1360px); height: var(--bts-header-h); margin-inline: auto; }
.bts-logo { flex: none; font: var(--bts-head-weight) 22px/1 var(--bts-font-head); letter-spacing: -0.04em; color: inherit; text-decoration: none; white-space: nowrap; }
.bts-logo i { color: var(--bts-accent); font-style: normal; }
.bts-logo--image img { display: block; max-height: 44px; width: auto; }
.bts-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.bts-menu { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); margin: 0; padding: 0; list-style: none; }
.bts-menu li { position: relative; }
.bts-menu a { color: inherit; font-size: 15px; font-weight: 600; text-decoration: none; opacity: .78; transition: opacity .2s; }
.bts-menu a:hover, .bts-menu .current-menu-item > a { opacity: 1; }
.bts-menu .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 200px; margin: 0; padding: 12px 0; list-style: none; background: var(--bts-bg); border: 1px solid var(--bts-line); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--bts-ease); }
.bts-menu li:hover > .sub-menu, .bts-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bts-menu .sub-menu a { display: block; padding: 8px 18px; color: var(--bts-fg); }
.bts-nav__cta { display: none !important; }
.bts-header__actions { display: flex; align-items: center; gap: 12px; }
.bts .bts-header__cta { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.bts-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; }
.bts-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--bts-ease), top .3s; }
.bts-toggle span:first-child { top: 17px; }
.bts-toggle span:last-child { top: 25px; }
.bts-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.bts-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.bts-header-dark .bts-header { background: color-mix(in srgb, var(--bts-dark) 94%, transparent); color: var(--bts-dark-ink); border-color: rgba(255, 255, 255, .08); }
.bts-header-transparent.bts-canvas .bts-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bts-header-transparent.bts-canvas .bts-header.is-scrolled { background: color-mix(in srgb, var(--bts-bg) 90%, transparent); color: var(--bts-fg); border-color: var(--bts-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bts-header-transparent.bts-canvas .bts-header:not(.is-scrolled) .bts-logo i { color: inherit; }
.bts-header-transparent.bts-canvas .bts-blocks > .bts-sec:first-child:not(.bts-hero--overlay) { padding-top: calc(var(--bts-header-h) + clamp(40px, 6vw, 90px)); }
.bts-header-transparent.bts-canvas .bts-header:not(.is-scrolled) { color: var(--bts-fg); }
.bts-header-transparent.bts-canvas.bts-has-overlay .bts-header:not(.is-scrolled) { color: #fff; }

/* ---------- Sections ---------- */
.bts-sec { position: relative; padding: var(--bts-sec-pad) 0; }
.bts-sec--services, .bts-sec--testimonials, .bts-sec--posts { background: var(--bts-surface); }
.bts-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.bts-head--center { align-items: center; margin-inline: auto; text-align: center; }
.bts-head--split { display: grid; grid-template-columns: minmax(150px, .38fr) 1fr; column-gap: clamp(24px, 4vw, 64px); row-gap: 16px; max-width: none; align-items: start; }
.bts-head--split > .bts-eyebrow { grid-row: span 2; padding-top: .7em; }
.bts-head--split > .bts-lead { max-width: 640px; }
.bts-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--bts-accent); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; }
.bts-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.bts-head--center .bts-eyebrow::before { display: none; }
.bts .bts-title { font-size: var(--bts-fs-h2); line-height: 1.14; }
.bts-lead { color: var(--bts-muted); font-size: var(--bts-fs-lead); line-height: 1.75; }
.bts-font-display .bts-eyebrow { letter-spacing: .2em; }

/* ---------- Hero ---------- */
.bts-hero { overflow: hidden; padding: clamp(48px, 7vw, 110px) 0 clamp(64px, 9vw, 130px); isolation: isolate; }
.bts-hero::before { content: ""; position: absolute; z-index: -1; top: -22vw; right: -16vw; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--bts-accent) 30%, transparent), transparent 64%); animation: btsFloat 14s ease-in-out infinite alternate; pointer-events: none; }
.bts-hero::after { content: ""; position: absolute; z-index: -1; bottom: -18vw; left: -12vw; width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--bts-accent) 14%, transparent), transparent 65%); animation: btsFloat 18s ease-in-out -6s infinite alternate-reverse; pointer-events: none; }
.bts-hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.bts-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.bts .bts-hero__title { font-size: var(--bts-fs-hero); line-height: 1.06; }
.bts-font-display .bts-hero__title { text-transform: uppercase; line-height: .98; }
.bts-hero__lead { max-width: 560px; color: var(--bts-muted); font-size: var(--bts-fs-lead); line-height: 1.75; }
.bts .bts-hero__copy .bts-actions { margin-top: 8px; }
.bts-hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; list-style: none; color: var(--bts-muted); font-size: 14.5px; font-weight: 600; }
.bts-hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.bts-hero__points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--bts-accent) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.bts .bts-hero__media { position: relative; margin: 0; overflow: hidden; border-radius: calc(var(--bts-radius) * 1.5); box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--bts-fg) 45%, transparent); }
.bts-hero__media img { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.bts-hero__badge { position: absolute; right: clamp(12px, 3vw, 40px); bottom: -22px; z-index: 2; padding: 14px 22px; border-radius: 999px; background: var(--bts-bg); color: var(--bts-fg); font-size: 14.5px; font-weight: 700; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .3); }
.bts-hero__badge::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--bts-accent); box-shadow: 0 0 0 0 var(--bts-accent); vertical-align: middle; animation: btsPulse 2s infinite; }

/* center */
.bts-hero--center .bts-hero__grid { grid-template-columns: 1fr; text-align: center; }
.bts-hero--center .bts-hero__copy { align-items: center; max-width: 900px; margin-inline: auto; }
.bts-hero--center .bts-hero__lead { margin-inline: auto; }
.bts-hero--center .bts-hero__points { justify-content: center; }
.bts-hero--center .bts-hero__media img { aspect-ratio: 16 / 7; }
.bts-hero--center .bts-hero__badge { left: 50%; right: auto; transform: translateX(-50%); bottom: -22px; }

/* overlay */
.bts-hero--overlay { display: flex; align-items: flex-end; min-height: min(94vh, 920px); padding: calc(var(--bts-header-h) + 80px) 0 clamp(56px, 8vw, 110px); color: #fff; background: var(--bts-dark); }
.bts-hero--overlay::before { z-index: 1; top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; max-width: none; max-height: none; border-radius: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .7) 100%), linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 70%); animation: none; }
.bts-hero--overlay::after { display: none; }
.bts-hero--overlay .bts-hero__grid { position: static; grid-template-columns: 1fr; width: min(100% - (var(--bts-gutter) * 2), var(--bts-shell)); }
.bts-hero--overlay .bts-hero__copy { position: relative; z-index: 2; max-width: 780px; }
.bts .bts-hero--overlay .bts-hero__media { position: absolute; inset: 0; z-index: 0; border-radius: 0; box-shadow: none; }
.bts-hero--overlay .bts-hero__media img { width: 100%; height: 100%; aspect-ratio: auto; animation: btsKen 22s ease-in-out infinite alternate; }
.bts-hero--overlay .bts-eyebrow { color: #fff; }
.bts-hero--overlay .bts-hero__lead, .bts-hero--overlay .bts-hero__points { color: rgba(255, 255, 255, .84); }
.bts-hero--overlay .bts-hero__points li::before { background-color: rgba(255, 255, 255, .9); }
.bts .bts-hero--overlay .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); }
.bts-hero--overlay .bts-hero__badge { right: var(--bts-gutter); bottom: clamp(56px, 8vw, 110px); }

/* editorial */
.bts-hero--editorial .bts-hero__grid { grid-template-columns: 1fr; gap: clamp(36px, 5vw, 64px); }
.bts-hero--editorial .bts-hero__copy { flex-direction: row; flex-wrap: wrap; align-items: flex-end; column-gap: clamp(24px, 5vw, 80px); row-gap: 22px; }
.bts-hero--editorial .bts-eyebrow, .bts-hero--editorial .bts-hero__title, .bts-hero--editorial .bts-hero__points { flex: 0 0 100%; }
.bts .bts-hero--editorial .bts-hero__title { font-size: clamp(46px, 8.4vw, 136px); line-height: .98; padding-bottom: clamp(16px, 2vw, 28px); border-bottom: 1px solid var(--bts-line); }
.bts-hero--editorial .bts-hero__lead { flex: 1 1 420px; }
.bts .bts-hero--editorial .bts-hero__copy .bts-actions { flex: 0 0 auto; margin: 0; }
.bts-hero--editorial .bts-hero__media img { aspect-ratio: 21 / 9; }
.bts-hero--editorial::before { top: auto; bottom: -30vw; right: -20vw; }

/* hero motion (auto-runs on load) */
.bts-hero__copy > * { animation: btsUp .95s var(--bts-ease) both; }
.bts-hero__copy > :nth-child(2) { animation-delay: .08s; }
.bts-hero__copy > :nth-child(3) { animation-delay: .18s; }
.bts-hero__copy > :nth-child(4) { animation-delay: .28s; }
.bts-hero__copy > :nth-child(5) { animation-delay: .38s; }
.bts .bts-hero__media { animation: btsReveal 1.35s var(--bts-ease) .12s both; }
.bts-hero:not(.bts-hero--overlay) .bts-hero__media img { animation: btsZoom 2.6s var(--bts-ease) both; }
.bts-hero__badge { animation: btsPop .8s var(--bts-ease) .8s both; }
.bts-hero--overlay .bts-hero__media { animation: btsFade 1.6s ease both; }

/* ---------- Marquee ---------- */
.bts-marquee { overflow: hidden; padding: 18px 0; background: var(--bts-fg); color: var(--bts-bg); }
.bts .bts-marquee__list { display: flex; gap: 0; width: max-content; margin: 0; padding: 0; list-style: none; animation: btsMarquee 36s linear infinite; }
.bts-marquee__list li { display: inline-flex; align-items: center; padding-right: 48px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.bts-marquee__list li::before { content: "✦"; margin-right: 48px; color: var(--bts-accent); }
.bts-marquee:hover .bts-marquee__list { animation-play-state: paused; }

/* ---------- Grid & cards ---------- */
.bts .bts-grid { display: grid; gap: var(--bts-gap); }
.bts-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bts-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bts-grid--4 { grid-template-columns: repeat(4, 1fr); }

.bts .bts-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 2.8vw, 38px); border-radius: var(--bts-radius); background: var(--bts-bg); transition: transform .4s var(--bts-ease), box-shadow .4s var(--bts-ease), background .4s, color .4s, border-color .4s; }
.bts-card:hover { transform: translateY(-6px); }
.bts-card__tag { align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--bts-accent) 12%, transparent); color: var(--bts-accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.bts .bts-card__title { margin-top: clamp(12px, 3vw, 40px) !important; font-size: var(--bts-fs-h3); }
.bts-card__text { color: var(--bts-muted); font-size: 15.5px; line-height: 1.7; }
.bts-cards-soft .bts-card { box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -24px rgba(0, 0, 0, .22); }
.bts-cards-soft .bts-card:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 30px 60px -28px rgba(0, 0, 0, .32); }
.bts-cards-line .bts-card { background: transparent; border: 1px solid var(--bts-line); }
.bts-cards-line .bts-card:hover { border-color: var(--bts-accent); }
.bts-cards-fill .bts-card { background: color-mix(in srgb, var(--bts-accent) 7%, var(--bts-bg)); }
.bts-cards-fill .bts-card:hover { background: var(--bts-accent); color: var(--bts-accent-ink); }
.bts-cards-fill .bts-card:hover :is(.bts-card__text, .bts-card__tag) { color: inherit; }
.bts-cards-fill .bts-card:hover .bts-card__tag { background: rgba(255, 255, 255, .18); }
.bts-cards-glass .bts-card { background: color-mix(in srgb, var(--bts-fg) 4%, transparent); border: 1px solid color-mix(in srgb, var(--bts-fg) 10%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bts-cards-glass .bts-card:hover { border-color: color-mix(in srgb, var(--bts-accent) 60%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--bts-accent) 30%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--bts-accent) 60%, transparent); }

/* ---------- Stats ---------- */
.bts-sec--stats { padding: clamp(48px, 6vw, 84px) 0; }
.bts .bts-stats { gap: 0; border-block: 1px solid var(--bts-line); }
.bts-stat { padding: clamp(26px, 3vw, 40px) clamp(18px, 2.4vw, 32px); border-left: 1px solid var(--bts-line); }
.bts-stat:first-child { border-left: 0; }
.bts .bts-stat__num { font-family: var(--bts-font-head); font-size: clamp(38px, 4.6vw, 66px); font-weight: var(--bts-head-weight); letter-spacing: -0.04em; line-height: 1.05; }
.bts-stat__label { margin-top: 10px !important; color: var(--bts-muted); font-size: 15px; font-weight: 600; }

/* ---------- Split / about ---------- */
.bts .bts-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.bts-about__copy .bts-head, .bts-contact__copy .bts-head { margin-bottom: 28px; }
.bts .bts-checks { display: grid; gap: 14px; padding: 0; list-style: none; }
.bts-checks li { position: relative; padding-left: 34px; font-size: 16.5px; font-weight: 600; line-height: 1.55; }
.bts-checks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: var(--bts-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.bts-about__copy .bts-actions { margin-top: 32px; }
.bts .bts-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 440px; padding: clamp(32px, 5vw, 64px); border-radius: calc(var(--bts-radius) * 1.5); background: var(--bts-dark); color: var(--bts-dark-ink); }
.bts-panel::before { content: ""; position: absolute; top: -30%; right: -30%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--bts-accent) 55%, transparent), transparent 65%); animation: btsFloat 12s ease-in-out infinite alternate; }
.bts-panel::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 75%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); }
.bts .bts-panel__big { position: relative; z-index: 1; font-family: var(--bts-font-head); font-size: clamp(60px, 8vw, 128px); font-weight: var(--bts-head-weight); letter-spacing: -0.05em; line-height: .95; color: var(--bts-accent); }
.bts-panel__text { position: relative; z-index: 1; max-width: 360px; font-size: 17px; line-height: 1.6; opacity: .82; }
.bts .bts-about__media { margin: 0; overflow: hidden; border-radius: calc(var(--bts-radius) * 1.5); }
.bts-about__media img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }

/* ---------- Process ---------- */
.bts-step { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 28px; border-top: 1px solid var(--bts-line); }
.bts-step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--bts-accent); transition: width .6s var(--bts-ease); }
.bts-step:hover::before { width: 100%; }
.bts-step__num { color: var(--bts-accent); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; }
.bts .bts-step__title { font-size: var(--bts-fs-h3); }
.bts-step__text { color: var(--bts-muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- Menu / price list ---------- */
.bts .bts-rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); }
.bts .bts-row { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 24px 0; border-bottom: 1px dashed color-mix(in srgb, var(--bts-fg) 22%, transparent); }
.bts-row__info { display: flex; flex-direction: column; gap: 6px; }
.bts .bts-row__title { font-size: 19px; }
.bts-row__text { color: var(--bts-muted); font-size: 14.5px; line-height: 1.6; }
.bts-row__price { flex: none; color: var(--bts-accent); font-size: 17px; font-weight: 800; white-space: nowrap; }

/* ---------- Pricing ---------- */
.bts .bts-plans { align-items: stretch; }
.bts .bts-plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--bts-line); border-radius: var(--bts-radius); background: var(--bts-bg); }
.bts .bts-plan.is-featured { background: var(--bts-dark); color: var(--bts-dark-ink); border-color: transparent; box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--bts-accent) 70%, transparent); }
.bts-plan.is-featured::before { content: "추천"; position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--bts-accent); color: var(--bts-accent-ink); font-size: 12px; font-weight: 800; }
.bts-plan__name { font-size: 15px; font-weight: 800; letter-spacing: .04em; color: var(--bts-accent); }
.bts .bts-plan__price { font-family: var(--bts-font-head); font-size: clamp(32px, 3.6vw, 46px); font-weight: var(--bts-head-weight); letter-spacing: -0.04em; line-height: 1.1; }
.bts-plan__price em { font-family: var(--bts-font-body); font-size: 15px; font-style: normal; font-weight: 600; letter-spacing: 0; opacity: .6; }
.bts-plan__desc { color: var(--bts-muted); font-size: 15px; }
.bts-plan.is-featured .bts-plan__desc { color: inherit; opacity: .75; }
.bts .bts-plan__list { flex: 1; gap: 10px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.bts-plan__list li { font-size: 15px; font-weight: 500; }
.bts .bts-plan .bts-actions, .bts .bts-plan .wp-block-button, .bts .bts-plan .wp-block-button__link { width: 100%; }
.bts .bts-plan.is-featured .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--bts-dark-ink); }

/* ---------- Gallery tiles ---------- */
.bts .bts-tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(210px, auto); gap: var(--bts-gap); }
.bts .bts-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--bts-radius); color: #fff; isolation: isolate; }
.bts-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: inherit; transition: transform 1.2s var(--bts-ease); }
.bts-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .45)); }
.bts-tile:hover::before { transform: scale(1.06); }
.bts-tile:nth-child(6n + 1) { grid-column: span 7; grid-row: span 2; }
.bts-tile:nth-child(6n + 2), .bts-tile:nth-child(6n + 3) { grid-column: span 5; }
.bts-tile:nth-child(6n + 4), .bts-tile:nth-child(6n + 5), .bts-tile:nth-child(6n + 6) { grid-column: span 4; }
.bts-tile--1 { background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--bts-accent) 70%, #fff) 0, transparent 45%), linear-gradient(135deg, var(--bts-accent), var(--bts-dark)); }
.bts-tile--2 { background: radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--bts-accent) 55%, transparent), transparent 55%), var(--bts-dark); }
.bts-tile--3 { background: linear-gradient(160deg, color-mix(in srgb, var(--bts-accent) 45%, var(--bts-fg)), color-mix(in srgb, var(--bts-dark) 80%, #000)); }
.bts-tile--4 { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 14px), linear-gradient(135deg, color-mix(in srgb, var(--bts-accent) 80%, #000), color-mix(in srgb, var(--bts-accent) 40%, var(--bts-dark))); }
.bts-tile--5 { background: radial-gradient(circle at 50% 120%, var(--bts-accent), transparent 60%), color-mix(in srgb, var(--bts-dark) 92%, #fff); }
.bts-tile--6 { background: conic-gradient(from 210deg at 70% 30%, var(--bts-accent), var(--bts-dark), color-mix(in srgb, var(--bts-accent) 50%, var(--bts-dark)), var(--bts-accent)); }
.bts-tile__tag { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }
.bts .bts-tile__title { font-size: clamp(20px, 2vw, 28px); color: #fff; }

/* ---------- Products ---------- */
.bts-product { display: flex; flex-direction: column; gap: 10px; }
.bts .bts-product__thumb { position: relative; aspect-ratio: 1 / 1.1; margin-bottom: 8px; padding: 16px; border-radius: var(--bts-radius); transition: transform .6s var(--bts-ease); }
.bts-product:hover .bts-product__thumb { transform: translateY(-6px); }
.bts-product__tag { display: inline-block; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #111; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }
.bts .bts-product__name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.bts-product__price { font-weight: 800; }
.bts-sec--products .bts-actions { margin-top: 48px; }

/* ---------- Testimonials ---------- */
.bts .bts-quote { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; margin: 0; padding: clamp(28px, 3vw, 40px); border: 0; border-radius: var(--bts-radius); background: var(--bts-bg); }
.bts-quote::before { content: "\201C"; height: 36px; color: var(--bts-accent); font: 700 72px/1 Georgia, serif; }
.bts-quote p { font-size: 17px; line-height: 1.75; }
.bts-quote cite { color: var(--bts-muted); font-size: 14.5px; font-style: normal; font-weight: 700; }
.bts-cards-line .bts-quote { background: transparent; border: 1px solid var(--bts-line); }

/* ---------- FAQ ---------- */
.bts .bts-split--faq { grid-template-columns: .8fr 1.2fr; align-items: start; }
.bts-faq { border-top: 1px solid var(--bts-line); }
.bts .bts-faq__item { border-bottom: 1px solid var(--bts-line); }
.bts-faq__item summary { position: relative; padding: 24px 48px 24px 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; list-style: none; cursor: pointer; }
.bts-faq__item summary::-webkit-details-marker { display: none; }
.bts-faq__item summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: linear-gradient(currentColor, currentColor) center/10px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 10px no-repeat; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 30%, transparent); transition: transform .35s var(--bts-ease); }
.bts-faq__item[open] summary::after { transform: rotate(135deg); }
.bts-faq__item p { padding: 0 48px 24px 0; color: var(--bts-muted); line-height: 1.8; }

/* ---------- CTA ---------- */
.bts-sec--cta { padding: clamp(40px, 5vw, 72px) 0; }
.bts .bts-cta { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: clamp(52px, 7vw, 108px) clamp(24px, 5vw, 80px); border-radius: calc(var(--bts-radius) * 1.6); background: var(--bts-accent); color: var(--bts-accent-ink); text-align: center; isolation: isolate; }
.bts-cta::before, .bts-cta::after { content: ""; position: absolute; z-index: -1; border: 1.5px solid color-mix(in srgb, var(--bts-accent-ink) 22%, transparent); border-radius: 50%; animation: btsSpin 40s linear infinite; }
.bts-cta::before { width: 520px; height: 520px; top: -260px; left: -140px; border-style: dashed; }
.bts-cta::after { width: 380px; height: 380px; bottom: -220px; right: -80px; animation-direction: reverse; }
.bts .bts-cta__title { max-width: 820px; font-size: var(--bts-fs-h2); color: inherit; }
.bts-cta__text { max-width: 600px; font-size: var(--bts-fs-lead); opacity: .86; }
.bts .bts-cta .bts-btn-primary > .wp-block-button__link { background: var(--bts-accent-ink); color: var(--bts-accent); border-color: var(--bts-accent-ink); }

/* ---------- Contact ---------- */
.bts .bts-sec--contact .bts-split { align-items: start; }
.bts-info { border-top: 1px solid var(--bts-line); }
.bts .bts-info__row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--bts-line); }
.bts-info__label { color: var(--bts-muted); font-size: 14px; font-weight: 600; }
.bts-info__value { font-size: 17px; font-weight: 650; }

/* ---------- Latest posts block ---------- */
.bts .bts-posts { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: var(--bts-gap); margin: 0 !important; padding: 0; list-style: none; }
.bts .bts-posts li { width: auto !important; margin: 0 !important; padding: 0 0 22px; border-radius: var(--bts-radius); background: var(--bts-bg); overflow: hidden; }
.bts .bts-posts li > :not(.wp-block-latest-posts__featured-image) { margin-inline: 22px; }
.bts .bts-posts .wp-block-latest-posts__featured-image { margin: 0 0 18px; }
.bts .bts-posts .wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bts .bts-posts a { color: var(--bts-fg); font-size: 18px; font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
.bts .bts-posts time { display: block; margin-top: 8px; color: var(--bts-muted); font-size: 13.5px; }

/* ---------- Footer ---------- */
.bts-footer { padding: clamp(56px, 7vw, 88px) 0 28px; background: var(--bts-dark); color: var(--bts-dark-ink); font-size: 15px; }
.bts-footer__grid, .bts-footer__bottom { width: min(100% - (var(--bts-gutter) * 2), var(--bts-shell)); margin-inline: auto; }
.bts-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.bts-footer p { margin: 0 0 8px; opacity: .78; }
.bts-footer a { text-decoration: none; opacity: .9; }
.bts-footer a:hover { opacity: 1; text-decoration: underline; }
.bts .bts-footer__name { font-family: var(--bts-font-head); font-size: 24px; font-weight: var(--bts-head-weight); letter-spacing: -0.03em; opacity: 1; margin-bottom: 12px; }
.bts .bts-footer__label { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .5; }
.bts-footer .bts-menu { flex-direction: column; align-items: flex-start; gap: 8px; }
.bts-footer .bts-menu a { font-size: 15px; font-weight: 500; }
.bts-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; opacity: .62; }

/* ---------- Generic pages ---------- */
.bts-page-head { padding: clamp(56px, 7vw, 104px) 0 clamp(28px, 4vw, 48px); }
.bts-page-head .bts-shell { display: flex; flex-direction: column; gap: 16px; }
.bts-page-head p, .bts-page-head h1 { margin: 0; }
.bts .bts-page-title { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.12; }
.bts-prose { padding-bottom: clamp(64px, 8vw, 120px); font-size: 17.5px; line-height: 1.85; }
.bts-prose > * { max-width: 780px; margin-inline: auto; }
.bts-prose > .alignwide { max-width: 1100px; }
.bts-prose > .alignfull { max-width: none; }
.bts-prose h2 { margin: 2em auto .7em; font-size: 30px; }
.bts-prose h3 { margin: 1.8em auto .6em; font-size: 23px; }
.bts-prose a { color: var(--bts-accent); text-underline-offset: 3px; }
.bts-prose img { border-radius: calc(var(--bts-radius) * .75); }
.bts-prose blockquote { margin: 2em auto; padding: 4px 0 4px 24px; border-left: 3px solid var(--bts-accent); font-size: 19px; }
.bts-single__thumb { margin: 0 auto clamp(36px, 5vw, 64px); }
.bts-single__thumb img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--bts-radius); }
.bts-archive { padding-bottom: clamp(64px, 8vw, 120px); }
.bts-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.bts-post-card { display: flex; flex-direction: column; gap: 10px; }
.bts-post-card__thumb { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--bts-radius); background: linear-gradient(135deg, color-mix(in srgb, var(--bts-accent) 30%, var(--bts-surface)), var(--bts-surface)); }
.bts-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--bts-ease); }
.bts-post-card:hover img { transform: scale(1.05); }
.bts-post-card p, .bts-post-card h2, .bts-post-card h3 { margin: 0; }
.bts-post-card__meta { color: var(--bts-muted); font-size: 13.5px; }
.bts-post-card__meta a { text-decoration: none; }
.bts .bts-post-card__title { font-size: 21px; }
.bts-post-card__title a { text-decoration: none; }
.bts-post-card__excerpt { color: var(--bts-muted); font-size: 15px; }
.bts .pagination, .bts .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.bts .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--bts-line); border-radius: 999px; text-decoration: none; }
.bts .page-numbers.current { background: var(--bts-fg); color: var(--bts-bg); border-color: var(--bts-fg); }
.bts-post-nav .nav-links { justify-content: space-between; margin: 0 0 64px; }
.bts-post-nav a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; font-weight: 700; }
.bts-post-nav span { color: var(--bts-muted); font-size: 13px; font-weight: 600; }
.bts-404 .bts-shell { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.bts-404 p, .bts-404 h1 { margin: 0; }
.bts .search-form { display: flex; gap: 8px; width: 100%; max-width: 480px; }
.bts .search-form label { flex: 1; }
.bts input[type="search"], .bts input[type="text"], .bts input[type="email"], .bts input[type="tel"], .bts input[type="url"], .bts input[type="password"], .bts input[type="number"], .bts textarea, .bts select { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--bts-line); border-radius: calc(var(--bts-radius) * .5); background: var(--bts-bg); color: var(--bts-fg); font: inherit; }
.bts textarea { min-height: 140px; }
.bts input[type="submit"], .bts button[type="submit"]:not(.bts-toggle) { min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--bts-accent); color: var(--bts-accent-ink); font: 700 15px/1 var(--bts-font-body); cursor: pointer; }
.bts-comments { margin-top: 48px; }
.bts-empty { padding: 48px 0; }

/* ---------- WooCommerce ---------- */
.bts-woo { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 120px); }
.bts .woocommerce a.button, .bts .woocommerce button.button, .bts .woocommerce input.button, .bts .woocommerce #respond input#submit { padding: 14px 24px; border-radius: 999px; background: var(--bts-accent); color: var(--bts-accent-ink); font-weight: 700; }
.bts .woocommerce a.button:hover, .bts .woocommerce button.button:hover { background: var(--bts-fg); color: var(--bts-bg); }
.bts .woocommerce ul.products li.product .price, .bts .woocommerce div.product p.price { color: var(--bts-fg); font-weight: 800; }
.bts .woocommerce ul.products li.product img { border-radius: var(--bts-radius); }
.bts .woocommerce span.onsale { background: var(--bts-accent); color: var(--bts-accent-ink); }

/* ---------- Preview kit + demo bar ---------- */
.bts .bts-kit__box { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4vw, 56px); border: 1px solid var(--bts-line); border-radius: calc(var(--bts-radius) * 1.4); background: var(--bts-surface); }
.bts-kit__box > div:first-child { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.bts-kit__box h2, .bts-kit__box p { margin: 0; }
.bts .bts-kit__box .bts-title { font-size: clamp(24px, 2.6vw, 36px); }
.bts-kit__label { margin: 0 0 12px !important; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--bts-accent); }
.bts-kit__plugins ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bts-kit__plugins a { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border: 1px solid var(--bts-line); border-radius: calc(var(--bts-radius) * .6); background: var(--bts-bg); text-decoration: none; transition: border-color .2s, transform .3s var(--bts-ease); }
.bts-kit__plugins a:hover { border-color: var(--bts-accent); transform: translateX(4px); }
.bts-kit__plugins span { color: var(--bts-muted); font-size: 13.5px; }
.bts-demo-bar { position: fixed; left: 50%; bottom: 16px; z-index: 9999; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(12, 14, 20, .9); color: #fff; font: 600 13.5px/1 var(--bts-font-body); transform: translateX(-50%); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; }
.bts-demo-bar a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; color: #fff; text-decoration: none; }
.bts-demo-bar a:hover { background: rgba(255, 255, 255, .12); }
.bts-demo-bar span { padding: 0 10px; opacity: .9; }
.bts-demo-bar span b { margin-right: 6px; }
.bts-demo-bar .bts-demo-bar__buy { background: #fff; color: #111; font-weight: 800; }
.bts-demo-bar .bts-demo-bar__buy:hover { background: #e9e9ff; }

/* ---------- Scroll reveal (added by theme.js) ---------- */
.bts-js .bts-reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--bts-ease), transform .9s var(--bts-ease); transition-delay: var(--bts-d, 0s); }
.bts-js .bts-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes btsUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes btsFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes btsReveal { from { opacity: 0; clip-path: inset(10% 10% 10% 10% round 28px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 0); } }
@keyframes btsZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes btsKen { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes btsPop { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes btsFloat { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6%, 8%, 0) scale(1.12); } }
@keyframes btsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes btsSpin { to { transform: rotate(360deg); } }
@keyframes btsPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bts-accent) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.bts-hero--center .bts-hero__badge { animation-name: btsPopCenter; }
@keyframes btsPopCenter { from { opacity: 0; transform: translate(-50%, 16px) scale(.92); } to { opacity: 1; transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.bts-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.bts-footer__grid { grid-template-columns: 1fr 1fr; }
	.bts-tile:nth-child(n) { grid-column: span 6; grid-row: auto; }
	.bts-tile:nth-child(6n + 1) { grid-column: span 12; min-height: 320px; }
}
@media (max-width: 900px) {
	:root { --bts-header-h: 66px; }
	.bts-toggle { display: block; }
	.bts-nav { position: fixed; top: calc(var(--bts-header-h) + var(--wp-admin--admin-bar--height, 0px)); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 8px; max-height: calc(100vh - var(--bts-header-h)); overflow: auto; padding: 16px var(--bts-gutter) 28px; background: var(--bts-bg); color: var(--bts-fg); border-bottom: 1px solid var(--bts-line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .3s var(--bts-ease); }
	.bts-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.bts-nav .bts-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.bts-nav .bts-menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--bts-line); font-size: 17px; opacity: 1; }
	.bts-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.bts-nav__cta { display: inline-flex !important; margin-top: 16px; }
	.bts-header__cta { display: none !important; }
	.bts-hero__grid, .bts .bts-split, .bts .bts-split--faq, .bts .bts-kit__box { grid-template-columns: 1fr; }
	.bts-hero__media img { aspect-ratio: 4 / 3.4; }
	.bts-hero--center .bts-hero__media img, .bts-hero--editorial .bts-hero__media img { aspect-ratio: 4 / 3; }
	.bts-head--split { grid-template-columns: 1fr; }
	.bts-head--split > .bts-eyebrow { grid-row: auto; padding-top: 0; }
	.bts-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.bts .bts-rows { grid-template-columns: 1fr; }
	.bts .bts-posts, .bts-post-grid { grid-template-columns: repeat(2, 1fr); }
	.bts .bts-plan.is-featured { transform: none; }
}
@media (max-width: 640px) {
	.bts-grid--2, .bts-grid--3, .bts-grid--4, .bts .bts-posts, .bts-post-grid, .bts-footer__grid { grid-template-columns: 1fr; }
	.bts-stats.bts-grid { grid-template-columns: 1fr 1fr; }
	.bts-stat:nth-child(odd) { border-left: 0; }
	.bts-stat:nth-child(n + 3) { border-top: 1px solid var(--bts-line); }
	.bts-tile:nth-child(n) { grid-column: span 12; min-height: 220px; }
	.bts .wp-block-buttons.bts-actions:not(.bts-actions--center) { width: 100%; }
	.bts .bts-hero .wp-block-button { flex: 1 1 100%; }
	.bts .bts-hero .wp-block-button__link { width: 100%; }
	.bts .bts-info__row { grid-template-columns: 1fr; gap: 4px; }
	.bts-hero__badge { position: relative; right: auto; bottom: auto; justify-self: start; margin-top: -8px; }
	.bts-hero--center .bts-hero__badge { left: auto; transform: none; justify-self: center; animation-name: btsPop; }
	.bts-hero--overlay .bts-hero__badge { position: relative; right: auto; bottom: auto; }
	.bts-hero--overlay .bts-hero__grid { gap: 20px; }
	.bts-demo-bar { left: 12px; right: 12px; transform: none; justify-content: space-between; }
	.bts-demo-bar span b { display: none; }
	.bts-faq__item summary { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.bts-js .bts-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Public gallery page (demo site)
   ========================================================================== */
.bts-gallery-page { --g-bg: #f7f8fb; --g-fg: #0f172a; --g-muted: #556070; --g-accent: #5b5bf0; --g-line: rgba(15, 23, 42, .1); background: var(--g-bg); color: var(--g-fg); }
.bts-g-shell { width: min(100% - 48px, 1320px); margin-inline: auto; }
.bts-g-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; padding: 0 clamp(20px, 4vw, 48px); background: color-mix(in srgb, var(--g-bg) 85%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--g-line); }
.bts-g-logo { font-weight: 900; font-size: 20px; letter-spacing: -0.04em; text-decoration: none; color: var(--g-fg); }
.bts-g-logo i { color: var(--g-accent); font-style: normal; }
.bts-g-logo span { margin-left: 6px; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--g-muted); }
.bts-g-header nav { display: flex; align-items: center; gap: 24px; }
.bts-g-header nav a { color: var(--g-fg); font-size: 15px; font-weight: 600; text-decoration: none; }
.bts-g-header nav .bts-g-buy { padding: 10px 18px; border-radius: 999px; background: var(--g-fg); color: #fff; }
.bts-g-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: calc(100vh - 72px); max-height: 980px; padding: 40px 0 40px clamp(20px, 6vw, 96px); overflow: hidden; }
.bts-g-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 24px; max-width: 620px; }
.bts-g-hero__copy > * { margin: 0; animation: btsUp 1s var(--bts-ease) both; }
.bts-g-hero__copy > :nth-child(2) { animation-delay: .1s; }
.bts-g-hero__copy > :nth-child(3) { animation-delay: .2s; }
.bts-g-hero__copy > :nth-child(4) { animation-delay: .3s; }
.bts-g-hero__copy > :nth-child(5) { animation-delay: .4s; }
.bts-g-eyebrow { color: var(--g-accent); font-size: 13px; font-weight: 800; letter-spacing: .2em; }
.bts-g-hero h1 { font-size: clamp(42px, 5.6vw, 84px); font-weight: 850; line-height: 1.04; letter-spacing: -0.055em; }
.bts-g-hero h1 em { font-style: normal; background: linear-gradient(120deg, #5b5bf0, #b14cf0 60%, #ff6a88); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bts-g-hero p { color: var(--g-muted); font-size: 18px; line-height: 1.75; }
.bts-g-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bts-g-btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border: 1.5px solid var(--g-line); border-radius: 999px; color: var(--g-fg); font-weight: 700; text-decoration: none; transition: transform .3s var(--bts-ease), box-shadow .3s; }
.bts-g-btn:hover { transform: translateY(-2px); }
.bts-g-btn--primary { border-color: var(--g-accent); background: var(--g-accent); color: #fff; box-shadow: 0 18px 36px -16px rgba(91, 91, 240, .7); }
.bts-g-facts { display: flex; gap: 32px; padding: 0; list-style: none; color: var(--g-muted); font-size: 14px; }
.bts-g-facts b { display: block; color: var(--g-fg); font-size: 26px; font-weight: 850; letter-spacing: -0.04em; }
.bts-g-hero__wall { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; height: 140%; transform: rotate(-8deg) translateX(4%); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.bts-g-col { display: flex; flex-direction: column; gap: 18px; animation: btsColUp 60s linear infinite; }
.bts-g-col--1 { animation-name: btsColDown; animation-duration: 70s; }
.bts-g-col--2 { animation-duration: 54s; }
.bts-g-col img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(15, 23, 42, .4); background: #e8eaf2; }
@keyframes btsColUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes btsColDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.bts-g-demos { padding: clamp(72px, 9vw, 128px) 0; }
.bts-g-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.bts-g-head h2, .bts-g-features h2 { margin: 0; font-size: clamp(30px, 3.6vw, 50px); font-weight: 850; letter-spacing: -0.045em; }
.bts-g-filters, .bts-admin__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.bts-g-filters button { padding: 10px 16px; border: 1px solid var(--g-line); border-radius: 999px; background: #fff; color: var(--g-fg); font: 600 14px/1 var(--bts-font-body); cursor: pointer; }
.bts-g-filters button i { margin-left: 4px; font-style: normal; opacity: .5; }
.bts-g-filters button.is-active { background: var(--g-fg); border-color: var(--g-fg); color: #fff; }
.bts-g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.bts-g-card { display: flex; flex-direction: column; gap: 6px; color: var(--g-fg); text-decoration: none; }
.bts-g-card[hidden] { display: none; }
.bts-g-card__thumb { position: relative; display: block; overflow: hidden; margin-bottom: 12px; aspect-ratio: 16 / 10; border-radius: 16px; background: var(--a); box-shadow: 0 1px 0 var(--g-line), 0 24px 48px -30px rgba(15, 23, 42, .45); }
.bts-g-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--bts-ease), object-position 4s ease; }
.bts-g-card:hover .bts-g-card__thumb img { transform: scale(1.03); }
.bts-g-card__meta { color: var(--g-muted); font-size: 13px; font-weight: 600; }
.bts-g-card__name { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.bts-g-card__name small { margin-left: 4px; color: var(--g-muted); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.bts-g-card__go { color: var(--g-accent); font-size: 14px; font-weight: 700; opacity: 0; transform: translateX(-6px); transition: .3s var(--bts-ease); }
.bts-g-card:hover .bts-g-card__go { opacity: 1; transform: none; }
.bts-g-features { padding: clamp(72px, 9vw, 128px) 0; background: #0f172a; color: #fff; }
.bts-g-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.bts-g-feature-grid article { padding: 32px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .03); }
.bts-g-feature-grid b { color: #8f8ff8; font-size: 13px; letter-spacing: .14em; }
.bts-g-feature-grid h3 { margin: 40px 0 10px; font-size: 21px; letter-spacing: -0.03em; }
.bts-g-feature-grid p { margin: 0; color: rgba(255, 255, 255, .68); font-size: 15px; line-height: 1.7; }
.bts-g-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding: 28px 32px; border-radius: 18px; background: rgba(255, 255, 255, .06); }
.bts-g-cta p { margin: 0; color: rgba(255, 255, 255, .8); }
.bts-g-footer { padding: 28px 0; background: #0b1120; color: rgba(255, 255, 255, .5); font-size: 13px; }
@media (max-width: 1000px) {
	.bts-g-hero { grid-template-columns: 1fr; min-height: 0; max-height: none; padding: 56px 24px 0; }
	.bts-g-hero__wall { height: 420px; transform: rotate(-6deg); }
	.bts-g-grid, .bts-g-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.bts-g-header nav a:not(.bts-g-buy) { display: none; }
	.bts-g-grid, .bts-g-feature-grid { grid-template-columns: 1fr; }
	.bts-g-facts { gap: 20px; }
	.bts-g-hero__wall { height: 300px; }
}
