/* ==========================================================================
   Knooz — main stylesheet
   Logical properties throughout so RTL (primary) and LTR both work.
   ========================================================================== */

:root {
	--k-primary: #2F3D2C;
	--k-primary-dark: #1F2A1D;
	--k-ivory: #F8F4EC;
	--k-sand: #EFE6D6;
	--k-paper: #FFFDF8;
	--k-line: #E7DECF;
	--k-line-2: #D9CCB4;
	--k-champagne: #D8C29A;
	--k-brass: #B08D57;
	--k-brass-ink: #8A6A3A;
	--k-clay: #A0603F;
	--k-ink: #1F231D;
	--k-muted: #4A4E45;
	--k-muted-2: #5B5F55;
	--k-display: "Amiri", "Times New Roman", serif;
	--k-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
	--k-ease: cubic-bezier(.2, .7, .2, 1);
	--k-pad: clamp(20px, 5vw, 72px);
	--k-section: clamp(72px, 9vw, 136px);
	--k-max: 1280px;
	--k-radius: 24px;
	--k-header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--k-ivory); color: var(--k-ink); font-family: var(--k-body); font-size: 1.0625rem; line-height: 1.9; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--k-primary); text-decoration: none; transition: color .25s; }
a:hover { color: var(--k-clay); }
:focus-visible { outline: 2px solid var(--k-brass); outline-offset: 3px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--k-display); font-weight: 700; line-height: 1.3; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.k-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--k-primary); color: var(--k-ivory); padding: 10px 18px; border-radius: 999px; }
.k-skip:focus { top: 12px; color: var(--k-ivory); }

/* ---------- Layout ---------- */
.k-wrap { max-width: var(--k-max); margin-inline: auto; padding-inline: var(--k-pad); }
.k-narrow { max-width: 860px; }
.k-section { padding-block: var(--k-section); position: relative; }
.k-section--tight { padding-block: clamp(48px, 6vw, 88px) clamp(72px, 9vw, 120px); }
.k-section--sand { background: var(--k-sand); }
.k-section--paper { background: var(--k-paper); border-top: 1px solid var(--k-line); }
.k-stack { display: flex; flex-direction: column; gap: 20px; }
.k-stack--lg { gap: 40px; }
.k-stack--xl { gap: clamp(56px, 7vw, 96px); }
.k-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.k-center { display: flex; justify-content: center; }
.k-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 7vw, 104px); align-items: center; }
.k-split--top { align-items: start; }
.k-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.k-head > .k-stack { max-width: 640px; }
.k-head--line .k-tabs { border-bottom: 1px solid var(--k-line-2); }
.k-grid { display: grid; gap: 24px; }
.k-grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.k-muted { color: var(--k-muted-2); }

/* ---------- Type ---------- */
.k-h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.2; }
.k-h2 { font-size: clamp(34px, 4.2vw, 56px); }
.k-h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.4; }
.k-lead { font-size: 18px; line-height: 2; color: var(--k-muted); }
.k-accent { color: var(--k-clay); }
.k-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--k-brass-ink); font-size: 14px; font-weight: 600; }
.k-eyebrow__line { width: 28px; height: 1.5px; background: var(--k-brass); }
.k-divider-title { display: flex; align-items: center; gap: 16px; font-family: var(--k-body); font-size: 14px; font-weight: 500; color: var(--k-muted-2); margin-bottom: 28px; }
.k-divider-title::before, .k-divider-title::after { content: ""; flex: 1; height: 1px; background: var(--k-line); }

