/* ────────────────────────────────────────────────────────────
   KOSHA (कोश) — Treasury / Sheath / Custody
   Brand palette: deep jade + warm brass on the master black.
   ──────────────────────────────────────────────────────────── */

.kosha-body{
  background:
    radial-gradient(circle at 15% 8%, rgba(46,93,74,.28), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(176,138,62,.16), transparent 26%),
    linear-gradient(140deg, #0F0F10 0%, #14211C 45%, #0F0F10 100%);
  min-height:100vh;
}

.kosha-body em{color:var(--kosha-jade-hi)}

.kosha-body .dm-topbar{
  background:rgba(15,25,22,.90);
  border-bottom-color:rgba(74,135,112,.22);
}

/* Hero — layered sheaths */
.kosha-hero{
  position:relative;
  min-height:76vh;
  padding:130px 0 100px;
  overflow:hidden;
}
.kosha-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(600px 300px at 20% 50%, rgba(46,93,74,.35), transparent 60%),
    radial-gradient(400px 240px at 80% 30%, rgba(176,138,62,.10), transparent 65%);
  pointer-events:none;
  z-index:0;
}
.kosha-hero-inner{
  position:relative;
  z-index:2;
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 24px;
}
.kosha-eyebrow{
  font-size:12px;
  font-weight:700;
  letter-spacing:.20em;
  text-transform:uppercase;
  color:var(--kosha-jade-hi);
  margin-bottom:22px;
  display:flex;
  align-items:center;
  gap:12px;
}
.kosha-eyebrow::before{
  content:"";
  width:36px;
  height:2px;
  background:var(--kosha-jade-hi);
  display:inline-block;
}
.kosha-hero h1{
  font-size:clamp(44px,6vw,96px);
  line-height:.92;
  letter-spacing:-.04em;
  margin:0 0 20px;
  font-weight:800;
  color:var(--dm-off);
}
.kosha-hero h1 em{
  color:var(--kosha-jade-hi);
  font-style:italic;
}
.kosha-hero .wordmark{
  margin-bottom:14px;
  display:block;
}
.kosha-hero .wordmark img{
  max-height:110px;
  width:auto;
  display:block;
}
.kosha-hero .tagline{
  font-size:clamp(19px,2.2vw,26px);
  color:var(--kosha-mist);
  font-weight:300;
  font-style:italic;
  letter-spacing:-.01em;
  margin:0 0 28px;
  max-width:640px;
}
.kosha-hero .rule{
  width:64px;
  height:2px;
  background:linear-gradient(90deg,var(--kosha-jade-hi),transparent);
  margin:0 0 26px;
}
.kosha-hero .lede{
  max-width:640px;
  font-size:17px;
  color:rgba(247,245,240,.82);
  line-height:1.78;
}
.kosha-hero .lede p{margin:0 0 12px}
.kosha-hero .lede strong{color:var(--kosha-jade-hi);font-weight:600}

/* Layered dividers — the pancha-kosha sheath echo */
.kosha-divider{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0 0 26px;
  width:80px;
}
.kosha-divider span{
  display:block;
  height:1px;
  background:rgba(74,135,112,.55);
}
.kosha-divider span:nth-child(1){width:100%}
.kosha-divider span:nth-child(2){width:70%}
.kosha-divider span:nth-child(3){width:40%}

/* Section rhythm */
.kosha-section{padding:80px 0;position:relative}
.kosha-section-inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 24px;
}
.kosha-section--jade{
  background:linear-gradient(180deg, rgba(46,93,74,.14) 0%, rgba(46,93,74,.06) 100%);
  border-top:1px solid rgba(74,135,112,.20);
  border-bottom:1px solid rgba(74,135,112,.20);
}
.kosha-section h2{
  font-size:clamp(28px,3vw,44px);
  font-weight:800;
  letter-spacing:-.03em;
  line-height:1.05;
  color:var(--dm-off);
  margin:0 0 18px;
  max-width:22ch;
}
.kosha-section h2 em{color:var(--kosha-jade-hi);font-style:italic}
.kosha-section h2::after{
  content:"";
  display:block;
  width:60px;
  height:2px;
  margin-top:20px;
  background:linear-gradient(90deg,var(--kosha-jade-hi),transparent);
}
.kosha-section p{
  font-size:17px;
  line-height:1.78;
  color:rgba(247,245,240,.72);
  margin:0 0 14px;
  max-width:64ch;
}

