/* Keystone direction (approved 20 Oct 2026). The page is laid in courses of cut blocks separated by dark
   joints, like the Stone M. Stone is geometry, never a texture. Gold is inlay: one word per heading, the main
   button and the keystone mark, about 2% of any screen. Loaded after styles.css on pages with body.ks. */
.ks {
  --joint-dark: #061419;
  --jw: 3px;                         /* joint width */
  --block: #0F2A33;
  --block-hi: #14343E;
}
body.ks::before, body.ks::after { display: none; }   /* no ambient light: the wall is still */

/* Headings: ivory, with gold only on the one word set in <em> */
.ks main h1, .ks main h2 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ivory); -webkit-text-fill-color: currentColor; padding-bottom: 0; }
.ks main h1 em, .ks main h2 em { font-style: normal; color: var(--gold); }
.ks main h2 { font-family: var(--f-head); font-weight: 400; font-size: var(--step-4); line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; }
.ks main h3 { font-family: var(--f-head); font-weight: 400; color: var(--ivory); font-size: 1.42rem; line-height: 1.2; }
.ks .btn { border-radius: 2px; }

/* Section labels, cut like inscriptions: numeral, hairline, name */
.ks-lbl { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.ks-lbl span { font-family: var(--f-head); font-size: 1.05rem; letter-spacing: .04em; color: var(--gold-bright); }
.ks-lbl::after { content: ""; order: 1; width: 40px; height: 1px; background: var(--joint-strong); transform-origin: left; transition: transform 1s var(--ease-out) .2s; }
.ks-lbl span { order: 0; }
.ks-lbl { flex-wrap: wrap; }
.ks-lbl > span + * { order: 2; }
.pending .ks-lbl::after, .ks-lbl.pending::after { transform: scaleX(0); }

.ks-link { color: var(--ivory); text-decoration: none; font-weight: 400; font-size: .92rem; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: color .3s, background-size .4s var(--ease-out); }
.ks-link:hover { color: var(--gold-hi); background-size: 40% 1px; }
.ks-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ---------- Courses and blocks ---------- */
.ks-course { display: grid; gap: var(--jw); background: var(--joint-dark); border: var(--jw) solid var(--joint-dark); margin: 0; padding: 0; list-style: none; }
.ks-course + .ks-course { border-top: 0; }
.ks-block { background: var(--block); padding: clamp(22px, 2.6vw, 34px); min-width: 0; position: relative; color: var(--text); text-decoration: none; }
.ks-block p { margin: 0; color: var(--muted); }
a.ks-block { transition: background-color .35s, box-shadow .35s, transform .35s var(--ease-out); }
a.ks-block:hover { background: var(--block-hi); box-shadow: inset 0 1px 0 rgba(201, 162, 74, .55); }
.ks .reveal { transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), background-color .35s, box-shadow .35s; }
.ks .reveal.pending { translate: 0 14px; }

/* ---------- I · Temelj (hero) ---------- */
.ks-hero { padding-block: clamp(24px, 4vw, 48px) clamp(64px, 8vw, 104px); }
.ks-hero-course {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) minmax(0, 1.15fr);
  min-height: clamp(560px, 76vh, 740px);
}
.ks-copy { grid-column: 1 / 6; grid-row: 1 / 3; background: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-right: clamp(22px, 3vw, 44px); }
.ks-h1 { font-family: var(--f-head); font-weight: 400; font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
.ks-lead { font-size: var(--step-1); color: var(--muted); max-width: 30rem; }
.ks-s1 { grid-column: 6 / 10; grid-row: 1; }
.ks-s2 { grid-column: 10 / 13; grid-row: 1; }
.ks-key { grid-column: 6 / 13; grid-row: 2; background: var(--block); box-shadow: inset 0 2px 0 var(--gold); }
.ks-key:hover { background: var(--block-hi); }
.ks-study { display: flex; flex-direction: column; gap: 14px; padding: 14px; }
.ks-shot { flex: 1; position: relative; display: block; min-height: 120px; overflow: hidden; border: 1px solid rgba(201, 162, 74, .16); background: #0E2830; }
.ks-key .ks-shot { border-color: rgba(201, 162, 74, .5); }
.ks-shot .viewport { inset: 0; }
.ks-shot .mock { transition: transform 8s cubic-bezier(.45, 0, .25, 1); }
.ks-study:hover .mock, .ks-study:focus-visible .mock { transform: translateY(calc(-100% + 100cqh)); }
.ks-cap { display: grid; gap: 2px; padding: 0 4px 2px; font-family: var(--f-head); font-size: 1.12rem; color: var(--ivory); line-height: 1.25; }
.ks-cap small { font-family: var(--f-body); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ks-key .ks-cap small { color: var(--gold-hi); }

/* The keystone mark: the logo's bordeaux triangle, here in gold, dropped in last with a small knock */
.ks-keymark { position: absolute; top: 22px; right: 24px; width: 30px; height: auto; z-index: 2; fill: var(--gold); }
.ks-key .ks-keymark { animation: ksDrop 1.1s var(--ease-out) 1.15s both; }
.ks-plan-key .ks-keymark, .ks-cta .ks-drop { animation: ksDrop 1.1s var(--ease-out) .45s both; }
.pending .ks-keymark { animation: none; opacity: 0; }
@keyframes ksDrop {
  0% { transform: translateY(-30px); opacity: 0; }
  55% { transform: translateY(0); opacity: 1; }
  68% { transform: translateY(-4px); }
  80%, 100% { transform: translateY(0); opacity: 1; }
}
.ks-key.anim { animation: rise .9s var(--ease-out) .55s both; }

.ks-facts { grid-template-columns: 4fr 5fr 3fr; }
.ks-facts .ks-block { display: grid; gap: 4px; font-size: .86rem; color: var(--muted); padding-block: 20px; }
.ks-facts strong { font-family: var(--f-head); font-weight: 400; font-size: 1.5rem; color: var(--ivory); line-height: 1.15; }
.ks-note { margin: 14px 0 0; font-size: .78rem; color: var(--muted); }

/* ---------- Sections ---------- */
.ks-sec { padding-block: clamp(72px, 9vw, 120px); border-top: 1px solid var(--joint); }
.ks-head { display: grid; gap: 16px; max-width: 44rem; margin-bottom: clamp(32px, 4.5vw, 52px); }
.ks-head > p:not(.ks-lbl) { color: var(--muted); font-size: var(--step-1); margin: 0; }
.ks-more { margin: 26px 0 0; }

/* II · Nacrt: two courses with staggered joints (5-4-3 over 3-4-5) */
.ks-svc { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.ks-w5 { grid-column: span 5; } .ks-w4 { grid-column: span 4; } .ks-w3 { grid-column: span 3; }
.ks-svc .ks-block { display: grid; align-content: start; gap: 10px; }
.ks-svc p { font-size: .93rem; }
.ks-ico { width: 26px; height: 26px; fill: none; stroke: var(--gold-bright); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }

/* III · Studije */
.ks-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ks-plan { display: grid; align-content: start; gap: 14px; }
.ks-plan-key { background: var(--block); }
.ks-num { margin: 0; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); }
.ks-plan h3 small { display: block; font-family: var(--f-body); font-size: .8rem; color: var(--muted); margin-top: 4px; }
.ks-plan-key h3 small { color: var(--muted); }
.ks-brief { font-size: .95rem; }
.ks-plan-key .ks-brief { color: var(--muted); }
.ks-plan ol { margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--joint-strong); list-style: none; counter-reset: dec; display: grid; gap: 10px; font-size: .9rem; color: var(--text); }
.ks-plan li { counter-increment: dec; display: grid; grid-template-columns: 1.6rem 1fr; }
.ks-plan li::before { content: counter(dec); font-family: var(--f-head); color: var(--gold-bright); font-size: 1.05rem; line-height: 1.35; }

/* IV · Gradnja */
.ks-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ks-steps .ks-block { display: grid; align-content: start; gap: 10px; }
.ks-roman { font-family: var(--f-head); font-size: 2.1rem; line-height: 1; color: var(--gold); }
.ks-steps p { font-size: .92rem; }

/* V · Cijene */
.ks-pk { grid-template-columns: 4fr 5fr 3fr; }
.ks-pk .ks-block { display: grid; align-content: start; gap: 8px; }
.ks-pk strong { font-family: var(--f-head); font-weight: 400; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.7rem); line-height: 1.05; color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; }
.ks-split { font-size: .86rem; color: var(--gold-hi); }
.ks-tag { font-size: .88rem; color: var(--muted); }
.ks-pk-feat { box-shadow: inset 0 2px 0 var(--gold); }
.ks-pk-feat:hover { box-shadow: inset 0 2px 0 var(--gold-hi); }

/* Ključni kamen: the call, a bordeaux slab framed by a thin gold line like the business card */
.ks-cta-sec { border-top: 0; padding-top: 0; }
.ks-cta { position: relative; background: var(--block); border: var(--jw) solid var(--joint-dark); padding: clamp(56px, 7vw, 96px) clamp(22px, 6vw, 88px); text-align: center; display: grid; justify-items: center; gap: 20px; }
.ks-cta::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201, 162, 74, .42); pointer-events: none; }
.ks-cta .ks-drop { position: static; width: 38px; margin-bottom: 4px; }
.ks-cta .ks-lbl { justify-content: center; color: var(--muted); }
.ks-cta .ks-lbl::after { display: none; }
.ks-cta h2 { max-width: 40rem; }
.ks-cta > p:not(.ks-lbl):not(.cta-sign) { color: var(--text); max-width: 36rem; margin: 0; font-size: var(--step-1); }
.ks-cta .ks-actions { justify-content: center; }
.ks-cta .cta-sign { margin: 10px 0 0; font-family: var(--f-head); font-size: var(--step-2); color: var(--gold-hi); }

/* Phone dock: a small gold call button that slides up once the hero has passed */
.ks-dock { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .ks-hero-course { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; min-height: 0; }
  .ks-copy { grid-column: 1 / -1; grid-row: auto; padding-block: 36px; }
  .ks-key { grid-column: 1 / -1; grid-row: auto; }
  .ks-s1, .ks-s2 { grid-column: auto; grid-row: auto; }
  .ks-shot { flex: none; aspect-ratio: 4 / 3; }
  .ks-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-w5, .ks-w4, .ks-w3 { grid-column: auto; }
  .ks-svc .ks-w5:first-child { grid-column: 1 / -1; }
  .ks-svc .ks-w5:last-child { grid-column: 1 / -1; }
  .ks-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .ks { --jw: 2px; }
  .ks-hero { padding-top: 12px; }
  .ks-hero-course { grid-template-columns: 1fr; }
  .ks-copy { padding: 30px 20px 34px; gap: 22px; }
  .ks-h1 { font-size: clamp(2.2rem, 1.2rem + 5vw, 2.8rem); }
  .ks-key { order: 2; } .ks-s1 { order: 3; } .ks-s2 { display: none; }
  .ks-facts, .ks-plans, .ks-pk, .ks-svc, .ks-steps { grid-template-columns: 1fr; }
  .ks-svc .ks-block { grid-column: auto !important; }
  .ks-keymark { top: 20px; right: 20px; width: 24px; }
  .ks-dock {
    display: inline-flex; position: fixed; z-index: 40; left: 16px; right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)); justify-content: center;
    transform: translateY(160%); transition: transform .45s var(--ease-out); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8);
  }
  .ks.dock-on .ks-dock { transform: none; }
  .ks.dock-on .cookie:not([hidden]) ~ .ks-dock { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ks-keymark, .ks-key.anim { animation: none !important; opacity: 1 !important; }
  .ks-lbl::after { transition: none; transform: none !important; }
  .ks-shot .mock { transition: none; }
}

/* Restraint rules (owner, 20 Oct 2026: "not a casino, a high-end studio"): flat gold with no glow or shine,
   matte surfaces, no shadows, bordeaux only on the keystone and the call. */
.ks .btn-primary { background-image: none; background-color: var(--gold); box-shadow: none; letter-spacing: .02em; }
.ks .btn-primary:hover { background-color: var(--gold-hi); box-shadow: none; }
.ks .header-cta { background-image: none; box-shadow: none; }
.ks .brand .mark .pc { filter: none; }
.ks [data-spot]::after { display: none; }
.ks-plan-key { background: var(--block); }
.ks-plan-key h3 small, .ks-plan-key .ks-brief { color: inherit; }
.ks-plan-key .ks-brief { color: var(--muted); }
body.ks { background: var(--ink); }                       /* hides the painted bordeaux glow on phones */
.ks-key .ks-keymark { top: auto; bottom: 22px; right: 22px; }   /* sits by the caption, clear of the example site */
@media (max-width: 640px) { .ks-lbl::after { display: none; } }
.ks-plan-key h3 small { color: var(--muted); }

/* The Stone M set large behind the hero text, 50% visible (owner, 20 Oct 2026). Static: no animation. */
.ks-copy { overflow: hidden; isolation: isolate; }
.ks-copy > :not(.ks-bgmark) { position: relative; z-index: 1; }
.ks-bgmark { position: absolute; z-index: 0; width: 54%; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .5; pointer-events: none; }
@media (max-width: 640px) { .ks-bgmark { width: 62%; } }

/* The skip link shows only for keyboard focus, not when an app viewer focuses the page on load */
.ks .skip-link:focus:not(:focus-visible) { top: -60px; }

/* Background logo assembles once on load, like the logo animation: pillars rise, the slanted blocks swing in
   from their top corners, the keystone drops last with a small knock. Only transform/opacity on small shapes. */
