/* ==========================================================================
   Zakiant Intro v1.0.0 — scoped styles
   Every selector is prefixed with .zk-, [data-zk-intro] or html.zk-intro-*
   so nothing here can change the existing homepage layout or typography.
   ========================================================================== */

/* In-flow root. Takes no space: the visual stage is position:fixed. */
[data-zk-intro] {
  position: relative;
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

/* Hidden unless the bootstrap script switched the intro on (fail-open). */
.zk-stage { display: none; }
html.zk-intro-on [data-zk-intro]:not([data-zk-state="duplicate"]) > .zk-stage,
html.zk-intro-on .zk-stage[data-zk-active] { display: block; }
html.zk-intro-done .zk-stage[data-zk-active] { visibility: hidden; pointer-events: none; }

.zk-stage {
  --zk-orange: #FD5D2B;
  --zk-cream: #F2EEE7;
  --zk-ink: #1C1C1C;
  --zk-charcoal: #1E1E1E;
  --zk-font-sans: Poppins, "Helvetica Neue", Arial, sans-serif;
  --zk-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --zk-bar: 0px;
  --zk-split: 50%;
  --zk-tunnel-h: 36%;
  --zk-z: 2147483000;

  position: fixed;
  left: 0;
  right: 0;
  top: var(--zk-bar);
  bottom: 0;
  z-index: var(--zk-z);
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
  margin: 0;
  padding: 0;
  color: var(--zk-ink);
  font-family: var(--zk-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  cursor: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
.zk-stage *,
.zk-stage *::before,
.zk-stage *::after { box-sizing: border-box; }

/* ---------- Left panel (warm off-white, full stage underlay) ---------- */
.zk-stage .zk-left {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--zk-cream);
}
.zk-stage .zk-left-inner {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--zk-split);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 104px clamp(28px, 4.2vw, 72px) 120px clamp(24px, 5.6vw, 96px);
}
.zk-stage .zk-copy {
  max-width: 600px;
  will-change: transform, opacity;
}

.zk-stage .zk-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(18px, 2.2vh, 28px);
  padding: 0;
  font-family: var(--zk-font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--zk-ink);
}
.zk-stage .zk-eyebrow-mark {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background: var(--zk-orange);
}

.zk-stage .zk-headline {
  margin: 0 0 clamp(18px, 2.6vh, 30px);
  padding: 0;
  border: 0;
  font-family: var(--zk-font-sans);
  font-size: clamp(38px, 3.85vw, 66px);
  font-weight: 500;
  font-style: normal;
  line-height: 1.06;
  letter-spacing: -.028em;
  text-transform: none;
  color: var(--zk-ink);
  text-wrap: balance;
}
.zk-stage .zk-headline .zk-line { display: block; }
.zk-stage .zk-headline .zk-dot { color: var(--zk-orange); }

.zk-stage .zk-lede {
  margin: 0 0 clamp(26px, 3.6vh, 40px);
  padding: 0;
  max-width: 34em;
  font-family: var(--zk-font-sans);
  font-size: clamp(15px, 1.12vw, 18px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0;
  color: rgba(28, 28, 28, .72);
}

.zk-stage .zk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.zk-stage .zk-btn,
.zk-stage .zk-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: none;
  font-family: var(--zk-font-mono);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.zk-stage .zk-btn--primary,
.zk-stage .zk-btn--primary:visited { background: var(--zk-orange); color: var(--zk-ink); }
.zk-stage .zk-btn--primary:hover,
.zk-stage .zk-btn--primary:focus-visible { background: var(--zk-ink); color: #fff; }
.zk-stage .zk-btn--secondary,
.zk-stage .zk-btn--secondary:visited { background: transparent; color: var(--zk-ink); border-color: rgba(28, 28, 28, .28); }
.zk-stage .zk-btn--secondary:hover,
.zk-stage .zk-btn--secondary:focus-visible { background: rgba(28, 28, 28, .07); color: var(--zk-ink); border-color: var(--zk-ink); }
.zk-stage .zk-btn:focus-visible,
.zk-stage .zk-skip:focus-visible {
  outline: 2px solid var(--zk-orange);
  outline-offset: 3px;
}

/* Scroll hint */
.zk-stage .zk-hint {
  position: absolute;
  left: clamp(24px, 5.6vw, 96px);
  bottom: clamp(24px, 4.4vh, 44px);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--zk-font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--zk-ink);
  pointer-events: none;
}
.zk-stage .zk-hint-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(28, 28, 28, .45);
  border-radius: 50%;
}
.zk-stage .zk-hint-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--zk-orange);
  animation: zk-hint 1.8s ease-in-out infinite;
}
@keyframes zk-hint {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(6px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Tunnel panel (charcoal, clipped to the right half at rest) ---------- */
.zk-stage .zk-tunnel {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--zk-charcoal);
  clip-path: inset(0 0 0 var(--zk-split));
}
.zk-stage .zk-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

/* ---------- Orange circle / transition layer ---------- */
.zk-stage .zk-orb {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--zk-orange);
  clip-path: circle(0px at 75% 50%);
  pointer-events: none;
}