/* ---------- Buttons ---------- */
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.4; border: 1.5px solid transparent; cursor: pointer; transition: all .35s var(--k-ease); white-space: nowrap; }
.k-btn--lg { padding: 15px 30px; font-size: 16px; }
.k-btn--block { width: 100%; }
.k-btn--primary { background: var(--k-primary); color: var(--k-ivory); }
.k-btn--primary:hover { background: var(--k-primary-dark); color: var(--k-ivory); transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgba(47, 61, 44, .6); }
.k-btn--outline { border-color: var(--k-primary); color: var(--k-primary); }
.k-btn--outline:hover { background: var(--k-primary); color: var(--k-ivory); }
.k-btn--ghost { border-color: var(--k-champagne); color: var(--k-primary); }
.k-btn--ghost:hover { background: #F3ECDF; border-color: var(--k-brass); color: var(--k-primary); }
.k-btn--gold { background: var(--k-champagne); color: var(--k-ink); }
.k-link { align-self: flex-start; display: inline-flex; gap: 6px; padding-block: 6px; font-weight: 600; color: var(--k-primary); border-bottom: 1.5px solid var(--k-brass); }
.k-link:hover { color: var(--k-clay); border-color: var(--k-clay); }
.k-iconbtn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--k-line-2); background: var(--k-paper); color: var(--k-primary); font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: all .3s; }
.k-iconbtn:hover { background: var(--k-primary); color: var(--k-ivory); }
.k-arrows { display: flex; gap: 10px; }
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.k-chip { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1px solid var(--k-line-2); background: transparent; color: var(--k-ink); cursor: pointer; transition: all .3s; }
.k-chip:hover { border-color: var(--k-primary); color: var(--k-primary); }
.k-chip.is-active { background: var(--k-primary); border-color: var(--k-primary); color: var(--k-ivory); }
.k-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.k-tab { background: none; border: 0; padding: 12px 14px; font-size: 15px; color: var(--k-muted-2); cursor: pointer; transition: all .3s; }
.k-tab.is-active { color: var(--k-primary); font-weight: 700; box-shadow: inset 0 -2px 0 var(--k-clay); }
.k-hint { border: 1px dashed var(--k-brass); color: var(--k-brass-ink); border-radius: 16px; padding: 14px 18px; font-size: 14px; max-width: var(--k-max); margin: 24px auto; }

/* ---------- Top bar & header ---------- */
.k-topbar { background: var(--k-primary); color: #E9E2D3; font-size: 13px; padding-block: 9px; }
.k-topbar a { color: #E9E2D3; }
.k-topbar a:hover { color: var(--k-champagne); }
.k-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.k-topbar__text { display: flex; align-items: center; gap: 8px; color: var(--k-champagne); }
.k-topbar__end { display: flex; align-items: center; gap: 16px; }
.k-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.k-social--text { gap: 16px; }
.k-social--round a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(216, 194, 154, .35); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #E9E2D3; transition: all .3s; }
.k-social--round a:hover { background: var(--k-champagne); color: var(--k-ink); }

.k-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 244, 236, 0); transition: background .45s var(--k-ease), box-shadow .45s var(--k-ease); }
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would turn it into the containing block of the fixed mobile drawer, collapsing the drawer to the header's height. */
.k-header::before { content: ""; position: absolute; inset: 0; z-index: -1; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: none; }
.k-header.is-menu-open { z-index: 120; }
.k-header.is-menu-open::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
.admin-bar .k-header { top: 32px; }
.k-header.is-scrolled { background: rgba(248, 244, 236, .92); box-shadow: 0 1px 0 var(--k-line), 0 12px 30px -20px rgba(31, 35, 29, .25); --k-header-h: 70px; }
.k-header__in { height: var(--k-header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .45s var(--k-ease); }
.k-brand .custom-logo { max-height: calc(var(--k-header-h) - 24px); width: auto; transition: max-height .45s var(--k-ease); }
.k-brand__word { display: flex; align-items: center; gap: 12px; color: var(--k-primary); }
.k-brand__word strong { display: block; font-family: var(--k-display); font-size: 30px; line-height: 1; }
.k-brand__word small { display: block; font-size: 11px; color: var(--k-muted-2); margin-top: 4px; }
.k-brand__word--light { color: var(--k-ivory); }
.k-brand__mark { color: var(--k-brass); }
.k-header__actions { display: flex; align-items: center; gap: 10px; }

.k-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.k-menu li { position: relative; }
.k-menu a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--k-ink); transition: background .25s, color .25s; }
.k-menu > li > a:hover, .k-menu .current-menu-item > a, .k-menu .current-menu-ancestor > a { background: rgba(47, 61, 44, .07); color: var(--k-primary); }
.k-menu .menu-item-has-children > a::after, .k-menu .page_item_has_children > a::after { content: ""; width: 6px; height: 6px; border-inline-start: 1.5px solid var(--k-brass-ink); border-bottom: 1.5px solid var(--k-brass-ink); transform: rotate(-45deg) translateY(-2px); }
[dir="ltr"] .k-menu .menu-item-has-children > a::after { transform: rotate(-45deg) translateY(-2px); }
.k-menu .sub-menu, .k-menu .children { list-style: none; margin: 0; position: absolute; top: 100%; inset-inline-start: 0; min-width: 250px; padding: 8px; background: var(--k-paper); border: 1px solid var(--k-line); border-radius: 18px; box-shadow: 0 24px 48px -20px rgba(31, 35, 29, .25); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .28s var(--k-ease); z-index: 10; }
.k-menu .sub-menu .sub-menu { top: 0; inset-inline-start: 100%; }
.k-menu li:hover > .sub-menu, .k-menu li:focus-within > .sub-menu, .k-menu li:hover > .children, .k-menu li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.k-menu .sub-menu a, .k-menu .children a { border-radius: 12px; font-size: 14.5px; padding: 11px 14px; }
.k-menu .sub-menu a:hover, .k-menu .children a:hover { background: #F3ECDF; color: var(--k-primary); padding-inline-start: 20px; }
.k-subtoggle { display: none; }
.k-nav__head, .k-nav__cta { display: none; }
.k-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--k-line); background: var(--k-paper); cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.k-burger span { width: 18px; height: 1.5px; background: var(--k-ink); }
.k-burger span + span { width: 12px; margin-inline-end: 6px; }
.k-scrim { position: fixed; inset: 0; background: rgba(31, 35, 29, .4); z-index: 90; opacity: 0; transition: opacity .4s; }
.k-scrim.is-on { opacity: 1; }

