  :root{
    --ink:#0E1A2B;
    --ink-soft:#16253B;
    --paper:#FFFFFF;
    --paper-soft:#F3F5F7;
    --line:#E2E6EB;
    --text:#182130;
    --text-mute:#5B6572;
    --gold:#C9A227;
    --gold-deep:#9C7D1B;
    --teal:#1F7A5C;
    --red:#B23B3B;
    --radius:10px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    font-family:'IBM Plex Sans', sans-serif;
    color:var(--text);
    background:var(--paper);
    line-height:1.5;
  }
  h1,h2,h3,h4{
    font-family:'Fraunces', serif;
    font-weight:600;
    margin:0;
    letter-spacing:-0.01em;
  }
  .mono{ font-family:'IBM Plex Mono', monospace; }
  a{ color:inherit; text-decoration:none; }
  .wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    text-transform:uppercase;
    letter-spacing:0.14em;
    font-size:11.5px;
    color:var(--gold-deep);
    font-weight:600;
  }

  /* ---------- NAV ---------- */
  nav{
    position:sticky; top:0; z-index:50;
    background:var(--ink);
    border-bottom:1px solid rgba(255,255,255,0.08);
  }
  nav .wrap{ display:flex; align-items:center; justify-content:space-between; min-height:66px; padding-top:8px; padding-bottom:8px; }
  .brand{ display:flex; flex-direction:column; gap:3px; color:#fff; }
  .brand-top{ display:flex; align-items:center; gap:10px; }
  .brand-tagline{ font-family:'Fraunces', serif; font-size:12.5px; color:var(--gold); letter-spacing:0.02em; margin-left:2px; }
  .brand-mark{
    width:30px; height:30px; border-radius:6px;
    background:linear-gradient(155deg, var(--gold) 0%, var(--gold-deep) 100%);
    display:flex; align-items:center; justify-content:center;
    font-family:'Fraunces', serif; font-weight:700; color:var(--ink); font-size:15px;
  }
  .brand-name{ font-family:'Fraunces', serif; font-size:19px; font-weight:600; }
  .brand-name span{ color:var(--gold); }
  .navlinks{ display:flex; gap:30px; align-items:center; }
  .navlinks a{
    color:rgba(255,255,255,0.72); font-size:14px; font-weight:500;
    transition:color .15s;
  }
  .navlinks a:hover{ color:#fff; }
  .nav-cta{
    background:var(--gold); color:var(--ink) !important; padding:9px 18px;
    border-radius:7px; font-weight:600 !important; font-size:13.5px !important;
  }
  .nav-cta:hover{ background:#d8b13a; }

  /* ---------- HERO ---------- */
  .hero{ padding:88px 0 70px; background:var(--paper); }
  .hero-grid{ display:block; }
  .hero h1{ font-size:52px; line-height:1.05; margin-top:14px; }
  .hero h1 em{ font-style:normal; color:var(--gold-deep); }
  .hero p.lead{ font-size:17px; color:var(--text-mute); max-width:540px; margin-top:18px; }
  .hero-actions{ display:flex; gap:14px; margin-top:30px; }
  .btn{
    display:inline-block; padding:13px 24px; border-radius:8px; font-weight:600; font-size:14.5px;
    cursor:pointer; border:1px solid transparent;
  }
  .btn-primary{ background:var(--ink); color:#fff; }
  .btn-primary:hover{ background:#1c2c45; }
  .btn-ghost{ background:transparent; border-color:var(--line); color:var(--text); }
  .btn-ghost:hover{ border-color:var(--text-mute); }
  .btn-gold{ background:var(--gold); color:var(--ink); }
  .btn-gold:hover{ background:#d8b13a; }

  /* ---------- SECTION HEADERS ---------- */
  section{ padding:76px 0; }
  .section-alt{ background:var(--paper-soft); }
  .sec-head{ max-width:640px; margin-bottom:40px; }
  .sec-head h2{ font-size:32px; margin-top:10px; }
  .sec-head p{ color:var(--text-mute); font-size:15.5px; margin-top:12px; }
  @media (min-width: 900px){ .single-line-desc{ white-space:nowrap; } }

  /* ---------- PILLARS ---------- */
  .pillars{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
  .pillar{
    border:1px solid var(--line); border-radius:12px; padding:26px 22px;
    background:var(--paper); transition:box-shadow .2s, transform .2s;
  }
  .pillar:hover{ box-shadow:0 10px 28px rgba(14,26,43,0.08); transform:translateY(-3px); }
  .pillar .num{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--gold-deep); font-weight:600; }
  .pillar h4{ font-size:18px; margin-top:10px; }
  .pillar ul{ margin:14px 0 0; padding:0; list-style:none; }
  .pillar li{ font-size:13.5px; color:var(--text-mute); padding:5px 0; border-top:1px solid var(--line); }
  .pillar li:first-child{ border-top:none; }

  /* ---------- INDUSTRIES ---------- */
  .ind-controls{ display:flex; gap:12px; margin-bottom:26px; flex-wrap:wrap; align-items:center; }
  .ind-search{
    flex:1; min-width:220px; padding:12px 16px; border:1px solid var(--line); border-radius:8px;
    font-family:'IBM Plex Sans',sans-serif; font-size:14px; outline:none;
  }
  .ind-search:focus{ border-color:var(--gold-deep); }
  .ind-count{ font-size:13px; color:var(--text-mute); font-family:'IBM Plex Mono',monospace; }
  .ind-grid{
    display:grid; grid-template-columns:repeat(4,1fr); gap:12px;
  }
  .ind-card{
    border:1px solid var(--line); border-radius:9px; padding:14px 16px;
    background:var(--paper); display:flex; flex-direction:column; gap:8px;
    transition:border-color .15s, box-shadow .15s;
  }
  .ind-card.live, .ind-card.preview{ cursor:pointer; }
  .ind-card.live:hover, .ind-card.preview:hover{ border-color:var(--gold-deep); box-shadow:0 6px 18px rgba(14,26,43,0.06); }
  .ind-card .name{ font-size:13.8px; font-weight:600; line-height:1.3; }
  .badge{
    font-family:'IBM Plex Mono',monospace; font-size:10px; font-weight:600; letter-spacing:.04em;
    padding:3px 8px; border-radius:20px; width:fit-content; text-transform:uppercase;
  }
  .badge-live{ background:rgba(31,122,92,0.12); color:var(--teal); }
  .badge-preview{ background:rgba(201,162,39,0.15); color:var(--gold-deep); }
  .badge-locked{ background:rgba(91,101,114,0.12); color:var(--text-mute); }
  .disclaimer-banner{
    display:flex; gap:10px; align-items:flex-start; background:rgba(201,162,39,0.09);
    border:1px solid rgba(201,162,39,0.35); border-radius:10px; padding:14px 16px; margin-bottom:28px;
    font-size:12.8px; color:var(--gold-deep);
  }
  .ind-hidden{ display:none !important; }

  /* ---------- TEXTILE DEEP DIVE ---------- */
  .flagship-tag{
    display:inline-flex; align-items:center; gap:8px; background:rgba(201,162,39,0.12);
    color:var(--gold-deep); padding:6px 14px; border-radius:20px; font-size:12px; font-weight:600;
    font-family:'IBM Plex Mono',monospace; margin-bottom:16px;
  }
  .metric-cards{ display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin-top:6px; }
  .metric-card{
    border:1px solid var(--line); border-radius:10px; padding:16px 14px; background:var(--paper);
  }
  .metric-card .m-label{ font-size:12px; color:var(--text-mute); }
  .metric-card .m-row{ display:flex; justify-content:space-between; margin-top:10px; }
  .metric-card .m-val{ font-family:'IBM Plex Mono',monospace; font-size:19px; font-weight:600; }
  .metric-card .m-sub{ font-size:10.5px; color:var(--text-mute); text-transform:uppercase; letter-spacing:.05em; margin-top:2px;}

  .chart-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:8px; }
  .chart-grid.four{ grid-template-columns:repeat(4,1fr); }
  .chart-grid.two{ grid-template-columns:repeat(2,1fr); }
  .chart-grid.five{ grid-template-columns:repeat(5,1fr); gap:12px; }
  .chart-card{ border:1px solid var(--line); border-radius:12px; padding:20px; background:var(--paper); min-width:0; }
  .chart-grid.five .chart-card{ padding:14px; }
  .chart-grid.five .chart-card h4{ font-size:13px; }
  .chart-card h5{ font-family:'IBM Plex Sans',sans-serif; font-size:13.5px; font-weight:600; margin-bottom:14px; }
  .chart-card canvas{ max-height:220px; }
  .chart-grid.five .chart-card canvas{ max-height:160px; }
  .chart-note{ font-size:11.5px; color:var(--text-mute); margin-top:12px; }

  table.datatable{ width:100%; border-collapse:collapse; font-size:12.6px; }
  table.datatable th, table.datatable td{
    padding:9px 10px; text-align:right; white-space:nowrap; border-bottom:1px solid var(--line);
  }
  table.datatable th:first-child, table.datatable td:first-child,
  table.datatable th:nth-child(2), table.datatable td:nth-child(2){ text-align:left; }
  table.datatable th{
    font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase; letter-spacing:.03em;
    color:var(--text-mute); background:var(--paper-soft); position:sticky; top:0; z-index:10;
  }
  table.datatable tbody tr:hover{ background:var(--paper-soft); }
  .table-scroll{ overflow-x:auto; overflow-y:auto; max-height:70vh; border:1px solid var(--line); border-radius:12px; }
  .table-scroll table{ border:none; }

  .subhead-row{ display:flex; justify-content:space-between; align-items:baseline; margin:44px 0 16px; }
  .subhead-row h3{ font-size:21px; }
  .subhead-row p{ font-size:13px; color:var(--text-mute); margin:0; }

  .note-panel{
    border:1px dashed var(--line); border-radius:12px; padding:34px; text-align:center; margin-top:20px;
    background:var(--paper);
  }
  .note-panel h4{ font-size:18px; margin-top:10px; }
  .note-panel p{ color:var(--text-mute); font-size:13.5px; max-width:440px; margin:8px auto 18px; }

  /* ---------- FOOTER ---------- */
  footer{ background:var(--ink); color:rgba(255,255,255,0.6); padding:46px 0 30px; }
  footer .foot-top{ display:flex; justify-content:space-between; align-items:flex-start; padding-bottom:26px; border-bottom:1px solid rgba(255,255,255,0.08); }
  footer .foot-links{ display:flex; gap:44px; }
  footer .foot-links h6{ color:#fff; font-size:11.5px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px; font-family:'IBM Plex Mono',monospace;}
  footer .foot-links a{ display:block; font-size:13px; padding:5px 0; color:rgba(255,255,255,0.6); }
  footer .foot-links a:hover{ color:#fff; }
  footer .foot-bottom{ display:flex; justify-content:space-between; padding-top:20px; font-size:12px; }

  @media (max-width: 980px){
    .pillars{ grid-template-columns:repeat(2,1fr); }
    .ind-grid{ grid-template-columns:repeat(2,1fr); }
    .chart-grid, .chart-grid.two, .chart-grid.four, .chart-grid.five{ grid-template-columns:1fr; }
    .metric-cards{ grid-template-columns:repeat(2,1fr); }
    .navlinks{ display:none; }
    .hero h1{ font-size:38px; }
  }
