/*
 * Kavin Site Core - design system.
 * A hand-written port of the original kavin.pro Tailwind design (tailwind.config.ts + globals.css), with the exact
 * tokens and measurements recorded in docs/wordpress-clone/design-reference.md.
 * Class names are prefixed "ksc-" so they never collide with Elementor, Hello or plugin CSS.
 */

/* ---------- Fonts (self-hosted copies of the same Google Fonts files the original uses) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin.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: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin.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; }

/* ---------- Tokens ---------- */
:root {
	--ksc-coral: #D63B43;
	--ksc-coral-dark: #B52B33;
	--ksc-coral-light: #FDE9EA;
	--ksc-coral-bright: #F54F55;
	--ksc-burgundy: #29151D;
	--ksc-burgundy-soft: #3A2029;
	--ksc-blush: #F8EFF1;
	--ksc-blush-deep: #F3E5E8;
	--ksc-warm: #FFFCFC;
	--ksc-ink: #262126;
	--ksc-ink-soft: #6A5F65;
	--ksc-line: #EAE0E3;
	--ksc-neutral: #F7F6F5;
	--ksc-white: #FFFFFF;
	--ksc-font-sans: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", ui-sans-serif, system-ui, sans-serif;
	--ksc-font-serif: "Fraunces", "Fraunces Fallback", ui-serif, Georgia, serif;
	--ksc-shadow-card: 0 1px 2px rgba(41, 21, 29, .04), 0 8px 24px -12px rgba(41, 21, 29, .10);
	--ksc-shadow-lift: 0 2px 4px rgba(41, 21, 29, .05), 0 18px 40px -16px rgba(41, 21, 29, .22);
	--ksc-radius-card: 1.25rem;
	--ksc-header-h: 76px;
	--ksc-ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ksc-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body.ksc {
	margin: 0;
	background: var(--ksc-warm);
	color: var(--ksc-ink);
	font-family: var(--ksc-font-sans);
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.ksc *, body.ksc *::before, body.ksc *::after { box-sizing: border-box; }
body.ksc :focus-visible { outline: 3px solid var(--ksc-coral); outline-offset: 3px; border-radius: 6px; }
body.ksc ::selection { background: var(--ksc-coral-light); color: var(--ksc-burgundy); }
:where(body.ksc) :where(img, svg) { max-width: 100%; }
:where(body.ksc) a { color: inherit; text-decoration: none; }
:where(body.ksc) :where(h1, h2, h3, h4) { color: var(--ksc-burgundy); letter-spacing: -.02em; margin: 0; }
:where(body.ksc) p { margin: 0; }
:where(body.ksc) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(body.ksc) button { font: inherit; color: inherit; cursor: pointer; }
.ksc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ksc-hidden { display: none !important; }
body.ksc [hidden] { display: none !important; }

/* ---------- Layout ---------- */
body .ksc-container { width: 100%; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 1240px) { body .ksc-container { max-width: 1240px; } }
body .ksc-container--3xl { max-width: 48rem; }
body .ksc-container--2xl { max-width: 42rem; }
body .ksc-container--xl { max-width: 36rem; }
body .ksc-section { padding-block: 64px; }
@media (min-width: 768px) { body .ksc-section { padding-block: 96px; } }
body .ksc-section--pt-sm { padding-top: 16px; }
body .ksc-section--pt-0 { padding-top: 0; }
body .ksc-section--tight { padding-block: 56px; }
body .ksc-section--blush { background-color: var(--ksc-blush); }
body .ksc-section--neutral { background-color: var(--ksc-neutral); }
body .ksc-section--white { background-color: #fff; }
.ksc-relative { position: relative; }
.ksc-overflow-hidden { overflow: hidden; }
.ksc-text-center { text-align: center; }
.ksc-mx-auto { margin-inline: auto; }
.ksc-mb-12 { margin-bottom: 48px; }
.ksc-mb-10 { margin-bottom: 40px; }
.ksc-max-w-2xl { max-width: 42rem; }
.ksc-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.ksc-head-center { max-width: 42rem; margin: 0 auto 48px; text-align: center; }

/* ---------- Typography ---------- */
.ksc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--ksc-coral); }
.ksc-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--ksc-coral); transform-origin: left; animation: ksc-draw .8s var(--ksc-ease) .1s both; }
.ksc-eyebrow--sm { font-size: 11px; }
.ksc-h-display, .ksc-h-display .elementor-heading-title { font-family: var(--ksc-font-serif); font-size: 36px; font-weight: 500; line-height: 1.08; letter-spacing: -.02em; color: var(--ksc-burgundy); }
.ksc-h-section, .ksc-h-section .elementor-heading-title { font-family: var(--ksc-font-serif); font-size: 30px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; color: var(--ksc-burgundy); }
@media (min-width: 640px) {
	.ksc-h-display, .ksc-h-display .elementor-heading-title { font-size: 48px; line-height: 1; }
	.ksc-h-section, .ksc-h-section .elementor-heading-title { font-size: 36px; line-height: 2.5rem; }
}
@media (min-width: 1024px) { .ksc-h-display, .ksc-h-display .elementor-heading-title { font-size: 56px; } }
.ksc-h-section::after { content: ""; display: block; width: 3.25rem; height: 4px; margin-top: .9rem; border-radius: 4px; background: linear-gradient(90deg, #D63B43, #F54F55); transform-origin: left; }
.ksc-text-center .ksc-h-section::after, .ksc-h-section.ksc-text-center::after, .ksc-head-center .ksc-h-section::after, .ksc-panel--center .ksc-h-section::after { margin-inline: auto; }
.ksc-lead { font-size: 18px; line-height: 1.625; color: var(--ksc-ink-soft); }
.ksc-lead .elementor-widget-container, .ksc-lead p { font-size: 18px; line-height: 1.625; color: var(--ksc-ink-soft); }
.ksc-serif { font-family: var(--ksc-font-serif); }
.ksc-text-gradient { background: linear-gradient(100deg, #D63B43 0%, #F54F55 45%, #E8903F 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ksc-shimmer 6s linear infinite; }
.ksc-text-gradient-light { background: linear-gradient(100deg, #ff9ea3 0%, #ffd2a8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ----------
 * Plain markup (PHP templates): <a class="ksc-btn ksc-btn--primary">.  Elementor Button widgets: add the classes
 * "ksc-bw ksc-bw--primary" (and optionally "ksc-arrow") to the widget, the styling then targets its inner .elementor-button.
 */
.ksc-btn, body .ksc-bw .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
	border-radius: 9999px; border: 0; font-family: var(--ksc-font-sans); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: normal;
	text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s; box-shadow: none; fill: currentColor;
}
body .ksc-bw .elementor-button-content-wrapper { gap: 8px; align-items: center; }
.ksc-btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ksc-ease); }
.ksc-btn:hover svg { transform: translateX(3px); }
.ksc-btn--sm, body .ksc-bw--sm .elementor-button { min-height: 44px; }
.ksc-btn--primary, body .ksc-bw--primary .elementor-button { position: relative; overflow: hidden; background: var(--ksc-coral); color: #fff; }
.ksc-btn--primary:hover, body .ksc-bw--primary .elementor-button:hover { background: var(--ksc-coral-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(214, 59, 67, .55); }
.ksc-btn--primary:active, body .ksc-bw--primary .elementor-button:active { transform: translateY(0); }
.ksc-btn--primary::after, body .ksc-bw--primary .elementor-button::after { content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); pointer-events: none; }
.ksc-btn--primary:hover::after, body .ksc-bw--primary .elementor-button:hover::after { transform: translateX(120%) skewX(-18deg); transition: transform .7s var(--ksc-ease); }
.ksc-btn--secondary, body .ksc-bw--secondary .elementor-button { border: 1px solid rgba(41, 21, 29, .2); background: #fff; color: var(--ksc-burgundy); }
.ksc-btn--secondary:hover, body .ksc-bw--secondary .elementor-button:hover { border-color: var(--ksc-coral); color: var(--ksc-coral); background: #fff; }
.ksc-btn--dark, body .ksc-bw--dark .elementor-button { background: var(--ksc-burgundy); color: #fff; }
.ksc-btn--dark:hover, body .ksc-bw--dark .elementor-button:hover { background: var(--ksc-burgundy-soft); color: #fff; }
.ksc-btn--link, body .ksc-bw--link .elementor-button { background: transparent; color: var(--ksc-burgundy); text-underline-offset: 4px; }
.ksc-btn--link:hover, body .ksc-bw--link .elementor-button:hover { color: var(--ksc-coral); text-decoration: underline; background: transparent; }
.ksc-btn--ghost-light, body .ksc-bw--ghost-light .elementor-button { border: 1px solid rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.ksc-btn--ghost-light:hover, body .ksc-bw--ghost-light .elementor-button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.ksc-btn--block { display: flex; width: 100%; }
.ksc-pulse-ring, body .ksc-pulse-ring .elementor-button { animation: ksc-ring 2.6s ease-out infinite; }
/* Trailing icons for Elementor buttons (Lucide paths as masks, so they follow the text colour) */
body .ksc-arrow .elementor-button-text::after, body .ksc-arrow-ur .elementor-button-text::after, body .ksc-dl .elementor-button-text::before {
	content: ""; display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-left: 8px; background: currentColor;
	-webkit-mask: var(--ksc-mask) center / contain no-repeat; mask: var(--ksc-mask) center / contain no-repeat; transition: transform .25s var(--ksc-ease);
}
body .ksc-arrow { --ksc-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 12h14%27/%3E%3Cpath d=%27m12 5 7 7-7 7%27/%3E%3C/svg%3E"); }
body .ksc-arrow-ur { --ksc-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M7 7h10v10%27/%3E%3Cpath d=%27M7 17 17 7%27/%3E%3C/svg%3E"); }
body .ksc-dl { --ksc-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4%27/%3E%3Cpolyline points=%277 10 12 15 17 10%27/%3E%3Cline x1=%2712%27 x2=%2712%27 y1=%2715%27 y2=%273%27/%3E%3C/svg%3E"); }
body .ksc-dl .elementor-button-text::before { margin-left: 0; margin-right: 8px; }
body .ksc-arrow .elementor-button:hover .elementor-button-text::after { transform: translateX(3px); }
@media (max-width: 639px) { body .ksc-bw-stretch .elementor-button { width: 100%; } }

/* ---------- Card, chip, input, badge ---------- */
.ksc-card { background: #fff; border: 1px solid var(--ksc-line); border-radius: var(--ksc-radius-card); box-shadow: var(--ksc-shadow-card); transition: transform .25s, box-shadow .25s, border-color .25s; backdrop-filter: saturate(1.1); }
.ksc-card--hover:hover { transform: translateY(-4px); border-color: rgba(214, 59, 67, .35); box-shadow: 0 2px 4px rgba(41, 21, 29, .05), 0 24px 48px -18px rgba(214, 59, 67, .28); }
.ksc-card--p5 { padding: 20px; }
.ksc-card--p6 { padding: 24px; }
.ksc-card--p10 { padding: 40px; }
.ksc-card img { will-change: transform; }
.ksc-chip { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 9999px; background: var(--ksc-blush); color: var(--ksc-burgundy); font-size: 12px; line-height: 16px; font-weight: 500; transition: background-color .25s, color .25s, transform .25s; }
.ksc-chip:hover { background: var(--ksc-coral-light); color: var(--ksc-coral-dark); transform: translateY(-1px); }
.ksc-chip--white { background: #fff; }
.ksc-chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ksc-chip-list--gap2 { gap: 8px; }
.ksc-icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ksc-coral-light); color: var(--ksc-coral); transition: background-color .3s, color .3s, transform .3s var(--ksc-ease); }
.ksc-icon-tile svg { width: 22px; height: 22px; }
.ksc-card:hover .ksc-icon-tile { background: var(--ksc-coral); color: #fff; transform: rotate(-6deg) scale(1.06); }
.ksc-input, body.ksc input.ksc-input, body.ksc select.ksc-input, body.ksc textarea.ksc-input { min-height: 48px; width: 100%; border-radius: 12px; border: 1px solid var(--ksc-line); background: #fff; padding: 0 16px; font-family: var(--ksc-font-sans); font-size: 16px; color: var(--ksc-ink); transition: border-color .15s, box-shadow .15s; }
.ksc-input::placeholder { color: rgba(106, 95, 101, .7); }
.ksc-input:focus { border-color: var(--ksc-coral); }
.ksc-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(5, 150, 105, .2); background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); border-radius: 9999px; padding: 6px 16px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-burgundy); box-shadow: var(--ksc-shadow-card); }
.ksc-dot { position: relative; display: inline-flex; width: 10px; height: 10px; flex: none; }
.ksc-dot::before, .ksc-dot::after { content: ""; border-radius: 9999px; background: #10b981; }
.ksc-dot::before { position: absolute; inset: 0; opacity: .7; animation: ksc-ping 1s cubic-bezier(0, 0, .2, 1) infinite; }
.ksc-dot::after { position: relative; width: 10px; height: 10px; }
.ksc-dot--sm { width: 8px; height: 8px; }
.ksc-dot--sm::after { width: 8px; height: 8px; }
.ksc-dot--solid::before { display: none; }

/* ---------- Motion ---------- */
@keyframes ksc-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ksc-pop-in { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ksc-drift { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(14px, -18px, 0); } }
@keyframes ksc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ksc-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ksc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ksc-shimmer { to { background-position: 200% center; } }
@keyframes ksc-ring { 0% { box-shadow: 0 0 0 0 rgba(214, 59, 67, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(214, 59, 67, 0); } }
@keyframes ksc-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@keyframes ksc-spin { to { transform: rotate(360deg); } }
.ksc-anim-up { opacity: 0; animation: ksc-fade-up .8s var(--ksc-ease) forwards; animation-delay: var(--d, 0ms); }
.ksc-anim-pop { opacity: 0; animation: ksc-pop-in .9s var(--ksc-ease) forwards; animation-delay: var(--d, 0ms); }
.ksc-d80 { --d: 80ms; } .ksc-d100 { --d: 100ms; } .ksc-d160 { --d: 160ms; } .ksc-d200 { --d: 200ms; } .ksc-d220 { --d: 220ms; }
.ksc-d260 { --d: 260ms; } .ksc-d320 { --d: 320ms; } .ksc-d360 { --d: 360ms; } .ksc-d440 { --d: 440ms; }
.ksc-drift { animation: ksc-drift 11s ease-in-out infinite; }
.ksc-drift-slow { animation: ksc-drift 16s ease-in-out infinite reverse; }
.ksc-float { animation: ksc-float 7s ease-in-out infinite; }
.ksc-marquee { display: flex; width: max-content; animation: ksc-marquee 32s linear infinite; }
.ksc-marquee-wrap:hover .ksc-marquee { animation-play-state: paused; }
.ksc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ksc-ease), transform .7s var(--ksc-ease); transition-delay: var(--d, 0ms); }
.ksc-reveal--left { transform: translateX(-34px); }
.ksc-reveal--right { transform: translateX(34px); }
.ksc-reveal--zoom { transform: scale(.92); }
.ksc-reveal.is-in { opacity: 1; transform: none; }
html:not(.ksc-js) .ksc-reveal, body.elementor-editor-active .ksc-reveal, body.elementor-editor-preview .ksc-reveal { opacity: 1; transform: none; }
body.elementor-editor-active .ksc-anim-up, body.elementor-editor-active .ksc-anim-pop { opacity: 1; animation: none; }
/* staggered delays for grids: (i % 3) * 80ms, like the original */
.ksc-stagger3 > :nth-child(3n+2) { --d: 80ms; }
.ksc-stagger3 > :nth-child(3n+3) { --d: 160ms; }
.ksc-stagger4 > :nth-child(4n+2) { --d: 90ms; }
.ksc-stagger4 > :nth-child(4n+3) { --d: 180ms; }
.ksc-stagger4 > :nth-child(4n+4) { --d: 270ms; }
.ksc-stagger-cap > :nth-child(3n+2) { --d: 70ms; }
.ksc-stagger-cap > :nth-child(3n+3) { --d: 140ms; }
@supports (animation-timeline: view()) {
	@keyframes ksc-scroll-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
	.ksc-h-section::after { animation: ksc-scroll-underline linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
	@keyframes ksc-img-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
	.ksc-gallery-zoom img { animation: ksc-img-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	body.ksc *, body.ksc *::before, body.ksc *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.ksc-anim-up, .ksc-anim-pop, .ksc-reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
	.ksc-marquee, .ksc-drift, .ksc-drift-slow, .ksc-float, .ksc-text-gradient, .ksc-pulse-ring, .ksc-h-section::after, .ksc-gallery-zoom img { animation: none !important; }
	.ksc-btn--primary::after, .ksc-card--hover .ksc-media::after { display: none; }
}

/* ---------- Scroll progress ---------- */
.ksc-scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #D63B43, #F54F55); pointer-events: none; }

/* ---------- Announcement bar ---------- */
.ksc-announce { background: var(--ksc-burgundy); color: #fff; }
.ksc-announce p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding-block: 8px; text-align: center; font-size: 12px; line-height: 16px; }
@media (min-width: 640px) { .ksc-announce p { font-size: 14px; line-height: 20px; } }
.ksc-announce a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #ff9ea3; }
.ksc-announce a:hover { color: #fff; }
.ksc-announce svg { width: 14px; height: 14px; }
.ksc-announce .ksc-dot { width: 8px; height: 8px; }
.ksc-announce .ksc-dot::after { width: 8px; height: 8px; background: #34d399; }
.ksc-announce .ksc-dot::before { background: rgba(52, 211, 153, .8); opacity: 1; }

/* ---------- Header ---------- */
.ksc-header { position: sticky; top: 0; z-index: 50; height: var(--ksc-header-h); background: var(--ksc-warm); border-bottom: 1px solid transparent; transition: background-color .25s, border-color .25s, box-shadow .25s; }
.ksc-header.is-scrolled { border-bottom-color: var(--ksc-line); background: rgba(255, 252, 252, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.admin-bar .ksc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ksc-header { top: 46px; } }
.ksc-header__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 16px; }
.ksc-logo { display: flex; align-items: center; gap: 10px; }
.ksc-logo img { width: 40px; height: 40px; object-fit: contain; display: block; }
.ksc-logo span { font-family: var(--ksc-font-serif); font-size: 20px; line-height: 28px; font-weight: 500; color: var(--ksc-burgundy); }
.ksc-nav { display: none; }
@media (min-width: 1024px) { .ksc-nav { display: block; } }
.ksc-nav > ul { display: flex; align-items: center; gap: 2px; }
.ksc-nav li { position: relative; }
.ksc-nav a.ksc-nav__link { position: relative; display: block; padding: 8px 12px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ksc-burgundy); transition: color .25s; }
.ksc-nav a.ksc-nav__link:hover, .ksc-nav a.ksc-nav__link.is-active { color: var(--ksc-coral); }
.ksc-nav a.ksc-nav__link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; border-radius: 4px; background: var(--ksc-coral); }
.ksc-nav__split { display: flex; align-items: center; }
.ksc-nav__toggle { margin-left: -8px; padding: 6px; border: 0; background: transparent; border-radius: 9999px; color: var(--ksc-burgundy); display: grid; place-items: center; }
.ksc-nav__toggle:hover { color: var(--ksc-coral); }
.ksc-nav__toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.ksc-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.ksc-dd { position: absolute; left: 0; top: 100%; z-index: 50; width: 288px; padding-top: 12px; }
.ksc-dd ul { border: 1px solid var(--ksc-line); background: #fff; border-radius: 16px; padding: 8px; box-shadow: var(--ksc-shadow-lift); }
.ksc-dd a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; color: var(--ksc-burgundy); transition: background-color .25s, color .25s; }
.ksc-dd a:hover { background: var(--ksc-blush); color: var(--ksc-coral); }
.ksc-dd a.is-active { background: var(--ksc-blush); color: var(--ksc-coral); font-weight: 600; }
.ksc-header__actions { display: flex; align-items: center; gap: 12px; }
.ksc-iconbtn { display: none; width: 44px; height: 44px; place-items: center; border-radius: 9999px; border: 1px solid var(--ksc-line); color: var(--ksc-burgundy); background: transparent; transition: border-color .25s, color .25s; }
.ksc-iconbtn:hover { border-color: var(--ksc-coral); color: var(--ksc-coral); }
.ksc-iconbtn svg { width: 18px; height: 18px; }
@media (min-width: 1280px) { .ksc-iconbtn--xl { display: grid; } }
.ksc-header__cta { display: none; }
@media (min-width: 640px) { .ksc-header__cta { display: inline-flex; } }
.ksc-burger { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 9999px; border: 1px solid var(--ksc-line); color: var(--ksc-burgundy); background: transparent; }
.ksc-burger svg { width: 20px; height: 20px; }
.ksc-burger .ksc-i-close { display: none; }
.ksc-burger[aria-expanded="true"] .ksc-i-open { display: none; }
.ksc-burger[aria-expanded="true"] .ksc-i-close { display: block; }
@media (min-width: 1024px) { .ksc-burger { display: none; } }
.ksc-skip { position: absolute; left: -9999px; top: 16px; z-index: 80; padding: 8px 16px; border-radius: 8px; background: var(--ksc-coral); color: #fff; }
.ksc-skip:focus { left: 16px; }
.ksc-mobile { position: fixed; left: 0; right: 0; bottom: 0; top: var(--ksc-header-h); z-index: 40; overflow-y: auto; background: var(--ksc-warm); }
.admin-bar .ksc-mobile { top: calc(var(--ksc-header-h) + 32px); }
.ksc-mobile nav { padding-block: 24px; }
.ksc-mobile > nav > ul > li { border-bottom: 1px solid var(--ksc-line); }
.ksc-mobile > nav > ul > li:last-child { border-bottom: 0; }
.ksc-mobile a.ksc-m__link { display: block; padding: 16px 0; font-size: 18px; line-height: 28px; font-weight: 500; color: var(--ksc-burgundy); }
.ksc-mobile a.ksc-m__link.is-active { color: var(--ksc-coral); }
.ksc-mobile .ksc-m__row { display: flex; align-items: center; justify-content: space-between; }
.ksc-mobile .ksc-m__row a.ksc-m__link { padding: 12px 0; }
.ksc-mobile .ksc-m__row button { padding: 12px; border: 0; background: transparent; border-radius: 9999px; color: var(--ksc-burgundy); }
.ksc-mobile .ksc-m__row svg { width: 24px; height: 24px; transition: transform .2s; }
.ksc-mobile .ksc-m__row button[aria-expanded="true"] svg { transform: rotate(180deg); }
.ksc-mobile .ksc-m__sub { margin: 0 0 8px; padding-left: 16px; border-left: 2px solid rgba(214, 59, 67, .3); }
.ksc-mobile .ksc-m__sub a { display: block; padding: 8px 0; font-size: 16px; line-height: 24px; color: var(--ksc-ink-soft); }
.ksc-mobile .ksc-m__sub a:hover { color: var(--ksc-coral); }
.ksc-mobile .ksc-m__cta { margin-top: 24px; width: 100%; }
.ksc-mobile .ksc-m__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ksc-mobile .ksc-m__mail { margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
body.ksc-menu-open { overflow: hidden; }

/* ---------- Footer ---------- */
.ksc-footer { background: var(--ksc-burgundy); color: rgba(255, 255, 255, .8); }
.ksc-footer a:hover { color: #fff; }
.ksc-footer__grid { display: grid; gap: 48px; padding-block: 64px; }
@media (min-width: 1024px) { .ksc-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; } }
.ksc-footer .ksc-logo span { color: #fff; }
.ksc-footer__tag { margin-top: 16px; max-width: 20rem; font-size: 14px; line-height: 1.625; }
.ksc-footer__avail { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 9999px; background: rgba(255, 255, 255, .1); padding: 4px 12px; font-size: 12px; line-height: 16px; font-weight: 600; color: #fff; }
.ksc-footer__avail i { width: 8px; height: 8px; border-radius: 9999px; background: #34d399; flex: none; }
.ksc-footer__contact { margin-top: 20px; display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.ksc-footer__contact li { display: block; }
.ksc-footer__contact a, .ksc-footer__contact span.ksc-line { display: inline-flex; align-items: center; gap: 8px; }
.ksc-footer__contact svg { width: 16px; height: 16px; flex: none; }
.ksc-footer h2 { margin-bottom: 16px; font-family: var(--ksc-font-sans); font-size: 14px; line-height: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.ksc-footer h2.ksc-mb-2 { margin-bottom: 8px; }
.ksc-footer__list { display: grid; gap: 10px; font-size: 14px; line-height: 20px; }
.ksc-footer__news p { margin-bottom: 16px; font-size: 14px; line-height: 20px; }
.ksc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.ksc-footer__bottom .ksc-container { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; padding-block: 24px; font-size: 14px; line-height: 20px; }
@media (min-width: 640px) { .ksc-footer__bottom .ksc-container { flex-direction: row; align-items: center; } }
.ksc-footer__bottom ul { display: flex; gap: 20px; }

/* ---------- Back to top ---------- */
.ksc-totop { position: fixed; bottom: 20px; left: 20px; z-index: 40; display: grid; width: 48px; height: 48px; place-items: center; border: 0; border-radius: 9999px; background: var(--ksc-coral); color: #fff; box-shadow: var(--ksc-shadow-lift); transition: background-color .25s, opacity .25s; }
.ksc-totop:hover { background: var(--ksc-coral-dark); }
.ksc-totop svg { width: 20px; height: 20px; }

/* ---------- Page hero ---------- */
.ksc-pagehero { position: relative; overflow: hidden; background: var(--ksc-blush); }
.ksc-pagehero__blob { position: absolute; right: -96px; top: -96px; width: 320px; height: 320px; border-radius: 9999px; background: rgba(214, 59, 67, .10); filter: blur(40px); }
.ksc-pagehero .ksc-container { position: relative; padding-block: 56px; }
@media (min-width: 768px) { .ksc-pagehero .ksc-container { padding-block: 80px; } }
.ksc-pagehero__title { max-width: 48rem; }
.ksc-pagehero__intro { max-width: 42rem; margin-top: 20px; }
.ksc-pagehero .ksc-eyebrow { margin-bottom: 16px; }
.ksc-pagehero--post .ksc-container, .ksc-pagehero--post.ksc-container { padding-block: 48px; }
@media (min-width: 768px) { .ksc-pagehero--post .ksc-container { padding-block: 64px; } }
.ksc-crumbs { margin-bottom: 24px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ksc-crumbs li { display: flex; align-items: center; gap: 6px; }
.ksc-crumbs svg { width: 14px; height: 14px; }
.ksc-crumbs a:hover { color: var(--ksc-coral); }
.ksc-crumbs [aria-current] { font-weight: 500; color: var(--ksc-burgundy); }
.ksc-link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ksc-ease); }
.ksc-link-u:hover { background-size: 100% 1px; }

/* ---------- Dark panels (CTA band + availability) ---------- */
.ksc-panel { position: relative; overflow: hidden; border-radius: 2rem; background: var(--ksc-burgundy); padding: 56px 24px; }
@media (min-width: 640px) { .ksc-panel { padding-inline: 48px; } }
@media (min-width: 768px) { .ksc-panel { padding-block: 80px; } }
.ksc-panel--center { text-align: center; }
.ksc-panel__glow { position: absolute; border-radius: 9999px; background: rgba(214, 59, 67, .25); filter: blur(64px); pointer-events: none; }
.ksc-panel .ksc-h-section { color: #fff; }
.ksc-panel .ksc-h-section, .ksc-panel h2 { color: #fff; }
.ksc-panel .ksc-panel__text, .ksc-panel p.ksc-panel__text { margin-top: 16px; font-size: 18px; line-height: 1.75rem; color: rgba(255, 255, 255, .75); }
.ksc-panel__inner { position: relative; max-width: 42rem; margin-inline: auto; }
.ksc-panel__btns { margin-top: 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
@media (min-width: 640px) { .ksc-panel__btns { flex-direction: row; } }
.ksc-dotgrid-dark { position: absolute; inset: 0; opacity: .6; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.ksc-avail { display: grid; align-items: center; gap: 40px; position: relative; }
@media (min-width: 1024px) { .ksc-avail { grid-template-columns: 1.3fr .7fr; } }
.ksc-avail__pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .1); border-radius: 9999px; padding: 6px 16px; font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; }
.ksc-avail__pill .ksc-dot { width: 10px; height: 10px; }
.ksc-avail__pill .ksc-dot::before, .ksc-avail__pill .ksc-dot::after { background: #34d399; }
.ksc-avail h2 { margin-top: 24px; font-family: var(--ksc-font-serif); font-size: 36px; font-weight: 500; line-height: 1.08; color: #fff; }
@media (min-width: 640px) { .ksc-avail h2 { font-size: 48px; line-height: 1; } }
.ksc-avail__lead { margin-top: 20px; max-width: 36rem; font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, .75); }
.ksc-avail__skills { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.ksc-avail__skills li { border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .1); border-radius: 9999px; padding: 6px 14px; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .9); }
.ksc-avail__btns { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .ksc-avail__btns { flex-direction: row; } }
.ksc-globe { position: relative; display: none; width: 256px; height: 256px; margin-inline: auto; place-items: center; }
@media (min-width: 1024px) { .ksc-globe { display: grid; } }
.ksc-globe__r1, .ksc-globe__r2 { position: absolute; border-radius: 9999px; }
.ksc-globe__r1 { inset: 0; border: 1px dashed rgba(255, 255, 255, .3); animation: ksc-spin 40s linear infinite; }
.ksc-globe__r2 { inset: 24px; border: 1px solid rgba(255, 255, 255, .15); animation: ksc-spin 28s linear infinite reverse; }
.ksc-globe__dot { position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin-left: -6px; border-radius: 9999px; background: var(--ksc-coral-bright); box-shadow: 0 0 16px #F54F55; }
.ksc-globe svg { width: 96px; height: 96px; color: rgba(255, 255, 255, .9); stroke-width: 1.1; }

/* ---------- Home hero ---------- */
.ksc-hero { position: relative; overflow: hidden; background: var(--ksc-blush); }
.ksc-hero__dots { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(41, 21, 29, .12) 1px, transparent 1px); background-size: 22px 22px; }
.ksc-hero__c1 { position: absolute; right: -128px; top: -128px; width: 448px; height: 448px; border-radius: 9999px; background: rgba(214, 59, 67, .10); }
.ksc-hero__c2 { position: absolute; left: 33.3333%; bottom: -160px; width: 288px; height: 288px; border-radius: 9999px; background: rgba(255, 255, 255, .6); }
.ksc-hero__grid { position: relative; display: grid; align-items: end; gap: 48px; padding-top: 56px; }
@media (min-width: 768px) { .ksc-hero__grid { padding-top: 80px; } }
@media (min-width: 1024px) { .ksc-hero__grid { grid-template-columns: 1.05fr .95fr; } }
.ksc-hero__text { padding-bottom: 16px; }
@media (min-width: 1024px) { .ksc-hero__text { padding-bottom: 80px; } }
.ksc-hero__text .ksc-badge { margin-bottom: 20px; }
.ksc-hero__text h1 { margin-top: 20px; }
.ksc-hero__tag { max-width: 36rem; margin-top: 20px; font-family: var(--ksc-font-serif); font-size: 20px; line-height: 28px; font-style: italic; color: rgba(41, 21, 29, .8); }
.ksc-hero__lead { max-width: 36rem; margin-top: 20px; }
.ksc-hero__btns { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .ksc-hero__btns { flex-direction: row; flex-wrap: wrap; } }
.ksc-hero__art { position: relative; display: flex; width: 100%; max-width: 24rem; margin-inline: auto; justify-content: center; align-self: end; }
@media (min-width: 1024px) { .ksc-hero__art { max-width: none; } }
.ksc-hero__disc { position: absolute; bottom: 0; left: 50%; width: 88%; aspect-ratio: 1; transform: translate(-50%, 18%); border-radius: 9999px; background: linear-gradient(to bottom right, var(--ksc-coral-bright), var(--ksc-coral-dark)); box-shadow: var(--ksc-shadow-lift); }
.ksc-hero__ring { position: absolute; bottom: 0; left: 50%; width: 104%; aspect-ratio: 1; transform: translate(-50%, 24%); border-radius: 9999px; border: 2px dashed rgba(214, 59, 67, .4); }
.ksc-hero__ring.ksc-drift-slow { animation: none; }
.ksc-hero__art img { position: relative; z-index: 10; width: auto; max-width: none; height: 31rem; object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 30px rgba(41, 21, 29, .25)); }
@media (min-width: 640px) { .ksc-hero__art img { height: 37rem; } }
@media (min-width: 1024px) { .ksc-hero__art img { height: 44rem; } }
.ksc-hero__float { position: absolute; bottom: 96px; left: 0; z-index: 20; display: none; border-radius: 16px; background: #fff; padding: 12px 16px; box-shadow: var(--ksc-shadow-lift); }
@media (min-width: 640px) { .ksc-hero__float { display: block; } }
.ksc-hero__float p:first-child { font-size: 12px; line-height: 16px; color: var(--ksc-ink-soft); }
.ksc-hero__float p:last-child { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-burgundy); }
.ksc-hero__pills { position: absolute; right: 0; top: 40px; z-index: 20; display: none; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .ksc-hero__pills { display: flex; } }
.ksc-hero__pills li { border-radius: 9999px; background: #fff; padding: 6px 16px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ksc-burgundy); box-shadow: var(--ksc-shadow-card); animation: ksc-drift 11s ease-in-out infinite; }
.ksc-hero__pills li:nth-child(2) { animation-delay: 1.2s; }
.ksc-hero__pills li:nth-child(3) { animation-delay: 2.4s; }
.ksc-rotator { display: inline-grid; }
.ksc-rotator > span { grid-column-start: 1; grid-row-start: 1; transition: all .7s ease-out; }

/* ---------- Marquees ---------- */
.ksc-strip { overflow: hidden; border-block: 1px solid var(--ksc-line); background: #fff; }
.ksc-strip .ksc-marquee { padding-block: 20px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ksc-burgundy); }
.ksc-strip li { display: flex; flex: none; align-items: center; gap: 8px; padding-inline: 24px; }
.ksc-strip li::before { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: var(--ksc-coral); }
.ksc-brands { overflow: hidden; padding-block: 40px; }
.ksc-brands__label { margin-bottom: 20px; text-align: center; font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--ksc-ink-soft); }
.ksc-brands__rail { position: relative; }
.ksc-brands__rail::before, .ksc-brands__rail::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 10; width: 96px; pointer-events: none; }
.ksc-brands__rail::before { left: 0; background: linear-gradient(to right, var(--ksc-warm), transparent); }
.ksc-brands__rail::after { right: 0; background: linear-gradient(to left, var(--ksc-warm), transparent); }
.ksc-brands .ksc-marquee { animation-duration: 46s; }
.ksc-brands li { flex: none; padding-inline: 32px; font-family: var(--ksc-font-serif); font-size: 24px; line-height: 32px; color: rgba(41, 21, 29, .4); transition: color .25s; }
.ksc-brands li:hover { color: var(--ksc-coral); }

/* ---------- Expertise carousel ---------- */
.ksc-carousel { position: relative; overflow: hidden; border-radius: 2rem; background: var(--ksc-burgundy); box-shadow: var(--ksc-shadow-lift); }
.ksc-carousel__track { display: flex; transition: transform .7s ease-out; }
.ksc-slide { position: relative; flex: none; width: 100%; aspect-ratio: 4 / 5; }
@media (min-width: 640px) { .ksc-slide { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { .ksc-slide { aspect-ratio: 21 / 9; } }
.ksc-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ksc-slide__shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--ksc-burgundy), rgba(41, 21, 29, .45), transparent); }
@media (min-width: 640px) { .ksc-slide__shade { background: linear-gradient(to right, var(--ksc-burgundy), rgba(41, 21, 29, .6), transparent); } }
.ksc-slide__body { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 24px; }
@media (min-width: 640px) { .ksc-slide__body { align-items: center; padding: 48px; } }
@media (min-width: 1024px) { .ksc-slide__body { padding: 64px; } }
.ksc-slide__body > div { max-width: 32rem; }
.ksc-slide__label { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: #ff9ea3; }
.ksc-slide__body h2 { margin-top: 8px; font-family: var(--ksc-font-serif); font-size: 30px; line-height: 36px; font-weight: 500; color: #fff; }
@media (min-width: 640px) { .ksc-slide__body h2 { font-size: 36px; line-height: 40px; } }
.ksc-slide__text { margin-top: 12px; color: rgba(255, 255, 255, .8); }
.ksc-slide__body .ksc-btn { margin-top: 24px; }
.ksc-carousel__ctrl { position: absolute; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 8px; }
@media (min-width: 640px) { .ksc-carousel__ctrl { bottom: 24px; right: 24px; } }
.ksc-carousel__ctrl button { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 9999px; background: rgba(255, 255, 255, .15); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ksc-carousel__ctrl button:hover { background: rgba(255, 255, 255, .3); }
.ksc-carousel__ctrl svg { width: 18px; height: 18px; }
.ksc-carousel__ctrl .ksc-i-play { display: none; }
.ksc-carousel[data-playing="false"] .ksc-i-play { display: block; }
.ksc-carousel[data-playing="false"] .ksc-i-pause { display: none; }
.ksc-carousel__dots { position: absolute; bottom: 24px; left: 24px; display: none; gap: 8px; }
@media (min-width: 640px) { .ksc-carousel__dots { display: flex; left: 48px; } }
@media (min-width: 1024px) { .ksc-carousel__dots { left: 64px; } }
.ksc-carousel__dots button { height: 8px; width: 8px; padding: 0; border: 0; border-radius: 9999px; background: rgba(255, 255, 255, .5); transition: all .25s; }
.ksc-carousel__dots button:hover { background: #fff; }
.ksc-carousel__dots button[aria-current="true"] { width: 32px; background: var(--ksc-coral-bright); }
.ksc-carousel-note { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--ksc-ink-soft); }

/* ---------- Grids ---------- */
.ksc-grid { display: grid; gap: 24px; }
.ksc-grid--cards, .ksc-grid--blog { grid-template-columns: 1fr; }
@media (min-width: 640px) { .ksc-grid--cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .ksc-grid--blog { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ksc-grid--cards { grid-template-columns: repeat(3, 1fr); } }
.ksc-grid--caps { gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ksc-grid--caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ksc-grid--caps { grid-template-columns: repeat(3, 1fr); } }
.ksc-grid--exp { gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ksc-grid--exp { grid-template-columns: repeat(3, 1fr); } }
.ksc-grid--steps { grid-template-columns: 1fr; }
@media (min-width: 768px) { .ksc-grid--steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ksc-grid--steps { grid-template-columns: repeat(4, 1fr); } }
.ksc-grid--principles { gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ksc-grid--principles { grid-template-columns: repeat(2, 1fr); } }
.ksc-grid > li, .ksc-grid > .ksc-cell { display: block; height: auto; min-width: 0; }
.ksc-split { display: grid; align-items: center; gap: 48px; }
@media (min-width: 1024px) { .ksc-split { grid-template-columns: 1fr 1fr; } }

/* ---------- Cards ---------- */
.ksc-pcard, .ksc-bcard { display: flex; height: 100%; flex-direction: column; overflow: hidden; }
.ksc-pcard .ksc-media, .ksc-bcard .ksc-media { position: relative; display: block; overflow: hidden; background: var(--ksc-blush); }
.ksc-media--43 { aspect-ratio: 4 / 3; }
.ksc-media--169 { aspect-ratio: 16 / 9; }
.ksc-media--32 { aspect-ratio: 3 / 2; }
.ksc-media--1610 { aspect-ratio: 16 / 10; }
.ksc-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; transition: transform .7s; }
.ksc-media--contain img { object-fit: contain; background: #fff; object-position: center; }
.ksc-media--center img { object-position: center; }
.ksc-card:hover .ksc-media img { transform: scale(1.05); }
.ksc-card--hover .ksc-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-120%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); }
.ksc-card--hover:hover .ksc-media::after { transform: translateX(120%) skewX(-18deg); transition: transform .9s var(--ksc-ease); }
.ksc-pcard__body, .ksc-bcard__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.ksc-pcard__body h3, .ksc-bcard__body h3 { margin-top: 8px; font-family: var(--ksc-font-sans); font-size: 18px; line-height: 1.375; font-weight: 600; letter-spacing: -.02em; }
.ksc-bcard__body h3 { margin-top: 12px; }
.ksc-pcard__body h3 a:hover, .ksc-bcard__body h3 a:hover { color: var(--ksc-coral); }
.ksc-pcard__sum, .ksc-bcard__ex { margin-top: 8px; font-size: 14px; line-height: 1.625; color: var(--ksc-ink-soft); }
.ksc-bcard__ex { line-height: 20px; }
.ksc-pcard .ksc-chip-list { margin-top: 16px; }
.ksc-pcard__link { display: inline-flex; margin-top: auto; padding-top: 20px; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-coral); }
.ksc-pcard__link:hover { color: var(--ksc-coral-dark); }
.ksc-pcard__link svg { width: 16px; height: 16px; }
.ksc-bcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; color: var(--ksc-ink-soft); }
.ksc-bcard__meta b { font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ksc-coral); }
.ksc-bcard__ph { display: grid; height: 100%; place-items: center; font-family: var(--ksc-font-serif); font-size: 48px; line-height: 1; color: rgba(214, 59, 67, .4); }
.ksc-ccard { display: block; height: 100%; padding: 24px; }
.ksc-ccard h3 { margin-top: 20px; font-family: var(--ksc-font-sans); font-size: 18px; line-height: 28px; font-weight: 600; transition: color .25s; }
.ksc-ccard:hover h3 { color: var(--ksc-coral); }
.ksc-ccard p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-xcard { padding: 24px; }
.ksc-xcard__when { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-coral); }
.ksc-xcard h3 { margin-top: 8px; font-family: var(--ksc-font-sans); font-size: 18px; line-height: 28px; font-weight: 600; }
.ksc-xcard__role { font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-xcard__sum { margin-top: 12px; font-size: 14px; line-height: 20px; }
.ksc-pr { padding: 24px; }
.ksc-pr h3 { font-family: var(--ksc-font-sans); font-size: 16px; line-height: 24px; font-weight: 600; }
.ksc-pr p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-step { position: relative; border: 1px solid var(--ksc-line); border-radius: var(--ksc-radius-card); background: #fff; padding: 24px; }
.ksc-step__n { display: block; font-family: var(--ksc-font-serif); font-size: 48px; line-height: 1; color: rgba(214, 59, 67, .3); }
.ksc-step h3 { margin-top: 8px; font-family: var(--ksc-font-sans); font-size: 18px; line-height: 28px; font-weight: 600; }
.ksc-step p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }

/* ---------- Explorer (portfolio + blog filters) ---------- */
.ksc-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ksc-filter { border: 1px solid var(--ksc-line); background: #fff; color: var(--ksc-burgundy); border-radius: 9999px; padding: 8px 16px; font-size: 14px; line-height: 20px; font-weight: 500; transition: border-color .15s, color .15s, background-color .15s; }
.ksc-filter:hover { border-color: var(--ksc-coral); color: var(--ksc-coral); }
.ksc-filter[aria-pressed="true"] { border-color: var(--ksc-coral); background: var(--ksc-coral); color: #fff; }
.ksc-status { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-explorer .ksc-grid { margin-top: 24px; }
.ksc-empty { margin-top: 24px; padding: 40px; text-align: center; color: var(--ksc-ink-soft); }
.ksc-bar { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .ksc-bar { flex-direction: row; align-items: center; justify-content: space-between; } }
.ksc-search { position: relative; width: 100%; }
@media (min-width: 768px) { .ksc-search { max-width: 24rem; } }
.ksc-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ksc-ink-soft); pointer-events: none; }
.ksc-search input { padding-left: 44px; }
.ksc-more { margin-top: 40px; text-align: center; }
.ksc-cell[hidden] { display: none; }

/* ---------- Single project ---------- */
.ksc-proj { display: grid; gap: 48px; }
@media (min-width: 1024px) { .ksc-proj { grid-template-columns: 1fr 20rem; } }
.ksc-proj h3 { font-family: var(--ksc-font-sans); font-size: 20px; line-height: 28px; font-weight: 600; }
.ksc-proj__blk { margin-top: 32px; }
.ksc-proj__blk p { margin-top: 8px; color: var(--ksc-ink-soft); }
.ksc-proj__blk ul { margin-top: 8px; padding-left: 20px; list-style: disc; color: var(--ksc-ink-soft); }
.ksc-proj__blk li + li { margin-top: 4px; }
.ksc-proj__aside { align-self: start; padding: 24px; }
.ksc-proj__aside dl { display: grid; gap: 16px; font-size: 14px; line-height: 20px; }
.ksc-proj__aside dt { font-weight: 600; color: var(--ksc-burgundy); }
.ksc-proj__aside dd { margin: 0; color: var(--ksc-ink-soft); }
.ksc-proj__aside dd.ksc-chip-list { margin-top: 6px; }
.ksc-proj__aside .ksc-btn { margin-top: 24px; width: 100%; }
.ksc-gal { display: grid; gap: 24px; }
@media (min-width: 640px) { .ksc-gal--2 { grid-template-columns: repeat(2, 1fr); } }
.ksc-gal li { overflow: hidden; border: 1px solid var(--ksc-line); border-radius: var(--ksc-radius-card); background: #fff; box-shadow: var(--ksc-shadow-card); }
@media (min-width: 640px) { .ksc-gal li.ksc-span2 { grid-column: span 2; } }
.ksc-gal img { display: block; width: 100%; height: auto; }
.ksc-gal img.ksc-narrow { margin-inline: auto; max-width: 420px; }
.ksc-pager { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 20px; font-weight: 600; }
.ksc-pager a { display: inline-flex; align-items: center; gap: 8px; }
.ksc-pager a:hover { color: var(--ksc-coral); }
.ksc-pager a:last-child { text-align: right; }
.ksc-pager svg { width: 16px; height: 16px; }

/* ---------- Single post ---------- */
.ksc-post-meta { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-post-figure { margin: 0 0 40px; }
.ksc-post-figure img { display: block; width: 100%; height: auto; border-radius: var(--ksc-radius-card); }
.ksc-post-figure figcaption { margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--ksc-ink-soft); }
.ksc-toc { margin-bottom: 40px; padding: 20px; }
.ksc-toc h2 { font-family: var(--ksc-font-sans); font-size: 14px; line-height: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ksc-toc ol { margin-top: 12px; display: grid; gap: 6px; font-size: 14px; line-height: 20px; list-style: decimal; padding-left: 20px; }
.ksc-toc li.l3 { padding-left: 16px; }
.ksc-toc a:hover { color: var(--ksc-coral); }
.ksc-prose { font-size: 1.0625rem; line-height: 2rem; color: var(--ksc-ink); }
.ksc-prose h2 { margin: 48px 0 16px; font-family: var(--ksc-font-serif); font-size: 30px; line-height: 36px; font-weight: 500; }
.ksc-prose h3 { margin: 32px 0 12px; font-family: var(--ksc-font-sans); font-size: 20px; line-height: 28px; font-weight: 600; }
.ksc-prose p { margin: 20px 0; }
.ksc-prose ul { margin: 20px 0; padding-left: 24px; list-style: disc; }
.ksc-prose ol { margin: 20px 0; padding-left: 24px; list-style: decimal; }
.ksc-prose a { color: var(--ksc-coral); text-decoration: underline; text-underline-offset: 4px; }
.ksc-prose blockquote { margin: 24px 0; padding-left: 20px; border-left: 4px solid var(--ksc-coral); font-family: var(--ksc-font-serif); font-size: 20px; line-height: 28px; font-style: italic; color: var(--ksc-burgundy); }
.ksc-prose img { margin: 24px 0; border-radius: 16px; height: auto; }
.ksc-prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; line-height: 24px; }
.ksc-prose th, .ksc-prose td { border: 1px solid var(--ksc-line); padding: 8px 12px; text-align: left; }
.ksc-prose code { background: var(--ksc-blush); border-radius: 6px; padding: 2px 6px; font-size: .9em; }
.ksc-faq { margin-top: 48px; }
.ksc-faq > h2 { font-family: var(--ksc-font-serif); font-size: 30px; line-height: 36px; font-weight: 500; }
.ksc-faq__list { margin-top: 20px; overflow: hidden; border: 1px solid var(--ksc-line); border-radius: var(--ksc-radius-card); background: #fff; }
.ksc-faq details { padding: 20px; }
.ksc-faq details + details { border-top: 1px solid var(--ksc-line); }
.ksc-faq details[open] { background: rgba(248, 239, 241, .5); }
.ksc-faq summary { display: flex; cursor: pointer; list-style: none; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; color: var(--ksc-burgundy); }
.ksc-faq summary::-webkit-details-marker { display: none; }
.ksc-faq summary i { display: grid; width: 28px; height: 28px; flex: none; place-items: center; border-radius: 9999px; background: var(--ksc-coral-light); font-style: normal; font-size: 18px; line-height: 1; color: var(--ksc-coral); transition: transform .2s; }
.ksc-faq details[open] summary i { transform: rotate(45deg); }
.ksc-faq details p { margin-top: 12px; line-height: 28px; color: var(--ksc-ink-soft); }
.ksc-share { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border-top: 1px solid var(--ksc-line); padding-top: 24px; font-size: 14px; line-height: 20px; }
.ksc-share b { font-weight: 600; }
.ksc-share a.ksc-chip:hover { background: var(--ksc-coral); color: #fff; }
.ksc-postnav { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 640px) { .ksc-postnav { grid-template-columns: 1fr 1fr; } }
.ksc-postnav a { display: block; padding: 16px; font-size: 14px; line-height: 20px; }
.ksc-postnav a span { color: var(--ksc-ink-soft); }
.ksc-postnav a:last-child { text-align: right; }

/* ---------- Gallery shortcode (from the foundation plugin) ---------- */
.ksc-gallery { display: grid; gap: 1.25rem; }
.ksc-cols-1 { grid-template-columns: 1fr; } .ksc-cols-2 { grid-template-columns: repeat(2, 1fr); } .ksc-cols-3 { grid-template-columns: repeat(3, 1fr); } .ksc-cols-4 { grid-template-columns: repeat(4, 1fr); }
.ksc-gallery-item { margin: 0; overflow: hidden; border-radius: 1.25rem; border: 1px solid var(--ksc-line); background: #fff; }
.ksc-gallery-item img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .ksc-cols-3, .ksc-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ksc-gallery { grid-template-columns: 1fr; } }

/* ---------- Additions: post heading cap, preview/gallery spacing, slide viewer ---------- */
body .ksc-main { outline: none; }
.ksc-h-display.ksc-h-display--post { font-size: 36px; line-height: 1.08; }
@media (min-width: 640px) { .ksc-h-display.ksc-h-display--post { font-size: 48px; line-height: 1; } }
body .ksc-section--preview, body .ksc-section--gallery { padding-bottom: 64px; }
.ksc-proj__desc { margin-top: 16px; }
.ksc-proj__desc p + p { margin-top: 16px; }
.ksc-slides { outline: none; }
.ksc-slides:focus-visible { box-shadow: 0 0 0 2px var(--ksc-coral); border-radius: var(--ksc-radius-card); }
.ksc-slides__stage { position: relative; overflow: hidden; border: 1px solid var(--ksc-line); border-radius: var(--ksc-radius-card); background: #fff; box-shadow: var(--ksc-shadow-card); }
.ksc-slides__slide img { display: block; width: 100%; height: auto; }
.ksc-slides__nav { position: absolute; top: 50%; display: grid; width: 44px; height: 44px; transform: translateY(-50%); place-items: center; border: 0; border-radius: 9999px; background: rgba(255, 255, 255, .9); color: var(--ksc-burgundy); box-shadow: var(--ksc-shadow-lift); transition: background-color .25s, color .25s; }
.ksc-slides__nav:hover { background: var(--ksc-coral); color: #fff; }
.ksc-slides__nav--prev { left: 12px; }
.ksc-slides__nav--next { right: 12px; }
.ksc-slides__count { position: absolute; bottom: 12px; right: 12px; border-radius: 9999px; background: rgba(41, 21, 29, .8); padding: 4px 12px; font-size: 12px; line-height: 16px; font-weight: 600; color: #fff; }
.ksc-slides__thumbs { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 640px) { .ksc-slides__thumbs { grid-template-columns: repeat(6, 1fr); } }
.ksc-slides__thumbs button { display: block; width: 100%; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 8px; background: transparent; opacity: .7; transition: opacity .25s, border-color .25s; }
.ksc-slides__thumbs button:hover { opacity: 1; }
.ksc-slides__thumbs button[aria-current="true"] { border-color: var(--ksc-coral); opacity: 1; }
.ksc-slides__thumbs img { display: block; width: 100%; height: auto; }
.ksc-slides__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }

/* =====================================================================================================
 * Elementor compatibility layer
 * Pages are built from Elementor containers and widgets that carry the ksc-* classes above. Elementor's own
 * container/widget defaults are neutralised here so the original design's measurements apply.
 * ===================================================================================================== */
body .e-con[class*="ksc-"] { --display: block; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; }
body .e-con[class*="ksc-"] { display: block; }
body .elementor-widget-heading[class*="ksc-"] .elementor-heading-title { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; line-height: inherit; margin: 0; padding: 0; }
body .elementor-widget-text-editor[class*="ksc-"] { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; line-height: inherit; }
body .elementor-widget-heading[class*="ksc-"] a { color: inherit; }
body .e-con.ksc-container, body .e-con.ksc-section { width: 100%; }
body .e-con .ksc-full, body .elementor-widget-shortcode.ksc-full { width: 100%; max-width: none; }
.ksc-grid > .e-con, .ksc-grid > .elementor-widget { min-width: 0; }
body .elementor-widget-image[class*="ksc-"] img { border-radius: 0; }

/* spacing utilities (applied to widget roots / containers) */
.ksc-mt-1 { margin-top: 4px !important; } .ksc-mt-2 { margin-top: 8px !important; } .ksc-mt-3 { margin-top: 12px !important; } .ksc-mt-4 { margin-top: 16px !important; } .ksc-mt-5 { margin-top: 20px !important; }
.ksc-mt-6 { margin-top: 24px !important; } .ksc-mt-8 { margin-top: 32px !important; } .ksc-mt-10 { margin-top: 40px !important; } .ksc-mt-12 { margin-top: 48px !important; } .ksc-mt-16 { margin-top: 64px !important; }
.ksc-mb-2 { margin-bottom: 8px; } .ksc-mb-4 { margin-bottom: 16px; } .ksc-mb-6 { margin-bottom: 24px; } .ksc-mb-8 { margin-bottom: 32px; }
body .e-con.ksc-head-row { display: flex; flex-direction: row; }
body .e-con.ksc-head-center { display: block; }

/* inline-level text boxes (the original uses inline-flex paragraphs) */
body .elementor-widget.ksc-badge, body .elementor-widget.ksc-eyebrow, body .elementor-widget.ksc-avail__pill { display: inline-flex; width: auto; }
.ksc-badge--dot::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 9999px; background: #10b981; animation: ksc-ping-ring 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ksc-ping-ring { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } 75%, 100% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } }

/* ---------- Home: hero ---------- */
body .e-con.ksc-hero { display: block; position: relative; overflow: hidden; }
body .elementor-widget.ksc-hero__decor { position: absolute; inset: 0; pointer-events: none; }
body .e-con.ksc-hero__grid { display: grid; position: relative; }
body .e-con.ksc-hero__text { display: block; }
.ksc-hero__tag { max-width: 36rem; margin-top: 20px; font-family: var(--ksc-font-serif); font-size: 20px; line-height: 28px; font-style: italic; color: rgba(41, 21, 29, .8); }
.ksc-hero__lead { max-width: 36rem; margin-top: 20px; }
body .e-con.ksc-hero__btns { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { body .e-con.ksc-hero__btns { flex-direction: row; flex-wrap: wrap; } }
body .e-con.ksc-hero__art { display: flex; position: relative; }
body .elementor-widget.ksc-hero__discs { position: absolute; inset: 0; pointer-events: none; }
body .elementor-widget.ksc-hero__img { position: relative; z-index: 10; width: auto; }
body .e-con.ksc-hero__float { position: absolute; display: none; }
@media (min-width: 640px) { body .e-con.ksc-hero__float { display: block; } }
.ksc-hero__float-k { font-size: 12px; line-height: 16px; color: var(--ksc-ink-soft); }
.ksc-hero__float-v { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-burgundy); }
body .elementor-widget.ksc-hero__pills-w { position: static; width: auto; }

/* ---------- Home: carousel ---------- */
body .e-con.ksc-carousel-sec { padding: 48px 0 64px; }
@media (min-width: 768px) { body .e-con.ksc-carousel-sec { padding: 64px 0 96px; } }
body .e-con.ksc-carousel { display: block; position: relative; overflow: hidden; border-radius: 2rem; background: var(--ksc-burgundy); box-shadow: var(--ksc-shadow-lift); }
body .e-con.ksc-carousel__track { display: flex; flex-direction: row; transition: transform .7s ease-out; }
body .e-con.ksc-slide { display: block; position: relative; flex: none; width: 100%; aspect-ratio: 4 / 5; }
@media (min-width: 640px) { body .e-con.ksc-slide { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { body .e-con.ksc-slide { aspect-ratio: 21 / 9; } }
body .elementor-widget.ksc-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; }
body .elementor-widget-image.ksc-slide__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
body .e-con.ksc-slide__shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--ksc-burgundy), rgba(41, 21, 29, .45), transparent); }
@media (min-width: 640px) { body .e-con.ksc-slide__shade { background: linear-gradient(to right, var(--ksc-burgundy), rgba(41, 21, 29, .6), transparent); } }
body .e-con.ksc-slide__body { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 24px; }
@media (min-width: 640px) { body .e-con.ksc-slide__body { align-items: center; padding: 48px; } }
@media (min-width: 1024px) { body .e-con.ksc-slide__body { padding: 64px; } }
body .e-con.ksc-slide__copy { display: block; max-width: 32rem; }
.ksc-slide__label { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: #ff9ea3; }
.ksc-slide__title { margin-top: 8px; font-family: var(--ksc-font-serif); font-size: 30px; line-height: 36px; font-weight: 500; letter-spacing: -.02em; color: #fff; }
@media (min-width: 640px) { .ksc-slide__title { font-size: 36px; line-height: 40px; } }
.ksc-slide__text { margin-top: 12px; color: rgba(255, 255, 255, .8); }
.ksc-slide__copy .ksc-bw { margin-top: 24px; }
.ksc-carousel__ctrl { z-index: 5; }
.ksc-carousel__dots { z-index: 5; }
.ksc-carousel-sec .ksc-carousel-note { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--ksc-ink-soft); }

/* ---------- Home: section heads and cards ---------- */
body .e-con.ksc-head-row__text { display: block; }
body .e-con.ksc-split { display: grid; }
body .e-con.ksc-split__text { display: block; }
body .e-con.ksc-grid { display: grid; }
body .e-con.ksc-card { display: block; }
body .e-con.ksc-ccard { display: block; position: relative; padding: 24px; height: 100%; }
body .elementor-widget.ksc-ccard__icon { display: block; }
.ksc-ccard__title { margin-top: 20px; font-family: var(--ksc-font-sans); font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--ksc-burgundy); transition: color .25s; }
.ksc-ccard__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--ksc-radius-card); }
.ksc-ccard:hover .ksc-ccard__title { color: var(--ksc-coral); }
.ksc-ccard__text { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
body .e-con.ksc-xcard { display: block; padding: 24px; }
.ksc-xcard__when { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-coral); }
.ksc-xcard__co { margin-top: 8px; font-family: var(--ksc-font-sans); font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--ksc-burgundy); }
.ksc-xcard__role { font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-xcard__sum { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--ksc-ink); }
body .e-con.ksc-pr { display: block; padding: 24px; }
.ksc-pr__t { font-family: var(--ksc-font-sans); font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--ksc-burgundy); }
.ksc-pr__d { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
body .e-con.ksc-step { display: block; padding: 24px; }
.ksc-step__n { font-family: var(--ksc-font-serif); font-size: 48px; line-height: 1; color: rgba(214, 59, 67, .3); }
.ksc-step__t { margin-top: 8px; font-family: var(--ksc-font-sans); font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--ksc-burgundy); }
.ksc-step__p { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-stagger-p > :nth-child(2n+2) { --d: 80ms; }
.ksc-stagger-p > :nth-child(2n+3) { --d: 160ms; }

/* ---------- Home: dark panels ---------- */
body .e-con.ksc-panel { display: block; position: relative; overflow: hidden; padding: 56px 24px; }
@media (min-width: 640px) { body .e-con.ksc-panel { padding-inline: 48px; } }
@media (min-width: 768px) { body .e-con.ksc-panel { padding-block: 80px; } }
body .elementor-widget.ksc-panel__decor { position: absolute; inset: 0; pointer-events: none; }
body .e-con.ksc-panel__inner { display: block; position: relative; max-width: 42rem; margin-inline: auto; }
body .e-con.ksc-panel__btns { display: flex; flex-direction: column; justify-content: center; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { body .e-con.ksc-panel__btns { flex-direction: row; } }
body .e-con.ksc-avail { display: grid; position: relative; }
body .e-con.ksc-avail__main { display: block; }
.ksc-avail__pill { border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .1); border-radius: 9999px; padding: 6px 16px; gap: 8px; align-items: center; font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; }
.ksc-avail__pill::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 9999px; background: #34d399; animation: ksc-ping-ring 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
.ksc-avail__h2 { margin-top: 24px; font-family: var(--ksc-font-serif); font-size: 36px; font-weight: 500; line-height: 1.08; letter-spacing: -.02em; color: #fff; }
@media (min-width: 640px) { .ksc-avail__h2 { font-size: 48px; line-height: 1; } }
.ksc-avail__lead { margin-top: 20px; max-width: 36rem; font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, .75); }
body .e-con.ksc-avail__btns { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { body .e-con.ksc-avail__btns { flex-direction: row; } }
body .elementor-widget.ksc-avail__globe { display: none; }
@media (min-width: 1024px) { body .elementor-widget.ksc-avail__globe { display: block; } }

/* ---------- fixes round 2 ---------- */
body .elementor-widget-image.ksc-hero__img img { position: relative; width: auto; max-width: none; height: 31rem; object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 30px rgba(41, 21, 29, .25)); }
@media (min-width: 640px) { body .elementor-widget-image.ksc-hero__img img { height: 37rem; } }
@media (min-width: 1024px) { body .elementor-widget-image.ksc-hero__img img { height: 44rem; } }

/* ---------- fixes round 3 ---------- */
body .e-con.ksc-slide__body { justify-content: flex-start; }
body .e-con.ksc-head-row > .e-con { width: auto; }

/* =====================================================================================================
 * Inner pages (about, experience, skills & tools, certifications, hire, contact, resources, portfolio, legal)
 * ===================================================================================================== */
body .e-con.ksc-pagehero { display: block; position: relative; overflow: hidden; }
body .elementor-widget.ksc-pagehero__decor { position: absolute; inset: 0; pointer-events: none; }
body .e-con.ksc-pagehero .ksc-container { position: relative; padding-block: 56px; }
@media (min-width: 768px) { body .e-con.ksc-pagehero .ksc-container { padding-block: 80px; } }
body .e-con.ksc-container--3xl { max-width: 48rem; }
body .e-con.ksc-container--4xl, body .ksc-container--4xl { max-width: 56rem; }
body .e-con.ksc-container--xl { max-width: 36rem; }
.ksc-text-left { text-align: left; }
.ksc-pagehero .ksc-eyebrow { margin-bottom: 16px; }
.ksc-pagehero__title { max-width: 48rem; }
.ksc-pagehero__intro { max-width: 42rem; margin-top: 20px; }
body .e-con.ksc-btnrow, body .e-con.ksc-hire-actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
body .e-con.ksc-btnrow > *, body .e-con.ksc-hire-actions > * { width: auto; }
body .e-con.ksc-pagehero__extra { display: block; }

/* text links (underlined coral) */
.ksc-textlink a, .ksc-links a { color: var(--ksc-coral); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ksc-textlink p, .ksc-textlink { font-weight: 600; }

/* two-column layouts and stacks */
body .e-con.ksc-about { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { body .e-con.ksc-about { grid-template-columns: .8fr 1.2fr; } }
body .e-con.ksc-about__photo { display: block; width: 100%; max-width: 24rem; margin-inline: auto; overflow: hidden; border-radius: 2rem; box-shadow: var(--ksc-shadow-lift); }
.ksc-about__img img { display: block; width: 100%; height: auto; }
body .e-con.ksc-about__copy { display: block; }
body .e-con.ksc-two { display: grid; gap: 48px; }
body .e-con.ksc-two--gap10 { gap: 40px; }
@media (min-width: 1024px) { body .e-con.ksc-two { grid-template-columns: 1fr 1fr; } }
body .e-con.ksc-two__col { display: block; min-width: 0; }
body .e-con.ksc-stack { display: grid; gap: 16px; }
body .e-con.ksc-pr--sm { padding: 20px; }
.ksc-pr__t--lg { font-size: 18px; line-height: 28px; }
body .e-con.ksc-timeline { display: grid; gap: 20px; border-left: 2px solid rgba(214, 59, 67, .3); padding-left: 24px; }
body .e-con.ksc-tl { display: block; position: relative; }
body .e-con.ksc-tl::before { content: ""; position: absolute; left: -31px; top: 6px; width: 12px; height: 12px; border-radius: 9999px; background: var(--ksc-coral); }
.ksc-tl__when { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-coral); }
.ksc-tl__co { font-weight: 600; color: var(--ksc-ink); }
.ksc-tl__role { font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }

/* experience */
body .e-con.ksc-role-list { display: grid; gap: 32px; border-left: 2px solid rgba(214, 59, 67, .3); padding-left: 24px; }
@media (min-width: 640px) { body .e-con.ksc-role-list { padding-left: 40px; } }
body .e-con.ksc-role { display: block; position: relative; }
body .e-con.ksc-role::before { content: ""; position: absolute; left: -30px; top: 28px; width: 14px; height: 14px; border-radius: 9999px; border: 2px solid #fff; background: var(--ksc-coral); box-sizing: border-box; }
@media (min-width: 640px) { body .e-con.ksc-role::before { left: -42px; } }
body .e-con.ksc-role__card { display: block; padding: 24px; }
@media (min-width: 640px) { body .e-con.ksc-role__card { padding: 32px; } }
.ksc-role__title { margin-top: 4px; font-family: var(--ksc-font-sans); font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -.02em; color: var(--ksc-burgundy); }
.ksc-role__co { font-weight: 500; color: var(--ksc-burgundy); }
.ksc-role__loc { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-role__loc svg { width: 14px; height: 14px; flex: none; }
.ksc-bullets { margin-top: 20px; display: grid; gap: 8px; padding-left: 20px; list-style: disc; color: var(--ksc-ink-soft); }
.ksc-bullets li::marker { color: var(--ksc-coral); }
.ksc-role__points { margin-top: 0; }
.ksc-pills { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.ksc-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 9999px; background: var(--ksc-coral-light); padding: 4px 12px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-coral-dark); }
.ksc-pill svg { width: 14px; height: 14px; }
.ksc-role__focus .ksc-chip-list, .ksc-role__focus { margin-top: 20px; }
.ksc-edu-h { display: flex; align-items: center; gap: 12px; margin-top: 64px; }
.ksc-edu-h svg { color: var(--ksc-coral); }
.ksc-edu-head { margin-top: 0; }
body .e-con.ksc-grid--edu { gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { body .e-con.ksc-grid--edu { grid-template-columns: repeat(2, 1fr); } }
.ksc-edu__detail { margin-top: 4px; font-weight: 600; color: var(--ksc-ink); }

/* skills & tools */
body .e-con.ksc-grid--tools { gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { body .e-con.ksc-grid--tools { grid-template-columns: repeat(2, 1fr); } }
body .e-con.ksc-grid--skills { gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { body .e-con.ksc-grid--skills { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { body .e-con.ksc-grid--skills { grid-template-columns: repeat(3, 1fr); } }
.ksc-ccard__title--plain { margin-top: 0; }
.ksc-toolpills { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.ksc-toolpill { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ksc-line); border-radius: 9999px; background: #fff; padding: 6px 16px 6px 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ksc-burgundy); box-shadow: var(--ksc-shadow-card); transition: transform .25s, border-color .25s; }
.ksc-toolpill:hover { transform: translateY(-2px); border-color: rgba(214, 59, 67, .4); }
.ksc-toolpill img { width: 22px; height: 22px; object-fit: contain; }
.ksc-toolpill__ph { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; background: var(--ksc-coral-light); font-size: 11px; font-weight: 700; color: var(--ksc-coral); }
.ksc-notes { display: grid; gap: 8px; color: var(--ksc-ink-soft); }
.ksc-skill__t { font-family: var(--ksc-font-sans); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--ksc-burgundy); }
body .e-con.ksc-section--pb-sm { padding: 0 0 16px; }
body .e-con.ksc-bar-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; }
.ksc-bar-card__t { font-family: var(--ksc-font-serif); font-size: 20px; line-height: 28px; color: var(--ksc-burgundy); }

/* certifications */
body .e-con.ksc-cert { display: flex; flex-direction: column; overflow: hidden; }
body .elementor-widget.ksc-cert__img { position: relative; display: block; background: var(--ksc-blush); }
.ksc-cert__img img { display: block; width: 100%; height: auto; }
.ksc-cert__img a { display: block; }
.ksc-cert__img::after { content: ""; position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 9999px; opacity: 0; box-shadow: var(--ksc-shadow-card); transition: opacity .25s; background: rgba(255, 255, 255, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2329151D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' x2='16.65' y1='21' y2='16.65'/%3E%3Cline x1='11' x2='11' y1='8' y2='14'/%3E%3Cline x1='8' x2='14' y1='11' y2='11'/%3E%3C/svg%3E") center / 16px no-repeat; pointer-events: none; }
.ksc-cert:hover .ksc-cert__img::after { opacity: 1; }
body .e-con.ksc-cert__body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.ksc-cert__t { margin-top: 8px; font-family: var(--ksc-font-sans); font-size: 18px; line-height: 1.375; font-weight: 600; letter-spacing: -.02em; color: var(--ksc-burgundy); }
.ksc-cert__s { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-cert__id { margin-top: 8px; font-size: 12px; line-height: 16px; word-break: break-all; color: var(--ksc-ink-soft); }
.ksc-cert__verify { margin-top: auto; padding-top: 16px; }
.ksc-cert__verify a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-coral); }
.ksc-cert__verify svg { width: 14px; height: 14px; }
.ksc-explorer-bar .ksc-status { margin-top: 20px; }

/* hire */
.ksc-links { display: grid; gap: 12px; }
.ksc-contactlist { display: grid; gap: 12px; font-size: 14px; line-height: 20px; }
.ksc-contactlist a { display: inline-flex; align-items: center; gap: 8px; }
.ksc-contactlist a:hover { color: var(--ksc-coral); }
.ksc-contactlist svg { width: 16px; height: 16px; }
body .e-con.ksc-stack--4 { gap: 16px; }
.ksc-faqw .ksc-faq__list { margin-top: 0; }

/* contact */
body .e-con.ksc-grid--info { display: grid; gap: 20px; max-width: 56rem; margin-inline: auto; grid-template-columns: 1fr; }
@media (min-width: 640px) { body .e-con.ksc-grid--info { grid-template-columns: repeat(3, 1fr); } }
body .e-con.ksc-infocard { display: block; position: relative; padding: 24px; text-align: center; height: 100%; }
.ksc-icon-tile--c { margin-inline: auto; }
.ksc-infocard__t { margin-top: 16px; word-break: break-word; font-family: var(--ksc-font-serif); font-size: 18px; line-height: 28px; color: var(--ksc-burgundy); }
.ksc-infocard__t a::after { content: ""; position: absolute; inset: 0; border-radius: var(--ksc-radius-card); }
.ksc-infocard__s { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
body .e-con.ksc-contact-grid { display: grid; align-items: start; gap: 40px; }
@media (min-width: 1024px) { body .e-con.ksc-contact-grid { grid-template-columns: 1.5fr 1fr; } }
body .e-con.ksc-contact-grid__form, body .e-con.ksc-contact-grid__aside { display: block; min-width: 0; }
@media (min-width: 1024px) { body .e-con.ksc-contact-grid__aside { padding-top: 56px; } }
.ksc-bullets-plain ul { display: grid; gap: 8px; color: var(--ksc-ink-soft); }
.ksc-chip--btn { padding: 8px 16px; font-size: 14px; line-height: 20px; }
.ksc-chip--btn:hover { background: var(--ksc-coral); color: #fff; }
.ksc-chip-list--gap3 { gap: 12px; }

/* resources */
body .e-con.ksc-grid--tpl { gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { body .e-con.ksc-grid--tpl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { body .e-con.ksc-grid--tpl { grid-template-columns: repeat(4, 1fr); } }
body .e-con.ksc-tpl { display: flex; flex-direction: column; padding: 24px; }
.ksc-tpl__type { margin-top: 16px; font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ksc-coral); }
.ksc-tpl__t { margin-top: 4px; font-family: var(--ksc-font-sans); font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--ksc-burgundy); }
.ksc-tpl__d { margin-top: 8px; flex: 1; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-tpl__dl { margin-top: 20px; }
.ksc-tpl__dl a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-coral); }
.ksc-tpl__dl svg { width: 16px; height: 16px; }
body .e-con.ksc-head-row--plain { margin-bottom: 0; }
.ksc-grid--guides { gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ksc-grid--guides { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ksc-grid--guides { grid-template-columns: repeat(3, 1fr); } }
.ksc-guide-list { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.ksc-guide-list a { color: var(--ksc-burgundy); }
.ksc-guide-list a:hover { color: var(--ksc-coral); }
.ksc-grid--duo { gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ksc-grid--duo { grid-template-columns: repeat(2, 1fr); } }
.ksc-casecard { display: block; height: 100%; padding: 24px; }
.ksc-casecard h3 { margin-top: 8px; font-family: var(--ksc-font-sans); font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; }
.ksc-casecard p:last-child { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }

/* portfolio + legal */
.ksc-browse__t { font-family: var(--ksc-font-sans); font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; color: var(--ksc-burgundy); }
.ksc-small { font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
body .elementor-widget-text-editor.ksc-prose { font-size: 1.0625rem; line-height: 2rem; color: var(--ksc-ink); }
.ksc-prose strong { font-weight: 700; }

/* ---------- fixes round 5 ---------- */
body .e-con.ksc-slide__body { flex-direction: row; }
body .e-con.ksc-hero__art { flex-direction: row; }
body .e-con.ksc-bar-card { flex-direction: row; }

/* ---------- fixes round 6: max-width on widget roots must beat Elementor's ".e-con > .elementor-widget { max-width: 100% }" ---------- */
.ksc-hero__tag, .ksc-hero__lead, .ksc-avail__lead { max-width: 36rem !important; }
.ksc-pagehero__intro, .ksc-max-w-2xl { max-width: 42rem !important; }
.ksc-pagehero__title { max-width: 48rem !important; }

/* ---------- fixes round 7 ---------- */
.ksc-mb-5 { margin-bottom: 20px; }
body .e-con.ksc-hero__float { width: auto; }

/* ---------- fixes round 8 (mobile) ---------- */
body .e-con.ksc-carousel__track { flex-wrap: nowrap; }
@media (max-width: 639px) {
	body .e-con.ksc-hero__btns .ksc-btn, body .e-con.ksc-avail__btns .ksc-btn, body .e-con.ksc-panel__btns .ksc-btn { display: flex; width: 100%; }
}

/* ---------- fixes round 9: bottom margins on widget roots must beat ".elementor-widget:not(:last-child) { margin-block-end }" ---------- */
body .elementor-widget.ksc-mb-2 { margin-bottom: 8px; }
body .elementor-widget.ksc-mb-4 { margin-bottom: 16px; }
body .elementor-widget.ksc-mb-5 { margin-bottom: 20px; }
body .elementor-widget.ksc-mb-6 { margin-bottom: 24px; }
body .elementor-widget.ksc-mb-8 { margin-bottom: 32px; }
body .ksc-pagehero .elementor-widget.ksc-eyebrow { margin-bottom: 16px; }

/* ---------- fixes round 10: the Kit's widget-spacing rule is more specific than a single utility class, so bottom margins use !important ---------- */
.ksc-mb-2 { margin-bottom: 8px !important; } .ksc-mb-4 { margin-bottom: 16px !important; } .ksc-mb-5 { margin-bottom: 20px !important; }
.ksc-mb-6 { margin-bottom: 24px !important; } .ksc-mb-8 { margin-bottom: 32px !important; } .ksc-mb-10 { margin-bottom: 40px !important; }
body .ksc-pagehero .elementor-widget.ksc-eyebrow { margin-bottom: 16px !important; }

/* ---------- fixes round 12 ---------- */
.ksc-faq--embedded { margin-top: 0; }
body .ksc-faqw .ksc-faq--embedded .ksc-faq__list { margin-top: 0; }

/* ---------- fixes round 13: tight headers (single project / article) ---------- */
.ksc-pagehero--post .ksc-eyebrow { margin-bottom: 0; }

/* =====================================================================================================
 * Fluent Forms (contact + newsletter) styled to the original site's form components
 * ===================================================================================================== */
body .ksc-form .fluentform, body .ksc-form form.frm-fluent-form { font-family: var(--ksc-font-sans); color: var(--ksc-ink); }
body .ksc-form fieldset { display: grid; gap: 20px; margin: 0; padding: 0; border: 0; }
body .ksc-form .ff_screen_reader_title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
body .ksc-form .ff-el-group { margin: 0; }
body .ksc-form .ff-el-input--label { margin: 0 0 6px; }
body .ksc-form .ff-el-input--label label { display: block; margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ksc-burgundy); }
body .ksc-form .ff-el-form-control { box-sizing: border-box; width: 100%; min-height: 48px; border: 1px solid var(--ksc-line); border-radius: 12px; background: #fff; padding: 0 16px; font-family: var(--ksc-font-sans); font-size: 16px; line-height: 1.5; color: var(--ksc-ink); box-shadow: none; transition: border-color .15s; }
body .ksc-form textarea.ff-el-form-control { padding: 12px 16px; min-height: 0; resize: vertical; }
body .ksc-form .ff-el-form-control::placeholder { color: rgba(106, 95, 101, .7); }
body .ksc-form .ff-el-form-control:focus { border-color: var(--ksc-coral); outline: none; box-shadow: none; background: #fff; }
body .ksc-form select.ff-el-form-control { appearance: auto; }
body .ksc-form .ff-el-is-error .ff-el-form-control { border-color: var(--ksc-coral-dark); }
body .ksc-form .error.text-danger, body .ksc-form .ff-el-is-error .text-danger { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--ksc-coral-dark); }
body .ksc-form .ff_tc_checkbox, body .ksc-form .ff-el-tc { margin: 0; }
body .ksc-form .ff-el-tc label, body .ksc-form .ff_t_c { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ksc-ink-soft); }
body .ksc-form .ff_t_c p { margin: 0; }
body .ksc-form .ff-el-tc input[type="checkbox"] { flex: none; width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--ksc-coral); }
body .ksc-form .ff-el-tc a, body .ksc-form .ff_t_c a { color: var(--ksc-coral); text-decoration: underline; }
body .ksc-form .ff_submit_btn_wrapper { margin: 0; }
body .ksc-form .ff-btn-submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 24px; border: 0; border-radius: 9999px; background: var(--ksc-coral); color: #fff; font-family: var(--ksc-font-sans); font-size: 14px; line-height: 20px; font-weight: 600; box-shadow: none; transition: background-color .25s, transform .25s, box-shadow .25s; cursor: pointer; }
@media (min-width: 640px) { body .ksc-form--contact .ff-btn-submit { width: auto; } }
body .ksc-form .ff-btn-submit:hover { background: var(--ksc-coral-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(214, 59, 67, .55); opacity: 1; }
body .ksc-form .ff-message-success { border: 0; box-shadow: none; padding: 0; margin: 0; background: transparent; color: inherit; }
body .ksc-form--contact .ff-message-success, body .ksc-form--contact .ff-message-success { background: #fff; border: 1px solid var(--ksc-line); border-radius: var(--ksc-radius-card); box-shadow: var(--ksc-shadow-card); padding: 32px; text-align: center; }
body .ksc-form--contact .ff-message-success h2 { font-family: var(--ksc-font-serif); font-size: 24px; line-height: 32px; font-weight: 500; color: var(--ksc-burgundy); }
body .ksc-form--contact .ff-message-success p { margin-top: 8px; color: var(--ksc-ink-soft); }
body .ksc-form .ff-errors-in-stack, body .ksc-form .ff_form_instance_error { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ksc-coral-dark); }

/* contact: white card, two columns from 640px */
body .ksc-form--contact { background: #fff; border: 1px solid var(--ksc-line); border-radius: var(--ksc-radius-card); box-shadow: var(--ksc-shadow-card); padding: 24px; }
@media (min-width: 640px) { body .ksc-form--contact { padding: 32px; } body .ksc-form--contact fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body .ksc-form--contact .ksc-ff-full, body .ksc-form--contact .ff_submit_btn_wrapper { grid-column: 1 / -1; }

/* newsletter: [email][button] row, consent below */
body .ksc-form--newsletter { width: 100%; }
@media (min-width: 640px) {
	body .ksc-form--newsletter fieldset { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 12px; align-items: end; }
	body .ksc-form--newsletter .ksc-ff-email { grid-column: 1; grid-row: 1; }
	body .ksc-form--newsletter .ff_submit_btn_wrapper { grid-column: 2; grid-row: 1; }
	body .ksc-form--newsletter .ksc-ff-consent { grid-column: 1 / -1; grid-row: 2; }
}
body .ksc-form--newsletter fieldset { gap: 12px; }
body .ksc-form--newsletter .ff-btn-submit { width: auto; flex: none; }
body .ksc-form--newsletter .ff-el-tc label, body .ksc-form--newsletter .ff_t_c { font-size: 12px; line-height: 16px; }
body .ksc-form--newsletter .ff-el-tc input[type="checkbox"] { margin-top: 0; }
/* newsletter on the dark footer */
body .ksc-form--dark .ff-el-input--label label { color: #fff; }
body .ksc-form--dark .ff-el-tc label, body .ksc-form--dark .ff_t_c { color: rgba(255, 255, 255, .7); }
body .ksc-form--dark .ff-el-tc a, body .ksc-form--dark .ff_t_c a { color: inherit; text-decoration: underline; }
body .ksc-form--dark .ff-message-success { color: #fff; }
.ksc-footer__news .ksc-form { margin-top: 0; }

/* ---------- cookie prompt + privacy choice card ---------- */
.ksc-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 36rem; margin-inline: auto; border: 1px solid var(--ksc-line); border-radius: 16px; background: #fff; padding: 20px; box-shadow: var(--ksc-shadow-lift); }
.ksc-cookie p { font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-cookie a { color: var(--ksc-coral); text-decoration: underline; }
.ksc-cookie__btns { margin-top: 16px; display: flex; gap: 12px; }
.ksc-cookiecard { margin-block: 24px; padding: 20px; }
.ksc-cookiecard__t { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ksc-burgundy); }
.ksc-cookiecard__s { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--ksc-ink-soft); }
.ksc-cookiecard .ksc-btn { margin-top: 16px; min-height: 44px; }

/* ---------- fixes round 15: Fluent Forms spacing and the phone order of the newsletter form (input, button, consent) ---------- */
body .ksc-form fieldset { min-width: 0; }
body .ksc-form .ff-el-group { margin: 0 !important; padding: 0; }
body .ksc-form .ff-el-input--label { display: block; width: 100%; margin: 0 0 6px !important; padding: 0; }
body .ksc-form .ff-el-input--label label { display: block; width: 100%; }
body .ksc-form--newsletter .ff-el-input--label { margin-bottom: 8px !important; }
body .ksc-form .ff-el-input--content { margin: 0; }
@media (max-width: 639px) {
	body .ksc-form--newsletter .ksc-ff-email { order: 1; }
	body .ksc-form--newsletter .ff_submit_btn_wrapper { order: 2; }
	body .ksc-form--newsletter .ksc-ff-consent { order: 3; }
}

/* ---------- fixes round 16 ---------- */
.ksc-proj__aside dl { margin: 0; }

/* ---------- fixes round 17: links wrapped in Elementor text widgets must not inherit the 24px body line-height ---------- */
.ksc-cert__verify p, .ksc-tpl__dl p { margin: 0; font-size: 14px; line-height: 20px; }

/* ---------- fixes round 18: contact form geometry (matches the original's 20px rhythm, textarea baseline gap and consent row) ---------- */
body .ksc-form .ksc-ff-ta .ff-el-input--content { padding-bottom: 6px; }
body .ksc-form .ff_tc_checkbox { display: flex; flex: none; margin: 0; padding: 0; }
body .ksc-form .ff-el-tc input[type="checkbox"] { margin: 4px 0 0; }
body .ksc-form--newsletter .ff-el-tc input[type="checkbox"] { margin-top: 2px; }
body .ksc-form .ff_t_c, body .ksc-form .ff_t_c p { font-size: 14px; line-height: 20px; margin: 0; }
body .ksc-form--newsletter .ff_t_c, body .ksc-form--newsletter .ff_t_c p { font-size: 12px; line-height: 16px; }
body .ksc-form--contact .ff_submit_btn_wrapper { margin-top: 20px !important; }

/* ---------- fixes round 19: Fluent Forms lays the terms checkbox out as a table; use the original's flex row ---------- */
body .ksc-form .ff-el-form-check.ff-el-tc { display: block !important; }
body .ksc-form .ff-el-form-check.ff-el-tc label.ff_tc_label { display: flex !important; align-items: flex-start; gap: 10px; padding: 0 !important; }
body .ksc-form--newsletter .ff-el-form-check.ff-el-tc label.ff_tc_label { gap: 8px; }
body .ksc-form .ff_tc_checkbox { display: block !important; padding: 0 !important; flex: none; }
body .ksc-form .ff_t_c { display: block !important; padding: 0 !important; flex: 1 1 auto; min-width: 0; }
body .ksc-form .ff-el-tc input[type="checkbox"] { display: block; }

/* ---------- fixes round 20 ---------- */
.ksc-avail__h2 { line-height: 2.5rem; }
@media (min-width: 640px) { .ksc-avail__h2 { line-height: 1; } }
.ksc-footer__news .ksc-form { padding-bottom: 12px; } /* the original keeps an empty 12px status line under the form */

/* ---------- fixes round 21 ---------- */
body .ksc-form .ff-el-form-check.ff-el-tc .ff_tc_checkbox { padding: 0 !important; margin: 0 !important; }
body .ksc-form .ff-el-form-check.ff-el-tc .ff_t_c { padding: 0 !important; margin: 0 !important; }

/* ---------- Chat assistant (launcher + popup), same look and sizes as the original ChatWidget ---------- */
@keyframes ksc-bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); } 50% { transform: none; animation-timing-function: cubic-bezier(0, 0, .2, 1); } }
.ksc-chat svg { display: block; }
.ksc-chat__dock { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.ksc-chat__teaser { position: relative; max-width: 15rem; padding: 16px 32px 16px 16px; border-radius: 16px 16px 2px 16px; background: #fff; font-size: 14px; line-height: 20px; color: var(--ksc-burgundy); box-shadow: var(--ksc-shadow-lift); }
body.ksc .ksc-chat__teaser-x { position: absolute; right: 8px; top: 8px; padding: 4px; border: 0; border-radius: 9999px; background: transparent; color: var(--ksc-ink-soft); line-height: 0; }
body.ksc .ksc-chat__teaser-x:hover { color: var(--ksc-coral); background: transparent; }
body.ksc .ksc-chat__launcher { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 8px 8px 20px; border: 0; border-radius: 9999px; background: var(--ksc-coral); color: #fff; font-size: 14px; line-height: 20px; font-weight: 600; box-shadow: var(--ksc-shadow-lift); transition: background-color .25s; }
body.ksc .ksc-chat__launcher:hover { background: var(--ksc-coral-dark); color: #fff; }
.ksc-chat__label { display: none; }
@media (min-width: 640px) { .ksc-chat__label { display: inline; } }
.ksc-chat__orb { position: relative; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 9999px; background: rgba(255, 255, 255, .2); }
.ksc-chat__ico-close { display: none; }
.ksc-chat__launcher[aria-expanded="true"] .ksc-chat__ico-open, .ksc-chat__launcher[aria-expanded="true"] .ksc-chat__online { display: none; }
.ksc-chat__launcher[aria-expanded="true"] .ksc-chat__ico-close { display: block; }
.ksc-chat__online { position: absolute; right: 0; top: 0; width: 12px; height: 12px; border: 2px solid var(--ksc-coral); border-radius: 9999px; background: #34d399; }

.ksc-chat__panel { position: fixed; left: 12px; right: 12px; bottom: 96px; z-index: 60; display: flex; flex-direction: column; height: min(38rem, calc(100vh - 7rem)); overflow: hidden; border: 1px solid var(--ksc-line); border-radius: 24px; background: #fff; box-shadow: var(--ksc-shadow-lift); outline: none; }
@media (min-width: 640px) { .ksc-chat__panel { left: auto; right: 20px; width: 25rem; } }
.ksc-chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--ksc-burgundy); color: #fff; }
.ksc-chat__avatar { display: grid; flex: none; width: 40px; height: 40px; place-items: center; border-radius: 9999px; background: var(--ksc-coral); font-family: var(--ksc-font-serif); font-size: 18px; line-height: 28px; }
.ksc-chat__who { min-width: 0; flex: 1 1 0%; }
.ksc-chat__title { font-weight: 600; line-height: 1.25; }
.ksc-chat__sub { display: flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, .7); }
.ksc-chat__sub-dot { flex: none; width: 8px; height: 8px; border-radius: 9999px; background: #34d399; }
body.ksc .ksc-chat__hbtn { margin: 0; padding: 8px; border: 0; border-radius: 9999px; background: transparent; color: rgba(255, 255, 255, .7); line-height: 0; }
body.ksc .ksc-chat__hbtn:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.ksc-chat__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--ksc-line); background: var(--ksc-blush); font-size: 12px; line-height: 16px; font-weight: 600; }
.ksc-chat__quick a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 0; border-radius: 12px; background: #fff; color: var(--ksc-burgundy); box-shadow: var(--ksc-shadow-card); }
.ksc-chat__quick a:hover { color: var(--ksc-coral); }

.ksc-chat__log { flex: 1 1 0%; min-height: 0; overflow-y: auto; padding: 16px; }
.ksc-chat__log > * + * { margin-top: 12px; }
.ksc-chat__end { height: 0; }
.ksc-chat__msg { display: flex; flex-direction: column; }
.ksc-chat__msg.is-user { align-items: flex-end; }
.ksc-chat__msg.is-bot { align-items: flex-start; }
.ksc-chat__bubble { max-width: 88%; padding: 10px 16px; border-radius: 16px; font-size: 14px; line-height: 1.625; }
.ksc-chat__msg.is-user .ksc-chat__bubble { border-bottom-right-radius: 2px; background: var(--ksc-coral); color: #fff; }
.ksc-chat__msg.is-bot .ksc-chat__bubble { border-bottom-left-radius: 2px; background: var(--ksc-blush); color: var(--ksc-burgundy); }
.ksc-chat__bubble p { white-space: pre-line; }
.ksc-chat__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ksc-chat__links a { display: inline-block; padding: 4px 12px; border: 1px solid rgba(214, 59, 67, .4); border-radius: 9999px; background: #fff; color: var(--ksc-coral); font-size: 12px; line-height: 16px; font-weight: 600; transition: background-color .25s, color .25s; }
.ksc-chat__links a:hover { background: var(--ksc-coral); color: #fff; }
.ksc-chat__time { margin-top: 4px; padding: 0 4px; font-size: 10px; color: var(--ksc-ink-soft); }
.ksc-chat__typing { display: flex; }
.ksc-chat__typing span { display: flex; gap: 4px; padding: 12px 16px; border-radius: 16px 16px 16px 2px; background: var(--ksc-blush); }
.ksc-chat__typing i { width: 6px; height: 6px; border-radius: 9999px; background: var(--ksc-coral); animation: ksc-bounce 1s infinite; }
.ksc-chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
body.ksc .ksc-chat__chips button { margin: 0; padding: 6px 14px; border: 1px solid rgba(214, 59, 67, .4); border-radius: 9999px; background: #fff; color: var(--ksc-coral); font-size: 14px; line-height: 20px; font-weight: 500; transition: background-color .25s, color .25s; }
body.ksc .ksc-chat__chips button:hover { background: var(--ksc-coral); color: #fff; }

.ksc-chat__form { display: flex; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid var(--ksc-line); }
body.ksc .ksc-chat__form input.ksc-chat__input { flex: 1 1 0%; width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 0 16px; border: 1px solid var(--ksc-line); border-radius: 9999px; background: #fff; box-shadow: none; font-family: var(--ksc-font-sans); font-size: 16px; line-height: 24px; color: var(--ksc-ink); transition: border-color .15s; }
body.ksc .ksc-chat__form input.ksc-chat__input::placeholder { color: rgba(106, 95, 101, .7); }
body.ksc .ksc-chat__form input.ksc-chat__input:focus { border-color: var(--ksc-coral); }
body.ksc .ksc-chat__send { display: grid; flex: none; width: 44px; height: 44px; margin: 0; padding: 0; place-items: center; border: 0; border-radius: 9999px; background: var(--ksc-coral); color: #fff; transition: background-color .25s; }
body.ksc .ksc-chat__send:hover { background: var(--ksc-coral-dark); color: #fff; }
body.ksc .ksc-chat__send:disabled { opacity: .5; cursor: default; }
.ksc-chat__note { padding: 8px 16px; border-top: 1px solid var(--ksc-line); background: rgba(248, 239, 241, .6); text-align: center; font-size: 11px; color: var(--ksc-ink-soft); }