@media (max-width: 1079px) {
	.k-burger { display: flex; }
	.k-hide-sm { display: none; }
	.k-nav { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(380px, 88vw); background: var(--k-ivory); z-index: 100; padding: 24px 28px; overflow-y: auto; transform: translateX(105%); transition: transform .5s var(--k-ease); visibility: hidden; display: flex; flex-direction: column; gap: 8px; }
	[dir="rtl"] .k-nav { inset-inline-end: auto; inset-inline-start: 0; right: 0; left: auto; }
	[dir="ltr"] .k-nav { transform: translateX(-105%); left: 0; }
	.k-nav.is-open { transform: none; visibility: visible; }
	.k-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
	.k-nav__title { font-family: var(--k-display); font-size: 26px; font-weight: 700; color: var(--k-primary); }
	.k-nav__cta { display: flex; margin-top: 16px; }
	.k-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.k-menu > li { border-bottom: 1px solid var(--k-line); }
	.k-menu a { font-size: 17px; font-weight: 600; padding: 14px 0; border-radius: 0; }
	.k-menu > li > a:hover { background: none; }
	.k-menu .menu-item-has-children > a::after, .k-menu .page_item_has_children > a::after { display: none; }
	.k-menu .sub-menu, .k-menu .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 10px; min-width: 0; display: none; }
	.k-menu li.is-open > .sub-menu, .k-menu li.is-open > .children { display: block; }
	.k-menu .sub-menu a, .k-menu .children a { font-weight: 400; color: var(--k-muted-2); padding: 9px 14px; }
	.k-subtoggle { display: grid; place-items: center; position: absolute; top: 8px; inset-inline-end: 0; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; font-size: 20px; color: var(--k-brass-ink); transition: transform .3s; }
	li.is-open > .k-subtoggle { transform: rotate(45deg); }
	.k-menu > li { padding-inline-end: 44px; }
}
@media (max-width: 560px) { .k-hide-xs { display: none; } .k-topbar__text { display: none; } }
@media (max-width: 782px) { .admin-bar .k-header { top: 0; } }

/* ---------- Placeholder ---------- */
.k-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--k-brass); background-color: var(--k-sand); background-image: repeating-linear-gradient(135deg, rgba(176, 141, 87, .08) 0 2px, transparent 2px 14px); }
.k-ph__label { font: 12px/1.4 ui-monospace, Menlo, monospace; color: var(--k-brass-ink); padding-inline: 12px; text-align: center; }

