/* ============================================================
   KAELO GLOBAL — Design System
   Kaelo Global Design System
   ============================================================ */

:root {
  --k-black: #000000;
  --k-charcoal: #1C1C1C;
  --k-cyan: #03F1FF;
  --k-silver: #B5B5B5;
  --k-white: #FFFFFF;
  --k-cyan-10: rgba(3, 241, 255, 0.1);
  --k-cyan-20: rgba(3, 241, 255, 0.2);

  --font-heading: 'Reem Kufi', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* Layout — truly full-width, minimal bleed */
  --bleed: 10px;
  --gap: 8px;
  --section-mt: 140px;
  --line: 0.5px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-slide: cubic-bezier(0.215, 0.61, 0.355, 1);

  /* Typography scale */
  --text-xxs: 0.75rem;
  --text-xs: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2.4rem;
  --text-4xl: 2.75rem;
}

/* ============================================================
   PRELOADER — cinematic logo reveal
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.preloader__icon {
  width: 70px;
  height: 70px;
}
/* Each piece animates in separately */
.pre-p {
  fill: #03F1FF;
  opacity: 0;
  transform-origin: center;
}
.pre-p1 { animation: prePiece 0.6s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; }
.pre-p2 { animation: prePiece 0.6s cubic-bezier(0.16,1,0.3,1) 0.35s forwards; }
.pre-p3 { animation: prePiece 0.6s cubic-bezier(0.16,1,0.3,1) 0.5s forwards; }
.pre-p4 { animation: prePiece 0.6s cubic-bezier(0.16,1,0.3,1) 0.65s forwards; }

@keyframes prePiece {
  from { opacity: 0; transform: scale(0.5) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.preloader__text {
  font-family: 'Reem Kufi', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  animation: preTextReveal 0.8s ease 1s forwards;
}
@keyframes preTextReveal {
  from { opacity: 0; letter-spacing: 20px; }
  to { opacity: 1; letter-spacing: 8px; }
}

.preloader__line {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  opacity: 0;
  animation: preFade 0.3s ease 1.2s forwards;
}
.preloader__progress {
  width: 0%;
  height: 100%;
  background: #03F1FF;
  animation: preProgress 1.5s cubic-bezier(0.4,0,0.2,1) 1.3s forwards;
}
@keyframes preProgress {
  from { width: 0%; }
  to { width: 100%; }
}
@keyframes preFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-xs);
  line-height: 1.3;
  color: var(--k-black);
  background: var(--k-white);
  overflow-x: hidden;
  text-transform: uppercase;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s var(--ease); }
a:hover { opacity: 0.6; }

/* ── Typography — weight 400 for EVERYTHING ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
}

h1, h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
}

h3 { font-family: var(--font-body); font-size: var(--text-xs); }
h4 { font-family: var(--font-body); font-size: var(--text-xs); }

p {
  font-size: var(--text-xs);
  line-height: 1.43;
  text-transform: uppercase;
}

/* Accent — the serif for quotes/taglines */
.accent-text, blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-xl);
  line-height: 1.3;
  text-transform: none;
}

