:root{
  --text:#0f172a;
  --muted:#475569;
  --border:#e2e8f0;
  --bg:#ffffff;
  --surface:#f8fafc;
  --brand:#0f4c81;
  --brand2:#0b3a61;
  --shadow: 0 8px 24px rgba(15,23,42,.08);
  --radius: 14px;
  --max: 1120px;

  /* marquee controls */
  --fade: 80px;
  --marquee-duration: 36s;
  --marquee-gap: 14px;
  --card-width: 420px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background: var(--bg);
  line-height:1.55;
}

/* Seasonal snow overlay */
#snow-canvas{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* don’t block clicks */
  z-index: 9999;        /* above everything */
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* =========================
   Header
   ========================= */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.2px;
  color: var(--brand);
}
.logo-img{
  width:34px;
  height:34px;
  border-radius:10px;
  display:block;
}

/* =========================
   Navigation dropdown
   ========================= */
.nav{
  display:flex;
  gap:10px;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
}
.nav-item{ position: relative; }

.nav-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 12px;
  border-radius:10px;
  color: var(--muted);
  font-weight:650;
  font-size:14px;
  line-height:1;
  background: transparent;
  border: 0;
}

.nav-link:hover{
  background: var(--surface);
  color: var(--text);
}

.nav-caret{
  font-size:12px;
  opacity:.7;
}

/* Make dropdown button look like link */
.nav-button{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  font-family: inherit;
  cursor:pointer;
}

/* Hover bridge (prevents dropdown closing when moving cursor) */
.has-dropdown::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:12px;
}

/* Dropdown show/hide animation */
.dropdown{
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  box-shadow: var(--shadow);
  padding:6px;
  list-style:none;
  margin:0;
  z-index:1000;

  /* animation */
  display:block;
  opacity:0;
  visibility:hidden;
  transform: translateY(8px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
  pointer-events:none;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity:1;
  visibility:visible;
  transform: translateY(0);
  pointer-events:auto;
}

.dropdown-link{
  display:block;
  padding:10px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  color: var(--text);
  transition: background .12s ease, transform .12s ease;
}
.dropdown-link:hover{
  background: var(--surface);
  transform: translateX(2px);
}

/* =========================
   Mobile menu (hamburger)
   ========================= */
.nav-toggle{
  display:none;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  align-items:center;
  justify-content:center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}
.nav-toggle:hover{ background: var(--surface); }

.nav-toggle-bar{
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  opacity: .9;
}

/* Desktop nav container */
.site-nav{
  display:block;
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight:750;
  font-size: 14px;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
  cursor:pointer;
  white-space: nowrap;
}
.btn:hover{ background: var(--surface); }
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--brand);
  border-color: var(--brand);
  color:#fff;
}
.btn-primary:hover{
  background: var(--brand2);
  border-color: var(--brand2);
}

/* =========================
   Standalone Banner
   ========================= */
.site-banner{
  position: relative;
  width: 100%;
  min-height: clamp(320px, 42vw, 520px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow: hidden;
  transform: translateZ(0);
}

.site-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(10,15,30,.35),
      rgba(10,15,30,.80)
    ),
    linear-gradient(
      to bottom,
      rgba(10,15,30,.55),
      rgba(10,15,30,.75)
    );
}

/* Fade-in animation */
.site-banner-inner{
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 960px;
  padding: 0 20px;
  color:#fff;

  opacity: 0;
  transform: translateY(10px);
  animation: bannerFadeIn .9s ease-out forwards;
  animation-delay: .12s;
}

@keyframes bannerFadeIn{
  to{ opacity: 1; transform: translateY(0); }
}

.site-banner-inner h1,
.site-banner-inner p,
.site-banner-inner .btn{
  opacity: 0;
  transform: translateY(8px);
  animation: bannerFadeIn .9s ease-out forwards;
}

.site-banner-inner h1{ animation-delay: .10s; }
.site-banner-inner p{ animation-delay: .20s; }
.site-banner-inner .btn{ animation-delay: .30s; }