/* Kosha cards — softer corners (6px), sheath treatment */
.kosha-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
  margin-top:36px;
}
.kosha-card{
  position:relative;
  padding:32px 26px 28px;
  border-radius:6px;
  background:rgba(15,25,22,.55);
  border:1px solid rgba(74,135,112,.22);
  transition:border-color .25s, transform .25s, box-shadow .25s, background .25s;
  overflow:hidden;
}
.kosha-card::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:2px;
  background:linear-gradient(90deg,var(--kosha-jade-hi) 0%, var(--kosha-brass) 60%, transparent 100%);
}
.kosha-card:hover{
  border-color:rgba(74,135,112,.55);
  transform:translateY(-3px);
  box-shadow:0 14px 40px rgba(46,93,74,.28);
  background:rgba(15,25,22,.72);
}
.kosha-card-num{
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--kosha-brass);
  margin-bottom:14px;
}
.kosha-card h3{
  font-size:19px;
  font-weight:700;
  color:var(--dm-off);
  letter-spacing:-.02em;
  margin:0 0 12px;
  line-height:1.25;
}
.kosha-card p{
  font-size:14.5px;
  line-height:1.72;
  color:rgba(247,245,240,.66);
  margin:0;
}

/* Kosha CTA button */
.kosha-btn-primary{
  display:inline-block;
  padding:14px 28px;
  background:var(--kosha-jade-hi);
  color:var(--dm-black);
  border-radius:3px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  transition:background .2s, transform .2s;
}
.kosha-btn-primary:hover{
  background:#5FA085;
  transform:translateY(-1px);
}
.kosha-btn-ghost{
  display:inline-block;
  padding:13px 28px;
  border:1px solid rgba(74,135,112,.55);
  color:var(--kosha-jade-hi);
  border-radius:3px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
  transition:background .2s, border-color .2s;
}
.kosha-btn-ghost:hover{
  background:rgba(74,135,112,.10);
  border-color:var(--kosha-jade-hi);
}

/* Segment chips */
.kosha-chip{
  display:inline-block;
  padding:5px 12px;
  background:rgba(74,135,112,.12);
  border:1px solid rgba(74,135,112,.30);
  border-radius:999px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.06em;
  color:var(--kosha-jade-hi);
  text-transform:uppercase;
  margin:4px 6px 0 0;
}

/* Placeholder note */
.kosha-placeholder-note{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 16px;
  background:rgba(176,138,62,.10);
  border:1px solid rgba(176,138,62,.30);
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--kosha-brass);
  margin-bottom:22px;
}

/* ─── Four-property list ─── */
.kosha-four{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
  margin:36px 0 8px;
}
.kosha-four-item{
  display:flex;
  gap:18px;
  padding:22px;
  border:1px solid rgba(74,135,112,.22);
  border-radius:6px;
  background:rgba(15,25,22,.45);
  transition:border-color .25s, background .25s;
}
.kosha-four-item:hover{
  border-color:rgba(74,135,112,.42);
  background:rgba(15,25,22,.62);
}
.kosha-four-num{
  font-size:22px;
  font-weight:700;
  color:var(--kosha-brass);
  letter-spacing:-.02em;
  font-family:'Inter',sans-serif;
  line-height:1;
  padding-top:2px;
  flex-shrink:0;
}
.kosha-four-body{flex:1;min-width:0}
.kosha-four-label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--kosha-jade-hi);
  margin-bottom:8px;
}
.kosha-four-body p{
  font-size:15px;
  line-height:1.68;
  color:rgba(247,245,240,.72);
  margin:0;
}

