/* ============================================================
   Kumar Labels — clean, minimal, single-screen
   Palette: #2E3192 (blue) · #E6E6E6 (grey) · #FFFFFF (white)
   Type:    Inter (smooth, highly readable)
   Frame:   large rounded corners — like a roll of labels
   ============================================================ */

:root {
  --blue: #2E3192;
  --blue-dark: #232578;
  --blue-soft: rgba(46, 49, 146, .07);
  --grey: #E6E6E6;
  --grey-fill: #ededee;
  --white: #ffffff;
  --ink: #2a2c3a;
  --muted: #6b6e7b;
  --line: #e2e2e8;

  --maxw: 1200px;
  --pad: 22px;
  --radius: 40px;          /* rounded label-like frame */
  --radius-sm: 18px;
  --shadow: rgba(46, 49, 146, 0.18) 0px 10px 30px;
  --shadow-card: 0 14px 36px rgba(46, 49, 146, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  height: 100dvh;
  overflow: hidden;                       /* fixed screen — no page scroll */
  overscroll-behavior: none;              /* stop iOS rubber-band bounce */
  -webkit-tap-highlight-color: transparent;
  background: radial-gradient(1100px 620px at 50% -10%, #f3f3f5 0%, #E6E6E6 60%);
  font-family: "Inter", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ===== Floating white box ===== */
.kl-shell {
  width: calc(100% - var(--pad) * 2);
  max-width: none;   /* full width (was var(--maxw) — revert to that to cap again) */
  height: calc(100vh - var(--pad) * 2);
  height: calc(100dvh - var(--pad) * 2);   /* real mobile: tracks the visible viewport (address bar) */
  margin: var(--pad) auto;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ===== Top bar ===== */
.kl-topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 5px 26px;
  border-bottom: 1px solid var(--line);
}
.kl-brand img { height: 54px; width: auto; display: block;     border-radius: 14px; }

.kl-menu-wrap { position: relative; min-width: 0; }
.kl-menu { display: flex; flex-wrap: wrap; gap: 3px; }
.kl-menu button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .2px;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.kl-menu button:hover { background: var(--blue-soft); color: var(--blue-dark); }
.kl-menu button.active { background: var(--blue); color: var(--white); }

/* ===== Stage + horizontal swiper ===== */
.kl-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 22px 0;
}
.kl-main-swiper { width: 100%; height: 100%; overflow: visible; }

.kl-main-swiper > .swiper-wrapper > .kl-page {
  width: 64%;                              /* center clear, sides peek ~18% */
  height: 100%;
  display: flex;
  filter: blur(1.5px);                     /* very light blur — sides stay readable */
  opacity: .78;
  transform: scale(.95);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.kl-main-swiper > .swiper-wrapper > .kl-page.swiper-slide-active {
  filter: none;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* nav arrows */
.kl-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--blue);
  font-size: 15px;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
  transition: background .2s, color .2s;
}
.kl-nav-arrow:hover { background: var(--blue); color: #fff; }
.kl-nav-prev { left: 8px; }
.kl-nav-next { right: 8px; }

/* ===== Card ===== */
.kl-card {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%);
  border: 2px solid #2f33a5;             /* blue label border */
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: safe center;          /* center if short, top-align if tall (no clipping) */
}
.kl-card--flush { padding: 0; justify-content: stretch; }

/* per-page gradient backgrounds (clearly visible blue / grey — brand only, never white) */
.kl-bg-home           { background: linear-gradient(155deg, #ccd4f0 0%, #e6eafa 100%); }
.kl-bg-about          { background: linear-gradient(180deg, #d6d6da 0%, #ededf1 100%); }
.kl-bg-why-us         { background: linear-gradient(180deg, #c9d1e9 0%, #e4e8f4 100%); }
.kl-bg-possibilities  { background: linear-gradient(200deg, #cad1ec 0%, #e5e9f6 100%); }
.kl-bg-infrastructure { background: linear-gradient(180deg, #c5cde7 0%, #e3e7f3 100%); }
.kl-bg-sustainability { background: linear-gradient(180deg, #cad2e5 0%, #e5e9f1 100%); }
.kl-bg-careers        { background: linear-gradient(180deg, #d1d2e0 0%, #e9e9f0 100%); }
.kl-bg-contact        { background: linear-gradient(180deg, #cad0ea 0%, #e4e8f4 100%); }

/* nested (multi-slide) pages: every individual vertical sub-slide carries its own gradient too */
.kl-bg-about          .kl-sub-swiper .swiper-slide { background: linear-gradient(180deg, #d6d6da 0%, #ededf1 100%); }
.kl-bg-possibilities  .kl-sub-swiper .swiper-slide { background: linear-gradient(200deg, #cad1ec 0%, #e5e9f6 100%); }
.kl-bg-infrastructure .kl-sub-swiper .swiper-slide { background: linear-gradient(180deg, #c5cde7 0%, #e3e7f3 100%); }

/* single-screen cards scroll internally if content is taller than the screen */
.kl-card:not(.kl-card--flush) { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d2d2da transparent; }
.kl-card:not(.kl-card--flush) > .kl-body { padding-bottom: 46px; }
.kl-card:not(.kl-card--flush)::-webkit-scrollbar { width: 7px; }
.kl-card:not(.kl-card--flush)::-webkit-scrollbar-thumb { background: #d2d2da; border-radius: 99px; }

/* the content block, centered & comfortably narrow */
.kl-body {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 44px 50px;
  text-align: left;
}
.kl-body.kl-center { text-align: center; }
.kl-body.kl-center .kl-kicker,
.kl-body.kl-center .kl-cta-row,
.kl-body.kl-center .kl-chips { justify-content: center; }

/* ===== Type ===== */
.kl-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--grey);
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1, h2, h3 { font-family: "Inter", sans-serif; color: var(--ink); line-height: 1.14; letter-spacing: -.6px; font-weight: 700; }
.kl-display { font-size: clamp(25px, 3.1vw, 37px); line-height: 1.1; }
.kl-h1 { font-size: clamp(20px, 2.3vw, 28px); }
.kl-h2 { font-size: clamp(17px, 1.9vw, 22px); font-weight: 600; }

p { color: var(--muted); font-size: 16px; line-height: 1.72; font-weight: 400; }
.kl-lead { font-size: 16px; color: #46505c; }
.kl-mt { margin-top: 16px; }
.kl-mt2 { margin-top: 26px; }
strong { color: var(--ink); font-weight: 600; }

/* contact page google map embed */
.kl-map {
  margin-top: 22px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.kl-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* home contact details (location / phone / email) */
.kl-contactinfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
}
.kl-contactinfo a,
.kl-contactinfo span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease;
}
.kl-contactinfo i {
  color: var(--blue);
  font-size: 14px;
  width: 16px;
  text-align: center;
}
.kl-contactinfo a:hover { color: var(--blue); }
/* left-aligned variant (e.g. About page) */
.kl-contactinfo--left { align-items: flex-start; margin-top: 20px; }
.kl-contactinfo--left a, .kl-contactinfo--left span { align-items: flex-start; text-align: left; }

/* buttons */
.kl-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.kl-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, background .2s, color .2s;
}
.kl-btn:active { transform: translateY(1px); }
.kl-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(46,49,146,.28); }
.kl-btn-primary:hover { background: var(--blue-dark); }
.kl-btn-ghost { background: transparent; color: var(--blue); border-color: rgba(46,49,146,.4); }
.kl-btn-ghost:hover { background: var(--blue-soft); }

/* small chips */
.kl-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.kl-chips span {
  font-size: 13px; font-weight: 500; color: var(--blue);
  background: var(--grey); padding: 9px 15px; border-radius: 999px;
}

/* mini metrics row */
.kl-metrics { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.kl-metric { flex: 1 1 0; min-width: 90px; text-align: center; background: var(--grey-fill); border-radius: var(--radius-sm); padding: 16px 10px; }
.kl-metric .kl-val { font-weight: 700; font-size: clamp(22px, 3vw, 30px); color: var(--blue); letter-spacing: -1px; }
.kl-metric .kl-lbl { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* feature list (title + optional description) */
.kl-feat { display: grid; gap: 13px; margin-top: 22px; }
.kl-feat .kl-row { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--ink); }
.kl-feat .kl-row b { font-weight: 600; }
.kl-feat .kl-row p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.kl-feat .kl-row p b { color: var(--ink); }
.kl-feat .kl-dot { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--blue); }

/* value / cert grid (title + one line) */
.kl-valgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 20px; }
.kl-val-item { display: grid; gap: 3px; }
.kl-val-item b { font-size: 15px; color: var(--blue); font-weight: 600; }
.kl-val-item span { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* spec blocks (category + description + chips) */
.kl-spec { display: grid; gap: 15px; margin-top: 16px; }
/* full-width image sitting under a spec item's content — show whole image, no crop */
.kl-spec-item .kl-figure--full { width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: fill; margin: 12px 0 10px; }
.kl-spec-item h3 { font-size: 15px; color: var(--blue); font-weight: 600; }
.kl-spec-item .kl-d { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.kl-spec-item .kl-chips { margin-top: 8px; }

/* heading above a list */
.kl-listhead { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 18px; }
.kl-listhead + .kl-ul { margin-top: 10px; }

/* simple bullet list (verbatim items) */
.kl-ul { margin-top: 14px; display: grid; gap: 7px; }
.kl-ul li { list-style: none; position: relative; padding-left: 18px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.kl-ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.kl-note { font-size: 12.5px; color: var(--muted); font-style: italic; margin-top: 10px; }

/* real image / figure */
.kl-figure {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-top: 20px;
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 10px 26px rgba(20, 22, 60, .16);
}
.kl-video {
  width: 100%;
  max-height: 300px;
  border-radius: var(--radius-sm);
  display: block;
  margin-top: 20px;
  border: 1px solid var(--line);
  background: #000;
}
/* images: 2 columns; a 3rd image spans full width below as a wide banner */
.kl-figrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.kl-figrow .kl-figure { margin-top: 0; max-height: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.kl-figrow .kl-figure:nth-child(3) { grid-column: 1 / -1; aspect-ratio: auto; height: 155px; }

/* gallery grid (portrait thumbnails) — 2 columns */
.kl-figgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.kl-figgrid .kl-figure { margin-top: 0; max-height: none; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
/* wide variant for landscape photos */
.kl-figgrid--wide .kl-figure { aspect-ratio: 16 / 9; }

/* image / video placeholders (dummy) */
.kl-media { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.kl-ph {
  flex: 1 1 0; min-width: 150px; min-height: 118px;
  border: 1.5px dashed #c5c5d0;
  border-radius: var(--radius-sm);
  background: var(--grey-fill);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .3px;
}
.kl-ph .kl-ic {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--blue);
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(46,49,146,.12);
}

/* contact */
.kl-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: start; margin-top: 26px; }
.kl-info { display: grid; gap: 8px; }
.kl-info .kl-k { font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--blue); }
.kl-info p { font-size: 14.5px; color: var(--ink); }
.kl-info a, .kl-info-link { font-size: 14.5px; color: var(--ink); text-decoration: none; transition: color .18s ease; display: inline-block; }
.kl-info a:hover, .kl-info-link:hover { color: var(--blue); }
form.kl-enquiry { display: grid; gap: 11px; }
form.kl-enquiry button[type="submit"] { justify-self: center; margin-top: 4px; padding-left: 34px; padding-right: 34px; }
form.kl-enquiry input, form.kl-enquiry textarea {
  width: 100%; font-family: inherit; font-size: 14px;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
form.kl-enquiry input:focus, form.kl-enquiry textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
form.kl-enquiry textarea { resize: none; min-height: 84px; }

/* honeypot (spam trap) — hidden from real users */
.kl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* form status messages */
.kl-form-msg { font-size: 13.5px; margin-top: 2px; line-height: 1.4; }
.kl-form-msg.kl-ok { color: #157f52; }
.kl-form-msg.kl-err { color: #c0392b; }
.kl-btn[disabled] { opacity: .6; cursor: default; }

/* careers — job application form + resume upload */
.kl-careerform { display: grid; gap: 12px; margin-top: 22px; max-width: 640px; }
.kl-cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kl-careerform input, .kl-careerform textarea {
  width: 100%; font-family: inherit; font-size: 14px;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.kl-careerform input:focus, .kl-careerform textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.kl-careerform textarea { resize: none; min-height: 76px; }
.kl-careerform button[type="submit"] { justify-self: flex-start; margin-top: 2px; padding-left: 30px; padding-right: 30px; }
/* styled file picker */
.kl-file { display: flex; align-items: center; gap: 12px; cursor: pointer; flex-wrap: wrap; }
.kl-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.kl-file-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px dashed var(--blue); color: var(--blue);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  background: var(--blue-soft); transition: background .2s;
}
.kl-file:hover .kl-file-btn { background: #dfe1f6; }
.kl-file-name { font-size: 13px; color: #6b6b7b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ===== Split hero (content left, image right) — Home & Infrastructure intro ===== */
.kl-split {
  flex: 1; height: 100%; width: 100%;            /* fills its card / sub-slide */
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  grid-template-rows: 1fr;                        /* single row fills full height → image full-bleed */
  background: transparent;                         /* inherit the card's per-page gradient */
}
.kl-split-body {
  display: flex; flex-direction: column; justify-content: safe center;
  padding: 30px 32px 30px 52px;
  text-align: left; position: relative; z-index: 2;
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c3c3cf transparent;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.kl-split-body .kl-kicker { align-self: flex-start; }
/* inside a nested vertical slide, fill the slide exactly (image full-bleed) */
.kl-sub-swiper .swiper-slide { position: relative; }
.kl-sub-swiper .swiper-slide > .kl-split { position: absolute; inset: 0; }
.kl-split-media { position: relative; overflow: hidden; }
.kl-split-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);   /* slanted left edge */
}
/* video sits in the right panel (unclipped so controls stay usable) */
.kl-split-media .kl-split-vid {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block; background: #000;
}
/* image collage (fills the right half of a split) */
.kl-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.3fr 1fr;
  gap: 10px;
  padding: 20px 20px 20px 6px;
  overflow: hidden;
  min-height: 0;                          /* let the 2x2 grid shrink below image natural size */
  min-width: 0;                           /* ditto for narrow right column */
}
.kl-collage img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.kl-collage img:nth-child(1) { grid-column: 1 / -1; }   /* first image spans the top */
/* 4-image collage -> clean 2x2 grid (no spanning first image).
   minmax(0, 1fr) lets the rows shrink below the image's intrinsic height
   so all 4 cells stay visible inside the available space. */
.kl-collage--quad { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.kl-collage--quad img:nth-child(1) { grid-column: auto; }

/* content images are clickable -> zoom cursor + subtle hover */
.kl-collage img, .kl-split-media img, .kl-figgrid img, .kl-spec-item img { cursor: zoom-in; transition: filter .2s, transform .2s; }
.kl-collage img:hover, .kl-split-media img:hover, .kl-figgrid img:hover, .kl-spec-item img:hover { filter: brightness(1.04); }

/* ===== Lightbox (full-screen image viewer) ===== */
.kl-lb {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 4vw;
  background: rgba(14, 15, 40, .82);
  backdrop-filter: blur(4px);
  animation: lbfade .2s ease both;
}
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
.kl-lb-fig { max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.kl-lb-fig img {
  max-width: 92vw; max-height: 82vh;
  object-fit: contain; border-radius: 12px; display: block;
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
  animation: lbpop .22s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes lbpop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.kl-lb-fig figcaption { color: #eef; font-size: 13px; text-align: center; max-width: 640px; opacity: .85; }
.kl-lb-close, .kl-lb-nav {
  position: absolute; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff;
  display: grid; place-items: center;
  border-radius: 999px; transition: background .2s;
}
.kl-lb-close:hover, .kl-lb-nav:hover { background: rgba(255,255,255,.28); }
.kl-lb-close { top: 18px; right: 20px; width: 44px; height: 44px; font-size: 26px; line-height: 1; }
.kl-lb-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 18px; }
.kl-lb-prev { left: 18px; }
.kl-lb-next { right: 18px; }
.kl-lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; opacity: .8; letter-spacing: .04em; }
@media (max-width: 600px) {
  .kl-lb-nav { width: 40px; height: 40px; }
  .kl-lb-prev { left: 8px; }
  .kl-lb-next { right: 8px; }
  .kl-lb-close { top: 10px; right: 12px; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .kl-split-body { animation: none; } }

/* ===== Home hero (centered — logo + heading + CTA) ===== */
.kl-home { position: relative; overflow: hidden; }
.kl-home::before {                 /* soft centered glow */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(460px 460px at 50% 42%, rgba(46,49,146,.10), transparent 70%);
  pointer-events: none;
}
.kl-home .kl-body {
  position: relative; z-index: 1;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.kl-home .kl-accent { color: var(--blue); }
.kl-home-logo {
  width: clamp(270px, 36vw, 430px); max-width: 88%;
  height: auto; display: block; margin: 0 auto 30px; border-radius: 20px;
}
.kl-home .kl-display { margin-top: 2px; }
.kl-home .kl-cta-row { margin-top: 30px; }

/* stack the split on small screens — content first, image/collage below */
@media (max-width: 900px) {
  .kl-split {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }
  .kl-sub-swiper .swiper-slide > .kl-split { position: relative; inset: auto; }
  .kl-split-body { order: 1; padding: 24px 26px 18px; overflow: visible; }
  .kl-split-media { order: 2; height: 226px; padding: 0 26px 6px; }
  .kl-split-media img { position: relative; height: 100%; clip-path: none; border-radius: 14px; }
  .kl-split-media .kl-split-vid { position: relative; height: 100%; border-radius: 14px; }
  .kl-collage { order: 2; height: 306px; padding: 4px 26px 8px; }
}
@media (max-width: 600px) {
  .kl-home-logo { margin: 0 auto 18px; }
}

/* ===== Possibilities — nested VERTICAL slider ===== */
.kl-sub-swiper { width: 100%; height: 100%; }
/* override Swiper's inline touch-action:pan-x so the sub-slide can scroll vertically on touch */
.kl-sub-swiper { touch-action: pan-y !important; }
.kl-sub-swiper .swiper-slide { display: flex; align-items: safe center; justify-content: center; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d2d2da transparent; }
.kl-sub-swiper .swiper-slide > .kl-body { padding-bottom: 72px; }   /* clear the up/down buttons */
.kl-sub-swiper .swiper-slide::-webkit-scrollbar { width: 7px; }
.kl-sub-swiper .swiper-slide::-webkit-scrollbar-thumb { background: #d2d2da; border-radius: 99px; }
.kl-sub-pagination { right: 6px !important; left: auto !important; width: auto !important; display: flex; flex-direction: column; gap: 2px; z-index: 7; }
/* big invisible hit area, small visible dot drawn with ::before — easy to click */
.kl-sub-pagination .swiper-pagination-bullet {
  position: relative;
  width: 28px; height: 26px;
  margin: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
  border-radius: 0;
  cursor: pointer;
}
.kl-sub-pagination .swiper-pagination-bullet::before {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 9px; height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--blue);
  opacity: .32;
  transition: opacity .2s, height .2s;
}
.kl-sub-pagination .swiper-pagination-bullet:hover::before { opacity: .6; }
.kl-sub-pagination .swiper-pagination-bullet-active::before { opacity: 1; height: 20px; }
.kl-subnav { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 6; display: flex; gap: 8px; }
.kl-subnav button {
  border: 1px solid var(--line); background: rgba(255,255,255,.95); color: var(--blue);
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 12px;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.1);
}
.kl-subnav button:hover { background: var(--blue); color: #fff; }

/* ===== Mobile ===== */
@media (max-width: 820px) {
  .kl-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .kl-home-logo { margin-bottom: 18px; }
}
@media (max-width: 600px) {
  :root { --pad: 12px; --radius: 28px; }
  .kl-topbar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 14px; }
  .kl-brand img { height: 42px; }
  .kl-menu-wrap { width: 100%; }
  .kl-menu { width: 100%; flex-wrap: nowrap; overflow-x: auto; scroll-behavior: smooth; padding-right: 30px; }
  .kl-menu::-webkit-scrollbar { height: 0; }

  /* "more menu" indicator — right fade + bouncing chevron */
  .kl-menu-wrap::after {
    content: "›";
    position: absolute; top: 0; right: 0; bottom: 0;
    width: 40px;
    display: flex; align-items: center; justify-content: flex-end;
    padding-right: 6px;
    font-size: 20px; font-weight: 700; color: var(--blue);
    background: linear-gradient(to right, rgba(255,255,255,0), #fff 60%);
    pointer-events: none;
    animation: nudge 1.3s ease-in-out infinite;
  }
  .kl-menu-wrap.kl-at-end::after { opacity: 0; }            /* hide once scrolled to the end */
  @keyframes nudge { 0%,100%{ transform: translateX(0);} 50%{ transform: translateX(3px);} }
  .kl-stage { padding: 12px 0; }
  .kl-main-swiper > .swiper-wrapper > .kl-page { width: 88%; transform: scale(.96); filter: blur(2px); opacity: .62; }
  .kl-nav-arrow { display: none; }
  .kl-body { padding: 28px 24px; }
  /* leave room on the right so text doesn't sit under the pagination dots */
  .kl-sub-swiper .swiper-slide > .kl-body { padding-right: 42px; }
  .kl-metric { min-width: 70px; }

  /* mobile typography */
  p { font-size: 15px; line-height: 1.66; }
  .kl-lead { font-size: 16px; }
  /* keep inputs at 16px so iOS doesn't auto-zoom on focus */
  form.kl-enquiry input, form.kl-enquiry textarea { font-size: 16px; }
}

/* ----- tablet ----- */
@media (max-width: 900px) {
  :root { --maxw: 940px; }
}

/* ----- stack 2-col grids on narrow screens ----- */
@media (max-width: 600px) {
  .kl-valgrid { grid-template-columns: 1fr; gap: 12px; }
  .kl-cf-grid { grid-template-columns: 1fr; }
  .kl-metrics { gap: 10px; }
  .kl-info .kl-k { font-size: 11px; }
  .kl-figrow { grid-template-columns: 1fr; }        /* stack images on mobile */
  .kl-figrow .kl-figure { max-height: 180px; }
  .kl-figrow .kl-figure:nth-child(3) { grid-column: auto; height: auto; aspect-ratio: 16 / 9; }
  .kl-figgrid { grid-template-columns: repeat(2, 1fr); }   /* 2x2 gallery on mobile */
}

/* ----- very small phones ----- */
@media (max-width: 380px) {
  .kl-body { padding: 22px 18px; }
  .kl-chips span { font-size: 12px; padding: 7px 11px; }
  .kl-brand img { height: 36px; }
}

/* ----- short / landscape screens (content still scrolls if it overflows) ----- */
@media (max-height: 560px) {
  .kl-stage { padding: 8px 0; }
  .kl-body { padding-top: 22px; padding-bottom: 22px; }
  .kl-sub-swiper .swiper-slide > .kl-body { padding-bottom: 58px; }
}

/* ============================================================
   DECORATIVE — label graphics (TRIAL for client)
   Outer: die-cut label shapes in the grey margin
   Inside .kl-body: die-cut sticker frame + corner registration mark
   To REVERT everything: delete this whole block AND the
   <div class="kl-decor"> element in index.php.
   ============================================================ */

/* keep the floating box above the outer decoration */
.kl-shell { position: relative; z-index: 1; }

/* --- outer: die-cut label shapes peeking around the box --- */
.kl-decor { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.kl-decor svg { position: absolute; stroke: var(--blue); fill: none; height: auto; }
.kl-decor .d1 { top: 5%;   left: -34px; width: 150px; opacity: .10; transform: rotate(-8deg); }
.kl-decor .d2 { top: 40%;  left: -46px; width: 118px; opacity: .09; }
.kl-decor .d3 { bottom: 7%; left: -22px; width: 140px; opacity: .10; transform: rotate(6deg); }
.kl-decor .d4 { top: 8%;   right: -40px; width: 150px; opacity: .10; transform: rotate(7deg); }
.kl-decor .d5 { top: 45%;  right: -38px; width: 104px; opacity: .09; }
.kl-decor .d6 { bottom: 8%; right: -30px; width: 148px; opacity: .10; transform: rotate(-6deg); }

/* --- inside .kl-body: corner die-cut watermark (shape + corner vary per page) --- */
.kl-body { position: relative; }
.kl-body::after {
  content: ""; position: absolute; opacity: .07; pointer-events: none; z-index: 0;
  background-repeat: no-repeat; background-size: contain;
}
/* shapes */
.kl-page.kl-wm-round  .kl-body::after { width: 168px; height: 168px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%232E3192' stroke-width='2.5'%3E%3Ccircle cx='50' cy='50' r='46'/%3E%3Ccircle cx='50' cy='50' r='30' stroke-width='2'/%3E%3C/svg%3E"); }
.kl-page.kl-wm-roll   .kl-body::after { width: 168px; height: 168px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%232E3192' stroke-width='2.5'%3E%3Ccircle cx='50' cy='50' r='46'/%3E%3Ccircle cx='50' cy='50' r='32' stroke-width='2'/%3E%3Ccircle cx='50' cy='50' r='16' stroke-width='2'/%3E%3C/svg%3E"); }
.kl-page.kl-wm-label  .kl-body::after { width: 210px; height: 150px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 150' fill='none' stroke='%232E3192' stroke-width='2.5'%3E%3Crect x='4' y='4' width='192' height='142' rx='24'/%3E%3Crect x='30' y='46' width='118' height='14' rx='4' stroke-width='2'/%3E%3Crect x='30' y='74' width='88' height='10' rx='4' stroke-width='2'/%3E%3C/svg%3E"); }
.kl-page.kl-wm-oval   .kl-body::after { width: 200px; height: 142px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 142' fill='none' stroke='%232E3192' stroke-width='2.5'%3E%3Cellipse cx='100' cy='71' rx='94' ry='65'/%3E%3Crect x='42' y='63' width='116' height='12' rx='4' stroke-width='2'/%3E%3C/svg%3E"); }
.kl-page.kl-wm-tag    .kl-body::after { width: 150px; height: 184px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 184' fill='none' stroke='%232E3192' stroke-width='2.5'%3E%3Crect x='6' y='22' width='138' height='158' rx='20'/%3E%3Ccircle cx='75' cy='44' r='9' stroke-width='2'/%3E%3C/svg%3E"); }
.kl-page.kl-wm-bottle .kl-body::after { width: 120px; height: 190px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 120' fill='none' stroke='%232E3192' stroke-width='2.5'%3E%3Cpath d='M22 4 h16 v18 c0 8 10 10 10 26 v58 c0 6 -4 10 -10 10 h-16 c-6 0 -10 -4 -10 -10 v-58 c0 -16 10 -18 10 -26 z'/%3E%3Crect x='14' y='58' width='32' height='40' rx='4' stroke-width='2'/%3E%3C/svg%3E"); }
/* corners */
.kl-page.kl-wm-br .kl-body::after { right: -12px; bottom: -16px; background-position: right bottom; }
.kl-page.kl-wm-bl .kl-body::after { left: -12px; bottom: -16px; background-position: left bottom; }
.kl-page.kl-wm-tr .kl-body::after { right: -12px; top: -14px; background-position: right top; }

@media (max-width: 600px) {
  .kl-page.kl-wm-round .kl-body::after, .kl-page.kl-wm-roll .kl-body::after { width: 120px; height: 120px; }
  .kl-page.kl-wm-label .kl-body::after { width: 150px; height: 108px; }
  .kl-page.kl-wm-oval .kl-body::after { width: 145px; height: 103px; }
  .kl-page.kl-wm-tag .kl-body::after { width: 108px; height: 132px; }
  .kl-page.kl-wm-bottle .kl-body::after { width: 88px; height: 140px; }
}
