/* shopify.zeloxalabs.com, design B: premium gallery.
   Warm near-black, large light type, hairlines, numbered entries.
   Zeloxa brand kept in the logo, the gradient hairline and the Orbitron labels. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans-latin-wght-italic.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Orbitron';
  src: url('/fonts/orbitron-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #121212;
  --bg-2: #19191a;
  --ink: #ecebe8;
  --muted: #a19f9a;
  --line: #2a2a2b;
  --line-strong: #3a3a3c;
  --chrome: #c4c8d0;
  --cyan: #00e8ff;
  --violet: #c44be0;
  --magenta: #e84bc8;
  --grad: linear-gradient(90deg, #00e8ff 0%, #c44be0 50%, #e84bc8 100%);
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-label: 'Orbitron', var(--font);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --row: clamp(72px, 10vw, 128px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 { font-weight: 300; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.75rem); line-height: 1.02; letter-spacing: -0.04em; margin-top: 14px; }
p { margin: 0 0 1em; }

.wrap {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.muted { color: var(--muted); }
.block { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.label {
  font-family: var(--font-label);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.num { font-family: var(--font-label); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; color: var(--chrome); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: gap 0.35s var(--ease), border-color 0.3s;
}
.link:hover { gap: 20px; border-color: var(--violet); }
@media (prefers-reduced-motion: reduce) { .link, .link:hover { transition: none; gap: 14px; } }

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgb(18 18 18 / 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.hair { height: 1px; background: var(--grad); opacity: 0.65; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand img { width: 132px; }
.brand__tag { font-family: var(--font-label); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); padding-left: 18px; border-left: 1px solid var(--line-strong); }

.site-nav { position: relative; }
.site-nav__toggle { display: none; }
.site-nav__links { display: flex; align-items: center; gap: 34px; }
.site-nav__links a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.site-nav__links a:hover { color: var(--ink); }
.site-nav__links a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--ink); }

@media (max-width: 760px) {
  .brand img { width: 112px; }
  .brand__tag { display: none; }
  .site-nav__links { gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
  .js .site-nav__toggle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .js .site-nav__links {
    position: absolute;
    right: 0;
    top: calc(100% + 18px);
    min-width: 240px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.8);
  }
  .js .site-nav:not(.is-open) .site-nav__links { display: none; }
  .js .site-nav__links a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .js .site-nav__links a:last-child { border-bottom: 0; }
  .js .site-nav__links a[aria-current='page'] { border-bottom-color: var(--line); color: var(--ink); }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 26px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: #fff; }
.btn--line { border: 1px solid var(--line-strong); }
.btn--line:hover { border-color: var(--ink); }
.btn--soon { border: 1px dashed var(--line-strong); color: var(--muted); font-weight: 500; cursor: default; }

/* Hero */
.hero {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  padding-block: clamp(64px, 9vw, 112px) clamp(56px, 7vw, 88px);
}
@media (min-width: 1000px) { .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.hero--short { grid-template-columns: minmax(0, 1fr) !important; padding-bottom: clamp(32px, 5vw, 56px); }
.hero--short .hero__text { max-width: 820px; }

.display { font-weight: 300; font-size: clamp(3rem, 1.6rem + 6vw, 6.6rem); line-height: 0.98; letter-spacing: -0.045em; margin: 26px 0 0; }
.display b { font-weight: 700; }
.display--theme { font-size: clamp(3rem, 1.6rem + 5.4vw, 6rem); }
.display--doc { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); }
.hero__lede { max-width: 42ch; margin: 28px 0 36px; color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }
.hero--theme .hero__lede { margin-bottom: 0; }

.frame { position: relative; display: block; text-decoration: none; }
.frame img { border-radius: 3px; width: 100%; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9); }
.frame__cap {
  position: absolute;
  left: 12px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}
@media (min-width: 1000px) { .frame__cap { left: -28px; } }
.frame__cap b { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
a.frame:hover .frame__cap { border-color: var(--line-strong); }

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: 0.88rem; color: var(--muted); }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.crumbs a:hover { color: var(--ink); }
.price { margin-top: 24px; font-weight: 600; }