/* ─── SECTOR PICKER ─── */
.kosha-sector-picker{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:18px;
  margin:32px 0 20px;
}
.kosha-sector-tile{
  position:relative;
  text-align:left;
  padding:28px 26px 24px;
  border-radius:6px;
  background:rgba(15,25,22,.55);
  border:1px solid rgba(74,135,112,.24);
  color:var(--dm-off);
  cursor:pointer;
  transition:border-color .25s, transform .25s, box-shadow .25s, background .25s;
  overflow:hidden;
  font-family:inherit;
}
.kosha-sector-tile::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:2px;
  background:linear-gradient(90deg,var(--kosha-jade-hi) 0%, var(--kosha-brass) 60%, transparent 100%);
}
.kosha-sector-tile:hover{
  border-color:rgba(74,135,112,.55);
  transform:translateY(-3px);
  box-shadow:0 14px 40px rgba(46,93,74,.28);
  background:rgba(15,25,22,.75);
}
.kosha-sector-tile.is-active{
  border-color:var(--kosha-jade-hi);
  background:rgba(46,93,74,.22);
  transform:translateY(-3px);
  box-shadow:0 14px 40px rgba(46,93,74,.32);
}
.kosha-sector-num{
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--kosha-brass);
  margin-bottom:14px;
}
.kosha-sector-label{
  font-size:20px;
  font-weight:700;
  color:var(--dm-off);
  letter-spacing:-.02em;
  margin-bottom:8px;
  line-height:1.2;
}
.kosha-sector-hint{
  font-size:13px;
  color:rgba(247,245,240,.62);
  line-height:1.55;
  padding-right:28px;
}
.kosha-sector-caret{
  position:absolute;
  top:22px;
  right:22px;
  width:26px;height:26px;
  border-radius:50%;
  border:1px solid rgba(74,135,112,.42);
  color:var(--kosha-jade-hi);
  font-size:16px;
  line-height:22px;
  text-align:center;
  transition:transform .25s, background .25s, border-color .25s;
}
.kosha-sector-tile.is-active .kosha-sector-caret{
  transform:rotate(45deg);
  background:var(--kosha-jade-hi);
  color:var(--dm-black);
  border-color:var(--kosha-jade-hi);
}

/* Detail panel */
.kosha-sector-detail{ margin-top:8px; }
.kosha-detail-inner{
  padding:32px 30px;
  border:1px solid rgba(74,135,112,.32);
  border-radius:6px;
  background:rgba(46,93,74,.10);
  opacity:0;
  transform:translateY(-6px);
  transition:opacity .28s ease, transform .28s ease;
}
.kosha-detail-inner.is-in{ opacity:1; transform:none; }
.kosha-detail-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
  padding-bottom:16px;
  border-bottom:1px solid rgba(74,135,112,.22);
}
.kosha-detail-header::before{
  content:"";
  width:36px;
  height:2px;
  background:var(--kosha-jade-hi);
  display:inline-block;
}
.kosha-detail-label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--kosha-jade-hi);
}

.kosha-item-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.kosha-item{
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px 20px;
  background:rgba(15,25,22,.45);
  border:1px solid rgba(74,135,112,.18);
  border-radius:5px;
  transition:border-color .2s, background .2s, transform .15s;
  cursor:pointer;
}
.kosha-item:hover, .kosha-item:focus{
  border-color:rgba(74,135,112,.55);
  background:rgba(15,25,22,.68);
  outline:none;
}
.kosha-item.is-open{
  border-color:var(--kosha-jade-hi);
  background:rgba(46,93,74,.20);
}
.kosha-item-idx{
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  color:var(--kosha-brass);
  min-width:28px;
}
.kosha-item-name{
  flex:1;
  font-size:15px;
  font-weight:600;
  color:var(--dm-off);
  letter-spacing:-.01em;
}
.kosha-item-dot{
  width:8px; height:8px;
  border-radius:50%;
  background:rgba(74,135,112,.55);
  transition:background .2s;
}
.kosha-item:hover .kosha-item-dot{ background:var(--kosha-jade-hi); }
.kosha-item-caret{
  width:24px; height:24px;
  border-radius:50%;
  border:1px solid rgba(74,135,112,.42);
  color:var(--kosha-jade-hi);
  font-size:14px;
  line-height:20px;
  text-align:center;
  transition:transform .25s, background .25s;
}
.kosha-item.is-open .kosha-item-caret{
  transform:rotate(45deg);
  background:var(--kosha-jade-hi);
  color:var(--dm-black);
  border-color:var(--kosha-jade-hi);
}

