@charset "UTF-8";

/* ==========================================================================
   Biznet Gio — illustration typography
   ONE type system for every piece of text that lives inside an illustration:
   SVG <text> (marks, plaques, UI mock text, chart ticks, captions) and the HTML
   labels/callouts positioned around the scenes (.scene-label, .nlp-callout).

   Scale (rendered pixels — never more than 12):
     --ill-fs-s  8px   default: captions, ids, UI mock text, ticks, annotations
     --ill-fs-m  10px  secondary emphasis: marks, plaque numbers, sub-lines
     --ill-fs-l  12px  titles and key values (absolute maximum)

   SVG text is measured in drawing units, which shrink with the drawing. So the
   token is multiplied by --ill-k (= 1 / the text's on-screen scale), set per
   element by illustration-type.js. Result: the same 8 / 10 / 12 rendered px on
   desktop, tablet and mobile. Without JS --ill-k falls back to 1.

   Text in illustrations never has a background, border or panel of its own.
   ========================================================================== */

:root {
  --ill-fs-s: 8px;
  --ill-fs-m: 10px;
  --ill-fs-l: 12px;

  --ill-lh-s: 12px;
  --ill-lh-m: 12px;
  --ill-lh-l: 16px;

  --ill-fw: var(--fw-semibold);       /* small caps-style labels need weight to stay crisp */
  --ill-fw-sub: var(--fw-medium, 500);
  --ill-ls-s: .06em;                  /* 8px uppercase labels: open tracking */
  --ill-ls-m: .04em;
  --ill-ls-l: .02em;
}

/* ---- SVG text ----------------------------------------------------------- */
svg text {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: var(--ill-fw);
  font-size: calc(var(--ill-fs-s) * var(--ill-k, 1));
  letter-spacing: var(--ill-ls-s);
}

svg text:is(.promo-plaque-text, .ms-iso-number, .contact-mark, .auth-iso-mark, .hp-core-mark, .wp-iso-mark, .wp-dim, .wp-dim2, .cat-mark, .cat-mark-lg, .wp-tile-text, .promo-tag-iso, .is-big, .nwh-iso-mark, .nwh-uptime) {
  font-size: calc(var(--ill-fs-m) * var(--ill-k, 1));
  letter-spacing: var(--ill-ls-m);
}

/* Back to the default tier where a modifier narrows a medium-tier mark */
svg text:is(.pd-mark-s, .pd-mark-xs, .nwh-iso-small) {
  font-size: calc(var(--ill-fs-s) * var(--ill-k, 1));
  letter-spacing: var(--ill-ls-s);
}

svg text:is(.deploy-node-title, .hp-plate-mark, .cb-mark, .nwh-big, .wp-ui-title, .promo-pct-iso, .promo-pct-mark, .cat-mark-core, .promo-chip-title) {
  font-size: calc(var(--ill-fs-l) * var(--ill-k, 1));
  letter-spacing: var(--ill-ls-l);
}

/* Chip marks on the NEO isometric scenes (EPYC, NVMe, APP) are labels printed on small slabs: they use
   the default 8px tier, the same as every other mark of that kind (SSD, SSL, WEB, MCP...). NVMe is a
   mixed-case product acronym, so it is set here by class rather than by the all-caps detection. */
svg text:is(.neo-chip-label, .price-chip-label, .price-nvme-label, .neo-nvme-label) {
  font-size: calc(var(--ill-fs-s) * var(--ill-k, 1));
  letter-spacing: var(--ill-ls-s);
  font-weight: var(--ill-fw);
}

/* Code / sentence-case samples: lighter tracking and weight */
svg text:is(.pd-code, .is-code) {
  font-weight: var(--ill-fw-sub);
  letter-spacing: .02em;
}

/* ---- HTML labels around scenes ------------------------------------------ */
.scene-label {
  font-size: var(--ill-fs-l);
  line-height: var(--ill-lh-l);
  font-weight: var(--ill-fw);
  letter-spacing: var(--ill-ls-l);
}
.scene-label > span:last-child {
  font-size: var(--ill-fs-m);
  line-height: var(--ill-lh-m);
  font-weight: var(--ill-fw-sub);
  letter-spacing: var(--ill-ls-m);
}

/* The NEO scene callout cycles through four title/sub-line pairs (EPYC, NVMe, 10 Gbps, Magic Transit).
   They are all set in capitals, like every .scene-label, so the callout uses the same 8px label tier
   unconditionally. Per-string case detection would flip the size as the text swaps (vCPU, NVMe, Gbps). */
.nlp-callout {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0 0 0 9px;
  font-size: var(--ill-fs-s);
  line-height: var(--ill-lh-s);
  letter-spacing: var(--ill-ls-s);
}
.nlp-callout small {
  font-size: var(--ill-fs-s);
  line-height: var(--ill-lh-s);
  font-weight: var(--ill-fw-sub);
  letter-spacing: var(--ill-ls-s);
}

/* ---- label placement support (illustration-type.js → illPlaceLabels) ---- */
.ill-measure,.ill-measure *{animation:none!important;transition:none!important}
.ill-leader{position:absolute;height:0;border-top:1px solid var(--primary);opacity:.5;transform-origin:0 0;pointer-events:none;z-index:1}
.ill-leader::after{content:"";position:absolute;right:-2px;top:-3px;width:5px;height:5px;border-radius:50%;background:var(--primary)}
svg text[data-ill-fit=hide]{display:none}
svg text[data-ill-size=s]{font-size:calc(var(--ill-fs-s)*var(--ill-k,1))!important;letter-spacing:var(--ill-ls-s)!important}
.ill-measure .hp-mod,.ill-measure .hp-js .hp-mod:not(.is-built){transform:none!important;opacity:1!important}
.ill-leader{z-index:1}
.hp-label{font-size:var(--ill-fs-l);line-height:var(--ill-lh-l);letter-spacing:var(--ill-ls-l)}
.hp-label small{font-size:var(--ill-fs-m);line-height:var(--ill-lh-m);letter-spacing:var(--ill-ls-m);font-weight:var(--ill-fw-sub)}
.nlp-callout{font-weight:var(--ill-fw)}
.nlp-callout small{font-weight:var(--ill-fw-sub)}

/* ---- uppercase text in illustrations: 8px maximum (tagged by illustration-type.js → illTagCaps) ---- */
svg text[data-ill-caps]{font-size:calc(var(--ill-fs-s)*var(--ill-k,1))!important;letter-spacing:var(--ill-ls-s)!important}
.scene-label[data-ill-caps],.scene-label [data-ill-caps],.hp-label[data-ill-caps],.hp-label small[data-ill-caps],.nlp-callout[data-ill-caps],.nlp-callout small[data-ill-caps]{font-size:var(--ill-fs-s)!important;line-height:var(--ill-lh-s)!important;letter-spacing:var(--ill-ls-s)!important}

/* ---- catalog console pins (produk.html): same label type as the homepage hero stage (.hp-label / .hp-label small) ----
   names and counts are uppercase, so they use the 8px tier that hero labels get from [data-ill-caps] */
.catalog-quick button{font-size:var(--ill-fs-s);line-height:var(--ill-lh-s);letter-spacing:var(--ill-ls-s)}
.catalog-quick button em{font-size:var(--ill-fs-s);line-height:var(--ill-lh-s);letter-spacing:var(--ill-ls-s);font-weight:var(--fw-regular)}