/* Label */
.label {
  font-size: var(--text-xxs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Layout — full-width, bleed only ── */
.px-bleed {
  padding-left: var(--bleed);
  padding-right: var(--bleed);
}

.container {
  width: 100%;
  padding-left: var(--bleed);
  padding-right: var(--bleed);
}

.section {
  position: relative;
  width: 100%;
  padding: var(--section-mt) 0;
}
.section:first-child { padding-top: 0; }

/* Horizontal rule dividers */
.section--lined {
  border-top: 0.5px solid rgba(0,0,0,0.1);
}
.section--dark.section--lined {
  border-top-color: rgba(255,255,255,0.08);
}

/* Inline divider utility */
.divider {
  width: 100%;
  height: 0.5px;
  background: rgba(0,0,0,0.1);
  margin: 40px 0;
}
.divider--light {
  background: rgba(255,255,255,0.08);
}
.divider--wide {
  margin: 60px 0;
}

/* Content separator — thin line under headings */
h2.lined {
  padding-bottom: 25px;
  border-bottom: 0.5px solid rgba(0,0,0,0.1);
  margin-bottom: 40px;
}
.section--dark h2.lined {
  border-bottom-color: rgba(255,255,255,0.08);
}

.section--dark {
  background: var(--k-black);
  color: var(--k-white);
}

.section--black {
  background: var(--k-black);
  color: var(--k-white);
}

/* ── Grid ── */
.grid {
  display: grid;
  gap: 40px;
}

/* Grid with vertical dividers between columns */
.grid--divided > * {
  padding-left: 20px;
  border-left: 0.5px solid rgba(0,0,0,0.1);
}
.grid--divided > *:first-child {
  padding-left: 0;
  border-left: none;
}
.section--dark .grid--divided > * {
  border-left-color: rgba(255,255,255,0.08);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  :root { --section-mt: 80px; }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xxs);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 35px;
  border: var(--line) solid;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.btn--cyan { background: var(--k-cyan); color: var(--k-black); border-color: var(--k-cyan); }
.btn--cyan:hover { background: transparent; color: var(--k-cyan); opacity: 1; }
.btn--outline { background: transparent; color: var(--k-white); border-color: rgba(255,255,255,0.3); }
.btn--outline:hover { border-color: var(--k-cyan); color: var(--k-cyan); opacity: 1; }

/* ── Styled Link ── */
.styled-link {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.styled-link:hover { opacity: 0.6; }

/* ============================================================
   HEADER — transparent, fixed, theme-aware
   ============================================================ */
.kh {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000001;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 20px;
  background: transparent;
  border-bottom: var(--line) solid rgba(255,255,255,0.3);
  transition: all 0.3s var(--ease);

  --header-text: var(--k-white);
  --header-border: rgba(255,255,255,0.3);
}

/* Sentinel-driven theme: light mode */
.kh--light {
  --header-text: var(--k-black);
  --header-border: rgba(0,0,0,0.15);
  background: var(--k-white);
  border-bottom-color: var(--header-border);
}
.kh--light .kh__trigger { color: var(--k-black); }
.kh--light .kh__logo--white { display: none !important; }
.kh--light .kh__logo--color { display: block !important; }

/* Panel-open: force dark */
.kh--panel-open {
  background: transparent !important;
  border-bottom-color: rgba(255,255,255,0.3) !important;
}
.kh--panel-open .kh__trigger { color: var(--k-white) !important; }
.kh--panel-open .kh__logo--white { display: block !important; }
.kh--panel-open .kh__logo--color { display: none !important; }

/* Logo variants — default: white visible, color hidden */
.kh__logo--color { display: none !important; }
.kh__logo--white { display: block !important; }

.kh__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--header-text);
  transition: opacity 0.3s var(--ease);
  letter-spacing: 0.1em;
  position: relative;
}
.kh__trigger:hover { opacity: 0.6; }

/* Hover bridge — prevents menu from closing when moving cursor down */
.kh__trigger::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 40px;
  background: transparent;
}

.kh__dot {
  width: 8px; height: 8px;
  background: var(--k-cyan);
  border-radius: 2px;
  flex-shrink: 0;
}

.kh__left { justify-self: start; }
.kh__center { justify-self: center; }
.kh__right { justify-self: end; }

.kh__logo { display: block; height: 22px; line-height: 0; }
.kh__logo img { height: 100%; width: auto; display: block; }

/* ============================================================
   OVERLAY PANELS — hover-triggered on desktop
   ============================================================ */
.ko {
  position: fixed;
  top: 56px;
  height: calc(100vh - 56px);
  width: 50vw;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px 50px 50px;
  overflow-y: auto;

  /* Hidden by default — slide up from 1rem */
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: transform 0.6s var(--ease-slide), opacity 0.5s ease;
}
.ko--left {
  left: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: left;
}
.ko--right {
  right: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: right;
}
.ko.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.ko-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.ko-backdrop.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Menu items */
.ko__menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ko--right .ko__menu { align-items: flex-end; }
.ko--left .ko__menu { align-items: flex-start; }

.ko__item {
  display: inline-flex;
  align-items: baseline;
  padding: 6px 0;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
  white-space: nowrap;
}
.ko__item:hover { opacity: 0.5; }
.ko__item-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 2.8rem);
  text-transform: uppercase;
  color: var(--k-white);
  line-height: 1.2;
}
.ko__item-num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
  margin-left: 8px;
  position: relative;
  top: -1em;
}