/* Nested children panel (Manufacturing -> Chemicals & Materials -> ...) */
.kosha-item-children{
  padding:0 0 0 44px;
  margin:6px 0 4px;
  animation:koshaSlideDown .28s ease;
}
@keyframes koshaSlideDown{
  from { opacity:0; transform:translateY(-4px); }
  to   { opacity:1; transform:none; }
}
.kosha-subsector-panel{
  padding:20px 22px;
  border:1px solid rgba(176,138,62,.30);
  background:rgba(176,138,62,.06);
  border-radius:5px;
}
.kosha-subsector-panel-label{
  font-size:10px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--kosha-brass);
  margin-bottom:14px;
}
.kosha-subitem-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
}
.kosha-subitem{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  background:rgba(15,25,22,.55);
  border:1px solid rgba(176,138,62,.22);
  border-radius:4px;
  transition:border-color .2s, background .2s;
  cursor:pointer;
}
.kosha-subitem:hover, .kosha-subitem:focus{
  border-color:var(--kosha-brass);
  background:rgba(15,25,22,.72);
  outline:none;
}
.kosha-subitem-name{
  font-size:14px;
  font-weight:600;
  color:var(--dm-off);
}
.kosha-dot{
  width:6px; height:6px;
  border-radius:50%;
  background:var(--kosha-brass);
  box-shadow:0 0 8px rgba(176,138,62,.5);
  flex-shrink:0;
}

@media(max-width:640px){
  .kosha-four-item{flex-direction:column;gap:10px;}
  .kosha-item-children{padding-left:20px;}
}

/* ─── AXIS BLOCKS (ALICE + PRIME) ─── */
.kosha-axis-block{
  margin:32px 0;
  padding:28px 30px;
  border:1px solid rgba(74,135,112,.24);
  border-radius:6px;
  background:linear-gradient(135deg, rgba(46,93,74,.10) 0%, rgba(15,25,22,.35) 100%);
}
.kosha-axis-heading{
  display:flex;
  align-items:baseline;
  gap:18px;
  margin-bottom:22px;
  padding-bottom:16px;
  border-bottom:1px solid rgba(74,135,112,.18);
  flex-wrap:wrap;
}
.kosha-axis-tag{
  display:inline-block;
  padding:6px 14px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.18em;
  color:var(--kosha-jade-hi);
  background:rgba(74,135,112,.14);
  border:1px solid rgba(74,135,112,.42);
  border-radius:3px;
}
.kosha-axis-tag--brass{
  color:var(--kosha-brass);
  background:rgba(176,138,62,.12);
  border-color:rgba(176,138,62,.45);
}
.kosha-axis-desc{
  font-size:15px;
  font-weight:600;
  color:rgba(247,245,240,.72);
  font-style:italic;
}
.kosha-axis-row{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:14px;
}
.kosha-letter{
  display:flex;
  align-items:baseline;
  gap:2px;
  padding:14px 12px;
  border-radius:5px;
  background:rgba(15,25,22,.50);
  border:1px solid rgba(74,135,112,.24);
  transition:border-color .2s, background .2s, transform .2s;
}
.kosha-letter:hover{
  border-color:rgba(74,135,112,.55);
  background:rgba(15,25,22,.72);
  transform:translateY(-2px);
}
.kosha-letter-cap{
  font-size:32px;
  font-weight:800;
  color:var(--kosha-jade-hi);
  letter-spacing:-.02em;
  line-height:.9;
}
.kosha-letter-rest{
  font-size:16px;
  font-weight:600;
  color:var(--dm-off);
  letter-spacing:-.01em;
}
.kosha-letter--brass .kosha-letter-cap{ color:var(--kosha-brass); }
.kosha-letter--brass:hover{ border-color:rgba(176,138,62,.55); }

.kosha-axis-note{
  margin-top:32px;
  padding:20px 24px;
  background:rgba(176,138,62,.08);
  border-left:3px solid var(--kosha-brass);
  border-radius:0 4px 4px 0;
  font-size:15.5px !important;
  line-height:1.72 !important;
  color:rgba(247,245,240,.82) !important;
  max-width:none !important;
}