/* ---------- Hero ---------- */
.k-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); }
.k-hero__glow { position: absolute; width: 620px; height: 620px; inset-inline-end: -180px; top: -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(216, 194, 154, .35), rgba(216, 194, 154, 0)); pointer-events: none; }
.k-hero__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: center; }
.k-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.k-hero__eyebrow { display: flex; align-items: center; gap: 10px; color: var(--k-brass-ink); font-size: 14px; font-weight: 600; }
.k-hero__title { font-size: clamp(46px, 6.2vw, 88px); line-height: 1.18; }
.k-hero__text { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.9; color: var(--k-muted); max-width: 560px; }
.k-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.k-hero__actions .k-link { align-self: center; color: var(--k-brass-ink); border-color: var(--k-champagne); }
.k-hero__words { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--k-line); color: var(--k-muted-2); }
.k-rotator { position: relative; display: inline-grid; font-family: var(--k-display); font-weight: 700; font-size: 24px; color: var(--k-primary); }
.k-rotator__item { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--k-ease), transform .6s var(--k-ease); }
.k-rotator__item.is-on { opacity: 1; transform: none; }
.k-hero__art { position: relative; height: clamp(460px, 48vw, 640px); }
.k-arch { position: absolute; overflow: hidden; background: var(--k-sand); }
.k-arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--k-ease); }
.k-arch--main { inset-inline-end: 0; top: 0; width: 66%; height: 90%; border-radius: 400px 400px 28px 28px; box-shadow: 0 40px 80px -40px rgba(47, 61, 44, .45); }
.k-arch--second { inset-inline-start: 0; bottom: 0; width: 44%; height: 54%; border-radius: 300px 300px 24px 24px; border: 8px solid var(--k-ivory); box-shadow: 0 30px 60px -30px rgba(47, 61, 44, .45); }
.k-arch--down { position: absolute; inset: 0; inset-inline-start: 18%; border-radius: 28px 28px 300px 300px; }
.k-hero__ring { position: absolute; inset-inline-start: 6%; top: 4%; color: var(--k-brass); stroke-width: .35; pointer-events: none; }
.k-badge { position: absolute; inset-inline-end: -12px; bottom: 12%; background: var(--k-paper); border: 1px solid var(--k-line); border-radius: 20px; padding: 16px 20px; box-shadow: 0 24px 48px -24px rgba(31, 35, 29, .35); display: flex; align-items: center; gap: 14px; }
.k-badge__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--k-primary); color: var(--k-champagne); display: grid; place-items: center; }
.k-badge strong { display: block; font-size: 15px; }
.k-badge small { display: block; font-size: 13px; color: var(--k-muted-2); }

