/* =============================================
   LIVA DESIGN — brandkit.css
   Visual language inspired by brandkitpro.framer.website
   — editorial, centered, gradient banners, mega display type.
   On LIVA's original dark + orange palette.
   ============================================= */

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

:root {
  /* ── brandkitpro.framer.website palette ── */
  --ink:     #050505;                 /* page background */
  --surface: #0c0c0d;                 /* elevated surface */
  --border:  #1c1c22;                 /* dividers */
  --text:    #ffffff;                 /* primary text */
  --muted:   #6e6d82;                 /* gray-purple muted */
  --cream:   #f5f1e6;                 /* warm cream highlight */
  --blue:    #140acc;                 /* deep electric blue */
  --indigo:  #2a1fae;                 /* gradient companion */

  /* LIVA brand colors — used only inside color swatches to represent LIVA */
  --liva-orange: #FF5500;
  --liva-orange-dim: #CC4400;
  --liva-orange-lt:  #FF7A33;

  /* Accent on this brandkit page = cream (not orange).
     Ensures consistency with brandkitpro aesthetic. */
  --accent: var(--cream);

  --font-display: 'indivisible', system-ui, sans-serif;
  --font-body:    'poppins', system-ui, sans-serif;
  --font-mono:    'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
svg, img { display: block; }
ol, ul { list-style: none; }

::selection { background: var(--cream); color: var(--ink); }

.accent { color: var(--cream); }

/* ─────────────────────────────────────────────
   NAV — minimal floating strip
   ───────────────────────────────────────────── */
.bk-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.bk-nav__brand {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
}

.bk-nav__links {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.bk-nav__links a {
  color: var(--muted);
  transition: color 0.2s;
}
.bk-nav__links a:hover { color: var(--text); }

.bk-nav__back {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.bk-nav__back:hover { color: var(--cream); }

/* ─────────────────────────────────────────────
   KICKER — mono uppercase label
   ───────────────────────────────────────────── */
.bk-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   BANNERS — massive gradient hero blocks
   ───────────────────────────────────────────── */
.bk-banner {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 32px 80px;
  overflow: hidden;
  isolation: isolate;
}

.bk-banner--landing { min-height: 720px; }

.bk-banner--section {
  margin-top: 120px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Painterly gradient fills — brandkitpro palette (indigo blue + cream) */
.bk-banner--landing {
  background:
    radial-gradient(ellipse 60% 80% at 30% 30%, rgba(20, 10, 204, 0.55), transparent 60%),
    radial-gradient(ellipse 70% 60% at 75% 70%, rgba(42, 31, 174, 0.60), transparent 65%),
    radial-gradient(ellipse 40% 70% at 50% 50%, rgba(245, 241, 230, 0.18), transparent 70%),
    linear-gradient(180deg, #0a0620 0%, #050505 100%);
}
.bk-banner--logo {
  background:
    radial-gradient(ellipse 55% 75% at 20% 35%, rgba(20, 10, 204, 0.55), transparent 60%),
    radial-gradient(ellipse 75% 65% at 80% 65%, rgba(110, 80, 210, 0.45), transparent 65%),
    radial-gradient(ellipse 45% 55% at 50% 100%, rgba(245, 241, 230, 0.22), transparent 70%),
    linear-gradient(135deg, #100630 0%, #050505 100%);
}
.bk-banner--color {
  background:
    radial-gradient(ellipse 60% 70% at 70% 25%, rgba(245, 241, 230, 0.25), transparent 60%),
    radial-gradient(ellipse 55% 60% at 25% 75%, rgba(20, 10, 204, 0.55), transparent 65%),
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(42, 31, 174, 0.45), transparent 70%),
    linear-gradient(180deg, #080424 0%, #050505 100%);
}
.bk-banner--type {
  background:
    radial-gradient(ellipse 60% 70% at 30% 70%, rgba(42, 31, 174, 0.55), transparent 60%),
    radial-gradient(ellipse 65% 55% at 75% 30%, rgba(20, 10, 204, 0.50), transparent 65%),
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(245, 241, 230, 0.18), transparent 70%),
    linear-gradient(135deg, #0d0728 0%, #050505 100%);
}

/* Grain overlay for painterly feel */
.bk-banner__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.25;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

/* Vignette — soft dark edge */
.bk-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 10, 10, 0.6) 100%);
  pointer-events: none;
  z-index: 0;
}

.bk-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.bk-banner__title {
  font-family: var(--font-display);
  font-size: clamp(88px, 14vw, 200px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.bk-banner__lede {
  font-family: var(--font-mono);
  max-width: 540px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: rgba(240, 240, 240, 0.8);
  margin: 0 auto;
}

/* ─────────────────────────────────────────────
   BUTTON (CTA on landing hero)
   ───────────────────────────────────────────── */
.bk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--cream);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.bk-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────
   INTRO (below landing hero)
   ───────────────────────────────────────────── */
.bk-intro {
  font-family: var(--font-mono);
  max-width: 680px;
  margin: 120px auto;
  padding: 0 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: rgba(240, 240, 240, 0.82);
}

/* ─────────────────────────────────────────────
   INDEX BLOCK — "Logo Index (3)" + list
   ───────────────────────────────────────────── */
.bk-indexblock {
  max-width: 880px;
  margin: 100px auto;
  padding: 0 32px;
}

.bk-indexblock__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.bk-indexblock__title {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  text-transform: uppercase;
}

.bk-indexblock__count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.bk-indexlist li { border-bottom: 1px solid var(--border); }
.bk-indexlist li:last-child { border-bottom: 1px solid var(--border); }

.bk-indexlist a {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  transition: color 0.2s, padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bk-indexlist a:hover {
  color: var(--cream);
  padding-left: 12px;
}

.bk-indexlist .num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.bk-indexlist .label {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color 0.2s;
}
.bk-indexlist a:hover .label { color: var(--cream); }

.bk-indexlist .arrow {
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}
.bk-indexlist a:hover .arrow {
  transform: translateX(6px);
  color: var(--cream);
}

/* ─────────────────────────────────────────────
   ARTICLE — each subsection content
   ───────────────────────────────────────────── */
.bk-section { position: relative; }

.bk-article {
  max-width: 1040px;
  margin: 0 auto 120px;
  padding: 0 32px;
}

.bk-article__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.bk-article__head .bk-kicker {
  color: var(--cream);
  margin-bottom: 16px;
}

.bk-article__head h3 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 18px;
}

.bk-article__head p {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ─────────────────────────────────────────────
   TILES — colorful gradient logo showcase
   ───────────────────────────────────────────── */
.bk-tiles {
  display: grid;
  gap: 16px;
}
.bk-tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.bk-tile {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.bk-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.22;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.bk-tile__mark {
  width: 48%;
  max-width: 240px;
  height: auto;
  fill: #fff;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}
.bk-tile__mark--accent { fill: var(--cream); }
.bk-tile__mark--sm { width: 80px; }

/* Tile gradient variants — brandkitpro painterly blends (blue / indigo / cream) */
.bk-tile--grad-a {
  background:
    radial-gradient(ellipse at 30% 30%, #140acc, transparent 60%),
    radial-gradient(ellipse at 70% 80%, #2a1fae, transparent 65%),
    #0a0620;
}
.bk-tile--grad-b {
  background:
    radial-gradient(ellipse at 20% 70%, #f5f1e6, transparent 55%),
    radial-gradient(ellipse at 80% 20%, #140acc, transparent 65%),
    #1a1030;
}
.bk-tile--grad-c {
  background:
    radial-gradient(ellipse at 50% 20%, #2a1fae, transparent 65%),
    radial-gradient(ellipse at 50% 100%, #140acc, transparent 65%),
    #08051e;
}
.bk-tile--grad-d {
  background:
    radial-gradient(ellipse at 80% 80%, #140acc, transparent 60%),
    radial-gradient(ellipse at 20% 20%, #f5f1e6, transparent 60%),
    #0a0728;
}
.bk-tile--grad-e {
  background:
    radial-gradient(ellipse at 50% 50%, #2a1fae, transparent 70%),
    radial-gradient(ellipse at 20% 100%, #140acc, transparent 65%),
    #0b0620;
}
.bk-tile--grad-f {
  background:
    radial-gradient(ellipse at 60% 40%, #140acc, transparent 65%),
    radial-gradient(ellipse at 20% 80%, #f5f1e6, transparent 55%),
    #100828;
}
.bk-tile--grad-g {
  background:
    radial-gradient(ellipse at 50% 60%, #f5f1e6, transparent 55%),
    radial-gradient(ellipse at 80% 20%, #140acc, transparent 60%),
    #150a30;
}

/* Clearspace box shown on tile */
.bk-clearspace {
  position: relative;
  z-index: 1;
  padding: 36px;
  outline: 1px dashed rgba(255, 255, 255, 0.55);
}

.bk-scale-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}
.bk-scale-row svg { fill: #fff; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25)); }

/* ─────────────────────────────────────────────
   COLOR SWATCHES
   ───────────────────────────────────────────── */
.bk-swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bk-swatch {
  background: var(--c);
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bk-swatch--xl {
  grid-column: span 3;
  aspect-ratio: 16 / 7;
}

.bk-swatch--light { color: var(--ink); }

.bk-swatch__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bk-swatch__name {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.bk-swatch__hex {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────────
   COMBINATIONS — big letter pairs
   ───────────────────────────────────────────── */
.bk-combos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bk-combo {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(120px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ─────────────────────────────────────────────
   TYPE SPEC — massive display preview
   ───────────────────────────────────────────── */
.bk-typespec {
  font-family: var(--font-display);
  font-size: clamp(110px, 18vw, 260px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  color: var(--text);
  padding: 40px 0;
}

.bk-typemeta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Type scale rows */
.bk-scale {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 32px;
}

.bk-scale-r {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.bk-scale-r:last-child { border-bottom: 0; }

.bk-scale-r__k {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.bk-scale-r__v {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1;
}

.bk-scale-r__s {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Type in use card */
.bk-usecard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 64px 48px;
  text-align: left;
}
.bk-usecard h4 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 12px 0 24px;
}
.bk-usecard p {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--muted);
  max-width: 520px;
}

/* ─────────────────────────────────────────────
   FOOTER INDEX
   ───────────────────────────────────────────── */
.bk-footer-index {
  max-width: 880px;
  margin: 80px auto 0;
  padding: 32px 32px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.bk-footer-index ul {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.bk-footer-index a:hover { color: var(--cream); }

/* ─────────────────────────────────────────────
   MEGA WORDMARK — full-width "Liva®"
   ───────────────────────────────────────────── */
.bk-megamark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36vw;
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-align: center;
  color: var(--cream);
  padding: 40px 0 0;
  margin-top: 60px;
  overflow: hidden;
  user-select: none;
}
.bk-megamark sup {
  font-size: 0.18em;
  vertical-align: top;
  margin-left: 0.05em;
  color: var(--cream);
  top: 0.4em;
}

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.bk-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.bk-footer a:hover { color: var(--cream); }

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .bk-nav { padding: 14px 20px; }
  .bk-nav__links { gap: 16px; font-size: 12px; }
  .bk-banner { min-height: 520px; padding: 120px 20px 60px; }
  .bk-banner--landing { min-height: 580px; }
  .bk-intro { font-size: 16px; margin: 72px auto; }
  .bk-indexblock, .bk-footer-index { padding: 0 20px; }
  .bk-article { padding: 0 20px; margin-bottom: 80px; }
  .bk-indexlist a { grid-template-columns: 40px 1fr auto; gap: 16px; padding: 18px 0; }
  .bk-indexlist .label { font-size: 18px; }
  .bk-tiles--2, .bk-tiles--3 { grid-template-columns: 1fr; }
  .bk-swatches { grid-template-columns: repeat(2, 1fr); }
  .bk-swatch--xl { grid-column: span 2; aspect-ratio: 16 / 9; }
  .bk-combos { grid-template-columns: 1fr; }
  .bk-scale-r { grid-template-columns: 60px 1fr; gap: 16px; }
  .bk-scale-r__s { display: none; }
  .bk-usecard { padding: 40px 24px; }
  .bk-typemeta { gap: 20px; font-size: 11px; }
}

@media (max-width: 480px) {
  .bk-nav__brand { font-size: 16px; }
  .bk-swatches { grid-template-columns: 1fr; }
  .bk-swatch--xl { grid-column: auto; }
}