/* Rows */
.row { padding-block: var(--row); border-top: 1px solid var(--line); }
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: clamp(36px, 5vw, 56px); }

/* Collection entries */
.entry + .entry { margin-top: var(--row); padding-top: var(--row); border-top: 1px solid var(--line); }
.entry__body { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .entry__body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.entry__shots { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.entry__shots img { border-radius: 3px; height: 100%; object-fit: cover; object-position: top; transition: opacity 0.3s; }
.entry__shots:hover img { opacity: 0.88; }
.entry__name { font-weight: 300; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.5rem); letter-spacing: -0.04em; line-height: 1.05; margin: 10px 0 12px; }

.specs { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 0; margin: 28px 0 34px; font-size: 0.95rem; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs--wide { grid-template-columns: 140px minmax(0, 1fr); margin-top: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 4px; }
.swatches i, .chips i { display: block; width: 24px; height: 24px; border-radius: 2px; outline: 1px solid var(--line-strong); }

.next { margin-top: var(--row); padding: 44px 20px; border: 1px dashed var(--line-strong); text-align: center; }

/* Standard */
.standard { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); border-top: 1px solid var(--line); }
.standard li { display: grid; gap: 6px; align-content: start; padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.standard b { font-weight: 600; margin-top: 10px; }

/* Closing */
.closing { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.closing__title { font-weight: 300; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; max-width: 16ch; margin: 0; }
.closing__links { display: flex; flex-wrap: wrap; gap: 20px 36px; }

/* Theme page */
.frame--static img { box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9); }
.plates { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plate--wide { grid-column: 1 / -1; } }
.plate { margin: 0; }
.plate a { display: block; }
.plate img { border-radius: 3px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: opacity 0.3s; }
.plate--wide img { aspect-ratio: 16 / 8; }
.plate a:hover img { opacity: 0.88; }
.plate figcaption { display: flex; gap: 14px; align-items: baseline; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }

.split { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.split h2 { margin-bottom: 28px; }
.styles-title { margin: 40px 0 16px; }
.styles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.styles li { display: flex; gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 4px; flex: none; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.features li { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.features--single { grid-template-columns: minmax(0, 1fr); }

.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li > a, .index__item {
  display: grid;
  grid-template-columns: 70px minmax(0, 220px) minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.index li > a b, .index__item b { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.index li > a svg { transition: transform 0.35s var(--ease); }
.index li > a:hover svg { transform: translateX(6px); }
.index__item { grid-template-columns: 70px minmax(0, 220px) minmax(0, 1fr); }
.index__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.index__links a { border-bottom: 1px solid var(--line-strong); text-decoration: none; }
.index__links a:hover { border-color: var(--ink); }
@media (max-width: 760px) {
  .index li > a, .index__item { grid-template-columns: 52px minmax(0, 1fr); }
  .index li > a .muted, .index__links { grid-column: 2; }
  .index li > a svg { display: none; }
}
@media (prefers-reduced-motion: reduce) { .index li > a svg { transition: none; } }

/* Docs */
.doc-head { padding-block: clamp(48px, 7vw, 88px) 0; }
.doc-head .display { margin: 18px 0 0; }
.doc-tabs { display: flex; gap: 32px; overflow-x: auto; margin-top: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.doc-tabs a { padding: 14px 0; color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.doc-tabs a:hover { color: var(--ink); }
.doc-tabs a[aria-current='page'] { color: var(--ink); border-image: var(--grad) 1; border-bottom-width: 1px; border-bottom-style: solid; }

.doc-layout { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); padding-block: 48px 120px; }
@media (min-width: 1000px) {
  .doc-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; }
  .doc-layout--single { grid-template-columns: minmax(0, 1fr); }
  .toc { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 140px); overflow-y: auto; }
}
.toc__details summary { cursor: pointer; padding: 10px 0; list-style-position: inside; }
.toc ol { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 9px 0; color: var(--muted); text-decoration: none; font-size: 0.92rem; line-height: 1.4; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); }
.toc a.is-active::before { content: ''; display: inline-block; width: 18px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--grad); }
@media (max-width: 999px) { .toc { border: 1px solid var(--line); padding: 6px 20px; } }

.prose { max-width: 72ch; min-width: 0; overflow-wrap: break-word; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgb(196 75 224 / 0.8); text-underline-offset: 4px; overflow-wrap: anywhere; }
.prose a:hover { text-decoration-color: var(--cyan); }
.prose h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); margin: 2.4em 0 0.7em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; margin: 2em 0 0.6em; }
.prose h4 { font-size: 1rem; font-weight: 600; margin: 1.6em 0 0.5em; }
.prose .anchor { float: left; margin-left: -1.1em; padding-right: 0.3em; color: var(--muted); text-decoration: none; opacity: 0; transition: opacity 0.2s; }
.prose :is(h2, h3, h4):hover .anchor { opacity: 1; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--muted); }
.prose strong { color: #fff; font-weight: 600; }
.prose code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.86em; padding: 2px 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 2px; overflow-wrap: anywhere; }
.prose pre { overflow-x: auto; padding: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.prose pre code { background: none; border: 0; padding: 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 1px solid var(--violet); color: var(--muted); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 13px 18px 13px 0; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-label); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-strong); white-space: nowrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px calc(28px + env(safe-area-inset-bottom, 0px)); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer__line { max-width: 38ch; margin-top: 14px; font-weight: 300; font-size: 1.35rem; line-height: 1.35; letter-spacing: -0.02em; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 10px 30px; align-content: flex-start; }
.site-footer__links a { color: var(--muted); text-decoration: none; }
.site-footer__links a:hover { color: var(--ink); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
.site-footer__legal p { margin: 0; }
.site-footer__logo { width: 110px; opacity: 0.85; }

/* The side image shows the right edge of its screenshot (where drawers open) */
.entry__shots .entry__side { object-position: right top; }

/* "On this page" toggle: a clean +/– instead of the browser triangle */
.toc__details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc__details summary::-webkit-details-marker { display: none; }
.toc__details summary::after { content: '+'; font-family: var(--font); font-size: 1rem; letter-spacing: 0; color: var(--muted); }
.toc__details[open] summary::after { content: '–'; }
@media (min-width: 1000px) { .toc__details summary { pointer-events: none; } .toc__details summary::after { display: none; } }

/* On narrow screens the caption sits under the image instead of over it */
@media (max-width: 999px) {
  .frame__cap { position: static; border-top: 0; }
  .frame img { border-radius: 3px 3px 0 0; }
}

/* Support form */
.support-form { display: grid; gap: 22px; align-content: start; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); background: var(--bg-2); }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field label { font-size: 0.92rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #55555a; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: #ff8a8a; }
.field input::placeholder { color: #75736f; }
.hint { margin: 0; color: var(--muted); font-size: 0.88rem; }
.hint a { color: var(--ink); text-decoration-color: var(--violet); text-underline-offset: 3px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.support-form .btn { justify-self: start; min-width: 200px; }
.support-form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status:empty, .form-status:not(:has(:not([hidden]))) { display: none; }
.form-status { padding: 14px 16px; border-left: 2px solid #ff8a8a; background: rgb(255 138 138 / 0.08); }
.form-status.is-ok { border-left-color: var(--cyan); background: rgb(0 232 255 / 0.07); }
.form-status p { margin: 0; }
.form-status:focus { outline: none; }

/* generated swatch colours */
.c-f0eee9{background:#F0EEE9}
.c-1d4e50{background:#1D4E50}
.c-151617{background:#151617}
.c-c9ae7c{background:#C9AE7C}
.c-f6efec{background:#F6EFEC}
.c-7b2d3b{background:#7B2D3B}
.c-b39463{background:#B39463}
.c-191a1c{background:#191A1C}
.c-d08a93{background:#D08A93}
.c-8fb3ac{background:#8FB3AC}
.c-efebe4{background:#EFEBE4}
.c-221b1c{background:#221B1C}