.k-hero--full { min-height: min(86vh, 820px); display: flex; align-items: flex-end; background: var(--k-primary); color: var(--k-ivory); padding: 0; }
.k-hero__bg { position: absolute; inset: 0; }
.k-hero__bg img, .k-hero__bg video { width: 100%; height: 100%; object-fit: cover; }
.k-hero__bg .k-ph, .k-hero__video { position: absolute; inset: 0; }
.k-hero__video { opacity: 0; transition: opacity 1.2s var(--k-ease); }
.k-hero__video.is-playing { opacity: 1; }
.k-hero--full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31, 42, 29, .92) 0%, rgba(31, 42, 29, .55) 45%, rgba(31, 42, 29, 0) 80%); pointer-events: none; }
.k-hero--full .k-hero__grid { z-index: 1; width: 100%; padding-block: clamp(40px, 6vw, 96px); grid-template-columns: 1fr; }
.k-hero--full .k-hero__title { font-size: clamp(46px, 7vw, 104px); max-width: 980px; }
.k-hero--full .k-hero__eyebrow, .k-hero--full .k-accent { color: var(--k-champagne); }
.k-hero--full .k-hero__text { color: #E3DDCD; }
.k-hero--full .k-btn--primary { background: var(--k-champagne); color: var(--k-ink); }
.k-hero--full .k-btn--outline { border-color: rgba(248, 244, 236, .7); color: var(--k-ivory); }
.k-hero--full .k-btn--outline:hover { background: var(--k-ivory); color: var(--k-ink); }
.k-hero--full .k-link { color: var(--k-champagne); }

/* ---------- Marquees ---------- */
.k-marquee { overflow: hidden; }
.k-marquee__track { display: flex; width: max-content; animation: k-marq 48s linear infinite; }
.k-marquee:hover .k-marquee__track { animation-play-state: paused; }
.k-marquee--values { background: var(--k-primary); padding-block: 22px; border-top: 1px solid rgba(216, 194, 154, .25); }
.k-marquee__item { display: flex; align-items: center; gap: 28px; padding-inline-end: 28px; font-family: var(--k-display); font-size: 30px; color: var(--k-champagne); white-space: nowrap; }
.k-marquee__item .k-star { color: #8A9A7E; }
.k-marquee--logos { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.k-marquee--logos .k-marquee__track { animation-duration: 40s; }
.k-marquee__dup { display: flex; }
.k-partners { padding-bottom: clamp(72px, 9vw, 120px); }
.k-logo { margin-inline-end: 20px; width: 240px; height: 96px; border-radius: 18px; border: 1px solid var(--k-line); background: var(--k-paper); display: grid; place-items: center; padding: 14px 20px; text-align: center; font-size: 14px; font-weight: 600; color: var(--k-muted-2); filter: grayscale(1); opacity: .85; transition: all .3s; }
.k-logo img { max-height: 64px; width: auto; object-fit: contain; }
.k-logo:hover { filter: none; opacity: 1; border-color: var(--k-champagne); }
@keyframes k-marq { to { transform: translateX(-50%); } }
[dir="rtl"] .k-marquee__track { animation-name: k-marq-rtl; }
@keyframes k-marq-rtl { to { transform: translateX(50%); } }

/* ---------- About ---------- */
.k-about__art { position: relative; height: clamp(420px, 44vw, 580px); }
.k-dots { position: absolute; inset-inline-start: 0; top: 12%; width: 34%; aspect-ratio: 1; border-radius: 24px; background-color: var(--k-sand); background-image: radial-gradient(var(--k-brass) 1.2px, transparent 1.4px); background-size: 16px 16px; }
.k-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.k-panel { background: var(--k-paper); border: 1px solid var(--k-line); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.k-panel h3 { font-size: 24px; color: var(--k-primary); }
.k-panel p { font-size: 15px; line-height: 1.85; color: var(--k-muted); }
.k-panel--form { border-radius: 28px; padding: clamp(24px, 4vw, 44px); gap: 18px; }

/* ---------- Stats ---------- */
.k-stats { background: var(--k-primary); color: var(--k-ivory); overflow: hidden; padding-block: clamp(64px, 8vw, 112px); }
.k-stats__star { position: absolute; inset-inline-end: -120px; bottom: -160px; color: rgba(216, 194, 154, .12); stroke-width: .25; pointer-events: none; }
.k-stats .k-h2 { margin-bottom: 48px; font-size: clamp(32px, 4vw, 52px); }
.k-stats__grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid rgba(216, 194, 154, .3); }
.k-stat { padding: 32px 0 8px 24px; padding-inline: 0 24px; display: flex; flex-direction: column-reverse; gap: 10px; border-inline-end: 1px solid rgba(216, 194, 154, .15); }
.k-stat dd { margin: 0; font-family: var(--k-display); font-weight: 700; font-size: clamp(52px, 5.4vw, 76px); line-height: 1; color: var(--k-champagne); font-variant-numeric: tabular-nums; }
.k-stat dt { font-size: 16px; }

/* ---------- Cards ---------- */
.k-card { background: var(--k-paper); border: 1px solid var(--k-line); border-radius: var(--k-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--k-ease), box-shadow .45s var(--k-ease), border-color .45s; }
.k-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(47, 61, 44, .4); border-color: var(--k-champagne); }
.k-card.is-hidden { display: none; }
.k-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--k-sand); }
.k-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--k-ease); }
.k-card:hover .k-card__media img { transform: scale(1.06); }
.k-card__tag { position: absolute; top: 16px; inset-inline-start: 16px; background: rgba(248, 244, 236, .94); color: var(--k-primary); font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.k-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.k-card__title { font-size: 25px; line-height: 1.4; }
.k-card__title a { color: var(--k-ink); }
.k-card__title a::after { content: ""; position: absolute; inset: 0; }
.k-card { position: relative; }
.k-card__text { font-size: 15px; line-height: 1.85; color: var(--k-muted); flex: 1; }
.k-card__date { font-size: 13px; font-weight: 600; color: var(--k-brass-ink); }
.k-card__more { font-size: 14px; font-weight: 600; color: var(--k-brass-ink); }

/* ---------- Products masonry ---------- */
.k-masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); grid-auto-rows: 130px; grid-auto-flow: dense; gap: 16px; }
.k-tile { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: #E5D8C2; grid-row: span 2; transition: transform .6s var(--k-ease), box-shadow .6s; }
.k-tile--tall { grid-row: span 3; }
.k-tile.is-hidden { display: none; }
.k-tile a { position: absolute; inset: 0; color: var(--k-ivory); }
.k-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--k-ease); }
.k-tile:hover { box-shadow: 0 30px 50px -28px rgba(31, 35, 29, .5); }
.k-tile:hover img { transform: scale(1.06); }
.k-tile figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(0deg, rgba(31, 35, 29, .78), rgba(31, 35, 29, 0)); display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.k-tile strong { font-family: var(--k-display); font-size: 21px; }
.k-tile span { font-size: 12px; color: #E9D9B8; white-space: nowrap; }

/* ---------- Stories ---------- */
.k-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 40px var(--k-pad) 12px; scrollbar-width: none; max-width: calc(var(--k-max) + 2 * var(--k-pad)); margin-inline: auto; }
.k-track::-webkit-scrollbar { display: none; }
.k-story { flex: 0 0 min(400px, 82vw); scroll-snap-align: start; background: var(--k-paper); border: 1px solid var(--k-line); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.k-story__media { position: relative; display: block; height: 260px; margin-inline: 18px; border-radius: 0 0 200px 200px; overflow: hidden; background: var(--k-sand); }
.k-story__media img { width: 100%; height: 100%; object-fit: cover; }
.k-story__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.k-story blockquote { margin: 0; font-family: var(--k-display); font-size: 23px; line-height: 1.7; flex: 1; }
.k-story blockquote::before { content: "”"; display: block; font-size: 56px; line-height: .6; color: var(--k-champagne); height: 24px; }
.k-story footer { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--k-line); font-size: 14px; color: var(--k-muted-2); }

