/* Hub: Zapizen's own look (navy + lime, Bricolage + Figtree). Each card's preview is a
   small swatch of that demo's identity, with fixed colours so it reads the same in both themes. */
:root {
  --ink: #0E2240;
  --paper: #F4F6F9;
  --surface: #FFFFFF;
  --line: #DAE1EA;
  --muted: #536176;
  --accent-ink: #3D7A08;
  --ui-bg: var(--surface); --ui-fg: var(--ink); --ui-line: var(--line); --ui-soft: var(--paper); --ui-muted: var(--muted);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ink: #EEF2F8; --paper: #0A1426; --surface: #111F36; --line: #233654; --muted: #9AA9BF; --accent-ink: #8DD62C; color-scheme: dark; }
}
:root[data-theme="dark"] { --ink: #EEF2F8; --paper: #0A1426; --surface: #111F36; --line: #233654; --muted: #9AA9BF; --accent-ink: #8DD62C; color-scheme: dark; }

body { background: var(--paper); color: var(--ink); font-family: var(--zd-font); font-size: 17px; line-height: 1.6; }
.hub h1, .hub h2 { font-family: var(--zd-font-display); letter-spacing: -0.02em; line-height: 1.05; }

.hub-hero { padding-block: clamp(48px, 8vw, 96px) clamp(28px, 4vw, 48px); }
.hub-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hub-eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.hub-hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.75rem); margin-top: 12px; max-width: 14ch; }
.hub-lead { margin-top: 20px; max-width: 58ch; color: var(--muted); font-size: 1.125rem; }

.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: 64px; }
@media (max-width: 760px) { .hub-grid { grid-template-columns: minmax(0, 1fr); } }

.hc {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.hc:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(14, 34, 64, .35); }
.hc:focus-visible { outline: 3px solid var(--zd-lime); outline-offset: 3px; }
.hc-preview { position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; display: grid; place-items: center; }
.hc-body { padding: 22px 24px 24px; display: grid; gap: 10px; }
.hc-type { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hc-body h2 { font-size: 1.6rem; }
.hc-body > p:not(.hc-type) { color: var(--muted); }
.hc-feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hc-feats li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); }
.hc-go { margin-top: 6px; font-weight: 700; color: var(--accent-ink); }
.hc-go::after { content: " \2192"; display: inline-block; transition: transform .3s var(--ease-out); }
.hc:hover .hc-go::after { transform: translateX(4px); }

/* Horeca swatch: Delft-blue tiles with stencil type */
.hc-horeca .hc-preview { background: #1E3FA0; }
.hc-horeca .hc-tiles {
  position: absolute; inset: 0; opacity: .22;
  background:
    radial-gradient(circle at 50% 50%, transparent 9px, #F1F3F8 10px, #F1F3F8 11px, transparent 12px) 0 0 / 48px 48px,
    linear-gradient(#F1F3F8 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, #F1F3F8 1px, transparent 1px) 0 0 / 48px 48px;
}
.hc-horeca .hc-mark { position: relative; font-family: "Big Shoulders Stencil Display", Impact, sans-serif; font-weight: 900; font-size: clamp(3rem, 7vw, 4.6rem); line-height: .82; text-transform: uppercase; color: #F2B33D; text-shadow: 4px 4px 0 #C33A4E; text-align: center; }
.hc-horeca .hc-stamp { position: absolute; right: 18px; bottom: 16px; font: 700 11px/1 "Hanken Grotesk", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #F1F3F8; border: 1.5px solid currentColor; border-radius: 99px; padding: 6px 10px; transform: rotate(-6deg); }

/* Beauty swatch: soft light orb, Bodoni italic */
.hc-beauty .hc-preview { background: #EDF0EE; }
.hc-beauty .hc-orb { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #FFE3C9 0, #F4C7A1 30%, #C9B6E4 62%, transparent 72%); filter: blur(6px); }
.hc-beauty .hc-mark { position: relative; font-family: "Bodoni Moda", Didot, Georgia, serif; font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 500; color: #1D2321; letter-spacing: -0.02em; }
.hc-beauty .hc-mark em { font-weight: 400; }

/* Retail swatch: expanded grotesk, product colour chips */
.hc-retail .hc-preview { background: #F7F7F5; place-items: center; align-content: center; gap: 18px; }
.hc-retail .hc-mark { font-family: "Archivo", "Arial Black", sans-serif; font-stretch: 125%; font-weight: 800; font-size: clamp(1.7rem, 4.4vw, 2.7rem); letter-spacing: -0.03em; color: #151515; text-transform: uppercase; }
.hc-retail .hc-swatches { display: flex; gap: 10px; }
.hc-retail .hc-swatches i { width: 54px; height: 70px; border-radius: 28px 28px 6px 6px; background: #2F6B55; }
.hc-retail .hc-swatches i:nth-child(2) { background: #D9A441; }
.hc-retail .hc-swatches i:nth-child(3) { background: #CBD3DB; }
.hc-retail .hc-swatches i:nth-child(4) { background: #A8323E; }

/* Vakman swatch: blueprint grid, hi-vis yellow */
.hc-vakman .hc-preview {
  background-color: #15364A;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hc-vakman .hc-mark { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800; font-size: clamp(3rem, 7.5vw, 4.8rem); text-transform: uppercase; color: #FFC81E; letter-spacing: .01em; }
.hc-vakman .hc-tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 16px; font: 600 13px/1 "IBM Plex Mono", monospace; color: #0F2230; background: repeating-linear-gradient(-45deg, #FFC81E 0 14px, #FFD24D 14px 28px); text-align: center; }

.hub-shared { padding-block: 8px 80px; }
.hub-shared h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.hub-shared ul { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hub-shared li { background: var(--surface); padding: 18px 20px; display: grid; gap: 4px; }
.hub-shared li span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .hub-shared ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hub-shared ul { grid-template-columns: minmax(0, 1fr); } }