/* Responsive stacking for the axis rows */
@media(max-width:900px){
  .kosha-axis-row{ grid-template-columns:repeat(2, 1fr); }
}
@media(max-width:520px){
  .kosha-axis-row{ grid-template-columns:1fr; }
  .kosha-axis-block{ padding:20px; }
}

/* ─── ROLE CARDS (CEO/CFO/CRO, CDO, CIO) ─── */
.kosha-role-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
  margin-top:36px;
}
.kosha-role-card{
  position:relative;
  padding:32px 34px;
  border:1px solid rgba(74,135,112,.28);
  border-radius:6px;
  background:rgba(15,25,22,.55);
  transition:border-color .25s, background .25s, transform .25s, box-shadow .25s;
  overflow:hidden;
}
.kosha-role-card::before{
  content:"";
  position:absolute;
  top:0;left:0;bottom:0;
  width:4px;
  background:linear-gradient(180deg, var(--kosha-jade-hi) 0%, var(--kosha-brass) 100%);
}
.kosha-role-card:hover{
  border-color:rgba(74,135,112,.55);
  background:rgba(15,25,22,.72);
  transform:translateY(-2px);
  box-shadow:0 14px 40px rgba(46,93,74,.24);
}
.kosha-role-label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--kosha-brass);
  margin-bottom:14px;
}
.kosha-role-card h3{
  font-size:22px;
  font-weight:700;
  color:var(--dm-off);
  letter-spacing:-.02em;
  line-height:1.25;
  margin:0 0 14px;
}
.kosha-role-card p{
  font-size:16px;
  line-height:1.72;
  color:rgba(247,245,240,.72);
  margin:0;
  max-width:72ch;
}

/* ─── ONE-LINE POWER STATEMENT ─── */
.kosha-power-line{
  font-family:'Inter',sans-serif;
  font-size:clamp(20px, 2.4vw, 30px);
  font-weight:300;
  line-height:1.45;
  letter-spacing:-.015em;
  color:var(--dm-off);
  max-width:820px;
  margin:0 auto;
}
.kosha-power-line em{
  color:var(--kosha-jade-hi);
  font-style:italic;
  font-weight:500;
}

/* ─── LINKED LEAF (a live sub-sector with its own URL) ─── */
.kosha-item.kosha-item--linked{
  text-decoration:none;
  color:var(--dm-off);
  background:rgba(46,93,74,.16);
  border-color:rgba(74,135,112,.42);
}
.kosha-item.kosha-item--linked:hover,
.kosha-item.kosha-item--linked:focus{
  border-color:var(--kosha-jade-hi);
  background:rgba(46,93,74,.28);
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(46,93,74,.24);
  outline:none;
}
.kosha-item-arrow{
  width:26px;height:26px;
  border-radius:50%;
  background:var(--kosha-jade-hi);
  color:var(--dm-black);
  font-size:13px;
  line-height:23px;
  text-align:center;
  font-weight:700;
  transition:transform .2s, background .2s;
}
.kosha-item.kosha-item--linked:hover .kosha-item-arrow{
  transform:translate(2px,-2px);
  background:#5FA085;
}

/* ─── LINKED SUB-ITEM (Manufacturing → Chemicals → Polymer/Masterbatch when live) ─── */
.kosha-subitem.kosha-subitem--linked{
  text-decoration:none;
  color:var(--dm-off);
  background:rgba(176,138,62,.14);
  border-color:var(--kosha-brass);
}
.kosha-subitem.kosha-subitem--linked:hover,
.kosha-subitem.kosha-subitem--linked:focus{
  background:rgba(176,138,62,.24);
  outline:none;
  transform:translateY(-1px);
}
.kosha-subitem-arrow{
  margin-left:auto;
  width:22px;height:22px;
  border-radius:50%;
  background:var(--kosha-brass);
  color:var(--dm-black);
  font-size:11px;
  line-height:19px;
  text-align:center;
  font-weight:700;
  transition:transform .2s;
}
.kosha-subitem.kosha-subitem--linked:hover .kosha-subitem-arrow{
  transform:translate(2px,-2px);
}