/* Secondary links */
.ko__secondary {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ko--right .ko__secondary { align-items: flex-end; }
.ko--left .ko__secondary { align-items: flex-start; }
.ko__sec-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xxs);
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 5px 0;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.ko__sec-link:hover { color: var(--k-white); opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.kf {
  background: var(--k-black);
  padding: var(--section-mt) var(--bleed) 12px;
  color: var(--k-white);
}
.kf__inner { width: 100%; }
.kf__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  margin-bottom: 0;
}

.kf__office { margin-bottom: 25px; }
.kf__office-name {
  font-size: var(--text-xxs);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.kf__office-addr {
  font-size: var(--text-xs);
  line-height: 1.43;
  color: rgba(255,255,255,0.45);
}
.kf__contact { margin-top: 15px; }
.kf__contact a {
  display: block;
  font-size: var(--text-xs);
  color: var(--k-white);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 8px;
}
.kf__contact a:hover { opacity: 0.6; }
.kf__contact a.muted { color: rgba(255,255,255,0.45); }

/* Footer nav — same size for headings and links */
.kf__col-title {
  font-size: var(--text-xs);
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.kf__link {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 3px 0;
}
.kf__link:hover { color: var(--k-white); opacity: 1; }

.kf__divider {
  height: var(--line);
  background: rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.kf__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}
.kf__copy {
  font-size: var(--text-xxs);
  color: rgba(255,255,255,0.35);
}
.kf__patent {
  display: inline-block;
  font-size: 8px;
  letter-spacing: 2px;
  border: var(--line) solid rgba(255,255,255,0.25);
  padding: 3px 8px;
  margin-left: 15px;
  vertical-align: middle;
  color: rgba(255,255,255,0.35);
}
.kf__legal a {
  font-size: var(--text-xxs);
  color: rgba(255,255,255,0.35);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 20px;
}
.kf__legal a:hover { color: var(--k-white); opacity: 1; }

/* Giant logo — bottom-right, above the legal divider */
.kf__logo-row {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 60px 0 40px;
  overflow: hidden;
}
.kf__giant-logo {
  height: clamp(80px, 15vw, 160px);
  width: auto;
  opacity: 0.9;
  margin-right: -5px; /* bleed slightly into edge */
}

@media (max-width: 768px) {
  .kf__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 480px) {
  .kf__grid { grid-template-columns: 1fr; }
  .kf__bottom { flex-direction: column; align-items: flex-start; }
  .kf__legal a { margin-left: 0; margin-right: 15px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--k-black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img, .hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}
/* Extra gradient at top for header readability */
.hero__overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}
/* Hero text shadow for punch */
.hero h1, .hero .text-reveal__inner {
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero--short { min-height: 50vh; }

/* ============================================================
   ORIGIN REVEAL — full-width, logo at center, content radiates out
   ============================================================ */
.origin-reveal {
  width: 100%;
}

/* Center row: line ——— logo ——— line */
.origin-reveal__center {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 60px;
  width: 100%;
}

.origin-reveal__logo {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  margin: 0 20px;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
              transform 1s cubic-bezier(0.16,1,0.3,1);
}

.origin-reveal__line {
  flex: 1;
  height: 0.5px;
  background: rgba(0,0,0,0.12);
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(0.16,1,0.3,1);
}
.origin-reveal__line--left {
  transform-origin: right center;
  transition-delay: 0.6s;
}
.origin-reveal__line--right {
  transform-origin: left center;
  transition-delay: 0.6s;
}

/* Three columns — full width */
.origin-reveal__columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  width: 100%;
}

.origin-reveal__col {
  opacity: 0;
  padding: 30px 30px 0;
  border-left: 0.5px solid rgba(0,0,0,0.08);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.16,1,0.3,1);
}
.origin-reveal__col:first-child {
  border-left: none;
  padding-left: 0;
}

.origin-reveal__col--left {
  transform: translateX(80px);
  transition-delay: 1s;
}
.origin-reveal__col--center {
  transform: translateY(40px);
  transition-delay: 1.2s;
}
.origin-reveal__col--right {
  transform: translateX(-80px);
  transition-delay: 1s;
}

/* ═══ Triggered state ═══ */
.origin-reveal.is-visible .origin-reveal__logo {
  opacity: 1;
  transform: scale(1);
}
.origin-reveal.is-visible .origin-reveal__line {
  transform: scaleX(1);
}
.origin-reveal.is-visible .origin-reveal__col {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 768px) {
  .origin-reveal__columns {
    grid-template-columns: 1fr;
  }
  .origin-reveal__col {
    border-left: none;
    border-top: 0.5px solid rgba(0,0,0,0.08);
    padding: 25px 0 0;
  }
  .origin-reveal__col--left,
  .origin-reveal__col--center,
  .origin-reveal__col--right {
    transform: translateY(30px);
  }
}

/* Smooth scroll removed — handled by JS */

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--k-white);
  border: var(--line) solid rgba(0,0,0,0.06);
  padding: 30px;
  transition: all 0.3s var(--ease);
}
.card:hover {
  border-color: var(--k-cyan);
  transform: translateY(-4px);
}
.card--dark {
  background: var(--k-black);
  border-color: rgba(255,255,255,0.06);
  color: var(--k-white);
}
.card--dark:hover { border-color: var(--k-cyan); }