/* ---------- News ---------- */
.k-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px; }
.k-news__feat { display: flex; flex-direction: column; gap: 16px; }
.k-news__media { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: var(--k-radius); overflow: hidden; background: var(--k-sand); }
.k-news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--k-ease); }
.k-news__feat:hover .k-news__media img { transform: scale(1.05); }
.k-news__feat .k-h3 a { color: var(--k-ink); }
.k-news__row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--k-line); align-items: center; }
.k-news__thumb { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--k-sand); }
.k-news__thumb img { width: 100%; height: 100%; object-fit: cover; }
.k-news__title { font-family: var(--k-body); font-size: 17px; font-weight: 600; line-height: 1.6; }
.k-news__title a { color: var(--k-ink); }
.k-news__title a:hover { color: var(--k-clay); }

/* ---------- People ---------- */
.k-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.k-people--grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.k-person { background: var(--k-paper); border: 1px solid var(--k-line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.k-person__photo { width: 96px; height: 120px; border-radius: 60px 60px 14px 14px; overflow: hidden; background: var(--k-primary); color: var(--k-champagne); display: grid; place-items: center; font-family: var(--k-display); font-size: 40px; font-weight: 700; }
.k-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.k-person__name { font-size: 22px; line-height: 1.4; }
.k-person__role { font-size: 14px; font-weight: 600; color: var(--k-brass-ink); margin-top: 6px; }

/* ---------- CTA ---------- */
.k-cta-wrap { padding-bottom: clamp(72px, 9vw, 120px); }
.k-cta { background: var(--k-primary); color: var(--k-ivory); border-radius: clamp(200px, 30vw, 480px) clamp(200px, 30vw, 480px) 36px 36px; padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 72px) clamp(40px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; overflow: hidden; }
.k-cta > .k-star { color: var(--k-champagne); }
.k-cta > p { font-size: 18px; color: #D9D3C3; max-width: 560px; }
.k-cta__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; width: 100%; margin-top: 28px; text-align: start; }
.k-cta__card { border-radius: var(--k-radius); padding: 26px; display: flex; flex-direction: column; gap: 30px; background: rgba(248, 244, 236, .06); border: 1px solid rgba(216, 194, 154, .35); color: var(--k-ivory); transition: transform .4s var(--k-ease), background .4s; }
.k-cta__card:hover { transform: translateY(-6px); background: rgba(248, 244, 236, .12); color: var(--k-ivory); }
.k-cta__card.is-gold { background: var(--k-champagne); border-color: var(--k-champagne); color: var(--k-ink); }
.k-cta__card.is-gold:hover { background: #E5D3AE; color: var(--k-ink); }
.k-cta__kicker { font-size: 13px; font-weight: 600; color: var(--k-champagne); }
.k-cta__card.is-gold .k-cta__kicker { color: var(--k-ink); }
.k-cta__label { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 22px; }
.k-cta__label strong { font-family: var(--k-display); font-size: 26px; line-height: 1.3; }

/* ---------- Inner pages ---------- */
.k-pagehero { position: relative; overflow: hidden; background: var(--k-primary); color: var(--k-ivory); padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 88px); }
.k-pagehero__star { position: absolute; inset-inline-end: 4%; top: 50%; margin-top: -150px; color: rgba(216, 194, 154, .18); stroke-width: .3; pointer-events: none; }
.k-pagehero__in { position: relative; display: flex; flex-direction: column; gap: 18px; }
.k-pagehero h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.2; max-width: 900px; }
.k-pagehero p { font-size: 18px; color: #D9D3C3; max-width: 640px; line-height: 1.8; }
.k-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: #C9C3B3; }
.k-crumbs a { color: var(--k-champagne); }
.k-feature { margin: 0 0 48px; border-radius: 28px; overflow: hidden; }
.k-feature img { width: 100%; }

.k-prose { font-size: 18px; line-height: 2.05; color: #2E322B; max-width: 760px; }
.k-prose > * + * { margin-top: 1.1em; }
.k-prose h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.k-prose h3 { font-size: 26px; margin-top: 1.4em; }
.k-prose a { text-decoration: underline; text-decoration-color: var(--k-champagne); text-underline-offset: 4px; }
.k-prose blockquote { margin-inline: 0; padding-inline-start: 24px; border-inline-start: 3px solid var(--k-brass); font-family: var(--k-display); font-size: 24px; line-height: 1.7; color: var(--k-primary); }
.k-prose img { border-radius: 20px; }
.k-prose .alignwide { max-width: 1100px; }
.k-prose .alignfull { width: 100vw; max-width: 100vw; margin-inline-start: calc(50% - 50vw); }
.k-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.k-prose th, .k-prose td { border-bottom: 1px solid var(--k-line); padding: 12px; text-align: start; }
.k-canvas > * { max-width: none; }

.k-single { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.k-single__media { grid-column: 1 / -1; margin: 0; border-radius: 28px; overflow: hidden; background: var(--k-sand); }
.k-single__media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.k-single__aside { position: sticky; top: 100px; }
.k-meta { margin: 0; display: flex; flex-direction: column; }
.k-meta div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding-block: 12px; border-bottom: 1px solid var(--k-sand); }
.k-meta dt { color: var(--k-brass-ink); font-weight: 600; }
.k-meta dd { margin: 0; }
.k-related { margin-top: clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 28px; }
.k-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
@media (max-width: 860px) { .k-single { grid-template-columns: 1fr; } .k-single__aside { position: static; } }

.k-toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.k-search { flex: 1 1 320px; max-width: 520px; display: flex; align-items: center; gap: 8px; background: var(--k-paper); border: 1px solid var(--k-line); border-radius: 999px; padding: 4px 4px 4px 4px; padding-inline-start: 20px; }
.k-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0; font-size: 16px; outline: none; }
.k-search button { border: 0; background: var(--k-primary); color: var(--k-ivory); border-radius: 999px; padding: 10px 20px; font-weight: 600; cursor: pointer; }
.k-pagination { margin-top: 48px; }
.k-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.k-pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 16px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--k-line-2); color: var(--k-ink); }
.k-pagination .page-numbers.current, .k-pagination a.page-numbers:hover { background: var(--k-primary); border-color: var(--k-primary); color: var(--k-ivory); }
.k-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 48px 0; color: var(--k-muted); }
.k-empty .k-star { color: var(--k-brass); }