/* ---------- "Click & hold" cursor label (desktop hover; above the finger on touch) ---------- */
.zk-stage .zk-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  overflow: hidden;
  padding: 8px 11px 9px;
  border-radius: 4px;
  background: #fff;
  color: var(--zk-ink);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .28);
  font-family: var(--zk-font-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease, background-color .2s ease, color .2s ease;
  will-change: transform, opacity;
}
.zk-stage .zk-cursor.is-visible { opacity: 1; }
.zk-stage .zk-cursor::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--zk-orange);
  transform-origin: left center;
  transform: scaleX(var(--zk-charge, 0));
}
.zk-stage .zk-cursor[data-state="charged"] { background: var(--zk-orange); color: var(--zk-ink); }
.zk-stage .zk-cursor[data-state="charged"]::after { background: var(--zk-ink); }
.zk-stage[data-zk-canvas] { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.zk-stage[data-zk-canvas] .zk-copy { -webkit-user-select: text; user-select: text; }

/* ---------- Skip intro ---------- */
.zk-stage .zk-skip {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(22, 22, 22, .82);
  box-shadow: none;
  color: #fff;
  font-family: var(--zk-font-mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color .2s ease, color .2s ease;
}
.zk-stage .zk-skip:hover,
.zk-stage .zk-skip:focus-visible { background: var(--zk-orange); color: var(--zk-ink); border-color: var(--zk-orange); }

/* ---------- Stacked layout (phones, portrait tablets) ---------- */
.zk-stage[data-zk-layout="stacked"] .zk-left-inner {
  width: 100%;
  bottom: var(--zk-tunnel-h);
  justify-content: center;
  padding: 64px 24px 52px;
}
.zk-stage[data-zk-layout="stacked"] .zk-copy { max-width: 560px; }
.zk-stage[data-zk-layout="stacked"] .zk-tunnel { clip-path: inset(calc(100% - var(--zk-tunnel-h)) 0 0 0); }
.zk-stage[data-zk-layout="stacked"] .zk-hint {
  left: 24px;
  bottom: calc(var(--zk-tunnel-h) + 18px);
  font-size: 11px;
}
.zk-stage[data-zk-layout="stacked"] .zk-skip { top: 12px; right: 12px; }
.zk-stage[data-zk-layout="stacked"] .zk-eyebrow { font-size: 11.5px; gap: 10px; margin-bottom: 16px; }
.zk-stage[data-zk-layout="stacked"] .zk-headline { font-size: clamp(30px, 8.2vw, 52px); margin-bottom: 16px; }
.zk-stage[data-zk-layout="stacked"] .zk-lede { font-size: 15px; line-height: 1.55; margin-bottom: 22px; }

@media (max-width: 479px) {
  .zk-stage[data-zk-layout="stacked"] .zk-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .zk-stage[data-zk-layout="stacked"] .zk-btn { min-height: 44px; }
}
@media (max-height: 720px) {
  .zk-stage[data-zk-layout="stacked"] .zk-left-inner { padding-top: 56px; padding-bottom: 40px; }
  .zk-stage[data-zk-layout="stacked"] .zk-headline { font-size: clamp(26px, 7.4vw, 40px); margin-bottom: 12px; }
  .zk-stage[data-zk-layout="stacked"] .zk-lede { font-size: 14px; margin-bottom: 16px; }
  .zk-stage[data-zk-layout="stacked"] .zk-eyebrow { margin-bottom: 12px; }
  .zk-stage[data-zk-layout="stacked"] .zk-hint { display: none; }
}
@media (max-height: 620px) and (max-width: 479px) {
  .zk-stage[data-zk-layout="stacked"] .zk-lede { display: none; }
}
@media (max-height: 680px) and (min-width: 768px) {
  .zk-stage[data-zk-layout="split"] .zk-left-inner { padding-top: 72px; padding-bottom: 84px; }
}

/* Canvas mode (set by the script after its first frame). The opaque canvas paints both
   panels and the orange circle itself, the copy layer sits above it on a transparent
   background, and no clip-path is animated. Placed after the layout rules and with
   higher specificity so it overrides both the split and the stacked clip. */
.zk-stage[data-zk-canvas][data-zk-layout] .zk-left { background: transparent; z-index: 2; }
.zk-stage[data-zk-canvas][data-zk-layout] .zk-tunnel { background: none; clip-path: none; -webkit-clip-path: none; z-index: 1; }
.zk-stage[data-zk-canvas][data-zk-layout] .zk-orb { clip-path: none; -webkit-clip-path: none; }

@media (prefers-reduced-motion: reduce) {
  .zk-stage .zk-hint-icon::after { animation: none; }
  .zk-stage .zk-btn, .zk-stage .zk-skip { transition: none; }
}

/* ---------- Host section collapse (the section that holds the HTML widget) ---------- */
.zk-intro-host { display: none !important; }
body:not(.elementor-editor-active) .elementor-top-section:has([data-zk-intro]) {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
}
body:not(.elementor-editor-active) .elementor-top-section:has([data-zk-intro]) .elementor-widget-wrap { padding: 0 !important; }
body:not(.elementor-editor-active) .e-con.e-parent:has([data-zk-intro]):not(#zakiant-main-content) {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  gap: 0 !important;
  border: 0 !important;
}
body:not(.elementor-editor-active) .elementor-widget:has([data-zk-intro]) { margin: 0 !important; }

/* Helpers inserted by the script around the pinned homepage */
.zk-pin-marker { display: block; height: 0; margin: 0; padding: 0; overflow: hidden; }
.zk-pin-spacer { display: block; margin: 0; padding: 0; visibility: hidden; pointer-events: none; }
[data-zk-focus-target]:focus { outline: none; }

/* ---------- Elementor editor placeholder ---------- */
.zk-editor { height: auto !important; }
.zk-editor > .zk-stage {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  height: min(72vh, 620px);
  min-height: 420px;
  z-index: auto;
}
.zk-editor-label {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 7;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--zk-orange);
  color: var(--zk-ink);
  font: 500 11.5px/1.2 var(--zk-font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