.card__number {
  font-size: var(--text-xxs);
  color: var(--k-silver);
  margin-bottom: 15px;
}
.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}
.card__text {
  font-size: var(--text-xs);
  line-height: 1.43;
  color: var(--k-silver);
}

/* ============================================================
   STATS
   ============================================================ */
.stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--k-cyan);
  line-height: 1;
}
.stat__label {
  font-size: var(--text-xxs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 10px;
  color: var(--k-silver);
}

/* ============================================================
   NUMBERED LIST (timeline)
   ============================================================ */
.numbered-list__item {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: var(--line) solid rgba(255,255,255,0.08);
}
.numbered-list__item:first-child {
  border-top: var(--line) solid rgba(255,255,255,0.08);
}
.numbered-list__num {
  font-size: var(--text-xxs);
  color: var(--k-cyan);
  min-width: 40px;
  padding-top: 2px;
}

/* ============================================================
   CTA CARDS — background image with hover zoom
   ============================================================ */
.cta-card:hover img {
  opacity: 0.4 !important;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  section[style*="grid-template-columns: 1fr 1fr"][style*="min-height: 70vh"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   TIMELINE CAROUSEL
   ============================================================ */

/* Navigation arrows */
.tl-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 10px;
}
.tl-nav__btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(0,0,0,0.15);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  color: var(--k-black);
}
.tl-nav__btn:hover {
  border-color: var(--k-cyan);
  color: var(--k-cyan);
  background: var(--k-cyan-10);
}

/* Year labels */
.tl__labels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  border-top: 0.5px solid rgba(0,0,0,0.1);
  padding-top: 25px;
  margin-bottom: 40px;
}
.tl__year-num {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--k-cyan);
  display: block;
  margin-bottom: 6px;
}
.tl__year-text {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(0,0,0,0.4);
  text-transform: none;
}

/* Carousel track */
.tl-carousel {
  width: 100%;
  overflow: hidden;
  padding: 0 var(--bleed);
  cursor: grab;
  user-select: none;
}
.tl-carousel:active { cursor: grabbing; }
.tl-carousel__track {
  display: flex;
  gap: 8px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Individual timeline cards — large and cinematic */
.tl-card {
  flex-shrink: 0;
  width: 420px;
}
.tl-card__img {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.tl-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.tl-card:hover .tl-card__img img {
  transform: scale(1.08);
}
.tl-card__meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}
.tl-card__year {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--k-cyan);
}
.tl-card__label {
  font-size: 12px;
  color: rgba(0,0,0,0.4);
  text-transform: none;
}

