:root{
  --bg: #0b1020;
  --bg2:#070a14;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);

  --primary:#7c3aed; /* violet */
  --primary2:#22c55e; /* green accent */
  --soft:#60a5fa; /* blue accent */

  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
  --sidebar: 280px;
}

:root[data-theme="light"]{
  --bg:#f7f8fb;
  --bg2:#ffffff;
  --panel: rgba(0,0,0,.035);
  --panel2: rgba(0,0,0,.055);
  --border: rgba(0,0,0,.10);
  --text: rgba(0,0,0,.88);
  --muted: rgba(0,0,0,.62);

  --primary:#6d28d9;
  --primary2:#16a34a;
  --soft:#2563eb;

  --shadow: 0 18px 50px rgba(17,24,39,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(124,58,237,.35), transparent 60%),
    radial-gradient(1000px 500px at 85% 20%, rgba(34,197,94,.20), transparent 55%),
    radial-gradient(900px 450px at 55% 85%, rgba(96,165,250,.22), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  min-height:100vh;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto; display:block}

.main{
  margin-left: var(--sidebar);
  padding: 26px 22px 60px;
}

.section{
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px 0;
}

.section + .section{
  border-top: 1px solid rgba(255,255,255,.06);
}
:root[data-theme="light"] .section + .section{ border-top: 1px solid rgba(0,0,0,.06); }

.section-head{ margin-bottom: 22px; }
.h1{
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.05;
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
}
.h1 .sub{
  display:block;
  margin-top: 10px;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--soft);
  font-weight: 700;
}
.h2{
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.h3{ font-size: 18px; margin: 0 0 8px; }
.h3.sm{ font-size: 16px; }
.p{ color: var(--muted); line-height: 1.8; margin: 0; }
.p.strong{ color: var(--text); font-weight: 600; }
.lead{ color: var(--muted); margin:0; line-height: 1.8; }
.tiny{ font-size: 12px; color: var(--muted); }
.italic{ font-style: italic; }

.card{
  background: linear-gradient(180deg, var(--panel), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.divider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin: 16px 0;
}
:root[data-theme="light"] .divider{ background: rgba(0,0,0,.08); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-weight: 700;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  cursor:pointer;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.20); background: var(--panel2); }
:root[data-theme="light"] .btn:hover{ border-color: rgba(0,0,0,.16); }

.btn-primary{
  background: linear-gradient(135deg, rgba(124,58,237,.92), rgba(37,99,235,.75));
  border-color: rgba(124,58,237,.45);
}
.btn-primary:hover{ opacity:.95; transform: translateY(-1px); }
.btn-soft{
  background: linear-gradient(135deg, rgba(34,197,94,.18), rgba(96,165,250,.12));
}
.btn-ghost{
  background: var(--panel);
  border-color: var(--border);
}
.btn.full{ width:100%; }

.floating{
  position: fixed;
  right: 16px;
  top: 14px;
  z-index: 80;
  display:flex;
  gap:10px;
}
.floating .btn{ padding: 10px 12px; border-radius: 12px; }

.topbar{
  position: fixed;
  left:0; right:0; top:0;
  height: 58px;
  display:none;
  align-items:center;
  justify-content:space-between;
  padding: 0 14px;
  z-index: 70;
  background: rgba(10, 12, 24, .75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
:root[data-theme="light"] .topbar{
  background: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.brand{
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  max-width: 78%;
}
.icon-btn{
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 18px;
  cursor:pointer;
}

.sidebar{
  position: fixed;
  top:0; left:0;
  width: var(--sidebar);
  height: 100vh;
  padding: 18px 16px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(7,10,20,.55);
  backdrop-filter: blur(18px);
  z-index: 60;
  display:flex;
  flex-direction:column;
  gap: 14px;
}
:root[data-theme="light"] .sidebar{
  background: rgba(255,255,255,.72);
  border-right: 1px solid rgba(0,0,0,.08);
}

.brand-lg{ display:block; padding: 10px 10px; border-radius: 14px; }
.brand-lg:hover{ background: var(--panel); }

.nav{
  display:flex;
  flex-direction:column;
  gap: 6px;
  padding: 8px 4px;
}
.nav-item{
  padding: 10px 10px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.nav-item:hover{
  background: var(--panel);
  border-color: var(--border);
  color: var(--text);
}
.nav-item.active{
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(34,197,94,.10));
  border-color: rgba(124,58,237,.35);
  color: var(--text);
}

.sidebar-foot{
  margin-top:auto;
  padding: 10px 6px 0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  width: fit-content;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--primary2), rgba(34,197,94,.25));
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

.mobile-menu{
  position: fixed;
  left: 12px;
  right: 12px;
  top: 66px;
  z-index: 75;
  display:none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(7,10,20,.75);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
:root[data-theme="light"] .mobile-menu{ background: rgba(255,255,255,.86); }

.hero{ padding-top: 22px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}
.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  width: fit-content;
}
.tagline{
  margin: 0 0 16px;
  padding: 14px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent);
  border: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.9;
}
.cta-row{ display:flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }

.stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.stat{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.stat-num{ font-weight: 900; font-size: 22px; letter-spacing:-0.02em; }
.stat-label{ color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 6px; }

.media-card{
  height:100%;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent);
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.media-card-lg{padding: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.media-frame{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
}
:root[data-theme="light"] .media-frame{ background: rgba(0,0,0,.03); border-color: rgba(0,0,0,.08); }
.media-frame img{
  width: 100%;
  height: auto; /* keep ratio */
  object-fit: cover;
  transition: transform .2s ease;
}
.media-frame:hover img{ transform: scale(1.02); }

.media-meta{ padding: 2px 2px 6px; text-align: center; }
.media-title{ font-weight: 800; letter-spacing:-.01em; }
.media-sub{ color: var(--muted); font-size: 13px; margin-top: 6px; }

.about-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}
.accordion{ display:flex; flex-direction:column; gap: 10px; margin-top: 10px; }
.acc{
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.acc summary{
  list-style:none;
  cursor:pointer;
  padding: 12px 12px;
  display:flex;
  gap: 10px;
  align-items:center;
}
.acc summary::-webkit-details-marker{ display:none; }
.badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(124,58,237,.35);
  background: rgba(124,58,237,.12);
  color: var(--text);
  font-weight: 800;
}
.acc-title{ font-weight: 800; }
.acc-body{
  padding: 0 12px 14px;
  color: var(--muted);
  line-height: 1.8;
}

.timeline{
  position: relative;
  padding-left: 18px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.timeline:before{
  content:"";
  position:absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, rgba(124,58,237,.65), rgba(34,197,94,.35));
  border-radius: 999px;
}
.t-item{ position: relative; }
.t-dot{
  position:absolute;
  left: 1px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.15));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}
:root[data-theme="light"] .t-dot{ border-color: rgba(0,0,0,.16); background: radial-gradient(circle at 30% 30%, rgba(0,0,0,.08), rgba(0,0,0,.02)); }
.t-card{
  margin-left: 18px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.t-title{ font-weight: 900; letter-spacing:-.01em; }
.t-role{ color: var(--soft); font-weight: 800; margin-top: 6px; }
.t-desc{ color: var(--muted); margin-top: 8px; line-height: 1.8; }

.cards-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.svc{ padding: 16px; }
.svc-icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 12px;
}
.svc-icon svg{
  width: 26px; height: 26px;
  stroke: var(--text);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.philosophy{ background: transparent; }
.ph-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.ph{ padding: 16px; }
.ph-top{ display:flex; align-items:center; gap: 10px; margin-bottom: 6px; }
.ph-accent{
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 0 0 4px rgba(96,165,250,.10);
}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.info-block{ padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
:root[data-theme="light"] .info-block{ border-bottom: 1px solid rgba(0,0,0,.08); }
.info-block:last-child{ border-bottom: 0; }
.info-title{
  display:flex; align-items:center; gap: 10px;
  font-weight: 900;
  margin-bottom: 10px;
}
.ico{ font-size: 16px; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

.social{ display:flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.social-link{
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  transition: transform .15s ease, opacity .15s ease;
}
.social-link:hover{ transform: translateY(-1px); opacity:.92; }
.social-link img{ width: 28px; height: 28px; object-fit: contain; }

.form{ display:flex; flex-direction:column; gap: 14px; }
.field{ display:flex; flex-direction:column; gap: 8px; }
label{ font-weight: 800; color: var(--text); font-size: 13px; }
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
:root[data-theme="light"] input, :root[data-theme="light"] textarea{ background: rgba(0,0,0,.03); }
input:focus, textarea:focus{
  border-color: rgba(96,165,250,.55);
  background: rgba(96,165,250,.06);
}

.footer{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 0 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}
:root[data-theme="light"] .footer{ border-top: 1px solid rgba(0,0,0,.08); }

/* Responsive */
@media (max-width: 980px){
  :root{ --sidebar: 0px; }
  .sidebar{ display:none; }
  .topbar{ display:flex; }
  .main{ margin-left: 0; padding-top: 76px; }
  .mobile-menu{ display:flex; }
  .floating{ top: 70px; }
  .hero-grid, .about-grid{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: 1fr 1fr 1fr; }
  .cards-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .stats{ grid-template-columns: 1fr; }
  .cards-grid{ grid-template-columns: 1fr; }
  .ph-grid{ grid-template-columns: 1fr; }
}


.media-card-lg .media-meta{ margin-top: auto; }

.pill-link{
  cursor: pointer;
}
.pill-link:hover{
  transform: translateY(-1px);
  opacity: .95;
}


/* ===== Business Overview refinement ===== */
.accordion{
  gap: 14px;
}

.acc summary{
  padding: 14px 14px;
}

.arrow-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 16px;
  font-weight: 900;
  color: var(--primary);
  margin-right: 4px;
}

:root[data-theme="light"] .arrow-icon{
  color: var(--primary);
}

.acc-title{
  font-size: 15px;
  letter-spacing: .2px;
}

.acc-body{
  padding-left: 34px;
  border-left: 2px solid rgba(124,58,237,.25);
  margin-left: 6px;
}

:root[data-theme="light"] .acc-body{
  border-left: 2px solid rgba(0,0,0,.18);
}

/* Social icon enhancement */
.social-link{ width:52px; height:52px; }
.social-link img{ width:34px; height:34px; }



/* ===== Contact social icons: dark mode purple ===== */
:root:not([data-theme="light"]) .social-link img{
  /* Recolor monochrome SVG icons to violet (#7c3aed) in dark mode */
  filter: brightness(0) saturate(100%) invert(23%) sepia(88%) saturate(4554%) hue-rotate(257deg) brightness(98%) contrast(104%);
}