.ks-bgmark [class^="bp"] { transform-box: view-box; animation: bgRise 1.1s var(--ease-out) both; }
.ks-bgmark .bp1 { animation-delay: .25s; }
.ks-bgmark .bp4 { animation-delay: .4s; }
.ks-bgmark .bp2 { transform-origin: 56px 30px; animation: bgSwingL 1.1s var(--ease-out) .7s both; }
.ks-bgmark .bp3 { transform-origin: 144px 30px; animation: bgSwingR 1.1s var(--ease-out) .82s both; }
.ks-bgmark .bpk { animation: bgDrop 1.2s var(--ease-out) 1.35s both; }
@keyframes bgRise { from { transform: translateY(36px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bgSwingL { from { transform: rotate(-38deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bgSwingR { from { transform: rotate(38deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bgDrop {
  0% { transform: translateY(-52px); opacity: 0; }
  55% { transform: translateY(0); opacity: 1; }
  68% { transform: translateY(-4.5px); }
  80%, 100% { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .ks-bgmark [class^="bp"] { animation: none !important; } }

/* "Preskoči na sadržaj" is for keyboard users; touch screens never need it */
@media (hover: none) and (pointer: coarse) { .ks .skip-link { display: none; } }

/* ---------- Inner pages (Keystone rolled out to every page, 21 Oct 2026) ----------
   The shared components from styles.css, set as matte cut stone: flat gold, square corners, dark joints,
   no tilt, no spinning borders, no glows. */
.ks {
  --grad-gold: linear-gradient(var(--gold), var(--gold));
  --grad-gold-line: linear-gradient(var(--gold), var(--gold));
  --grad-gold-text: linear-gradient(var(--gold), var(--gold));
  --grad-wine: linear-gradient(var(--wine), var(--wine));
}
.ks .glow, .ks .orbit, .ks .stone { display: none; }
.ks .plan, .ks .care, .ks .estimator, .ks .contact-form, .ks .direct, .ks .work-card, .ks .courses,
.ks .facts, .ks .table-wrap, .ks .noscript-note, .ks .care-toggle { border-radius: 2px; }
.ks .step-dot { border-radius: 2px; }
.ks .steps.lit .step-dot { box-shadow: none; }
.ks .seg-pill { box-shadow: none; }

/* Packages: blocks in one course, the featured one is the bordeaux keystone */
.ks .plans { gap: var(--jw); background: var(--joint-dark); border: var(--jw) solid var(--joint-dark); perspective: none; }
.ks .plan { transform: none !important; background: var(--block); border: 0; padding-top: 34px; }
.ks .plan:hover { border-color: transparent; box-shadow: inset 0 1px 0 rgba(201, 162, 74, .55); background: var(--block-hi); }
.ks .plan.featured { background: var(--block-hi); border: 0; box-shadow: inset 0 2px 0 var(--gold); animation: none; }
.ks .plan.featured::before { display: none; }
.ks .plan.featured .price .amount { color: var(--ivory); }
.ks .plan.featured .plan-tag, .ks .plan.featured .price-sub { color: var(--muted); }
.ks .plan-badge { position: static; justify-self: start; align-self: start; margin: -12px 0 -6px; background: none; animation: none; box-shadow: none; border-radius: 0; border: 0; padding: 0; color: var(--gold-hi); }
.ks .price, .ks .price .cur { color: var(--ivory); }
.ks .price .amount { font-family: var(--f-head); font-weight: 400; letter-spacing: -.01em; }
.ks .plans-entry .plan { padding-top: 26px; }
.ks .plans-entry .price .amount { font-size: 2.5rem; }

/* Care plan and estimator: plain blocks, the care plan no longer dashed bordeaux */
.ks .care { border: var(--jw) solid var(--joint-dark); background: var(--block); }
.ks .estimator { border: var(--jw) solid var(--joint-dark); }

/* Portfolio cards and the process line: square, matte */
.ks .work-card { border-color: var(--joint-strong); }
.ks .work-card:hover { box-shadow: none; }
.ks .chip { border-radius: 2px; }
.ks .tags li { border-radius: 2px; }
.ks .pricing-sky { display: none; }
.ks .est-summary { background: var(--block-hi); }
.ks .plan-badge { position: absolute; top: 14px; left: 24px; margin: 0; font-size: .64rem; }
/* The closing call on inner pages matches the home page's bordeaux keystone slab */
.ks .cta-card { position: relative; border-radius: 0; background: var(--block); border: var(--jw) solid var(--joint-dark); }
.ks .cta-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201, 162, 74, .42); pointer-events: none; }
.ks .cta-card > * { position: relative; }
.ks .cta-card p:not(.cta-sign):not(.eyebrow) { color: var(--text); }
.ks .cta-card .cta-sign { color: var(--gold-hi); }
.ks main h2.h3 { font-size: var(--step-2); line-height: 1.15; }
html[lang="en"] .ks-h1 { font-size: clamp(2.3rem, 1.3rem + 2.5vw, 3.6rem); }

/* Phone home intro (owner, 23 Oct 2026): the assembling Stone M alone in the centre of the first screen,
   the hero text follows on scroll. Desktop keeps the logo behind the text. */
.ks-intro { display: contents; }
.ks-scroll { display: none; }
@media (max-width: 640px) {
  .ks-hero { padding-top: 0; }
  .ks-copy { padding-top: 0; }
  .ks-intro {
    display: flex; position: relative; align-items: center; justify-content: center;
    min-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
    min-height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px));
  }
  .ks-copy .ks-bgmark { position: static; transform: none; width: min(58vw, 240px); opacity: 1; }
  .ks-scroll { display: block; position: absolute; left: 50%; bottom: 18px; width: 28px; margin-left: -14px; color: var(--gold); animation: ksBob 2.4s ease-in-out 2.6s infinite both; }
  .ks-scroll svg { display: block; width: 28px; height: 28px; }
  .ks-copy.ks-wait > .anim { animation: none; opacity: 0; translate: 0 18px; transition: opacity .9s var(--ease-out), translate .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
  .ks-copy.ks-wait.shown > .anim { opacity: 1; translate: none; }
}
@keyframes ksBob { 0%, 100% { transform: none; opacity: .55; } 50% { transform: translateY(6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ks-scroll { animation: none; }
  .ks-copy.ks-wait > .anim { opacity: 1 !important; translate: none !important; transition: none; }
}

/* ---------- Black and gold (owner, 24 Oct 2026) ----------
   Deep black #050505, charcoal blocks, flat gold. Bordeaux survives only inside the Stone M logo.
   Instrument Serif (400 only) for headings, Manrope for text; wider spacing; sparkles behind hero text. */
.ks h1, .ks h2, .ks h3, .ks .page-title, .ks .brand-word, .ks .bw-maval, .ks .bw-digital, .ks .ks-cap { font-weight: 400; }
.ks main h1, .ks main h2 { letter-spacing: 0; }
.ks-h1 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.8rem); line-height: 1.02; }
html[lang="en"] .ks-h1 { font-size: clamp(2.4rem, 1.3rem + 3vw, 4.2rem); }
.ks main h2 { font-size: clamp(2.3rem, 1.5rem + 2.8vw, 3.6rem); }
.ks main h3 { font-size: 1.55rem; }
.ks .eyebrow, .ks-lbl { letter-spacing: .24em; }
.ks-head > p, .sec-head > p, .ks-block > p, .ks-lead { max-width: 66ch; }
.ks-sec { padding-block: clamp(96px, 11vw, 144px); }
.ks-head { gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.ks-block { padding: clamp(28px, 3vw, 40px); }
.ks-facts .ks-block { padding-block: 24px; }
.ks-study { padding: 14px; }
.ks-copy { gap: 30px; }
.ks-lead { max-width: 32rem; line-height: 1.6; }
.ks .nav { gap: clamp(14px, 1.8vw, 24px); }
.ks .nav a { font-size: .9rem; }
.ks-hero { padding-block: clamp(32px, 5vw, 64px) clamp(80px, 9vw, 120px); }
.ks .plans { gap: var(--jw); }
.ks .plan.featured { box-shadow: inset 0 2px 0 var(--gold); }
.ks .btn { font-family: var(--f-body); font-weight: 600; }
.ks .btn-primary { transition: background-color .3s, translate .35s var(--ease-out); }
.ks .btn-primary:hover, .ks .btn-primary:focus-visible { translate: 0 -2px; }
.ks .btn-primary:active { translate: 0; }
.ks .site-footer { position: relative; border-top: 0; }
.ks .site-footer::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--gold); transform-origin: left; transition: transform 1.4s var(--ease-out); }
.ks .site-footer.pending::before { transform: scaleX(0); }
.ks .site-footer a:not(.brand) { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .4s var(--ease-out); }
.ks .site-footer a:not(.brand):hover { background-size: 100% 1px; color: var(--gold-hi); }
.ks input, .ks textarea, .ks select { border-color: var(--joint-strong); }
.ks input:focus, .ks textarea:focus, .ks select:focus { border-color: var(--gold); }

/* Sparkles: a canvas laid inside the hero block, behind the Stone M and the text (motion.js) */
.ks-sparkle { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.ks-copy > .ks-sparkle { position: absolute; z-index: 0; }
[data-sparkle] { position: relative; isolation: isolate; }
[data-sparkle] > :not(.ks-sparkle):not(.ks-bgmark):not(.ks-scroll) { position: relative; z-index: 1; }

/* Motion: headings reveal word by word, blocks in a course settle one after another (motion.js) */
.ks main .reveal h1 .w, .ks main .reveal h2 .w { display: inline-block; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
.ks main .reveal.pending h1 .w, .ks main .reveal.pending h2 .w { opacity: 0; translate: 0 .45em; }
.ks .reveal .ks-block { transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), background-color .35s, box-shadow .35s; }
.ks .reveal.pending .ks-block { opacity: 0; translate: 0 18px; }
.ks .reveal .ks-block:nth-child(2) { transition-delay: .09s; }
.ks .reveal .ks-block:nth-child(3) { transition-delay: .18s; }
.ks .reveal .ks-block:nth-child(4) { transition-delay: .27s; }
.ks .reveal .ks-block:nth-child(5) { transition-delay: .36s; }
.ks .reveal .ks-block:nth-child(n+6) { transition-delay: .45s; }
@media (max-width: 640px) {
  .ks-sec { padding-block: 64px 72px; }
  .ks-block { padding: 26px 22px; }
  .ks main h2 { font-size: clamp(2rem, 1.4rem + 3vw, 2.5rem); }
  .ks .reveal .ks-block { transition-delay: 0s !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ks main .reveal h1 .w, .ks main .reveal h2 .w, .ks .reveal .ks-block, .ks .site-footer::before, .ks .btn-primary { transition: none; }
  .ks main .reveal.pending h1 .w, .ks main .reveal.pending h2 .w, .ks .reveal.pending .ks-block { opacity: 1; translate: none; }
  .ks .site-footer.pending::before { transform: none; }
}

/* ---------- Home hero, round 2 (owner, 24 Oct 2026): the Stone M on its own block, flat like the logo,
   assembling once; the concept studies moved to Work ---------- */
.ks-hero-course.ks-hero2 { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto; min-height: clamp(520px, 74vh, 720px); }
.ks-hero2 .ks-copy { grid-column: 1 / 8; grid-row: 1; }
.ks-logo { grid-column: 8 / 13; grid-row: 1; display: flex; align-items: center; justify-content: center; background: var(--ink); padding: clamp(32px, 4vw, 56px); overflow: hidden; }
.ks-bigm { display: block; width: min(80%, 360px); height: auto; overflow: visible; }
.ks-bigm [class^="bp"] { transform-box: view-box; animation: bgRise 1.1s var(--ease-out) both; }
.ks-bigm .bp1 { animation-delay: .25s; }
.ks-bigm .bp4 { animation-delay: .4s; }
.ks-bigm .bp2 { transform-origin: 56px 30px; animation: bgSwingL 1.1s var(--ease-out) .7s both; }
.ks-bigm .bp3 { transform-origin: 144px 30px; animation: bgSwingR 1.1s var(--ease-out) .82s both; }
.ks-bigm .bpk { animation: bgDrop 1.2s var(--ease-out) 1.35s both; }
.ks-hero2 + .ks-facts { border-top: 0; }
@media (max-width: 980px) {
  .ks-hero-course.ks-hero2 { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .ks-hero2 .ks-copy, .ks-logo { grid-column: 1 / -1; grid-row: auto; }
  /* logo and text read as one block: small assembling logo on top, text straight under it */
  .ks-logo { order: -1; min-height: 0; justify-content: flex-start; padding: 44px 40px 0; }
  .ks-hero2 .ks-copy, .ks-hero2 .ks-logo { background: var(--ink); }
  .ks-bigm { width: 150px; }
  .ks-hero2 .ks-copy { padding-top: 28px; }
  .ks-logo .ks-scroll { display: none !important; }
}
@media (max-width: 640px) {
  .ks-logo { padding: 34px 22px 0; }
  .ks-bigm { width: 112px; }
  .ks-hero2 .ks-copy { padding: 22px 22px 44px; }
}
@media (prefers-reduced-motion: reduce) { .ks-bigm [class^="bp"] { animation: none !important; } }

/* Services and Studio pages: two-column course of text blocks */
.ks-page-hero { border-top: 0; padding-block: clamp(64px, 8vw, 112px) clamp(24px, 3vw, 40px); }
.ks-page-hero .ks-head { max-width: 52rem; margin-bottom: 0; }
.ks-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ks-svc-item { display: grid; align-content: start; gap: 14px; }
.ks-more-in { margin: 6px 0 0; }
@media (max-width: 760px) { .ks-grid2 { grid-template-columns: 1fr; } }

/* Prices that count up (odometer): Manrope's even figures, so no gap opens around a narrow 1 */
.ks .price .amount, .ks .sum-total .odo, .ks .care-price .odo { font-family: var(--f-body); font-weight: 500; letter-spacing: -.02em; }
.ks .price-once { margin: 18px auto 0; text-align: center; max-width: 60ch; }

.ks .site-footer { background: var(--ink-2); }
.ks .price .from { width: auto; margin: 0 4px 0 0; align-self: baseline; }

/* ---------- Process steps + About us prose (24 Oct, owner: detailed process, "O nama") ---------- */
.ks-steps { grid-template-columns: 1fr; }
.ks-step { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr); gap: clamp(18px, 4vw, 64px); align-items: start; }
.ks-step-no { display: grid; gap: 8px; }
.ks-bignum { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 4.8rem); line-height: .9; color: var(--gold); }
.ks-step-body { display: grid; gap: 14px; max-width: 70ch; }
.ks-step-title { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.ks-step-body > p { color: var(--muted); }
.ks-step-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 10px 0 0; padding-top: 20px; border-top: 1px solid var(--joint); }
.ks-step-meta dt { margin: 0 0 6px; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); }
.ks-step-meta dd { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.55; }
.ks-steps-sec { padding-top: 0; }
.ks-times { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ks-times .ks-block { display: grid; gap: 10px; align-content: start; }
.ks-time { font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; color: var(--ivory) !important; }
.ks-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.ks-split .ks-head { margin-bottom: 0; }
.ks-prose p { margin: 0 0 1.15em; color: var(--text); max-width: 62ch; }
.ks-prose p:last-child { margin-bottom: 0; }
@media (max-width: 980px) { .ks-times { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ks-step { grid-template-columns: 1fr; }
  .ks-step-no { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 14px; }
  .ks-bignum { font-size: 2.6rem; }
  .ks-step-meta { grid-template-columns: 1fr; gap: 14px; }
  .ks-split { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .ks-times { grid-template-columns: 1fr; } }

/* ---------- Work: 4 concept businesses (24 Oct). Mini sites are sized in cqw so they scale like a real page. ---------- */
.cx-list { display: grid; gap: clamp(56px, 8vw, 120px); }
.cx-case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: center; outline: none; }
.cx-case.cx-flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.cx-case.cx-flip .cx-frame { order: 2; }
.cx-case:focus-visible .cx-frame { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
.cx-frame { position: relative; aspect-ratio: 16 / 11; border: 1px solid var(--joint-strong); background: #0d0d0d; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(201, 162, 74, .35); }
.cx-bar { position: absolute; inset: 0 0 auto 0; height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #161616; border-bottom: 1px solid var(--joint); z-index: 2; }
.cx-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2c2c2c; }
.cx-bar span { margin-left: 10px; font-size: .68rem; color: var(--muted); background: rgba(255,255,255,.05); padding: 2px 12px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-view { position: absolute; inset: 30px 0 0 0; overflow: hidden; container-type: size; }
.cx-site { transition: transform 9s cubic-bezier(.45, 0, .25, 1); will-change: transform; font-size: 1.6cqw; line-height: 1.45; }
.cx-case:hover .cx-site, .cx-case:focus .cx-site, .cx-case.peek .cx-site { transform: translateY(calc(-100% + 100cqh)); }
.cx-site img { display: block; width: 100%; height: 100%; object-fit: cover; background: #222; }
.cx-site p { margin: 0; max-width: none; }
.ks main .cx-site h3, .ks main .cx-site h4 { margin: 0; color: inherit; font-family: inherit; font-weight: 400; }
.cx-site em, .cx-site u { font-style: normal; }
.cx-info { display: grid; gap: 14px; align-content: center; }
.cx-info h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3rem); }
.cx-info .cx-meta { color: var(--gold-bright); font-size: .9rem; letter-spacing: .04em; }
.cx-info p { margin: 0; color: var(--muted); }
.cx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.cx-tags li { font-size: .78rem; padding: 6px 12px; border: 1px solid var(--joint-strong); color: var(--text); }
.cx-info .cx-pkg { font-size: .9rem; } .cx-info .cx-pkg b { color: var(--ivory); font-weight: 600; }
@media (max-width: 900px) { .cx-case, .cx-case.cx-flip { grid-template-columns: 1fr; } .cx-case.cx-flip .cx-frame { order: 0; } .cx-frame { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .cx-site { transition: none; } }

/* Hotel Petrina: cream, olive, serif, full-bleed photo */
.cx-hotel { background: #F4EFE6; color: #2E2A22; font-family: Georgia, "Times New Roman", serif; }
.cxh-hero { position: relative; height: 62cqw; }
.cxh-hero > img { position: absolute; inset: 0; }
.cxh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.cxh-nav { position: absolute; z-index: 1; inset: 0 0 auto 0; display: flex; align-items: center; gap: 3.2cqw; padding: 2.6cqw 4cqw; color: #fff; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.3cqw; letter-spacing: .08em; }
.cxh-nav b { font-family: Georgia, serif; font-weight: 400; letter-spacing: .4em; font-size: 2cqw; margin-right: auto; }
.cxh-nav em { border: 1px solid rgba(255,255,255,.8); padding: .8cqw 1.8cqw; }
.cxh-title { position: absolute; z-index: 1; left: 4cqw; right: 30cqw; bottom: 13cqw; color: #fff; }
.cxh-title small { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.2cqw; letter-spacing: .25em; text-transform: uppercase; }
.ks main .cxh-title h3 { font-weight: 400; font-style: italic; font-size: 4.2cqw; line-height: 1.12; margin-top: 1cqw; }
.cxh-book { position: absolute; z-index: 1; left: 4cqw; right: 4cqw; bottom: 3cqw; display: grid; grid-template-columns: 1fr 1fr 1fr 1.3fr; background: #F4EFE6; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.4cqw; }
.cxh-book span { padding: 1.4cqw 2cqw; border-right: 1px solid #DDD3C3; }
.cxh-book small { display: block; font-size: 1cqw; letter-spacing: .15em; text-transform: uppercase; color: #8A8170; }
.cxh-book em { display: grid; place-items: center; background: #4B5A3A; color: #fff; letter-spacing: .06em; }
.cxh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; align-items: center; padding: 6cqw 6cqw 0; }
.cxh-row img { height: 40cqw; }
.cxh-row small { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.1cqw; letter-spacing: .25em; text-transform: uppercase; color: #4B5A3A; }
.ks main .cxh-row h4 { font-weight: 400; font-size: 3.4cqw; line-height: 1.15; margin: 1.2cqw 0 1.4cqw; }
.cxh-row p { color: #5E574A; }
.cxh-row u { display: inline-block; margin-top: 2cqw; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.3cqw; text-decoration: none; border-bottom: 1px solid #2E2A22; padding-bottom: .3cqw; }
.cxh-foot { display: flex; justify-content: space-between; margin-top: 6cqw; padding: 3cqw 6cqw; background: #4B5A3A; color: #EDE6D8; font-size: 1.2cqw; letter-spacing: .3em; }

/* Klinika Arija: white, sage, rounded, clean sans */
.cx-dent { background: #FAFAF7; color: #1F2A27; font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif; }
.cxd-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 4cqw; font-size: 1.35cqw; color: #4E5B57; }
.cxd-nav b { margin-right: auto; display: flex; align-items: center; gap: 1cqw; font-size: 2.2cqw; color: #1F2A27; letter-spacing: -.02em; }
.cxd-nav b i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #8FA89A; }
.cxd-nav b small { font-size: 1.1cqw; font-weight: 400; color: #6E7B77; }
.cxd-nav em { background: #2F4A41; color: #fff; padding: 1cqw 2cqw; border-radius: 99px; }
.cxd-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4cqw; align-items: center; padding: 3cqw 4cqw 0; }
.cxd-hero small { font-size: 1.15cqw; color: #5F7F71; font-weight: 600; letter-spacing: .06em; }
.ks main .cxd-hero h3 { font-size: 4.6cqw; line-height: 1.06; letter-spacing: -.03em; margin: 1.4cqw 0 2cqw; font-weight: 600; }
.cxd-hero p { color: #55625E; margin-bottom: 2.6cqw; }
.cxd-hero em { display: inline-block; background: #2F4A41; color: #fff; padding: 1.3cqw 2.6cqw; border-radius: 99px; font-size: 1.4cqw; }
.cxd-hero img { height: 42cqw; border-radius: 2.4cqw; }
.cxd-svc { margin: 5cqw 4cqw 0; padding: 3.4cqw; background: #EEF2EE; border-radius: 2.4cqw; }
.ks main .cxd-svc h4 { font-size: 2.4cqw; margin-bottom: 2cqw; letter-spacing: -.02em; }
.cxd-svc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw 4cqw; }
.cxd-svc li { display: flex; justify-content: space-between; padding: 1.2cqw 0; border-bottom: 1px solid #D5DED8; }
.cxd-svc li b { font-weight: 500; } .cxd-svc li span { color: #5F7F71; }
.cxd-team { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 3cqw; align-items: center; padding: 5cqw 4cqw 0; }
.cxd-team img { height: 32cqw; border-radius: 2cqw; }
.cxd-team small { font-size: 1.1cqw; color: #5F7F71; font-weight: 600; }
.ks main .cxd-team h4 { font-size: 2.6cqw; line-height: 1.12; letter-spacing: -.02em; margin: 1cqw 0; }
.cxd-team p { color: #55625E; }
.cxd-foot { margin-top: 5cqw; padding: 3cqw 4cqw; background: #2F4A41; color: #CFE0D7; font-size: 1.2cqw; }

/* ---------- More bordeaux (owner 24 Oct: "more bordeaux throughout the site, including packages") ----------
   Bordeaux from the logo's keystone goes on surfaces, glows and small accents; text stays gold and ivory for contrast. */
.ks { --wine: #4A1220; --wine-hi: #7A1F33; --wine-lite: #A33A55; --wine-glow: rgba(122, 31, 51, .55); }
.ks-lbl > span:first-child { color: var(--wine-lite); }
.ks .site-footer { box-shadow: inset 0 1px 0 rgba(122, 31, 51, .6); }
.ks-cta { background: radial-gradient(120% 90% at 50% 0%, rgba(74, 18, 32, .55), rgba(74, 18, 32, 0) 70%), var(--block); }
.ks-step-meta { border-top-color: rgba(122, 31, 51, .7); }
.cx-tags li { border-color: rgba(163, 58, 85, .55); }
.ks .btn-ghost:hover, .ks .btn-ghost:focus-visible { background: rgba(74, 18, 32, .55); }
.ks-svc-item h3::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 14px; background: linear-gradient(90deg, var(--wine-hi), var(--wine-lite)); }

/* Packages: bordeaux on the recommended one, and a lift + bordeaux glow on every package when touched or hovered */
.ks .plan, .ks .ks-plan, .ks a[data-ks-plan] { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .45s var(--ease-out); }
.ks .plan.featured, .ks a.ks-pk-feat { background: linear-gradient(180deg, rgba(122, 31, 51, .55), rgba(74, 18, 32, .35) 45%, var(--block-hi)); box-shadow: inset 0 2px 0 var(--gold), 0 30px 60px -40px var(--wine-glow); }
.ks .plan-badge { color: var(--ivory); background: var(--wine-hi) !important; padding: 3px 9px; letter-spacing: .14em; }
.ks .plan.featured { padding-top: 52px; }
.ks .plan:hover, .ks .plan.touch-on, .ks a[data-ks-plan]:hover, .ks a[data-ks-plan].touch-on {
  transform: translateY(-8px) !important; z-index: 2;
  background: linear-gradient(180deg, rgba(122, 31, 51, .6), rgba(74, 18, 32, .3) 55%, var(--block-hi));
  box-shadow: inset 0 2px 0 var(--gold), 0 34px 60px -30px var(--wine-glow), 0 0 0 1px rgba(163, 58, 85, .45);
}
.ks .plan .price { display: inline-flex; }
.ks a[data-ks-plan] strong { display: inline-block; }
.ks .plan .price, .ks a[data-ks-plan] strong { transition: transform .45s var(--ease-out), color .45s; transform-origin: left center; }
.ks .plan:hover .price, .ks .plan.touch-on .price, .ks a[data-ks-plan]:hover strong, .ks a[data-ks-plan].touch-on strong { transform: scale(1.06); color: var(--gold-hi); }
.ks .plan li { transition: transform .4s var(--ease-out); transition-delay: calc(var(--j, 0) * 40ms); }
.ks .plan:hover li, .ks .plan.touch-on li { transform: translateX(6px); }
.ks .plan .btn { transition: transform .4s var(--ease-out), box-shadow .4s; }
.ks .plan:hover .btn, .ks .plan.touch-on .btn { box-shadow: 0 10px 30px -12px var(--wine-glow); }
.ks .plan::after, .ks a[data-ks-plan]::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(245, 223, 145, .12) 50%, transparent 65%); background-size: 250% 100%; background-position: 120% 0; }
.ks .plan:hover::after, .ks .plan.touch-on::after, .ks a[data-ks-plan]:hover::after, .ks a[data-ks-plan].touch-on::after { opacity: 1; animation: ksSheen 1.1s var(--ease-out) both; }
@keyframes ksSheen { from { background-position: 120% 0; } to { background-position: -20% 0; } }
.ks .plan, .ks a[data-ks-plan] { position: relative; }
@media (prefers-reduced-motion: reduce) {
  .ks .plan:hover, .ks .plan.touch-on, .ks a[data-ks-plan]:hover, .ks a[data-ks-plan].touch-on { transform: none !important; }
  .ks .plan:hover li, .ks .plan.touch-on li { transform: none; }
  .ks .plan::after, .ks a[data-ks-plan]::after { display: none; }
}

/* Card, step and package titles in gold (owner 24 Oct 16:03: "the text should be golden"). Solid colour, never gradient text. */
.ks main h3, .ks main .ks-step-title, .ks main .cx-info h2, .ks main .plan h3 { color: var(--gold); }

/* 31 Oct polish. Mouse: a soft gold light follows the cursor inside cards (motion.js adds .ks-light on first hover).
   Touch: no grey tap flash on buttons and cards (motion.js presses them in instead).
   Desktop: pages fade into each other (browsers without view transitions simply load the page). */
.ks .has-light { isolation: isolate; }
.ks-light { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; border-radius: inherit; }
.ks-light > span {
  position: absolute; left: -160px; top: -160px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 74, .16), rgba(201, 162, 74, .05) 40%, rgba(201, 162, 74, 0) 68%);
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.ks .light-on > .ks-light > span { opacity: 1; }
.ks .btn, .ks a.ks-block, .ks .plan, .ks a[data-ks-plan], .ks .cx-case { -webkit-tap-highlight-color: transparent; }
/* page changes: see "Page changes" at the end of this file */
@media (prefers-reduced-motion: reduce) { .ks-light { display: none; } }

/* ---------- Case-study pages (31 Oct): one concept project shown in full. Concept work, clearly labelled. ---------- */
.cs-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); text-decoration: none; font-size: .86rem; }
.cs-back:hover { color: var(--gold-hi); }
.cs-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 48px); }
.cs-facts .ks-block { display: grid; gap: 4px; align-content: start; font-size: .86rem; color: var(--muted); padding-block: 22px; }
.cs-facts strong { font-family: var(--f-head); font-weight: 400; font-size: 1.4rem; color: var(--ivory); line-height: 1.15; }
.cs-show { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 2.5fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin: 0; }
.cs-show figure { margin: 0; display: grid; gap: 14px; }
.cs-show figcaption { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cs-desk { border: 1px solid var(--joint-strong); background: #0d0d0d; box-shadow: 0 40px 80px -50px rgba(201, 162, 74, .35); }
.cs-desk .cx-bar { position: static; }
.cs-desk .cx-view { position: relative; inset: auto; container-type: inline-size; }
.cs-desk .cx-site { transition: none; will-change: auto; transform: none; }
.cs-phonefig { justify-self: center; width: min(100%, 300px); }
.cs-phone { position: relative; aspect-ratio: 9 / 19; border: 8px solid #1b1b1b; border-radius: 40px; overflow: hidden; background: #F4EFE6; container-type: inline-size; box-shadow: 0 40px 80px -50px rgba(201, 162, 74, .35); }
.cs-phone::before { content: ""; position: absolute; z-index: 3; top: 3cqw; left: 50%; width: 30%; height: 7cqw; margin-left: -15%; border-radius: 99px; background: #1b1b1b; }
.cph { color: #2E2A22; font-family: Georgia, "Times New Roman", serif; font-size: 4.2cqw; line-height: 1.45; }
.cph p, .ks main .cph h3, .ks main .cph h4 { margin: 0; color: inherit; font-family: inherit; font-weight: 400; max-width: none; }
.cph-hero { position: relative; height: 128cqw; color: #fff; }
.cph-hero img, .cph-room img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cph-hero img { position: absolute; inset: 0; }
.cph-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.6)); }
.cph-nav { position: absolute; z-index: 1; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; padding: 15cqw 6cqw 0; font-size: 3.8cqw; letter-spacing: .35em; }
.cph-nav i { display: grid; gap: 1.4cqw; width: 6cqw; }
.cph-nav i::before, .cph-nav i::after { content: ""; height: 1px; background: #fff; }
.cph-title { position: absolute; z-index: 1; left: 6cqw; right: 6cqw; bottom: 7cqw; }
.cph-title small { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 2.8cqw; letter-spacing: .25em; text-transform: uppercase; }
.ks main .cph-title h3 { font-style: italic; font-size: 7.6cqw; line-height: 1.12; margin-top: 2cqw; }
.cph-book { display: grid; grid-template-columns: 1fr 1fr; margin: 5cqw 6cqw 0; border: 1px solid #DDD3C3; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 3.6cqw; }
.cph-book span { padding: 3cqw 4cqw; }
.cph-book span + span { border-left: 1px solid #DDD3C3; }
.cph-book small { display: block; font-size: 2.4cqw; letter-spacing: .15em; text-transform: uppercase; color: #8A8170; }
.cph-book em { grid-column: 1 / -1; padding: 3.8cqw; background: #4B5A3A; color: #fff; font-style: normal; text-align: center; letter-spacing: .06em; }
.cph-room { margin: 8cqw 6cqw 0; }
.cph-room img { height: 60cqw; }
.cph-room small { display: block; margin-top: 4cqw; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 2.6cqw; letter-spacing: .25em; text-transform: uppercase; color: #4B5A3A; }
.ks main .cph-room h4 { font-size: 6.2cqw; line-height: 1.15; margin-top: 1.5cqw; }
.cs-think { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-think .ks-block { display: grid; gap: 14px; align-content: start; }
.cs-think h3 { margin: 0; font-size: 1.35rem; }
.cs-sw { display: flex; gap: 10px; }
.cs-sw i { width: 46px; height: 46px; border: 1px solid var(--joint-strong); }
.cs-type { display: flex; align-items: baseline; gap: 18px; color: var(--ivory); }
.cs-type b { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; font-size: 3rem; line-height: 1; }
.cs-type span { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 1.05rem; letter-spacing: .08em; }
.cs-lay { display: grid; gap: 5px; width: 120px; padding: 6px; border: 1px solid var(--joint-strong); }
.cs-lay i { display: block; height: 40px; background: linear-gradient(135deg, #6b6252, #3b372e); }
.cs-lay b { display: block; height: 10px; background: #4B5A3A; }
.cs-lay s { display: block; height: 6px; width: 70%; background: var(--joint-strong); text-decoration: none; }
/* Detail photos: shown whole (never cropped) and kept to a modest size, so they sit in the page like the other blocks */
.cs-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); max-width: 780px; margin: clamp(28px, 4vw, 48px) auto 0; }
.cs-detail figure { margin: 0; display: grid; gap: 12px; align-content: start; }
.cs-detail img { width: 100%; height: auto; display: block; background: #1a1a1a; }
.cs-detail figcaption { color: var(--muted); font-size: .92rem; max-width: 46ch; }
.cs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cs-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--text); }
.cs-list li::before { content: ""; width: 12px; height: 1px; margin-top: .8em; background: var(--gold); }
.cs-pkg { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.cs-pkg strong { display: block; font-family: var(--f-head); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-hi); line-height: 1.1; margin: 6px 0 4px; }
.cs-pkg .ks-split { display: block; }
.cs-pkg p { margin: 8px 0 0; color: var(--muted); }
.cs-pkg .hero-actions { margin: 0; }
.cs-note { margin-top: 18px; font-size: .82rem; color: var(--muted); }
@media (max-width: 900px) {
  .cs-show, .cs-think, .cs-pkg { grid-template-columns: 1fr; }
  .cs-phonefig { width: min(78%, 300px); }
  .cs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .cs-detail { grid-template-columns: 1fr; gap: 28px; } .cs-detail figure { width: min(100%, 300px); margin-inline: auto; } }
/* Case-study phone screens for the other three concepts, each in its own site's style */
.ks main .cs-phone :is(h3, h4) { margin: 0; color: inherit; font-family: inherit; font-weight: 400; }
.cs-phone p { margin: 0; max-width: none; }
.cs-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-phone em { font-style: normal; }
.cs-phone.is-dent { background: #FAFAF7; }
.cp-burger { display: grid; gap: 1.4cqw; width: 6cqw; }
.cp-burger::before, .cp-burger::after { content: ""; height: 1px; background: currentColor; }
.cpd { color: #1F2A27; font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif; font-size: 3.9cqw; line-height: 1.45; }
.cpd-nav { display: flex; justify-content: space-between; align-items: center; padding: 15cqw 6cqw 5cqw; }
.cpd-nav b { display: flex; align-items: center; gap: 2cqw; font-size: 5.2cqw; letter-spacing: -.02em; }
.cpd-nav b i { width: 4.6cqw; height: 4.6cqw; border-radius: 50%; background: #8FA89A; }
.cpd-nav em { padding: 1.8cqw 3.6cqw; border-radius: 99px; background: #2F4A41; color: #fff; font-size: 3.2cqw; }
.cpd-hero { height: 58cqw; margin: 0 6cqw; border-radius: 5cqw; overflow: hidden; }
.cpd-copy { padding: 5cqw 6cqw 0; }
.cpd-copy small { font-size: 2.8cqw; font-weight: 600; letter-spacing: .06em; color: #5F7F71; }
.ks main .cpd-copy h3 { margin: 1.6cqw 0 0; font-size: 7.4cqw; font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
.cpd-copy em { display: block; margin-top: 4cqw; padding: 3.4cqw; border-radius: 99px; background: #2F4A41; color: #fff; text-align: center; }
.cpd-svc { margin: 6cqw 6cqw 0; padding: 4cqw 5cqw; border-radius: 5cqw; background: #EEF2EE; list-style: none; }
.cpd-svc li { display: flex; justify-content: space-between; gap: 3cqw; padding: 2.4cqw 0; border-bottom: 1px solid #D5DED8; font-size: 3.5cqw; }
.cpd-svc li:last-child { border-bottom: 0; }
.cpd-svc span { color: #5F7F71; white-space: nowrap; }
.cs-lay.is-split { grid-template-columns: 1fr 1fr; align-items: center; gap: 8px; }
.cs-lay.is-split > div { display: grid; gap: 5px; }
.cs-lay u { display: block; height: 9px; border-bottom: 1px solid var(--joint-strong); text-decoration: none; }
.cs-lay.is-cat i { height: 34px; }

/* ---------- Palette, 31 Oct 2026 (owner approved): night black #0B0A09 about 60%, ivory #EFE6D6 about 30%,
   gold #C9A24A about 10% and only on headings' <em> word, titles, buttons, thin lines and prices.
   Bordeaux lives only inside the Stone M logo (its own SVG gradients), so the bordeaux tokens become warm neutrals here. */
.ks { --wine: #14343E; --wine-hi: #1F4753; --wine-dark: #0F2A33; --wine-lite: #8FA6A4; --wine-glow: rgba(201, 162, 74, .22);
  --grad-wine: linear-gradient(#1B1815, #1B1815); }
.ks .site-footer { box-shadow: inset 0 1px 0 rgba(201, 162, 74, .28); }
.ks-cta { background: radial-gradient(120% 90% at 50% 0%, rgba(234, 240, 238, .05), rgba(234, 240, 238, 0) 70%), var(--block); }
.ks-step-meta { border-top-color: var(--joint-strong); }
.cx-tags li { border-color: rgba(234, 240, 238, .22); }
.ks .btn-ghost:hover, .ks .btn-ghost:focus-visible { background: rgba(201, 162, 74, .1); }
.ks-svc-item h3::before { background: var(--gold); }
.ks .plan.featured, .ks a.ks-pk-feat { background: linear-gradient(180deg, rgba(201, 162, 74, .09), rgba(201, 162, 74, 0) 45%), var(--block-hi); box-shadow: inset 0 2px 0 var(--gold); }
.ks .plan-badge { color: var(--on-gold); background: var(--gold) !important; }
.ks .plan:hover, .ks .plan.touch-on, .ks a[data-ks-plan]:hover, .ks a[data-ks-plan].touch-on {
  background: linear-gradient(180deg, rgba(201, 162, 74, .1), rgba(201, 162, 74, 0) 55%), var(--block-hi);
  box-shadow: inset 0 2px 0 var(--gold), 0 34px 60px -34px var(--wine-glow), 0 0 0 1px rgba(201, 162, 74, .3);
}
.ks .form-status.info { background: var(--block-hi); }

/* ---------- Fewer boxes (owner 31 Oct: "remove those black lines/boxes, add them only where needed") ----------
   Text sections (hero, facts, services, steps, process, studio) sit directly on the page with one fine line
   above each item. Filled cards stay only where something is picked or filled in: packages, the closing call,
   forms, the portfolio previews. No black joints and no divider line between sections. */
.ks { --jw: 0px; }
.ks-sec, .ks .section { border-top: 0; }
.ks-course { background: none; border: 0; gap: clamp(10px, 1.6vw, 24px); }
.ks-course + .ks-course { border-top: 0; }
.ks .ks-course > .ks-block { background: transparent; border-top: 1px solid rgba(234, 240, 238, .16); padding: clamp(20px, 2.4vw, 30px) 0 4px; }
.ks .ks-course > a.ks-block:hover { background: transparent; box-shadow: inset 0 1px 0 var(--gold); }
.ks .ks-course > .ks-copy, .ks .ks-course > .ks-logo { border-top: 0; padding-top: 0; }
.ks .ks-hero-course { min-height: 0; }
.ks .ks-facts > .ks-block { padding-bottom: 0; }
/* Cards that stay: the package tiles on Home */
.ks .ks-pk > .ks-block { background: var(--block); border-top: 0; padding: clamp(22px, 2.6vw, 34px); }
.ks .ks-pk > a.ks-block:hover { background: var(--block-hi); box-shadow: inset 0 1px 0 rgba(201, 162, 74, .55); }
.ks .ks-pk > .ks-pk-feat { box-shadow: inset 0 2px 0 var(--gold); }
/* Packages page: separate cards instead of one black grid */
.ks .plans { background: none; border: 0; gap: clamp(12px, 1.6vw, 22px); }
.ks .care { border: 1px solid var(--joint-strong); }
.ks .estimator { border: 1px solid var(--joint-strong); }
/* Closing call: keep the card and its fine gold frame, drop the black outline */
.ks-cta, .ks .cta-card { border: 0; }

/* 31 Oct (owner): palette J, deep teal #0B2027 + sea white #EAF0EE + brass #C9A24A, and the joined Stone M without outlines */
.mark .pc { stroke: none; }
.ks .ks-facts { margin-top: clamp(28px, 4vw, 48px); }

/* 31 Oct, owner: "gold around the mouse for the whole website, not just boxes".
   One 360px soft brass glow follows the mouse over every part of the page (motion.js adds it, mouse only).
   It sits above the content (screen blend, so it lightens the dark teal and barely touches light photos),
   under the header, and never takes clicks. Only transform and opacity change. Touch screens never get it. */
.ks-glow {
  position: fixed; left: -180px; top: -180px; width: 360px; height: 360px; z-index: 45;
  border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(201, 162, 74, .10), rgba(201, 162, 74, .035) 40%, rgba(201, 162, 74, 0) 68%);
  opacity: 0; transition: opacity .4s var(--ease-out); will-change: transform;
}
.ks-glow.on { opacity: 1; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .ks-glow { display: none; } }

/* 31 Oct, owner: "suggested package should be more highlighted/visible".
   The recommended package (Signature) gets a full brass frame, a brighter brass wash from the top, a soft brass glow
   underneath, a brass price, a larger "Preporučeno" tag sitting on its top edge, and on wide screens it stands taller
   than its neighbours. Static styles only (no animation), so phones pay nothing extra. */
.ks .plans .plan.featured, .ks .ks-pk > a.ks-pk-feat, .ks .ks-pk > a.ks-pk-feat:hover {
  background: linear-gradient(180deg, rgba(201, 162, 74, .2), rgba(201, 162, 74, .06) 38%, rgba(201, 162, 74, 0) 72%), var(--block-hi);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .8), inset 0 3px 0 var(--gold), 0 36px 80px -36px rgba(201, 162, 74, .5);
  z-index: 1;
}
.ks .plans .plan.featured:hover, .ks .plans .plan.featured.touch-on {
  background: linear-gradient(180deg, rgba(201, 162, 74, .24), rgba(201, 162, 74, .08) 40%, rgba(201, 162, 74, 0) 74%), var(--block-hi);
  box-shadow: inset 0 0 0 1px var(--gold), inset 0 3px 0 var(--gold-hi), 0 40px 90px -34px rgba(201, 162, 74, .6);
}
.ks .plan.featured { padding-top: 46px; }
.ks .plan.featured .plan-badge {
  top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; padding: 7px 16px; border-radius: 2px;
  color: var(--on-gold); background: var(--gold) !important; box-shadow: 0 10px 24px -10px rgba(201, 162, 74, .7);
}
.ks .plan.featured .price .amount, .ks .plan.featured .price .cur, .ks .ks-pk > a.ks-pk-feat strong { color: var(--gold-hi); }
.ks .ks-pk > a.ks-pk-feat .ks-num { color: var(--gold-hi); }
.ks .ks-pk > a.ks-pk-feat { position: relative; overflow: visible; }
.ks .ks-pk > a.ks-pk-feat::before {
  content: attr(data-badge); position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 2; white-space: nowrap;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 14px; border-radius: 2px;
  color: var(--on-gold); background: var(--gold); box-shadow: 0 10px 24px -10px rgba(201, 162, 74, .7);
}
.ks .ks-pk { padding-top: 14px; }
@media (min-width: 861px) {
  .ks .plans:not(.plans-entry) { padding-block: 18px; }
  .ks .plans:not(.plans-entry) .plan.featured { margin-block: -18px; padding-top: 64px; padding-bottom: 42px; }
  .ks .ks-pk > a.ks-pk-feat { margin-block: -14px; padding-block: calc(clamp(22px, 2.6vw, 34px) + 14px); }
}

/* ---------- Stone M behind the header of every inner page (2 Nov 2026) ----------
   Same assembling animation as the home logo (the .ks-bgmark bp* rules above), placed top right, soft so the text stays
   readable. Small and absolute: no fixed or full-screen layer, transform and opacity only. */
.ks-has-pagemark { position: relative; }
.ks-bgmark.ks-pagemark { position: absolute; z-index: 0; left: auto; top: clamp(72px, 8vw, 120px); right: max(var(--gutter, 24px), calc((100% - var(--wrap, 1200px)) / 2 + var(--gutter, 24px))); width: clamp(170px, 20vw, 280px); height: auto; transform: none; opacity: .34; pointer-events: none; overflow: visible; }
@media (max-width: 980px) { .ks-bgmark.ks-pagemark { top: 14px; width: 64px; opacity: .55; } }
/* Legal pages have a long text column in the middle, so the mark stays narrower and clear of it on wide screens */
@media (min-width: 981px) { .legal-main > .ks-pagemark { width: clamp(110px, 12vw, 150px); } }

/* Sparkle bands on the legal pages (2 Nov 2026): behind the text, 700 px tall, drawn by motion.js */
.ks-has-bands { position: relative; isolation: isolate; overflow: hidden; }
.ks-spark-band { position: absolute; left: 0; right: 0; height: 700px; z-index: 0; pointer-events: none; }
.ks-has-bands > .wrap { position: relative; z-index: 1; }

/* ---------- Concept sites for Starter, Foundation and Commerce (7 Nov 2026). Each has its own layout, type and feel. ---------- */

/* Škver barbershop (Starter): near-black brown, cream, copper, narrow capitals, one long page */
.cx-barb { background: #14110F; color: #EDE3D3; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; }
.cxb-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 4cqw; font-size: 1.3cqw; letter-spacing: .14em; text-transform: uppercase; color: #BDB19D; }
.cxb-nav b { margin-right: auto; color: #EDE3D3; font-size: 2.4cqw; font-weight: 800; letter-spacing: .3em; }
.cxb-nav em { border: 1px solid #C77B3A; color: #C77B3A; padding: .9cqw 2cqw; }
.cxb-hero { position: relative; height: 46cqw; }
.cxb-hero > img { position: absolute; inset: 0; }
.cxb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,17,15,.94) 0%, rgba(20,17,15,.62) 42%, rgba(20,17,15,0) 78%); }
.cxb-copy { position: absolute; z-index: 1; left: 4cqw; top: 50%; translate: 0 -50%; width: 42cqw; display: grid; gap: 1.8cqw; }
.cxb-copy small { font-size: 1.2cqw; letter-spacing: .3em; text-transform: uppercase; color: #C77B3A; }
.ks main .cxb-copy h3 { font-weight: 800; font-size: 6.4cqw; line-height: .92; text-transform: uppercase; letter-spacing: -.01em; }
.cxb-copy p { color: #D8CCB8; font-size: 1.7cqw; }
.cxb-copy em { justify-self: start; background: #C77B3A; color: #14110F; padding: 1.2cqw 2.6cqw; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 1.3cqw; }
.cxb-price { display: grid; grid-template-columns: 1fr 1.7fr; gap: 4cqw; align-items: start; padding: 6cqw 4cqw 0; }
.ks main .cxb-price h4 { font-weight: 800; font-size: 4.4cqw; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.cxb-price ul { list-style: none; margin: 0; padding: 0; display: grid; }
.cxb-price li { display: flex; align-items: baseline; gap: 1.2cqw; padding: 1.5cqw 0; font-size: 2cqw; border-bottom: 1px solid #2E2823; }
.cxb-price li i { flex: 1; border-bottom: 1px dotted #5A4F44; translate: 0 -.4cqw; }
.cxb-price li span { color: #C77B3A; font-weight: 700; }
.cxb-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; padding: 6cqw 4cqw 0; }
.cxb-pair figure { margin: 0; }
.cxb-pair img { height: 40cqw; }
.cxb-pair figcaption { padding-top: 1cqw; font-size: 1.2cqw; letter-spacing: .2em; text-transform: uppercase; color: #8F8472; }
.cxb-info { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 3cqw; padding: 6cqw 4cqw 0; }
.cxb-info small { display: block; margin-bottom: .8cqw; font-size: 1.1cqw; letter-spacing: .25em; text-transform: uppercase; color: #C77B3A; }
.cxb-info p { font-size: 1.7cqw; line-height: 1.5; }
.cxb-btns { display: flex; gap: 1.2cqw; margin-top: 1.6cqw; }
.cxb-btns em { border: 1px solid #5A4F44; padding: .9cqw 1.8cqw; font-size: 1.3cqw; letter-spacing: .1em; text-transform: uppercase; }
.cxb-map { position: relative; min-height: 18cqw; border: 1px solid #2E2823; background: repeating-linear-gradient(0deg, transparent 0 3cqw, #231E1A 3cqw 3.15cqw), repeating-linear-gradient(90deg, transparent 0 3cqw, #231E1A 3cqw 3.15cqw), #1A1613; }
.cxb-map u { position: absolute; left: 50%; top: 46%; width: 2.4cqw; height: 2.4cqw; margin: -1.2cqw 0 0 -1.2cqw; border-radius: 50%; background: #C77B3A; box-shadow: 0 0 0 1cqw rgba(199,123,58,.25); }
.cxb-foot { margin-top: 6cqw; padding: 3cqw 4cqw; border-top: 1px solid #2E2823; font-size: 1.2cqw; letter-spacing: .12em; text-transform: uppercase; color: #8F8472; }

/* Konoba Smokva (Foundation): warm paper, brick red, centred masthead, arch photo, menu with dotted leaders */
.cx-kon { background: #FBF5EA; color: #3A2418; font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif; }
.cxk-check { height: 1.6cqw; background: repeating-conic-gradient(#A8432A 0 25%, #FBF5EA 0 50%) 0 0 / 3.2cqw 3.2cqw; }
.cxk-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 2.4cqw 4cqw; font-size: 1.3cqw; letter-spacing: .14em; text-transform: uppercase; color: #6B4A38; }
.cxk-nav b { text-align: center; font-size: 3.2cqw; font-weight: 700; letter-spacing: .02em; text-transform: none; color: #A8432A; line-height: 1; }
.cxk-nav b small { display: block; margin-top: .6cqw; font-size: 1cqw; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: #8A6A55; }
.cxk-r { justify-self: end; display: flex; align-items: center; gap: 2.4cqw; }
.cxk-r em { border: 1px solid #C9A98C; padding: .6cqw 1.4cqw; font-size: 1.1cqw; }
.cxk-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; align-items: center; padding: 3cqw 4cqw 0; }
.cxk-copy { display: grid; gap: 2cqw; }
.cxk-copy small { font-size: 1.2cqw; letter-spacing: .22em; text-transform: uppercase; color: #A8432A; }
.ks main .cxk-copy h3 { font-weight: 700; font-size: 4.2cqw; line-height: 1.08; letter-spacing: -.02em; color: #8E3420; }
.cxk-copy p { color: #5D4333; }
.cxk-copy em { justify-self: start; background: #A8432A; color: #fff; padding: 1.2cqw 2.4cqw; border-radius: 99px; font-size: 1.3cqw; letter-spacing: .04em; }
.cxk-hero img { height: 44cqw; border-radius: 22cqw 22cqw 1cqw 1cqw; }
.cxk-menu { margin: 6cqw 4cqw 0; padding: 4cqw; background: #FFF9EE; border: 1px solid #E5D5BA; }
.ks main .cxk-menu h4 { text-align: center; margin-bottom: 3cqw; font-size: 2.6cqw; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #A8432A; }
.cxk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 5cqw; }
.cxk-cols ul { list-style: none; margin: 0; padding: 0; }
.cxk-cols li, .cpk-menu li { display: flex; align-items: baseline; gap: 1cqw; padding: 1.3cqw 0; font-size: 1.8cqw; }
.cxk-cols li i, .cpk-menu li i { flex: 1; border-bottom: 2px dotted #D6BFA3; translate: 0 -.4cqw; }
.cxk-cols li span, .cpk-menu li span { color: #A8432A; font-weight: 700; }
.cxk-dish { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; align-items: center; padding: 6cqw 4cqw 0; }
.cxk-dish img { height: 40cqw; border-radius: 1cqw; }
.cxk-dish small, .cxk-band small, .cxk-contact small { display: block; margin-bottom: 1cqw; font-size: 1.1cqw; letter-spacing: .22em; text-transform: uppercase; color: #A8432A; }
.ks main .cxk-dish h4 { font-weight: 700; font-size: 3cqw; line-height: 1.15; margin-bottom: 1.4cqw; letter-spacing: -.01em; }
.cxk-dish p { color: #5D4333; }
.cxk-band { position: relative; height: 40cqw; margin-top: 6cqw; }
.cxk-band img { position: absolute; inset: 0; object-position: 50% 62%; }
.cxk-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(40,20,10,.75), rgba(40,20,10,0) 62%); }
.cxk-band div { position: absolute; z-index: 1; left: 4cqw; right: 30cqw; bottom: 3.4cqw; color: #FFF3E0; }
.cxk-band small { color: #F2C9A5; }
.ks main .cxk-band h4 { font-weight: 700; font-size: 3.4cqw; line-height: 1.1; letter-spacing: -.01em; }
.cxk-contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5cqw; padding: 5cqw 4cqw 0; }
.cxk-contact p { font-size: 1.8cqw; }
.cxk-form span { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 1.2cqw; }
.cxk-form i { font-style: normal; padding: 1.2cqw 1.6cqw; border: 1px solid #D6BFA3; background: #fff; color: #A58C77; font-size: 1.3cqw; }
.cxk-form em { display: block; margin-top: 1.4cqw; width: max-content; background: #A8432A; color: #fff; padding: 1.1cqw 2.4cqw; border-radius: 99px; font-size: 1.3cqw; }
.cxk-foot { margin-top: 6cqw; padding: 3cqw 4cqw; background: #3A2418; color: #E8D9C0; font-size: 1.2cqw; letter-spacing: .12em; }

/* Uljara Oleum (Commerce): stone white, olive, gold prices, shop grid with basket */
.cx-oil { background: #F7F5EE; color: #1F2A1C; font-family: "Helvetica Neue", Arial, sans-serif; }
.cxo-top { padding: 1cqw 4cqw; background: #2F3A1F; color: #E6E2C9; font-size: 1.15cqw; text-align: center; letter-spacing: .06em; }
.cxo-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.2cqw 4cqw; font-size: 1.35cqw; color: #4A5640; border-bottom: 1px solid #E3DFCF; }
.cxo-nav b { margin-right: auto; font-size: 2.4cqw; letter-spacing: .28em; color: #2F3A1F; }
.cxo-nav em { background: #6B7A2B; color: #fff; padding: .9cqw 1.8cqw; border-radius: 99px; }
.cxo-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4cqw; align-items: center; padding: 4cqw 4cqw 0; }
.cxo-copy { display: grid; gap: 2cqw; }
.cxo-copy small { font-size: 1.15cqw; letter-spacing: .2em; text-transform: uppercase; color: #6B7A2B; font-weight: 600; }
.ks main .cxo-copy h3 { font-weight: 600; font-size: 4.6cqw; line-height: 1.04; letter-spacing: -.035em; color: #1F2A1C; }
.cxo-copy p { color: #4C5645; }
.cxo-copy em { justify-self: start; background: #6B7A2B; color: #fff; padding: 1.2cqw 2.6cqw; border-radius: 99px; font-size: 1.35cqw; font-weight: 600; }
.cxo-hero img { height: 38cqw; border-radius: 2cqw; }
.cxo-usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin: 4cqw 4cqw 0; padding: 2cqw 0; border-top: 1px solid #DDD8C4; border-bottom: 1px solid #DDD8C4; font-size: 1.3cqw; color: #4C5645; text-align: center; }
.cxo-shop { padding: 6cqw 4cqw 0; }
.ks main .cxo-shop h4 { margin-bottom: 2.6cqw; font-weight: 600; font-size: 3cqw; letter-spacing: -.03em; }
.cxo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; }
.cxo-card { display: grid; gap: .8cqw; padding: 1.6cqw; background: #fff; border: 1px solid #E7E3D3; border-radius: 1.6cqw; align-content: start; }
.cxo-card img { height: 30cqw; border-radius: 1cqw; margin-bottom: 1cqw; }
.cxo-card b { font-weight: 600; font-size: 1.7cqw; }
.cxo-card span { color: #B8923A; font-weight: 700; font-size: 1.9cqw; }
.cxo-card em { margin-top: .8cqw; text-align: center; padding: 1cqw; border-radius: 99px; background: #2F3A1F; color: #fff; font-size: 1.25cqw; }
.cxo-story { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; align-items: center; margin: 6cqw 4cqw 0; padding: 4cqw; background: #ECE8D6; border-radius: 2cqw; }
.cxo-story img { height: 36cqw; border-radius: 1.4cqw; }
.cxo-story small { display: block; margin-bottom: 1cqw; font-size: 1.1cqw; letter-spacing: .22em; text-transform: uppercase; color: #6B7A2B; font-weight: 600; }
.ks main .cxo-story h4 { font-weight: 600; font-size: 3.2cqw; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 1.4cqw; }
.cxo-story p { color: #4C5645; }
.cxo-story u { display: inline-block; margin-top: 2cqw; text-decoration: none; border-bottom: 1px solid #2F3A1F; padding-bottom: .3cqw; font-size: 1.35cqw; font-weight: 600; }
.cxo-foot { margin-top: 6cqw; padding: 3cqw 4cqw; background: #2F3A1F; color: #CFCBAE; font-size: 1.2cqw; letter-spacing: .1em; }

/* Phone screens for the three new case studies */
.cs-phone.is-barb { background: #14110F; }
.cs-phone.is-kon { background: #FBF5EA; }
.cs-phone.is-oil { background: #F7F5EE; }
.cpb { color: #EDE3D3; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-size: 4cqw; line-height: 1.4; }
.cpb-hero { position: relative; height: 112cqw; color: #fff; }
.cpb-hero > img { position: absolute; inset: 0; }
.cpb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,15,.6), rgba(20,17,15,0) 32%, rgba(20,17,15,.2) 50%, rgba(20,17,15,.92)); }
.cpb-nav { position: absolute; z-index: 1; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; padding: 15cqw 6cqw 0; font-size: 4.4cqw; letter-spacing: .3em; font-weight: 800; }
.cpb-title { position: absolute; z-index: 1; left: 6cqw; right: 6cqw; bottom: 6cqw; display: grid; gap: 2cqw; }
.cpb-title small { font-size: 2.8cqw; letter-spacing: .28em; text-transform: uppercase; color: #E39A57; }
.ks main .cpb-title h3 { font-weight: 800; font-size: 11cqw; line-height: .92; text-transform: uppercase; letter-spacing: -.01em; }
.cpb-call { padding: 5cqw 6cqw 0; }
.cpb-call em { display: block; padding: 3.6cqw; background: #C77B3A; color: #14110F; text-align: center; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 3.4cqw; }
.cpb-price { list-style: none; margin: 4cqw 6cqw 0; padding: 0; }
.cpb-price li { display: flex; align-items: baseline; gap: 2cqw; padding: 2.6cqw 0; border-bottom: 1px solid #2E2823; font-size: 4.2cqw; }
.cpb-price li i { flex: 1; border-bottom: 1px dotted #5A4F44; translate: 0 -1cqw; }
.cpb-price li span { color: #C77B3A; font-weight: 700; }
.cpb-map { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4cqw; margin: 5cqw 6cqw 0; }
.cpb-map u { min-height: 22cqw; border: 1px solid #2E2823; background: repeating-linear-gradient(0deg, transparent 0 6cqw, #231E1A 6cqw 6.3cqw), repeating-linear-gradient(90deg, transparent 0 6cqw, #231E1A 6cqw 6.3cqw), #1A1613; }
.cpb-map small { display: block; font-size: 2.6cqw; letter-spacing: .25em; text-transform: uppercase; color: #C77B3A; }
.cpb-map p { font-size: 3.6cqw; }

.cpk { color: #3A2418; font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif; font-size: 3.9cqw; line-height: 1.45; }
.cpk-check { height: 3cqw; background: repeating-conic-gradient(#A8432A 0 25%, #FBF5EA 0 50%) 0 0 / 6cqw 6cqw; margin-top: 11cqw; }
.cpk-nav { display: flex; justify-content: space-between; align-items: center; padding: 4cqw 6cqw; }
.cpk-nav b { font-size: 6cqw; letter-spacing: .02em; color: #A8432A; }
.cpk-hero { height: 70cqw; margin: 0 6cqw; }
.cpk-hero img { border-radius: 35cqw 35cqw 2cqw 2cqw; }
.cpk-copy { display: grid; gap: 2.4cqw; padding: 5cqw 6cqw 0; }
.cpk-copy small { font-size: 2.6cqw; letter-spacing: .22em; text-transform: uppercase; color: #A8432A; }
.ks main .cpk-copy h3 { font-weight: 700; font-size: 7.4cqw; line-height: 1.08; letter-spacing: -.02em; color: #8E3420; }
.cpk-copy em { display: block; margin-top: 1cqw; padding: 3.4cqw; border-radius: 99px; background: #A8432A; color: #fff; text-align: center; font-size: 3.4cqw; }
.cpk-menu { margin: 6cqw 6cqw 0; padding: 4cqw 5cqw; background: #FFF9EE; border: 1px solid #E5D5BA; }
.ks main .cpk-menu h4 { text-align: center; font-size: 3.2cqw; letter-spacing: .24em; text-transform: uppercase; color: #A8432A; font-weight: 700; margin-bottom: 1cqw; }
.cpk-menu ul { list-style: none; margin: 0; padding: 0; }
.cpk-menu li { font-size: 3.6cqw; padding: 2.2cqw 0; gap: 2cqw; }
.cpk-terr { height: 50cqw; margin-top: 6cqw; }
.cpk-terr img { object-position: 50% 62%; }

.cpo { color: #1F2A1C; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 3.9cqw; line-height: 1.45; }
.cpo-top { margin-top: 11cqw; padding: 1.6cqw 4cqw; background: #2F3A1F; color: #E6E2C9; font-size: 2.8cqw; text-align: center; letter-spacing: .04em; }
.cpo-nav { display: flex; align-items: center; gap: 3cqw; padding: 4cqw 6cqw; border-bottom: 1px solid #E3DFCF; }
.cpo-nav b { margin-right: auto; font-size: 5.2cqw; letter-spacing: .26em; color: #2F3A1F; }
.cpo-nav span { padding: 1.4cqw 3cqw; border-radius: 99px; background: #6B7A2B; color: #fff; font-size: 2.9cqw; }
.cpo-hero { height: 64cqw; margin: 4cqw 6cqw 0; }
.cpo-hero img { border-radius: 4cqw; }
.cpo-copy { display: grid; gap: 2.4cqw; padding: 5cqw 6cqw 0; }
.cpo-copy small { font-size: 2.7cqw; letter-spacing: .2em; text-transform: uppercase; color: #6B7A2B; font-weight: 600; }
.ks main .cpo-copy h3 { font-weight: 600; font-size: 8cqw; line-height: 1.04; letter-spacing: -.035em; color: #1F2A1C; }
.cpo-copy em { display: block; margin-top: 1cqw; padding: 3.4cqw; border-radius: 99px; background: #6B7A2B; color: #fff; text-align: center; font-weight: 600; font-size: 3.5cqw; }
.cpo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin: 6cqw 6cqw 0; }
.cpo-grid > div { display: grid; gap: 1cqw; padding: 2.4cqw; background: #fff; border: 1px solid #E7E3D3; border-radius: 3cqw; align-content: start; }
.cpo-grid img { height: 36cqw; border-radius: 2cqw; margin-bottom: 1cqw; }
.cpo-grid b { font-weight: 600; font-size: 3.4cqw; line-height: 1.25; }
.cpo-grid span { color: #B8923A; font-weight: 700; font-size: 3.8cqw; }

/* "Nazovite nas" / "Call us" everywhere (owner, 9 Nov 2026: "the same everywhere"). Every call button
   (header, phone menu, page CTAs, contact) gets the Home hero look: gold gradient, small tracked capitals,
   square corners, a thin brass frame like the gold foil on the business card, and a soft brass glow.
   The Home hero buttons keep their own rules in hero-wall.css (same values). Transform, opacity and shadows only. */
.ks .btn.btn-primary[data-call]:not(.hw-btn) {
  position: relative; min-height: 54px; min-width: min(100%, 260px); padding: 1rem 1.5rem; border-radius: 2px;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  background-color: var(--gold); background-image: linear-gradient(180deg, #F2D98C 0%, #D9B45E 45%, #C9A24A 70%, #B48C33 100%);
  color: var(--on-gold); border-color: rgba(255, 240, 200, .35);
  outline: 1px solid rgba(201, 162, 74, .32); outline-offset: 4px;
  box-shadow: 0 0 26px -4px rgba(221, 185, 100, .45), 0 14px 30px -16px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 248, 220, .6);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: translate .35s var(--ease-out), box-shadow .3s var(--ease-out), outline-color .3s;
}
.ks .btn.btn-primary.btn-sm[data-call] { min-height: 40px; min-width: 0; padding: .6rem 1.05rem; font-size: .68rem; letter-spacing: .14em; outline-offset: 3px; }
.ks .btn.btn-primary[data-call]:not(.hw-btn) svg { width: 16px; height: 16px; }
.ks .btn.btn-primary[data-call]:not(.hw-btn):active { transform: translateY(1px); }
.ks .btn.btn-primary[data-call]:not(.hw-btn):focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .ks .btn.btn-primary[data-call]:not(.hw-btn) { overflow: hidden; }
  .ks .btn.btn-primary[data-call]:not(.hw-btn)::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 248, 220, .38), transparent);
    transform: translateX(-120%) skewX(-18deg); opacity: 0;
  }
  .ks .btn.btn-primary[data-call]:not(.hw-btn):hover::after { opacity: 1; transform: translateX(520%) skewX(-18deg); transition: transform .9s var(--ease-out), opacity .2s; }
  .ks .btn.btn-primary[data-call]:not(.hw-btn):hover {
    background-color: var(--gold); outline-color: rgba(201, 162, 74, .55);
    box-shadow: 0 0 34px -2px rgba(221, 185, 100, .6), 0 18px 34px -16px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 248, 220, .7);
  }
}
@media (prefers-reduced-motion: reduce) { .ks .btn.btn-primary[data-call]::after { display: none; } }
@media (max-width: 640px) { .ks .btn.btn-primary[data-call]:not(.hw-btn) { letter-spacing: .13em; } }
/* page call buttons have the hero's width; the one in the phone menu stays full width */
.ks main .btn.btn-primary[data-call]:not(.hw-btn) { width: min(100%, 300px); }

/* Payment toggle on Pricing (owner, 10 Nov 2026: "a smaller box, gold when chosen, smooth animation", then
   "rounded corners").
   A slim brass-framed box with three equal parts, so the gold block only glides sideways (transform only)
   while the labels fade between colours. Same easing as the menu button. */
.ks .seg {
  grid-auto-columns: 1fr; padding: 3px; border-radius: 10px;
  border: 1px solid rgba(201, 162, 74, .42); background: #0B2027;
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, .04);
}
.ks .seg button {
  padding: .55rem .75rem; border-radius: 7px; white-space: nowrap;
  font: 600 .66rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: color .5s cubic-bezier(.65, 0, .35, 1);
}
.ks .seg button[aria-pressed="true"] { color: var(--on-gold); }
.ks .seg button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; border-radius: 7px; }
.ks .seg-pill {
  top: 3px; bottom: 3px; border-radius: 7px;
  background-color: var(--gold); background-image: linear-gradient(180deg, #F2D98C 0%, #D9B45E 45%, #C9A24A 70%, #B48C33 100%);
  box-shadow: 0 0 26px -2px rgba(230, 198, 115, .62), 0 0 8px rgba(242, 217, 140, .35), inset 0 1px 0 rgba(255, 248, 220, .6);
  transition: transform .55s cubic-bezier(.65, 0, .35, 1);
  will-change: transform; backface-visibility: hidden;
}
@media (max-width: 400px) { .ks .seg button { padding-inline: .65rem; } }
@media (prefers-reduced-motion: reduce) { .ks .seg button, .ks .seg-pill { transition-duration: .01s; } }

/* Estimator choices follow the same look (owner, 10 Nov 2026: "the same here, with rounded corners"):
   smaller rounded chips; the chosen package fills with the same brass gold, faded in with opacity only. */
.ks .chip-opt span { padding: .5rem .8rem; gap: 7px; border-radius: 10px; font-size: .82rem; -webkit-tap-highlight-color: transparent; }
/* prices in the choices a little easier to see (owner, 10 Nov 2026) */
.ks .chip-opt span small { font-size: .76rem; font-weight: 600; color: var(--gold-hi); transition: color .45s cubic-bezier(.65, 0, .35, 1); }
.ks .chip-opt input:focus-visible + span { border-radius: 10px; }
.ks .chips .chip-opt span { position: relative; isolation: isolate; transition: border-color .45s cubic-bezier(.65, 0, .35, 1), color .45s cubic-bezier(.65, 0, .35, 1), transform .35s var(--ease-out); }
.ks .chips .chip-opt span::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; pointer-events: none;
  background-color: var(--gold); background-image: linear-gradient(180deg, #F2D98C 0%, #D9B45E 45%, #C9A24A 70%, #B48C33 100%);
  box-shadow: 0 0 26px -2px rgba(230, 198, 115, .62), 0 0 8px rgba(242, 217, 140, .35), inset 0 1px 0 rgba(255, 248, 220, .6);
  opacity: 0; transform: scale(.96); transition: opacity .45s cubic-bezier(.65, 0, .35, 1), transform .5s cubic-bezier(.65, 0, .35, 1);
}
.ks .chips .chip-opt input:checked + span { color: var(--on-gold); border-color: transparent; background: none; }
.ks .chips .chip-opt input:checked + span::after { opacity: 1; transform: none; }
.ks .chips .chip-opt input:checked + span small { color: rgba(11, 32, 39, .85); }
.ks .chip-opt input:active + span { transform: scale(.97); }
.ks .addons .chip-opt span::before { border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .ks .chips .chip-opt span, .ks .chips .chip-opt span::after { transition-duration: .01s; } }

/* The same toggle, smaller, inside the estimator (owner, 10 Nov 2026): it spans the box's width in three equal parts. */
.ks .seg.seg-sm { display: grid; width: 100%; grid-auto-flow: column; grid-auto-columns: 1fr; border-radius: 9px; }
.ks .seg.seg-sm button { padding: .55rem .4rem; font-size: .62rem; letter-spacing: .1em; border-radius: 6px; }
.ks .seg.seg-sm .seg-pill { border-radius: 6px; }

/* Phone smoothness (owner, 10 Nov 2026: "make them smooth, premium"). The gold block only moves (its parts are
   equal, so no width animation); prices and the instalment line cross-fade with a small lift instead of jumping;
   hover borders only where there is a real mouse, so nothing sticks after a tap on iPhone. */
.ks .chip-opt span small, .ks [data-est-split] { display: inline-block; transition: opacity .26s cubic-bezier(.4, 0, .2, 1), transform .34s cubic-bezier(.22, 1, .36, 1), color .45s cubic-bezier(.65, 0, .35, 1); }
.ks .swap-out { opacity: 0; transform: translateY(4px); transition-duration: .17s, .17s, .45s; }
.ks .seg button { -webkit-user-select: none; user-select: none; }
.ks .seg button:active { transform: scale(.97); transition: color .5s cubic-bezier(.65, 0, .35, 1), transform .2s ease-out; }
.ks .seg button { transition: color .5s cubic-bezier(.65, 0, .35, 1), transform .35s cubic-bezier(.22, 1, .36, 1); }
@media (hover: none) { .chip-opt input:hover + span { border-color: var(--joint-strong); } .chip-opt input:checked:hover + span { border-color: var(--gold-bright); } .ks .chips .chip-opt input:checked:hover + span { border-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .ks .chip-opt span small, .ks [data-est-split], .ks .seg button { transition-duration: .01s; } }
.ks .chip-opt, .ks .stepper button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.progress span { will-change: transform; }

/* Care plan switch (owner, 10 Nov 2026: "realistic shining gold and a smoother animation").
   Off: a dark slot with a brass hairline. On: polished gold fades in (light top edge, deep bronze below),
   a light streak runs across it once, a soft glow comes up, and the pearl knob glides over in one calm move.
   Small element only; transform and opacity for the movement, the streak is a one-off on a 50 px track. */
.ks .switch {
  width: 50px; height: 28px; border-radius: 99px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .03));
  border: 1px solid rgba(201, 162, 74, .45);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .45), 0 0 0 rgba(221, 185, 100, 0);
  transition: box-shadow .6s cubic-bezier(.65, 0, .35, 1), border-color .6s cubic-bezier(.65, 0, .35, 1);
  -webkit-tap-highlight-color: transparent;
}
.ks .switch::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background:
    linear-gradient(105deg, transparent 38%, rgba(255, 252, 232, .75) 50%, transparent 62%) no-repeat,
    linear-gradient(180deg, #FBEAB0 0%, #EBCB79 22%, #D4AE55 48%, #C29A42 66%, #9C7429 100%);
  background-size: 260% 100%, 100% 100%;
  background-position: 140% 0, 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 250, 225, .85), inset 0 -2px 3px rgba(110, 78, 20, .55);
  opacity: 0;
  transition: opacity .5s cubic-bezier(.65, 0, .35, 1), background-position 0s .5s;
}
.ks .switch::after {
  z-index: 1; top: 2px; left: 2px; width: 22px; height: 22px;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #F4F1EA 45%, #D9D3C6 100%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .45), 0 0 0 .5px rgba(0, 0, 0, .15), inset 0 -1px 1px rgba(0, 0, 0, .08);
  transition: transform .55s cubic-bezier(.65, 0, .35, 1);
  will-change: transform;
}
.ks .switch-row input:checked + .switch {
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .03));
  border-color: rgba(246, 222, 141, .7);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .2), 0 0 18px -2px rgba(230, 198, 115, .6);
}
.ks .switch-row input:checked + .switch::before {
  opacity: 1; background-position: -40% 0, 0 0;
  transition: opacity .5s cubic-bezier(.65, 0, .35, 1), background-position 1.1s cubic-bezier(.4, 0, .2, 1) .15s;
}
.ks .switch-row input:checked + .switch::after { transform: translateX(22px); background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #FBF8F0 45%, #E6DFCF 100%); }
.ks .switch-row:active .switch::after { transform: scale(.94); }
.ks .switch-row:active input:checked + .switch::after { transform: translateX(22px) scale(.94); }
.ks .switch-row { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) { .ks .switch, .ks .switch::before, .ks .switch::after { transition-duration: .01s !important; transition-delay: 0s !important; } }

/* Packages on touch screens (owner, 10 Nov 2026: "when I tap and scroll on packages, the text is not smooth").
   On a phone the text inside a card no longer moves or scales (scaling text makes it re-draw and shimmer),
   the sheen is off, and a tap only lifts the whole card a little in one soft movement. motion.js lights a card
   only on a real tap, never at the start of a scroll. */
@media (hover: none) {
  .ks .plan li, .ks .plan:hover li, .ks .plan.touch-on li { transform: none; transition: opacity .6s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--j, 0) * 50ms + 250ms); }
  .ks .plan.pending .checks li { translate: none; }
  .ks .plan .price, .ks .plan:hover .price, .ks .plan.touch-on .price,
  .ks a[data-ks-plan] strong, .ks a[data-ks-plan]:hover strong, .ks a[data-ks-plan].touch-on strong { transform: none; transition: color .5s cubic-bezier(.22, 1, .36, 1); }
  .ks .plan::after, .ks a[data-ks-plan]::after { display: none; }
  .ks .plan:hover:not(.touch-on), .ks a[data-ks-plan]:hover:not(.touch-on) { transform: none !important; }
  .ks .plan.touch-on, .ks a[data-ks-plan].touch-on { transform: translateY(-4px) !important; }
  .ks .plan, .ks a[data-ks-plan] { transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s cubic-bezier(.22, 1, .36, 1), opacity .9s var(--ease-out), translate .9s var(--ease-out); }
}

/* Estimator "Zatražite ponudu", contact page "Pošaljite upit" and the form's send button (owner, 10 Nov 2026: "should shine too"): the same polished gold as the call buttons,
   with a light streak that crosses it every few seconds. The streak is a small pseudo-element moved with transform only. */
.ks .btn.btn-primary:is([data-est-send], [data-shine]) {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 6px;
  background-color: var(--gold); background-image: linear-gradient(180deg, #F2D98C 0%, #D9B45E 45%, #C9A24A 70%, #B48C33 100%);
  color: var(--on-gold); border-color: rgba(255, 240, 200, .35);
  box-shadow: 0 0 26px -4px rgba(221, 185, 100, .5), 0 14px 30px -16px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 248, 220, .65);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: box-shadow .4s cubic-bezier(.22, 1, .36, 1), transform .3s cubic-bezier(.22, 1, .36, 1);
}
.ks .btn.btn-primary:is([data-est-send], [data-shine])::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 250, 228, .55), transparent);
  transform: translateX(-130%) skewX(-18deg);
  animation: estShine 4.8s cubic-bezier(.4, 0, .2, 1) 1.2s infinite;
}
@keyframes estShine { 0% { transform: translateX(-130%) skewX(-18deg); } 28%, 100% { transform: translateX(330%) skewX(-18deg); } }
.ks .btn.btn-primary:is([data-est-send], [data-shine]) > * { position: relative; z-index: 2; }
.ks .btn.btn-primary:is([data-est-send], [data-shine]):active { transform: translateY(1px) scale(.99); }
@media (hover: hover) and (pointer: fine) {
  .ks .btn.btn-primary:is([data-est-send], [data-shine]):hover { box-shadow: 0 0 36px -2px rgba(221, 185, 100, .65), 0 18px 34px -16px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 248, 220, .75); }
}
@media (prefers-reduced-motion: reduce) { .ks .btn.btn-primary:is([data-est-send], [data-shine])::after { animation: none; display: none; } }
.ks .contact-form { scroll-margin-top: calc(var(--header-h, 72px) + 16px); }

/* Order summary above the enquiry form: mirrors the calculator (owner, 10 Nov 2026) */
.ks .order { display: grid; gap: 10px; padding: 18px 18px 16px; border-radius: 16px; border: 1px solid rgba(201,162,74,.42); background: linear-gradient(160deg, rgba(201,162,74,.10), rgba(201,162,74,.02) 60%); box-shadow: 0 0 24px -8px rgba(201,162,74,.35); }
.ks .order-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ks .order-title { margin: 0; font-family: var(--f-display, "EB Garamond", serif); font-size: 1.3rem; color: var(--ivory); }
.ks .order-edit { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid rgba(230,207,144,.45); padding-bottom: 1px; }
.ks .order-edit:hover { color: var(--ivory); border-color: var(--ivory); }
.ks .order-hint { margin: -4px 0 0; font-size: .78rem; color: var(--muted); }
.ks .order-lines { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid rgba(201,162,74,.25); display: grid; gap: 7px; font-size: .86rem; }
.ks .order-lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--text); }
.ks .order-lines li span:first-child { min-width: 0; }
.ks .order-lines li span:last-child { color: var(--ivory); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ks .order-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding-top: 10px; border-top: 1px solid rgba(201,162,74,.25); }
.ks .order-total span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ks .order-total strong { font-size: 1.35rem; font-weight: 600; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.ks .order-pay { margin: -4px 0 0; text-align: right; font-size: .8rem; color: var(--gold-hi); opacity: .9; }
.ks .order-total strong, .ks .order-pay { transition: opacity .17s ease, transform .17s ease; }
/* Pricing: the order form on its own, centred. Contact page: details only, with a button to the form (owner, 10 Nov 2026) */
.ks .contact-solo { max-width: 760px; }
.ks .contact-only { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.ks .contact-next { display: grid; gap: 10px; justify-items: start; }
.ks .contact-next p { margin: 0; font-size: .86rem; color: var(--muted); }

/* Cookie banner, premium (owner, 10 Nov 2026: "smoother, a bit slower, more premium").
   Slow glide up with no bounce, the contents follow one after another, a brass hairline on top and one
   light streak across it on arrival. Transform and opacity only, no blur on phones. */
.ks .cookie {
  overflow: hidden; isolation: isolate; translate: none;
  border: 1px solid rgba(201, 162, 74, .38); border-radius: 18px;
  background: linear-gradient(165deg, #14343D 0%, #0C2229 70%);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .85), 0 0 46px -14px rgba(201, 162, 74, .38), inset 0 1px 0 rgba(255, 244, 214, .07);
  transition: opacity 1s cubic-bezier(.22, 1, .36, 1), transform 1.25s cubic-bezier(.16, 1, .3, 1);
}
.ks .cookie.offstage {
  opacity: 0; translate: none; transform: translateY(44px) scale(.98);
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}
.ks .cookie::before {
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 1px; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(230, 207, 144, .85) 30%, rgba(230, 207, 144, .85) 70%, transparent);
}
.ks .cookie::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 34%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 220, .10), transparent);
  transform: translateX(-140%) skewX(-16deg);
}
.ks .cookie:not(.offstage)::after { animation: ckSheen 1.9s cubic-bezier(.4, 0, .2, 1) .75s both; }
@keyframes ckSheen { from { transform: translateX(-140%) skewX(-16deg); } to { transform: translateX(400%) skewX(-16deg); } }
.ks .cookie > div { position: relative; z-index: 2; }
.ks .cookie-consent > *, .ks .cookie-notice > * {
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}
.ks .cookie-consent > :nth-child(1), .ks .cookie-notice > :nth-child(1) { transition-delay: .18s; }
.ks .cookie-consent > :nth-child(2), .ks .cookie-notice > :nth-child(2) { transition-delay: .3s; }
.ks .cookie-consent > :nth-child(3) { transition-delay: .38s; }
.ks .cookie-consent > :nth-child(4) { transition-delay: .44s; }
.ks .cookie-consent > :nth-child(5) { transition-delay: .5s; }
.ks .cookie.offstage .cookie-consent > *, .ks .cookie.offstage .cookie-notice > * { opacity: 0; transform: translateY(12px); transition-delay: 0s; transition-duration: .3s; }
.ks .cookie-title { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: .005em; }
.ks .cookie-title::before {
  content: ""; flex: none; width: 8px; height: 8px; transform: rotate(45deg);
  background: linear-gradient(135deg, #F2D98C, #C9A24A 60%, #9E741B); box-shadow: 0 0 10px rgba(221, 185, 100, .6);
}
.ks .cookie-consent p a { color: var(--gold-hi); text-decoration-color: rgba(230, 207, 144, .45); }
.ks .cookie-actions .btn-ghost {
  border-color: rgba(201, 162, 74, .55); background: rgba(201, 162, 74, .06); color: var(--ivory);
  transition: background-color .45s cubic-bezier(.22, 1, .36, 1), border-color .45s cubic-bezier(.22, 1, .36, 1), color .45s cubic-bezier(.22, 1, .36, 1), transform .3s cubic-bezier(.22, 1, .36, 1);
}
.ks .cookie-actions .btn-ghost:active { transform: scale(.98); background: rgba(201, 162, 74, .16); }
@media (hover: hover) and (pointer: fine) {
  .ks .cookie-actions .btn-ghost:hover { border-color: var(--gold); background: rgba(201, 162, 74, .14); color: var(--gold-hi); }
}
@media (prefers-reduced-motion: reduce) {
  .ks .cookie, .ks .cookie.offstage, .ks .cookie-consent > *, .ks .cookie-notice > * { transition-duration: .01s; transition-delay: 0s; }
  .ks .cookie::after { display: none; }
}

/* The page you are on is shiny gold in the menu (owner, 10 Nov 2026). Solid colour with a soft glow
   (no gradient text, WebKit cuts descenders), a gold line under it and a small gold keystone. */
.ks .nav a.active { color: #F0D98E; text-shadow: 0 0 14px rgba(221, 185, 100, .55); }
.ks .nav a.active::after { height: 2px; background: linear-gradient(90deg, #9E741B, #F2D98C 50%, #9E741B); box-shadow: 0 0 10px rgba(221, 185, 100, .6); }
.ks .mobile-menu a.active:not(.btn) {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  color: #F0D98E; text-shadow: 0 0 18px rgba(221, 185, 100, .5);
  border-bottom-color: transparent;
  background: linear-gradient(90deg, rgba(201, 162, 74, .14), rgba(201, 162, 74, 0) 75%);
  margin-inline: -12px; padding-inline: 12px;
}
.ks .mobile-menu a.active:not(.btn)::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, #C9A24A, #F2D98C 40%, rgba(201, 162, 74, .15));
}
.ks .mobile-menu a.active:not(.btn)::after {
  content: ""; width: 9px; height: 9px; transform: rotate(45deg); flex: none;
  background: linear-gradient(135deg, #F2D98C, #C9A24A 60%, #9E741B); box-shadow: 0 0 12px rgba(221, 185, 100, .7);
}

/* Bordeaux keystone from the logo, shining, as the marker everywhere (owner, 10 Nov 2026: "a shining bordeaux
   triangle as from my logo", replaces the small gold diamonds). One small SVG picture: bordeaux gradient, a gold
   top edge, a soft bordeaux glow and a light streak drawn inside the picture (no CSS filter, no big layer). */
.ks { --keystone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 60 48'%3E%3Cdefs%3E%3ClinearGradient id='k' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%239C2C45'/%3E%3Cstop offset='.5' stop-color='%235E1729'/%3E%3Cstop offset='1' stop-color='%23330B15'/%3E%3C/linearGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23FFF1D6' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%23FFF1D6' stop-opacity='.8'/%3E%3Cstop offset='1' stop-color='%23FFF1D6' stop-opacity='0'/%3E%3C/linearGradient%3E%3CclipPath id='c'%3E%3Cpolygon points='0,0 44,0 22,32'/%3E%3C/clipPath%3E%3Cfilter id='g' x='-60%25' y='-60%25' width='220%25' height='220%25'%3E%3CfeGaussianBlur stdDeviation='3.6'/%3E%3C/filter%3E%3C/defs%3E%3Cpolygon points='0,0 44,0 22,32' fill='%23C0405E' opacity='.6' filter='url(%23g)'/%3E%3Cpolygon points='0,0 44,0 22,32' fill='url(%23k)'/%3E%3Cpolygon points='1.2,.6 42.8,.6 41.8,2.1 2.2,2.1' fill='%23F2D98C' opacity='.7'/%3E%3Cg clip-path='url(%23c)'%3E%3Cg transform='skewX(-22)'%3E%3Crect x='-24' y='-6' width='13' height='46' fill='url(%23s)'%3E%3CanimateTransform attributeName='transform' type='translate' values='0 0;84 0;84 0' keyTimes='0;.38;1' dur='4.6s' begin='.8s' repeatCount='indefinite'/%3E%3C/rect%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); --keystone-still: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 60 48'%3E%3Cdefs%3E%3ClinearGradient id='k' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%239C2C45'/%3E%3Cstop offset='.5' stop-color='%235E1729'/%3E%3Cstop offset='1' stop-color='%23330B15'/%3E%3C/linearGradient%3E%3ClinearGradient id='s' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23FFF1D6' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%23FFF1D6' stop-opacity='.8'/%3E%3Cstop offset='1' stop-color='%23FFF1D6' stop-opacity='0'/%3E%3C/linearGradient%3E%3CclipPath id='c'%3E%3Cpolygon points='0,0 44,0 22,32'/%3E%3C/clipPath%3E%3Cfilter id='g' x='-60%25' y='-60%25' width='220%25' height='220%25'%3E%3CfeGaussianBlur stdDeviation='3.6'/%3E%3C/filter%3E%3C/defs%3E%3Cpolygon points='0,0 44,0 22,32' fill='%23C0405E' opacity='.6' filter='url(%23g)'/%3E%3Cpolygon points='0,0 44,0 22,32' fill='url(%23k)'/%3E%3Cpolygon points='1.2,.6 42.8,.6 41.8,2.1 2.2,2.1' fill='%23F2D98C' opacity='.7'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { .ks { --keystone: var(--keystone-still); } }
.ks .cookie-title::before {
  width: 20px; height: 16px; transform: none; box-shadow: none; margin-left: -4px; margin-right: -2px;
  background: var(--keystone) center / contain no-repeat;
}
.ks .mobile-menu a.active:not(.btn)::after {
  width: 24px; height: 19px; transform: none; box-shadow: none; margin-right: -4px;
  background: var(--keystone) center / contain no-repeat;
}
.ks .care-list li::before {
  width: 13px; height: 10.4px; border-radius: 0; transform: none; margin-inline: -2px -1px;
  background: var(--keystone-still) center / contain no-repeat;
}

/* ---------- Process page, premium (owner, 10 Nov 2026). Works with assets/process.js. ----------
   Gold rail beside the steps that fills while scrolling, a bordeaux keystone per step that starts to shine
   when the step lights up, a light streak over the step number, text arriving in order, gold lines drawing in.
   Transform and opacity only; without JavaScript or with reduced motion everything is simply shown. */
.ks[data-page="process"] .ks-page-hero { position: relative; overflow: hidden; }
.ks[data-page="process"] .ks-page-hero .ks-head::after {
  content: ""; display: block; width: 120px; height: 1px; margin-top: 8px;
  background: linear-gradient(90deg, #F2D98C, #C9A24A 55%, transparent);
  transform-origin: left; animation: procLine 1.4s cubic-bezier(.22, 1, .36, 1) .6s both;
}
@keyframes procLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* the rail */
.ks[data-page="process"] .ks-steps { position: relative; padding-left: 64px; }
.ks[data-page="process"] .ks-steps::before, .ks[data-page="process"] .ks-steps::after { content: ""; position: absolute; left: 22px; top: 34px; bottom: 40px; pointer-events: none; }
.ks[data-page="process"] .ks-steps::before { width: 1px; background: linear-gradient(to bottom, rgba(201, 162, 74, .32), rgba(201, 162, 74, .14) 85%, transparent); }
.ks[data-page="process"] .ks-steps::after {
  width: 3px; margin-left: -1px; border-radius: 3px;
  background: linear-gradient(to bottom, #F2D98C, #DDB964 40%, #C9A24A 80%, #9E741B);
  box-shadow: 0 0 7px rgba(221, 185, 100, .45);
  transform-origin: 50% 0; transform: scaleY(var(--p, 0)); will-change: transform; z-index: 1;
}

/* each step */
.ks[data-page="process"] .ks-course > .ks-step { border-top-color: rgba(234, 240, 238, .08); }
.ks[data-page="process"] .ks-step::before {
  content: ""; position: absolute; left: -54px; top: calc(clamp(20px, 2.4vw, 30px) + 14px); width: 26px; height: 21px;
  background: var(--keystone-still) center / contain no-repeat;
  opacity: .45; transform: scale(.78); z-index: 2;
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
}
.ks[data-page="process"] .ks-step.is-lit::before { background-image: var(--keystone); opacity: 1; transform: none; }
.ks[data-page="process"] .ks-step::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, #C9A24A, rgba(242, 217, 140, .9) 25%, rgba(201, 162, 74, .25) 70%, transparent);
  transform-origin: left; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.22, 1, .36, 1) .1s;
}
.ks[data-page="process"] .ks-step.is-in::after { transform: scaleX(1); }

.ks[data-page="process"] .ks-bignum { position: relative; display: inline-block; overflow: hidden; padding-right: .06em; }
.ks[data-page="process"] .ks-bignum::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 220, .22), transparent);
  transform: translateX(-160%) skewX(-18deg);
}
.ks[data-page="process"] .ks-step.is-lit .ks-bignum::after { animation: procSheen 1.5s cubic-bezier(.4, 0, .2, 1) .45s both; }
@keyframes procSheen { from { transform: translateX(-160%) skewX(-18deg); } to { transform: translateX(330%) skewX(-18deg); } }
.ks[data-page="process"] .ks-step.is-lit .ks-bignum { color: #E2C26E; }

/* text arrives in order once the step lights up */
.proc-js .ks[data-page="process"] .ks-step-no > *, .proc-js .ks[data-page="process"] .ks-step-body > *, .proc-js .ks[data-page="process"] .ks-step-meta > div {
  opacity: 0; transform: translateY(16px);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
.proc-js .ks[data-page="process"] .ks-step.is-in .ks-step-no > *, .proc-js .ks[data-page="process"] .ks-step.is-in .ks-step-body > *, .proc-js .ks[data-page="process"] .ks-step.is-in .ks-step-meta > div { opacity: 1; transform: none; }
.proc-js .ks[data-page="process"] .ks-step-no > :nth-child(2) { transition-delay: .08s; }
.proc-js .ks[data-page="process"] .ks-step-body > :nth-child(1) { transition-delay: .14s; }
.proc-js .ks[data-page="process"] .ks-step-body > :nth-child(2) { transition-delay: .24s; }
.proc-js .ks[data-page="process"] .ks-step-body > :nth-child(3) { transition-delay: .32s; }
.proc-js .ks[data-page="process"] .ks-step-body > :nth-child(4) { transition-delay: .4s; }
.proc-js .ks[data-page="process"] .ks-step-meta > div:nth-child(1) { transition-delay: .5s; }
.proc-js .ks[data-page="process"] .ks-step-meta > div:nth-child(2) { transition-delay: .6s; }
.proc-js .ks[data-page="process"] .ks-step-meta > div:nth-child(3) { transition-delay: .7s; }
.proc-js .ks[data-page="process"] .ks-step-meta.ks-step-meta { opacity: 1; transform: none; }   /* the list itself stays, its items move */

/* "Vi / Dobivate / Trajanje": a drawn gold line instead of the grey one, and a brass edge on each item */
.ks[data-page="process"] .ks-step-meta { position: relative; border-top-color: transparent; }
.ks[data-page="process"] .ks-step-meta::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 74, .7), rgba(201, 162, 74, .12));
  transform-origin: left; transform: scaleX(0); transition: transform 1.3s cubic-bezier(.22, 1, .36, 1) .45s;
}
.ks[data-page="process"] .ks-step.is-in .ks-step-meta::before { transform: scaleX(1); }
.ks[data-page="process"] .ks-step-meta > div { padding-left: 14px; border-left: 1px solid rgba(201, 162, 74, .3); }

/* package times and principles: one light streak across each block when the row comes into view */
.ks[data-page="process"] .ks-times > .ks-block, .ks[data-page="process"] .ks-grid2 > .ks-block { overflow: hidden; }
.ks[data-page="process"] .ks-times > .ks-block::after, .ks[data-page="process"] .ks-grid2 > .ks-block::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(242, 217, 140, .09), transparent);
  transform: translateX(-180%) skewX(-16deg);
}
.ks[data-page="process"] .is-shining > .ks-block::after { animation: procSheen 1.8s cubic-bezier(.4, 0, .2, 1) both; }
.ks[data-page="process"] .is-shining > .ks-block:nth-child(2)::after { animation-delay: .12s; }
.ks[data-page="process"] .is-shining > .ks-block:nth-child(3)::after { animation-delay: .24s; }
.ks[data-page="process"] .is-shining > .ks-block:nth-child(4)::after { animation-delay: .36s; }
.ks[data-page="process"] .is-shining > .ks-block:nth-child(5)::after { animation-delay: .48s; }
.ks[data-page="process"] .is-shining > .ks-block:nth-child(6)::after { animation-delay: .6s; }
.ks[data-page="process"] .ks-times > .ks-block::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, #F2D98C, rgba(201, 162, 74, .2));
  transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
}
.ks[data-page="process"] .ks-times.is-shining > .ks-block::before { transform: scaleX(1); }
.ks[data-page="process"] .ks-times.is-shining > .ks-block:nth-child(2)::before { transition-delay: .1s; }
.ks[data-page="process"] .ks-times.is-shining > .ks-block:nth-child(3)::before { transition-delay: .2s; }
.ks[data-page="process"] .ks-times.is-shining > .ks-block:nth-child(4)::before { transition-delay: .3s; }
.ks[data-page="process"] .ks-times.is-shining > .ks-block:nth-child(5)::before { transition-delay: .4s; }
.ks[data-page="process"] .ks-time { color: #F0D98E !important; }
/* principles: the bordeaux keystone instead of the small gold bar */
.ks[data-page="process"] .ks-svc-item h3::before { width: 22px; height: 18px; margin-bottom: 12px; background: var(--keystone-still) left center / contain no-repeat; }
.ks[data-page="process"] .ks-grid2.is-shining .ks-svc-item h3::before { background-image: var(--keystone); }

@media (max-width: 760px) {
  .ks[data-page="process"] .ks-steps { padding-left: 38px; }
  .ks[data-page="process"] .ks-steps::before, .ks[data-page="process"] .ks-steps::after { left: 11px; top: 30px; }
  .ks[data-page="process"] .ks-step::before { left: -38px; top: calc(clamp(20px, 2.4vw, 30px) + 8px); width: 22px; height: 18px; }
  .ks[data-page="process"] .ks-step-meta > div { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ks[data-page="process"] .ks-page-hero .ks-head::after { animation: none; }
  .ks[data-page="process"] .ks-bignum::after, .ks[data-page="process"] .ks-times > .ks-block::after, .ks[data-page="process"] .ks-grid2 > .ks-block::after { display: none; }
}

/* Process page, round 2 (owner, 10 Nov 2026): a more premium step label and a smooth keystone arrival.
   Label: big gold numeral | fine gold divider | "KORAK" over "od 07". The keystone pops in when the gold rail
   reaches it and a thin gold ring spreads from it once. Transform and opacity only. */
.proc-js .ks[data-page="process"] .ks-step-no { display: flex; align-items: center; gap: 18px; }
/* the "Korak / od 07" label is gone (owner, 12 Nov 2026); only the big number stays. The word stays for screen readers. */
.ks[data-page="process"] .ks-step-no .ks-num { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.proc-js .ks[data-page="process"] .ks-bignum { order: 0; font-size: clamp(3.4rem, 5.6vw, 4.6rem); line-height: .95; letter-spacing: -.01em; padding: 0 .06em; }

/* keystone arrival */
.ks[data-page="process"] .ks-step.is-lit::before { animation: procPop 1.1s cubic-bezier(.2, .9, .25, 1.15) both; }
@keyframes procPop {
  0% { opacity: .45; transform: scale(.78); }
  55% { opacity: 1; transform: scale(1.14); }
  100% { opacity: 1; transform: scale(1); }
}
/* Arrival (owner, 10 Nov 2026: "glowing gold, not a circle"): when the rail reaches a keystone, a gold copy of the
   triangle lights up over it and fades back to bordeaux, with a soft gold glow behind. Radial gradient, no filter. */
.ks[data-page="process"] .ks-step-no::before, .ks[data-page="process"] .ks-step-no::after { content: ""; position: absolute; pointer-events: none; opacity: 0; }
.ks[data-page="process"] .ks-step-no::after {
  z-index: 1; left: -76px; top: calc(clamp(20px, 2.4vw, 30px) - 12px); width: 70px; height: 70px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 226, 140, .75), rgba(221, 185, 100, .32) 45%, rgba(201, 162, 74, 0) 100%);
  transform: scale(.5);
}
.ks[data-page="process"] .ks-step-no::before {
  z-index: 3; left: -50.5px; top: calc(clamp(20px, 2.4vw, 30px) + 17.6px); width: 19px; height: 14px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(to bottom, #FFF3C4, #F0CD62 45%, #C9A24A);
  transform-origin: 50% 35%;
}
.ks[data-page="process"] .ks-step.is-lit .ks-step-no::after { animation: procGlow 1.9s cubic-bezier(.25, .7, .35, 1) both; }
.ks[data-page="process"] .ks-step.is-lit .ks-step-no::before { animation: procGold 1.9s cubic-bezier(.25, .7, .35, 1) both; }
@keyframes procGlow { 0% { opacity: 0; transform: scale(.5); } 22% { opacity: 1; transform: scale(1.05); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes procGold { 0% { opacity: 0; transform: scale(.85); } 20% { opacity: 1; transform: scale(1.12); } 45% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@media (max-width: 760px) {
  .ks[data-page="process"] .ks-step-no::after { left: -55px; top: calc(clamp(20px, 2.4vw, 30px) - 13px); width: 56px; height: 56px; }
  .ks[data-page="process"] .ks-step-no::before { left: -35.1px; top: calc(clamp(20px, 2.4vw, 30px) + 11.1px); width: 16.1px; height: 11.7px; }
  .proc-js .ks[data-page="process"] .ks-bignum { font-size: 3.2rem; }
  .proc-js .ks[data-page="process"] .ks-step-no { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ks[data-page="process"] .ks-step.is-lit::before, .ks[data-page="process"] .ks-step.is-lit .ks-step-no::after, .ks[data-page="process"] .ks-step.is-lit .ks-step-no::before { animation: none; }
}
/* the light streak over the step number read as a grey box on the phone; the keystone pop and gold glow carry the moment now */
.ks[data-page="process"] .ks-bignum::after { display: none; }

/* ---------- Page changes (owner, 10 Nov 2026/11 Nov: smooth and premium for every page change and first-time visitors,
   and never a blank page). Pure CSS, no script, so nothing waits for a download: the browser keeps showing the old
   page until the new one paints, then the new content fades and rises into place in half a second while the header
   stays still. A fine gold thread draws once under the header. Opacity and transform on the content only. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ks main, .ks .site-footer { animation: ksPageIn .55s cubic-bezier(.22, 1, .36, 1) backwards; }
  .ks .site-footer { animation-delay: .05s; }
  .ks .site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, rgba(201, 162, 74, 0), #F2D98C 30%, #C9A24A 65%, rgba(201, 162, 74, 0));
    transform-origin: 0 50%; animation: ksThread 1.2s cubic-bezier(.22, 1, .36, 1) .02s backwards;
  }
}
@keyframes ksPageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ksThread { 0% { opacity: 1; transform: scaleX(0); } 60% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }

/* ---------- Process page, round 3: the scroll drives the page (owner, 11 Nov 2026: "interactive, premium animations
   while scrolling"). process.js writes --f (focus, 1 at the reading line) and --d (-1..1 position) on every step and
   moves a glowing head down the rail. Everything below is transform, translate, scale or opacity only; no fixed
   layers, no filter. Without JavaScript or with reduced motion the defaults keep everything still and fully lit. ---------- */
.ks[data-page="process"] .ks-step { --f: 1; --d: 0; }
@media (prefers-reduced-motion: no-preference) {
  /* the step you are reading is in full light, the others rest a little dimmer */
  .proc-js .ks[data-page="process"] .ks-step.is-in { opacity: calc(.46 + .54 * var(--f)); transition: translate .9s var(--ease-out), background-color .35s, box-shadow .35s; }
  /* depth: number and label drift against the text, the three lines each at their own pace */
  .proc-js .ks[data-page="process"] .ks-step.is-in .ks-bignum { translate: 0 calc(var(--d) * 34px); scale: calc(.93 + .07 * var(--f)); transform-origin: 0 60%; }
  .proc-js .ks[data-page="process"] .ks-step.is-in .ks-step-meta > div:nth-child(1) { translate: 0 calc(var(--d) * -8px); }
  .proc-js .ks[data-page="process"] .ks-step.is-in .ks-step-meta > div:nth-child(2) { translate: 0 calc(var(--d) * -14px); }
  .proc-js .ks[data-page="process"] .ks-step.is-in .ks-step-meta > div:nth-child(3) { translate: 0 calc(var(--d) * -20px); }
  .proc-js .ks[data-page="process"] .ks-step.is-in .ks-step-title { translate: 0 calc(var(--d) * -6px); }
  /* the keystone of the step you are reading is a little larger and brighter */
  .proc-js .ks[data-page="process"] .ks-step.is-lit::before { scale: calc(.9 + .16 * var(--f)); }
}
/* the glowing head at the tip of the gold rail */
.ks[data-page="process"] .ks-rail-head {
  position: absolute; left: 22px; top: 34px; width: 9px; height: 9px; margin: -4px 0 0 -4px; border-radius: 50%; z-index: 3;
  pointer-events: none; opacity: 0; will-change: transform;
  background: radial-gradient(circle, #FFF6D8 0 28%, #F2D98C 45%, rgba(242, 217, 140, 0) 72%);
  box-shadow: 0 0 10px 3px rgba(242, 217, 140, .55), 0 0 26px 8px rgba(201, 162, 74, .28);
  transition: opacity .4s ease;
}
@media (max-width: 760px) { .ks[data-page="process"] .ks-rail-head { left: 11px; top: 30px; } }
@media (prefers-reduced-motion: reduce) { .ks[data-page="process"] .ks-rail-head { display: none; } }