/* Progress bar */
.tl-carousel__progress {
  width: 100%;
  height: 2px;
  background: rgba(0,0,0,0.06);
  margin-top: 30px;
  overflow: hidden;
}
.tl-carousel__bar {
  height: 100%;
  background: var(--k-cyan);
  width: 30%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .tl__labels { grid-template-columns: repeat(4, 1fr); }
  .tl-card { width: 320px; }
  .tl-card__img { height: 220px; }
}
@media (max-width: 480px) {
  .tl__labels { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tl-card { width: 280px; }
  .tl-card__img { height: 190px; }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  font-size: var(--text-xxs);
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 15px;
}
.breadcrumbs a { color: rgba(255,255,255,0.5); }
.breadcrumbs a:hover { color: var(--k-cyan); opacity: 1; }
.breadcrumbs span { margin: 0 6px; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-cyan { color: var(--k-cyan); }
.text-silver { color: var(--k-silver); }
.text-white { color: var(--k-white); }
.text-center { text-align: center; }
.text-normal { text-transform: none; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content {
  background: var(--k-white);
}
.page-content h2, .page-content h3 {
  margin-top: 40px;
  margin-bottom: 15px;
}
.page-content p {
  margin-bottom: 20px;
  line-height: 1.5;
  text-transform: none;
}
.page-content ul, .page-content ol {
  margin: 20px 0;
  padding-left: 25px;
  text-transform: none;
}
.page-content li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.page-content blockquote {
  margin: 40px 0;
  padding: 25px 30px;
  border-left: 2px solid var(--k-cyan);
  background: var(--k-cyan-10);
  text-transform: none;
}

/* ============================================================
   RESPONSIVE — mobile panels + header
   ============================================================ */
/* Service line hover */
.svc-line:hover { background: rgba(3,241,255,0.03); }
.svc-line:hover span:last-child { color: var(--k-cyan); }

/* Sub-sector image card hover */
a[style*="height: 300px"]:hover img { opacity: 0.55 !important; transform: scale(1.05); }

/* Page template responsive */
@media (max-width: 900px) {
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: 1.3fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"][style*="min-height: 80vh"] {
    grid-template-columns: 1fr !important;
  }
  /* Stats panel in hero — full width on mobile */
  [style*="position: absolute; bottom: 0; right: 0"][style*="grid-template-columns: repeat(2"] {
    position: relative !important;
    max-width: 100% !important;
    bottom: auto !important;
    right: auto !important;
  }
}

@media (max-width: 768px) {
  .ko { width: 100vw; padding: 40px 20px 25px; top: 56px; height: calc(100vh - 56px); }
  .kh { padding: 12px var(--bleed); }
  .kh__trigger { font-size: var(--text-xxs); }
  .kh__logo { height: 16px; }
}

/* ============================================================
   FLUENT FORMS — Kaelo Global Theme Override
   ============================================================ */
.fluentform .ff-el-form-control {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 0 !important;
  color: var(--k-white) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  padding: 12px 0 !important;
  transition: border-color 0.3s ease !important;
  text-transform: none !important;
}
.fluentform .ff-el-form-control:focus {
  border-bottom-color: var(--k-cyan) !important;
  box-shadow: none !important;
  outline: none !important;
}
.fluentform .ff-el-form-control::placeholder {
  color: rgba(255,255,255,0.3) !important;
  text-transform: none !important;
}
/* Light theme forms */
[data-theme="light"] .fluentform .ff-el-form-control {
  border-bottom-color: rgba(0,0,0,0.12) !important;
  color: var(--k-black) !important;
}
[data-theme="light"] .fluentform .ff-el-form-control:focus {
  border-bottom-color: var(--k-cyan) !important;
}
[data-theme="light"] .fluentform .ff-el-form-control::placeholder {
  color: rgba(0,0,0,0.3) !important;
}
.fluentform .ff-el-form-label label {
  font-family: var(--font-heading) !important;
  font-size: 10px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.4) !important;
  font-weight: 400 !important;
  margin-bottom: 4px !important;
}
[data-theme="light"] .fluentform .ff-el-form-label label {
  color: rgba(0,0,0,0.35) !important;
}
.fluentform .ff-btn-submit {
  background: var(--k-cyan) !important;
  color: var(--k-black) !important;
  font-family: var(--font-heading) !important;
  font-size: 10px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 40px !important;
  cursor: pointer !important;
  transition: opacity 0.3s ease !important;
}
.fluentform .ff-btn-submit:hover {
  opacity: 0.8 !important;
}
.fluentform .ff-el-group {
  margin-bottom: 24px !important;
}
.fluentform select.ff-el-form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2303F1FF'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0 center !important;
}
.fluentform .ff-el-input--content input[type="file"] {
  color: rgba(255,255,255,0.5) !important;
}
.fluentform .ff-message-success {
  background: rgba(3,241,255,0.08) !important;
  border: 1px solid rgba(3,241,255,0.2) !important;
  color: var(--k-cyan) !important;
  font-family: var(--font-body) !important;
  border-radius: 0 !important;
  padding: 20px !important;
}
/* Inline newsletter form */
.ff-inline {
  display: flex;
  gap: 0;
}
.ff-inline .ff-el-group { flex: 1; margin: 0 !important; }
.ff-inline .ff-btn-submit { white-space: nowrap; }