.k-contact { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--k-paper); border: 1px solid var(--k-line); border-radius: 22px; padding: 22px 26px; color: var(--k-ink); transition: all .35s var(--k-ease); }
.k-contact:hover { border-color: var(--k-brass); transform: translateX(-4px); color: var(--k-ink); }
.k-contact small { display: block; font-size: 13px; font-weight: 600; color: var(--k-brass-ink); }
.k-contact bdi { font-size: 17px; }

.k-faq { background: var(--k-paper); border: 1px solid var(--k-line); border-radius: 20px; padding: 6px 24px; }
.k-faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.k-faq summary::after { content: "+"; color: var(--k-brass); font-size: 24px; line-height: 1; transition: transform .3s; }
.k-faq[open] summary::after { transform: rotate(45deg); }
.k-faq .k-prose { padding-bottom: 18px; font-size: 16px; }

.k-404 { min-height: 70vh; display: grid; place-items: center; padding: 80px var(--k-pad); text-align: center; }
.k-404__in { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 560px; }
.k-404__in > .k-star { color: var(--k-brass); stroke-width: .6; }
.k-404__num { font-family: var(--k-display); font-size: 96px; line-height: 1; font-weight: 700; color: var(--k-primary); }
.k-404 h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.4; }
.k-404 p { color: var(--k-muted); font-size: 17px; }
.k-404 .k-search { width: 100%; }
.k-maint .k-404 { min-height: 100vh; }