.site-banner .btn{
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.site-banner .btn:hover{
  transform: translateY(-1px);
}

/* =========================
   Hero / Layout
   ========================= */
.hero{
  padding: 34px 0 10px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 20px;
  align-items:start;
}

.kicker{
  color: var(--brand);
  font-weight: 850;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.hero-title{
  margin: 12px 0 12px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.4px;
}

.hero-lead{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 64ch;
  font-weight: 600;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top: 18px;
}

.panel{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-panel{ padding: 18px; }
.hero-panel h3{ margin:0 0 10px; font-size: 16px; }
.hero-panel ul{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  font-weight:650;
  font-size: 14px;
}
.hero-panel li{ margin: 10px 0; }
.hero-panel strong{ color: var(--text); }
.hero-panel-actions{ margin-top: 14px; }

/* =========================
   Sections / Cards / Grids
   ========================= */
section{ padding: 34px 0; }

.section-alt{
  background: var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom: 14px;
}
.section-head h2{
  margin:0;
  font-size: 22px;
  letter-spacing:-.2px;
}
.section-head p{
  margin:0;
  color: var(--muted);
  font-weight:600;
  font-size: 14px;
  max-width: 72ch;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(15,23,42,.03);
}
.card h3{ margin:0 0 8px; font-size: 16px; }
.card p{ margin:0; color: var(--muted); font-weight:600; font-size: 14px; }

/* Badges */
.badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

/* =========================
   Subsidiaries Page Styling
   ========================= */
.sub-card{ padding: 20px; }

.sub-head{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  margin-bottom: 10px;
}

.sub-logo{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
  flex: 0 0 auto;
}

.sub-head-text{ flex: 1 1 auto; min-width: 0; }

.sub-name-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}

.sub-name{
  margin: 0;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.2px;
}

.sub-tag{
  margin-top: 4px;
  color: #94a3b8;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.sub-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.sub-visit{
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.sub-badges{
  margin-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

.sub-desc{
  margin: 10px 0 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.sub-points{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}
.sub-points li{ margin: 8px 0; }

/* Status pill */
.status-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 850;
  font-size: 12px;
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}
.status-active{
  background: rgba(16,185,129,.10);
  border-color: rgba(16,185,129,.25);
  color: rgba(6,95,70,.95);
}
.status-in-development{
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.28);
  color: rgba(146,64,14,.95);
}
.status-coming-soon{
  background: rgba(148,163,184,.20);
  border-color: rgba(148,163,184,.35);
  color: rgba(51,65,85,.95);
}

/* =========================
   Gallery tiles
   ========================= */
.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tile{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  aspect-ratio: 4/3;
  position:relative;
  overflow:hidden;
}
.tile:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(14,165,233,.18), transparent 55%),
    linear-gradient(225deg, rgba(15,76,129,.12), transparent 60%);
}

/* =========================
   Testimonials marquee
   ========================= */
.t-wrap{
  position:relative;
  overflow:hidden;
  padding: 6px 0 14px;

  -webkit-mask-image: linear-gradient(to right,
    transparent 0,
    black var(--fade),
    black calc(100% - var(--fade)),
    transparent 100%
  );
  mask-image: linear-gradient(to right,
    transparent 0,
    black var(--fade),
    black calc(100% - var(--fade)),
    transparent 100%
  );
}
.t-track{
  display:flex;
  gap: var(--marquee-gap);
  width: max-content;
  animation: t-marquee var(--marquee-duration) linear infinite;
}
.t-wrap:hover .t-track{ animation-play-state: paused; }

.t-slide{ flex: 0 0 var(--card-width); }

.quote{
  color: var(--text);
  font-weight:650;
  font-size: 14px;
}
.who{
  margin-top: 10px;
  color: var(--muted);
  font-weight:750;
  font-size: 13px;
}
.org{
  margin-top: 4px;
  color: #94a3b8;
  font-weight: 700;
  font-size: 13px;
}

@keyframes t-marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* News helpers */
.news-title{ margin:0 0 6px; }
.news-date{
  color: var(--muted);
  font-weight:750;
  font-size:13px;
  margin-bottom:10px;
}

/* =========================
   CTA
   ========================= */
.cta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cta h3{ margin:0; font-size: 18px; }
.cta p{ margin:6px 0 0; color: var(--muted); font-weight:650; font-size:14px; }
.cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* =========================
   Footer (UPGRADED)
   ========================= */
.site-footer{
  margin-top: 18px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-top{
  padding: 34px 0 24px;
  display:grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 18px;
  align-items:start;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.footer-name{
  font-weight: 900;
  letter-spacing: -0.2px;
  color: var(--brand);
}

.footer-tagline{
  margin-top: 2px;
  font-weight: 750;
  font-size: 13px;
  color: var(--muted);
}

.footer-desc{
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  max-width: 58ch;
}

.footer-contact{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  margin-top: 10px;
}

.footer-contact-item{
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
  border-bottom: 1px solid transparent;
}

.footer-contact-item:hover{
  color: var(--brand);
  border-bottom-color: rgba(15,76,129,.25);
}

.footer-dot{
  color: #94a3b8;
  font-weight: 900;
}

.footer-heading{
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--text);
  margin: 6px 0 10px;
}

.footer-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.footer-list a{
  color: var(--muted);
  font-weight: 750;
  font-size: 13px;
  border-bottom: 1px solid transparent;
}

.footer-list a:hover{
  color: var(--text);
  border-bottom-color: rgba(15,23,42,.14);
}

/* Social icons row */
.footer-socials{
  display:flex;
  gap:10px;
  margin-top: 14px;
  flex-wrap:wrap;
}

.footer-social{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
}

.footer-social:hover{
  background: #fff;
  border-color: rgba(15,23,42,.18);
  transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom{
  border-top: 1px solid var(--border);
  padding: 14px 0;
  display:flex;
  justify-content:space-between;
  gap: 14px;
  align-items:center;
}

.footer-legal{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.footer-bottom-links{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.footer-bottom-links a{
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.footer-bottom-links a:hover{
  color: var(--text);
  text-decoration: underline;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px){
  /* Show hamburger */
  .nav-toggle{ display:flex; }

  /* Turn nav into a dropdown panel */
  .site-nav{
    position: fixed;
    top: 70px; /* adjust if your header is taller */
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 10px;
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
    pointer-events: none;
  }

  .site-nav.is-open{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Stack nav links */
  .nav{
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .nav-link{
    width: 100%;
    justify-content: space-between;
  }

  /* Dropdown becomes inline on mobile; hidden until expanded */
  .dropdown{
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 1px solid var(--border);
    margin-top: 6px;

    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    pointer-events: auto;
    display: none;
  }
  .has-dropdown.is-open > .dropdown{ display:block; }
  .has-dropdown::after{ display:none; }

  /* Mobile CTA inside menu */
  .nav-cta{
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }

  /* Hide desktop CTA button in header */
  .header-inner > .btn.btn-primary{
    display:none;
  }

  /* Other layout responsiveness */
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }

  .footer-top{
    grid-template-columns: 1fr;
    padding: 26px 0 18px;
  }

  .footer-bottom{
    flex-direction: column;
    align-items:flex-start;
  }

  .footer-bottom-links{
    justify-content:flex-start;
  }

  :root{
    --fade: 50px;
    --card-width: 85vw;
    --marquee-duration: 44s;
  }

  .site-banner{ min-height: 320px; }
  .site-banner-inner p{ font-size: 16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .dropdown{ transition:none; transform:none; }
  .dropdown-link{ transition:none; }

  .t-wrap{
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
  }
  .t-track{ animation: none; }

  .site-banner-inner,
  .site-banner-inner h1,
  .site-banner-inner p,
  .site-banner-inner .btn{
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .site-nav{
    transition:none;
    transform:none;
  }
}

/* =========================
   Founders
   ========================= */
.founder-card{
  padding: 20px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.founder-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.founder-top{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-bottom: 12px;
}

.founder-avatar{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(15,23,42,.08);
  background: var(--surface);
}

.founder-meta{
  display:flex;
  flex-direction:column;
  gap: 2px;
}

.founder-name{
  font-weight: 850;
  letter-spacing: -0.2px;
  font-size: 16px;
  color: var(--text);
}

.founder-role{
  font-weight: 750;
  font-size: 13px;
  color: var(--muted);
}

.founder-desc{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

/* =========================
   Page Hero (for Projects etc.)
   ========================= */
.page-hero{
  padding: 34px 0 18px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.page-hero-inner{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 18px;
  align-items:start;
}

.page-title{
  margin: 10px 0 10px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.4px;
}

.page-lead{
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  max-width: 70ch;
}

.page-hero-panel{ padding: 18px; }
.page-hero-panel h3{ margin:0 0 10px; font-size: 16px; }
.page-hero-panel ul{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  font-weight:650;
  font-size: 14px;
}
.page-hero-panel li{ margin: 10px 0; }

/* =========================
   Projects toolbar + chips
   ========================= */
.projects-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 14px;
  margin-bottom: 14px;
}

.toolbar-label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.toolbar-hint{
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}

.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

.chip{
  appearance:none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 850;
  font-size: 12px;
  color: var(--muted);
  cursor:pointer;
  transition: background .12s ease, border-color .12s ease, transform .08s ease;
}

.chip:hover{ background: var(--surface); }
.chip:active{ transform: translateY(1px); }

.chip.is-active{
  background: rgba(15,76,129,.10);
  border-color: rgba(15,76,129,.22);
  color: var(--brand);
}

/* =========================
   Project cards (different from subsidiaries)
   ========================= */
.project-card{
  padding: 20px;
}

.project-top{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  margin-bottom: 10px;
}

.project-logo{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
  flex: 0 0 auto;
}

.project-meta{ flex: 1 1 auto; min-width: 0; }

.project-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}

.project-name{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.project-owner{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  margin-top: 8px;
}

.owner-badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 900;
  font-size: 12px;
  background: var(--surface);
  color: var(--muted);
}

.owner-company{
  background: rgba(15,76,129,.10);
  border-color: rgba(15,76,129,.22);
  color: var(--brand);
}

.owner-subsidiary{
  background: rgba(99,102,241,.10);
  border-color: rgba(99,102,241,.22);
  color: rgba(67,56,202,.95);
}

.owner-label{
  color: var(--muted);
  font-weight: 750;
  font-size: 13px;
}

.owner-link{
  color: var(--text);
  font-weight: 900;
  font-size: 13px;
  border-bottom: 1px solid transparent;
}
.owner-link:hover{
  color: var(--brand);
  border-bottom-color: rgba(15,76,129,.25);
}

.project-tagline{
  margin-top: 6px;
  color: #94a3b8;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.project-desc{
  margin: 10px 0 12px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

.project-tags{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.project-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 900px){
  .page-hero-inner{ grid-template-columns: 1fr; }
  .projects-toolbar{ flex-direction: column; align-items:flex-start; }
}

/* =========================
   Project detail page
   ========================= */
.project-hero{
  padding: 34px 0 18px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.project-hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  align-items:start;
}

.project-hero-top{
  display:flex;
  gap: 14px;
  align-items:flex-start;
}

.project-hero-logo{
  width: 60px;
  height: 60px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
  flex: 0 0 auto;
}

.project-hero-title{
  margin: 10px 0 8px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.4px;
}

.project-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  margin-top: 6px;
}

.project-hero-tagline{
  margin-top: 10px;
  color: #94a3b8;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.project-hero-lead{
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  max-width: 75ch;
}

.project-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 16px;
}

.project-hero-image{
  margin-top: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: clamp(220px, 26vw, 340px);
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

.project-side{
  padding: 18px;
}

.project-side h3{
  margin:0 0 10px;
  font-size: 16px;
}

.project-list{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  font-weight:650;
  font-size: 14px;
}
.project-list li{ margin: 10px 0; }

.project-stack{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.project-side-title{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

/* Project gallery tiles show images */
.project-tile{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Responsive */
@media (max-width: 900px){
  .project-hero-grid{ grid-template-columns: 1fr; }
  .project-hero-top{ flex-direction: column; }
}
@media (max-width: 500px){
  .project-hero-meta{
    flex-direction: column;
    align-items:flex-start;
  }
}

/* =========================
    News Styling
    ========================= */

    /* =========================
   News page cards
   ========================= */
.news-card{
  padding: 20px;
}

.news-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.news-meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
}

.news-owner{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  justify-content:flex-end;
}

.news-excerpt{
  margin: 10px 0 12px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

.news-tags{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.news-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

/* Featured post */
.featured-post{
  padding: 22px;
}

.featured-top{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom: 12px;
}

.featured-meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
}

.featured-owner{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
}

.featured-title{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.featured-excerpt{
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

/* =========================
   News post page
   ========================= */
.post-hero{
  padding: 34px 0 18px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.post-meta-row{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  margin-bottom: 10px;
}

.post-title{
  margin: 10px 0 10px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.4px;
}

.post-excerpt{
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  max-width: 85ch;
}

.post-hero-image{
  margin-top: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: clamp(220px, 26vw, 360px);
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

.post-body{
  padding: 22px;
}

.post-h2{
  margin: 18px 0 10px;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.post-p{
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.7;
}

.post-ul{
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}
.post-ul li{ margin: 8px 0; }

.post-quote{
  margin: 16px 0 18px;
  padding: 16px 16px;
  border-left: 4px solid rgba(15,76,129,.35);
  background: rgba(15,76,129,.06);
  border-radius: 12px;
}

.post-quote-text{
  color: var(--text);
  font-weight: 750;
  font-size: 14px;
}

.post-quote-by{
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.post-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 16px;
}

/* =========================
   Contact Page
   ========================= */

   /* =========================
   Contact page
   ========================= */
.contact-grid{
  align-items:start;
}

.contact-card,
.faq-card{
  padding: 22px;
}

.contact-title{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.contact-subtitle{
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.form-row label{
  display:block;
  font-weight: 850;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea{
  width:100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  font-weight: 650;
  outline: none;
  background: #fff;
  transition: border-color .12s ease, box-shadow .12s ease;
}

.form-row textarea{ resize: vertical; }

.form-row input:focus,
.form-row textarea:focus{
  border-color: rgba(15,76,129,.35);
  box-shadow: 0 0 0 4px rgba(15,76,129,.10);
}

.form-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 6px;
}

.form-note{
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
}

.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.alert{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px;
  margin-bottom: 14px;
  font-weight: 650;
  font-size: 13px;
}

.alert ul{
  margin: 8px 0 0;
  padding-left: 18px;
}

.alert-success{
  background: rgba(16,185,129,.10);
  border-color: rgba(16,185,129,.25);
  color: rgba(6,95,70,.95);
}

.alert-error{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.25);
  color: rgba(127,29,29,.95);
}

/* FAQ */
.faq{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.faq-item{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
}

.faq-item summary{
  cursor:pointer;
  font-weight: 900;
  color: var(--text);
  font-size: 14px;
  list-style:none;
}

.faq-item summary::-webkit-details-marker{ display:none; }

.faq-item summary:after{
  content:"▾";
  float:right;
  opacity:.7;
  transition: transform .14s ease;
}

.faq-item[open] summary:after{
  transform: rotate(180deg);
}

.faq-body{
  margin-top: 10px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.65;
}

.contact-side-cta{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.contact-side-title{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-side-links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* Contact select styling */
.form-row select{
  width:100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  font-weight: 650;
  outline: none;
  background: #fff;
  transition: border-color .12s ease, box-shadow .12s ease;
}

.form-row select:focus{
  border-color: rgba(15,76,129,.35);
  box-shadow: 0 0 0 4px rgba(15,76,129,.10);
}

/* CAPTCHA placeholder styling */
.captcha-wrap{
  display:flex;
  justify-content:flex-start;
  align-items:center;
}

.captcha-placeholder{
  border: 1px dashed rgba(148,163,184,.8);
  background: rgba(248,250,252,.9);
  border-radius: 14px;
  padding: 12px 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}


/* =========================
   Live Chat Widget
   ========================= */

/* =========================
   Live Chat Widget (Bubble style)
   ========================= */

/* Container fixed to bottom-right */
.chat-widget{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display: block !important;
  width: auto;
}

/* Floating bubble button */
.chat-fab{
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, var(--brand), var(--brand2));
  color: #fff;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
  box-shadow: 0 16px 40px rgba(15,23,42,.22);
  transition: transform .12s ease, filter .12s ease;
}

.chat-fab:hover{ filter: brightness(1.05); }
.chat-fab:active{ transform: translateY(1px); }

/* Old dot not needed anymore */
.chat-fab-dot{ display:none; }

/* Icon inside bubble */
.chat-fab-icon{
  width: 22px;
  height: 22px;
  display:block;
}

/* Prompt bubble */
.chat-prompt{
  position: absolute;
  right: calc(100% + 20px);
  bottom: 8px;

  display:grid;
  grid-template-columns: 1fr auto; /* text + close */
  column-gap: 14px;

  min-width: 320px;        /* 👈 ensures width */
  max-width: 420px;        /* 👈 comfortable chat width */
  padding: 16px 16px 16px 18px;

  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15,23,42,.16);

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;

  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.chat-prompt.is-show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  cursor: pointer;
}

.chat-prompt:after{
  content:"";
  position:absolute;
  right: -7px;
  bottom: 18px;

  width: 14px;
  height: 14px;

  background: #fff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(-45deg);
}


.chat-prompt-text{
  font-weight: 900;
  font-size: 14px;        /* bigger text */
  color: var(--text);
  line-height: 1.45;
  display:block;
  padding-top: 1px;
}


.chat-prompt-close{
  align-self: flex-start;
  margin-top: -2px;

  width: 30px;
  height: 30px;
  border-radius: 999px;

  border: 1px solid var(--border);
  background: var(--surface);
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size: 14px;
  line-height: 1;
}

.chat-prompt-close:hover{
  background: #fff;
}


/* Panel */
.chat-panel{
  position: absolute;
  right: 0;
  bottom: 68px; /* a bit higher to clear the bubble button */

  width: min(360px, calc(100vw - 36px));
  background:#fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15,23,42,.14);
  overflow:hidden;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;

  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.chat-panel.is-open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Panel header */
.chat-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding: 14px;

  background: linear-gradient(180deg, rgba(15,76,129,.10), rgba(255,255,255,1));
  border-bottom: 1px solid var(--border);
}

.chat-title{
  font-weight: 950;
  letter-spacing: -0.2px;
  font-size: 14px;
}

.chat-subtitle{
  margin-top: 3px;
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
}

.chat-close{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  width: 36px;
  height: 34px;
  cursor:pointer;
}
.chat-close:hover{ background: var(--surface); }

/* Panel form */
.chat-form{
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.chat-label{
  font-weight: 850;
  font-size: 12px;
  color: var(--text);
}

.chat-input,
.chat-textarea{
  width:100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 650;
  outline: none;
  background: #fff;
}

.chat-textarea{ resize: vertical; }

.chat-input:focus,
.chat-textarea:focus{
  border-color: rgba(15,76,129,.35);
  box-shadow: 0 0 0 4px rgba(15,76,129,.10);
}

.chat-send{
  width:100%;
  justify-content:center;
}

.chat-note{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
}

/* Toast (you already reference .chat-toast in JS) */
.chat-toast{
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 9999;

  background:#fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15,23,42,.14);

  padding: 10px 12px;
  max-width: min(360px, calc(100vw - 36px));

  opacity: 0;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease;
  font-weight: 750;
  font-size: 13px;
  color: var(--text);
}
.chat-toast.is-show{
  opacity: 1;
  transform: translateY(0);
}

/* Hide prompt on small screens */
@media (max-width: 520px){
  .chat-prompt{ display:none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .chat-panel, .chat-prompt, .chat-toast{ transition:none; transform:none; }
  .chat-fab{ transition:none; }
}

/* =========================
   Cookie Banner
   ========================= */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10000;

  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;

  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15,23,42,.18);

  font-size: 13px;
  font-weight: 650;
}

.cookie-text{
  color: var(--muted);
  line-height: 1.4;
}

.cookie-text a{
  color: var(--brand);
  font-weight: 800;
  margin-left: 4px;
}

.btn-small{
  padding: 8px 12px;
  font-size: 13px;
}

@media (max-width: 520px){
  .cookie-banner{
    flex-direction: column;
    align-items:flex-start;
  }
}

/* =========================
   Legal Page Enhancements
   ========================= */
.page-meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 10px;
}

.meta-pill{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 850;
  font-size: 12px;
  color: var(--muted);
}

.post-body{
  max-width: 900px;
}

.post-body h2{
  margin-top: 22px;
}

/* =========================
   Team Page
   ========================= */
.team-grid{
  align-items: stretch;
}

.team-card{
  padding: 20px;
  display:flex;
  flex-direction: column;
}

.team-top{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  margin-bottom: 10px;
}

.team-avatar{
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow:hidden;
  flex: 0 0 auto;
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
  display:flex;
  align-items:center;
  justify-content:center;
}

.team-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.team-avatar-placeholder{
  font-size: 22px;
  opacity: .75;
}

.team-meta{
  flex: 1 1 auto;
  min-width: 0;
}

.team-row{
  display:flex;
  justify-content: space-between;
  align-items:flex-start;
  gap: 10px;
}

.team-name{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.team-role{
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.team-location{
  margin-top: 6px;
  color: #94a3b8;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.team-bio{
  margin: 10px 0 12px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  line-height: 1.65;
}

.team-tags{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.team-links{
  margin-top: auto;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.team-link{
  display:inline-flex;
  align-items:center;
  gap: 8px;

  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;

  font-weight: 850;
  font-size: 13px;
  color: var(--text);

  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.team-link:hover{
  background: var(--surface);
  border-color: rgba(15,23,42,.18);
  transform: translateY(-1px);
}

.team-link-ico{
  width: 18px;
  text-align:center;
}

/* =========================
   Team Groups + Filter
   ========================= */
.team-group{
  margin-bottom: 18px;
}

.team-group-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.team-group-title{
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.team-card{
  transition: opacity .16s ease, transform .16s ease;
}

.team-card.is-hidden{
  display:none;
}

.team-group.is-hidden{
  display:none;
}

.team-empty{
  margin-top: 14px;
}

/* 404 subtle background accent */
.page-hero{
  background:
    radial-gradient(600px 200px at 20% 10%, rgba(15,76,129,.06), transparent 60%),
    #fff;
}
