/* ==========================================================================
   ixMatics Dynamics — scalable HTML5/CSS3 logo
   Everything is in em units: set --ixm-size (or font-size) and the whole
   logo scales crisply. Geometry is measured from Manrope's own glyphs, so
   it matches the SVG masters.
   ========================================================================== */
@font-face{
  font-family:"Manrope";
  src:url("fonts/Manrope-Variable.woff2") format("woff2");
  font-weight:200 800;font-style:normal;font-display:swap;
}

.ixm{
  /* brand colours (change here to recolour every logo on the page) */
  --ixm-ink:#0B1B3F;          /* navy letters                  */
  --ixm-sub:#55657F;          /* DYNAMICS line                 */
  --ixm-dot:#14B8A6;          /* the i dot (teal)              */
  --ixm-d1:#38BDF8;           /* dash 1 sky                    */
  --ixm-d2:#14B8A6;           /* dash 2 teal                   */
  --ixm-d3:#FBBF24;           /* dash 3 sun                    */
  --ixm-d4:#FB7185;           /* dash 4 coral                  */
  --ixm-d5:#8B5CF6;           /* dash 5 violet                 */
  --ixm-tile:#0B1B3F;         /* tile background (symbol)      */
  --ixm-size:64px;            /* height of the letters' em box */
  font-family:"Manrope","Segoe UI",Arial,sans-serif;
  font-size:var(--ixm-size);
  line-height:1;
  -webkit-font-smoothing:antialiased;
  font-kerning:normal;
}

/* ---------- colour variants ---------- */
.ixm--dark{--ixm-ink:#FFFFFF;--ixm-sub:#A9BBD6;}
.ixm--mono{--ixm-sub:var(--ixm-ink);--ixm-dot:var(--ixm-ink);
  --ixm-d1:var(--ixm-ink);--ixm-d2:var(--ixm-ink);--ixm-d3:var(--ixm-ink);--ixm-d4:var(--ixm-ink);--ixm-d5:var(--ixm-ink);}
.ixm--mono.ixm--dark{--ixm-ink:#FFFFFF;}

/* ---------- shared pieces ---------- */
.ixm__i{position:relative;display:inline-block;line-height:1;}
.ixm__dot{position:absolute;background:var(--ixm-dot);}
.ixm__dashes{display:flex;}
.ixm__dashes>i{display:block;flex:1;}
.ixm__dashes>i:nth-child(1){background:var(--ixm-d1)}
.ixm__dashes>i:nth-child(2){background:var(--ixm-d2)}
.ixm__dashes>i:nth-child(3){background:var(--ixm-d3)}
.ixm__dashes>i:nth-child(4){background:var(--ixm-d4)}
.ixm__dashes>i:nth-child(5){background:var(--ixm-d5)}

/* ---------- WORDMARK: ixMatics + five dashes + DYNAMICS ---------- */
.ixm-wordmark{display:inline-flex;flex-direction:column;align-items:flex-start;vertical-align:top;}
.ixm-wordmark .ixm__word{display:block;height:1em;font-weight:700;letter-spacing:-0.00862em;color:var(--ixm-ink);white-space:nowrap;}
.ixm-wordmark .ixm__dot{left:0.08em;top:0.1505em;width:0.1203em;height:0.1107em;}
.ixm-wordmark .ixm__dashes{gap:0.07em;height:0.1em;margin:0.153em 0 0 0.035em;width:calc(100% - 0.0264em);}
.ixm-wordmark .ixm__dashes>i{border-radius:999px;}
.ixm-wordmark .ixm__sub{display:block;font-size:0.26em;font-weight:500;letter-spacing:0.404em;margin:1em 0 0 0.1346em;line-height:1;color:var(--ixm-sub);white-space:nowrap;}

/* ---------- SYMBOL: ix + five dashes in a square (1em = full size) ---------- */
.ixm-symbol{position:relative;display:inline-block;width:1em;height:1em;vertical-align:top;}
.ixm-symbol .ixm__inner{position:absolute;inset:0;}
.ixm-symbol .ixm__word{position:absolute;left:0.2716em;top:0.0735em;font-size:0.71875em;font-weight:800;letter-spacing:-0.01087em;color:var(--ixm-ink);white-space:nowrap;line-height:1;}
.ixm-symbol .ixm__dot{left:0.08em;top:0.148em;width:0.136em;height:0.12em;}
.ixm-symbol .ixm__dashes{position:absolute;left:0.078125em;top:0.828125em;width:0.84375em;height:0.0703125em;gap:0.040625em;}
.ixm-symbol .ixm__dashes>i{border-radius:0.0246em;}
/* tile: the symbol on a rounded square (app icon / avatar) */
.ixm-symbol--tile{--ixm-ink:#FFFFFF;background:var(--ixm-tile);border-radius:0.1875em;}
.ixm-symbol--tile .ixm__inner{transform:translate(0.125em,0.09375em) scale(.75);transform-origin:0 0;}
.ixm-symbol--tile.ixm--light-tile{--ixm-tile:#FFFFFF;--ixm-ink:#0B1B3F;}