/* ---------- Forms (Knooz Core contact form) ---------- */
.k-form { display: flex; flex-direction: column; gap: 18px; }
.k-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.k-form input:not([type="checkbox"]), .k-form select, .k-form textarea { border: 1px solid var(--k-line-2); background: var(--k-ivory); border-radius: 14px; padding: 14px 16px; font-size: 16px; font-weight: 400; color: var(--k-ink); }
.k-form input:focus, .k-form select:focus, .k-form textarea:focus { outline: 2px solid var(--k-brass); outline-offset: 0; }
.k-form__consent { flex-direction: row !important; align-items: flex-start; font-weight: 400 !important; color: var(--k-muted-2); }
.k-form__hp { position: absolute !important; inset-inline-start: -9999px; }
.k-notice { padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.k-notice--ok { background: #E6EBDD; color: var(--k-primary); }
.k-notice--err { background: #F3E1D6; color: #7E4428; }

/* ---------- Comments & widgets ---------- */
.k-comments { margin-top: 64px; max-width: 760px; }
.k-comments__list { list-style: none; padding: 0; }
.k-comments .comment-body { padding: 18px 0; border-bottom: 1px solid var(--k-line); }
.k-widget { margin-bottom: 32px; }
.k-widget__title { font-size: 22px; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.k-footer { background: var(--k-primary-dark); color: #E9E2D3; padding-block: clamp(64px, 8vw, 104px) 32px; }
.k-footer a { color: #E9E2D3; }
.k-footer a:hover { color: var(--k-champagne); }
.k-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.k-footer__about { display: flex; flex-direction: column; gap: 18px; }
.k-footer__about p { font-size: 14.5px; line-height: 1.9; color: #B9B3A3; }
.k-footer__license { color: var(--k-champagne) !important; }
.k-footer__col { display: flex; flex-direction: column; gap: 12px; }
.k-footer__col h2 { font-family: var(--k-body); font-size: 15px; color: var(--k-champagne); margin-bottom: 6px; }
.k-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.k-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(216, 194, 154, .2); font-size: 13px; color: #B9B3A3; }
.k-footer__legal, .k-legal { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.k-footer__bottom a { color: #B9B3A3; }

/* ---------- Motion ---------- */
@keyframes k-spin { to { transform: rotate(360deg); } }
@keyframes k-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.k-spin { animation: k-spin 70s linear infinite; }
.k-float { animation: k-float 6s ease-in-out infinite; }
.k-js.k-motion-enabled [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--k-ease), transform .9s var(--k-ease); transition-delay: var(--k-delay, 0ms); }
.k-js.k-motion-enabled [data-reveal].is-in { opacity: 1; transform: none; }
.k-card[data-reveal].is-in:hover { transform: translateY(-6px); }
body:not(.k-motion-enabled) .k-spin, body:not(.k-motion-enabled) .k-float, body:not(.k-motion-enabled) .k-marquee__track { animation: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.k-js [data-reveal] { opacity: 1 !important; transform: none !important; }
	.k-marquee__track { animation: none !important; flex-wrap: wrap; width: auto; }
	.k-marquee__dup, .k-marquee--values .k-marquee__item:nth-child(n+10) { display: none; }
}

@media print {
	.k-topbar, .k-header, .k-footer, .k-marquee, .k-arrows { display: none !important; }
	.k-pagehero { background: none; color: #000; }
}