/* ============================================================
   BLOG STYLES
   ============================================================ */
.blog-card { text-decoration: none; display: flex; flex-direction: column; }
.blog-card__image { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.03); }
.blog-card__category {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--k-cyan);
  margin-top: 15px;
  display: block;
}
.blog-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  text-transform: uppercase;
  margin-top: 8px;
  line-height: 1.3;
}
.blog-card__excerpt {
  color: rgba(0,0,0,0.45);
  text-transform: none;
  font-size: var(--text-xs);
  line-height: 1.6;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__date {
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(0,0,0,0.25);
  margin-top: 12px;
  text-transform: uppercase;
}
/* Dark blog cards */
[data-theme="dark"] .blog-card__title { color: var(--k-white); }
[data-theme="dark"] .blog-card__excerpt { color: rgba(255,255,255,0.4); }
[data-theme="dark"] .blog-card__date { color: rgba(255,255,255,0.2); }

/* Article body */
.article-body { text-transform: none; line-height: 1.85; color: rgba(0,0,0,0.6); }
.article-body p { margin-bottom: 1.5em; }
.article-body h2 { font-family: var(--font-heading); font-size: var(--text-lg); text-transform: uppercase; margin: 2.5em 0 0.8em; color: var(--k-black); }
.article-body h3 { font-family: var(--font-heading); font-size: var(--text-base); text-transform: uppercase; margin: 2em 0 0.6em; color: var(--k-black); }
.article-body blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15em;
  padding-left: 25px;
  border-left: 2px solid var(--k-cyan);
  margin: 2em 0;
  color: var(--k-black);
}
.article-body ul, .article-body ol { padding-left: 1.5em; margin-bottom: 1.5em; }
.article-body li { margin-bottom: 0.5em; }
.article-body img { max-width: 100%; height: auto; margin: 2em 0; }
.article-body a { color: var(--k-cyan); text-decoration: underline; text-underline-offset: 3px; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; }
.pagination a, .pagination span {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 18px;
  text-decoration: none;
  border: 0.5px solid rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.pagination a:hover { border-color: var(--k-cyan); color: var(--k-cyan); }
.pagination .current { background: var(--k-black); color: var(--k-white); border-color: var(--k-black); }

/* ============================================================
   RESPONSIVE — Additional breakpoints
   ============================================================ */
@media (max-width: 1024px) {
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns: 1.3fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --bleed: 20px; }
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  [style*="min-height: 85vh"],
  [style*="min-height: 80vh"],
  [style*="min-height: 90vh"] { min-height: 70vh !important; }
  [style*="font-size: var(--text-4xl)"] { font-size: var(--text-2xl) !important; }
  [style*="font-size: var(--text-3xl)"] { font-size: var(--text-xl, 1.75rem) !important; }
  [style*="gap: 60px"] { gap: 30px !important; }
  [style*="gap: 50px"] { gap: 25px !important; }
  [style*="padding: 60px"],
  [style*="padding: 70px"] { padding: 30px 20px !important; }
  [style*="position: sticky"] { position: relative !important; top: auto !important; }
  .container { padding-left: var(--bleed); padding-right: var(--bleed); }
  .footer__grid { grid-template-columns: 1fr !important; gap: 30px !important; }
  .footer__logo-giant { font-size: 3rem !important; }
}
