/* Bezhig design system: company pages, the home page and the world panels.
   Loaded after chrome.css (tokens, header, footer). Ember, amber, crimson and
   ivory come from the Bezhig flower; each world panel carries its own game's skin. */

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/cinzel-latin-v26.woff2") format("woff2");
}

@font-face {
  font-family: "Bezhig Bodoni";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/livenotate/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bz-header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  line-height: 1.6;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--bz-ivory); text-wrap: balance; overflow-wrap: break-word; }
p, li { text-wrap: pretty; }
a { color: var(--bz-gold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: #fff3dc; }
button { font: inherit; }
section[id], article[id] { scroll-margin-top: calc(var(--bz-header-h) + 16px); }

#studio-atmosphere {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

main, .site-footer { position: relative; z-index: 1; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Grain keeps the large dark fields from banding. */
body.bz::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Layout */
.bz-wrap {
  width: min(var(--bz-max), calc(100% - var(--bz-gutter) * 2));
  margin-inline: auto;
}

.bz-section { padding: clamp(72px, 9vw, 128px) 0; }
.bz-section--tight { padding: clamp(48px, 6vw, 80px) 0; }

/* Type */
.bz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--bz-amber);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bz-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.bz-h2 {
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem);
  font-weight: 760;
  letter-spacing: -0.042em;
  line-height: 1.02;
}

.bz-h3 {
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.bz-lead {
  max-width: 640px;
  color: var(--bz-text);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}

.bz-muted { color: var(--bz-muted); }

.bz-fine {
  color: var(--bz-faint);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.bz-ember-text {
  background: var(--bz-ember-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.bz-section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.bz-section-head .bz-h2 { margin-bottom: 20px; }
.bz-section-head p:not(.bz-eyebrow) { color: var(--bz-muted); font-size: 1.0625rem; max-width: 620px; }
.bz-section-head--center { margin-inline: auto; text-align: center; }
.bz-section-head--center p:not(.bz-eyebrow) { margin-inline: auto; }
.bz-section-head--center .bz-eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }

/* Buttons and links */
.bz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.bz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bz-ember-grad);
  background-size: 140% 100%;
  background-position: 0 0;
  color: #1a0b05;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 34px rgba(232, 98, 44, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: background-position 0.35s, box-shadow 0.25s, transform 0.25s;
}

.bz-btn:hover {
  color: #1a0b05;
  background-position: 100% 0;
  box-shadow: 0 14px 44px rgba(232, 98, 44, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.bz-btn span[aria-hidden] { font-size: 1.05em; font-weight: 500; }

.bz-btn--ghost {
  background: rgba(250, 226, 200, 0.04);
  border-color: rgba(250, 226, 200, 0.24);
  color: var(--bz-ivory);
  box-shadow: none;
}

.bz-btn--ghost:hover {
  background: rgba(250, 226, 200, 0.1);
  border-color: rgba(250, 226, 200, 0.42);
  color: #fff;
  box-shadow: none;
}

.bz-btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.875rem; }

.bz-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 9px 20px 9px 16px;
  border: 1px solid rgba(250, 226, 200, 0.28);
  border-radius: 14px;
  background: rgba(8, 5, 4, 0.72);
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}

.bz-store:hover { color: #fff; border-color: rgba(250, 226, 200, 0.6); background: rgba(20, 12, 9, 0.9); transform: translateY(-1px); }
.bz-store svg { width: 24px; height: 24px; flex: 0 0 24px; fill: currentColor; }
.bz-store small { display: block; font-size: 0.6875rem; letter-spacing: 0.04em; opacity: 0.75; }
.bz-store strong { display: block; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; }

.bz-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bz-ivory);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 168, 60, 0.45);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.bz-link:hover { color: #fff; border-color: var(--bz-amber); }

/* Status chips */
.bz-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(250, 226, 200, 0.2);
  border-radius: 999px;
  background: rgba(10, 7, 6, 0.58);
  color: var(--bz-ivory);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.bz-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9c7b0;
}

a.bz-chip { text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
a.bz-chip:hover { color: #fff; border-color: rgba(250, 226, 200, 0.4); background: rgba(30, 20, 15, 0.8); }

.bz-chip.is-live::before { background: #7fdc9a; box-shadow: 0 0 10px rgba(127, 220, 154, 0.8); }
.bz-chip.is-testing::before { background: var(--bz-gold); box-shadow: 0 0 10px rgba(246, 200, 111, 0.7); }
.bz-chip.is-dev::before { background: #a6b6d9; }

/* Phone frame for clips and screenshots */
.bz-phone {
  position: relative;
  width: 100%;
  max-width: 280px;
  padding: 7px;
  border-radius: 38px;
  background: linear-gradient(150deg, #3a2c25, #120c0a 46%, #2a1e19);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 34px 80px rgba(0, 0, 0, 0.6), 0 0 120px var(--phone-glow, rgba(232, 98, 44, 0.12));
}

.bz-phone > img,
.bz-phone > video {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 31px;
  background: #050303;
}

/* HOME: hero */
.bz-hero {
  position: relative;
  overflow: clip;
  padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 104px);
}

.bz-hero__mark {
  position: absolute;
  top: -22%;
  right: -16%;
  width: min(900px, 90vw);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.17;
  filter: blur(0.5px) saturate(1.2);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 68%);
}

.bz-hero__mark img {
  width: 100%;
  height: 100%;
  animation: bz-turn 240s linear infinite;
}

.bz-hero__glow {
  position: absolute;
  inset: auto -10% -30% 20%;
  height: 80%;
  pointer-events: none;
  background: radial-gradient(ellipse at 60% 40%, rgba(232, 98, 44, 0.22), transparent 62%);
  filter: blur(20px);
}

@keyframes bz-turn { to { transform: rotate(360deg); } }

.bz-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  grid-template-areas: "title side" "fan fan";
  gap: 34px clamp(32px, 4vw, 64px);
  align-items: end;
}

.bz-hero__copy { grid-area: title; }
.bz-hero__side { grid-area: side; padding-bottom: 8px; }
.bz-hero__side .bz-hero__deck { margin-top: 0; }
.bz-hero .bz-fan { grid-area: fan; }

.bz-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--bz-amber);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.bz-kicker img { width: 28px; height: 28px; border-radius: 50%; }

.bz-hero h1 {
  font-size: clamp(3.25rem, 1.2rem + 6.4vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.bz-hero h1 .bz-hero__line { display: block; }
.bz-hero h1 .bz-ember-text { padding-bottom: 0.08em; }

.bz-hero__deck {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--bz-text);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.62;
}

.bz-hero__deck em { font-style: normal; color: var(--bz-gold); font-weight: 600; }

.bz-hero__status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

/* HOME: the fan of worlds */
.bz-fan {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  align-items: end;
  margin: 0;
  padding: 30px 0 34px;
  list-style: none;
}

.bz-fan > li { min-width: 0; }

.bz-card {
  --tilt: 0deg;
  --lift: 0px;
  position: relative;
  display: block;
  aspect-ratio: 9 / 16.5;
  overflow: hidden;
  border-radius: 24px;
  background: #0d0908;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 28px 60px rgba(0, 0, 0, 0.55), 0 0 60px var(--card-glow, transparent);
  transform: translateY(var(--lift)) rotate(var(--tilt));
  transform-origin: 50% 120%;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s, filter 0.45s;
}

.bz-fan > li:nth-child(1) .bz-card { --tilt: -5deg; --lift: 26px; }
.bz-fan > li:nth-child(2) .bz-card { --tilt: -2.5deg; --lift: 6px; }
.bz-fan > li:nth-child(3) .bz-card { --tilt: 0deg; --lift: 0px; }
.bz-fan > li:nth-child(4) .bz-card { --tilt: 2.5deg; --lift: 6px; }
.bz-fan > li:nth-child(5) .bz-card { --tilt: 5deg; --lift: 26px; }

.bz-card:hover,
.bz-card:focus-visible {
  color: #fff;
  transform: translateY(calc(var(--lift) - 16px)) rotate(0deg) scale(1.04);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 36px 80px rgba(0, 0, 0, 0.65), 0 0 90px var(--card-glow, transparent);
  z-index: 3;
}

.bz-fan:has(.bz-card:hover) .bz-card:not(:hover) { filter: brightness(0.62) saturate(0.85); }

.bz-card > video,
.bz-card > img,
.bz-card > picture,
.bz-card > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.bz-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.55) 66%, rgba(0, 0, 0, 0.92) 100%);
}

.bz-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 7px;
  padding: 16px 14px 16px;
}

.bz-card__meta .bz-chip { justify-self: start; min-height: 24px; padding: 3px 9px; font-size: 0.6875rem; }

.bz-card__title {
  display: block;
  font-size: clamp(1.125rem, 0.8rem + 0.75vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.bz-card__hook {
  display: block;
  color: rgba(255, 245, 232, 0.78);
  font-size: 0.75rem;
  line-height: 1.35;
}

.bz-card.is-uf { --card-glow: rgba(220, 40, 30, 0.22); }
.bz-card.is-uf .bz-card__title { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-weight: 700; letter-spacing: -0.01em; color: #f6e2bd; }
.bz-card.is-fm { --card-glow: rgba(215, 174, 88, 0.24); }
.bz-card.is-fm > video { object-position: 76% 50%; }
.bz-card.is-fm .bz-card__title { font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: 0.04em; color: #f4d991; }
.bz-card.is-ci { --card-glow: rgba(188, 149, 87, 0.22); }
.bz-card.is-ci .bz-card__title { font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: 0.03em; color: #f6e3a8; }
.bz-card.is-sr { --card-glow: rgba(64, 200, 190, 0.2); }
.bz-card.is-sr .bz-card__title { font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: 0.03em; color: #ffe08a; }
.bz-card.is-ln { --card-glow: rgba(240, 230, 210, 0.16); }
.bz-card.is-ln .bz-card__title { font-family: "Bezhig Bodoni", Didot, "Bodoni 72", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; color: #fbf6ec; }

/* HOME: world panels */
.bz-world {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid rgba(250, 226, 200, 0.06);
}

.bz-world__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.bz-world__bg > img,
.bz-world__bg > video,
.bz-world__bg > picture,
.bz-world__bg > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bz-world__veil { position: absolute; inset: 0; z-index: -1; }

.bz-world__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}

.bz-world__copy > p:not(.bz-eyebrow):not(.bz-fine) { max-width: 560px; color: var(--world-text, var(--bz-text)); font-size: 1.0625rem; line-height: 1.7; }

.bz-world__title {
  margin: 4px 0 14px;
  font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.5rem);
  line-height: 0.98;
}

.bz-world__tagline {
  margin: 0 0 22px;
  color: var(--world-accent, var(--bz-gold));
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.bz-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }

.bz-tags li {
  padding: 6px 12px;
  border: 1px solid var(--world-line, rgba(250, 226, 200, 0.18));
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--world-text, var(--bz-text));
  font-size: 0.8125rem;
  font-weight: 550;
}

.bz-world__media { position: relative; display: flex; justify-content: center; align-items: center; gap: 22px; }

/* Undead Forever: blood glass */
.bz-world.is-uf {
  --world-accent: #f2c94c;
  --world-text: #ead9cf;
  --world-line: rgba(232, 73, 63, 0.38);
  --phone-glow: rgba(232, 73, 63, 0.22);
  background: #120504;
}

.bz-world.is-uf .bz-world__veil {
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(139, 29, 21, 0.55), transparent 70%),
    linear-gradient(90deg, rgba(18, 5, 4, 0.96) 0%, rgba(18, 5, 4, 0.75) 46%, rgba(18, 5, 4, 0.35) 100%),
    linear-gradient(180deg, rgba(18, 5, 4, 0.2), rgba(18, 5, 4, 0.92));
}

.bz-world.is-uf .bz-world__bg img { object-position: 50% 30%; opacity: 0.7; }
.bz-world.is-uf .bz-eyebrow { color: #f08a7e; }
.bz-world.is-uf .bz-world__title { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; font-weight: 700; letter-spacing: -0.02em; color: #f8e6c4; text-shadow: 0 4px 40px rgba(232, 73, 63, 0.35); }
.bz-world.is-uf .bz-world__tagline { font-family: Georgia, "Iowan Old Style", serif; font-style: italic; font-weight: 400; color: #f2c94c; }
.bz-world.is-uf .bz-phone { background: linear-gradient(150deg, #5a1712, #160606 46%, #3d0f0b); }
.bz-world.is-uf .bz-phone--back { max-width: 236px; transform: translateY(36px) rotate(-5deg); opacity: 0.92; }

/* FateMMO: Loomlight gold on ink */
.bz-world.is-fm {
  --world-accent: #f4d991;
  --world-text: #e9e4d6;
  --world-line: rgba(215, 174, 88, 0.42);
  background: #071019;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
}

.bz-world.is-fm .bz-world__bg video,
.bz-world.is-fm .bz-world__bg img { object-position: 62% 50%; }

.bz-world.is-fm .bz-world__veil {
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.95) 0%, rgba(7, 16, 25, 0.78) 38%, rgba(7, 16, 25, 0.12) 72%),
    linear-gradient(180deg, rgba(7, 16, 25, 0.55) 0%, transparent 22%, transparent 70%, rgba(7, 16, 25, 0.95) 100%);
}

.bz-world.is-fm .bz-eyebrow { color: #d7ae58; }
.bz-world.is-fm .bz-world__wordmark { display: block; margin-bottom: 10px; font-family: "Cinzel", Georgia, serif; font-size: clamp(1rem, 0.9rem + 0.5vw, 1.375rem); font-weight: 700; letter-spacing: 0.3em; color: #d7ae58; }
.bz-world.is-fm .bz-world__title { font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: 0; line-height: 1.04; color: #f4eedf; font-size: clamp(2.5rem, 1.3rem + 4vw, 4.75rem); text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6); }
.bz-world.is-fm .bz-world__title span { color: #f4d991; }
.bz-world.is-fm .bz-btn { background: linear-gradient(120deg, #f4d991, #d7ae58 55%, #b98a33); color: #1d1304; box-shadow: 0 10px 34px rgba(215, 174, 88, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.bz-world.is-fm .bz-btn--ghost { background: rgba(7, 16, 25, 0.5); color: #f4eedf; border-color: rgba(215, 174, 88, 0.45); box-shadow: none; }
.bz-world.is-fm .bz-btn--play { background: rgba(9, 32, 26, 0.72); color: #c9f5dc; border: 1px solid rgba(155, 231, 192, 0.5); box-shadow: 0 0 30px rgba(155, 231, 192, 0.12); }
.bz-world.is-fm .bz-btn--play:hover { background: rgba(12, 46, 37, 0.85); color: #fff; }

.bz-thread {
  display: block;
  width: min(320px, 70%);
  height: 18px;
  margin: 0 0 22px;
  overflow: visible;
}

.bz-thread path { fill: none; stroke: #d7ae58; stroke-width: 1.4; stroke-linecap: round; }
.bz-thread .knot { fill: #f4d991; stroke: none; }

.bz-moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.bz-moment {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 174, 88, 0.3);
  border-radius: 16px;
  background: rgba(7, 16, 25, 0.75);
}

.bz-moment video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #050b12; }
.bz-moment figcaption { padding: 12px 14px 14px; color: #e9e4d6; font-size: 0.8125rem; line-height: 1.45; }
.bz-moment figcaption strong { display: block; margin-bottom: 2px; font-family: "Cinzel", Georgia, serif; color: #f4d991; font-size: 0.9375rem; letter-spacing: 0.04em; }

/* Crown Infinity: navy and gold */
.bz-world.is-ci {
  --world-accent: #e2bd6a;
  --world-text: #e9e0c9;
  --world-line: rgba(188, 149, 87, 0.45);
  --phone-glow: rgba(226, 189, 106, 0.18);
  background: radial-gradient(ellipse 70% 60% at 30% 40%, #13243d 0%, #070e18 70%);
}

.bz-world.is-ci .bz-world__bg { opacity: 0.22; mask-image: linear-gradient(180deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); }
.bz-world.is-ci .bz-world__bg img { object-position: 50% 0; }
.bz-world.is-ci .bz-eyebrow { color: #d9ad61; }
.bz-world.is-ci .bz-world__title { font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: 0.01em; color: #f6e3a8; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.bz-world.is-ci .bz-world__tagline { font-family: "Cinzel", Georgia, serif; font-weight: 600; font-size: clamp(1rem, 0.9rem + 0.6vw, 1.375rem); letter-spacing: 0.12em; text-transform: uppercase; color: #e2bd6a; }
.bz-world.is-ci .bz-btn { background: linear-gradient(120deg, #f6e3a8, #d9ad61 55%, #a57a3a); color: #1b1305; box-shadow: 0 10px 34px rgba(217, 173, 97, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.bz-world.is-ci .bz-btn--ghost { background: rgba(7, 14, 24, 0.5); color: #f6e3a8; border-color: rgba(217, 173, 97, 0.45); box-shadow: none; }
.bz-world.is-ci .bz-phone { background: linear-gradient(150deg, #33496e, #0b1622 46%, #26385a); }
.bz-world.is-ci .bz-world__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }

.bz-towns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.bz-towns figure { position: relative; overflow: hidden; border: 1px solid rgba(217, 173, 97, 0.35); border-radius: 12px; }
.bz-towns img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.6s; }
.bz-towns figure:hover img { transform: scale(1.06); }
.bz-towns figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 8px 8px;
  background: linear-gradient(180deg, transparent, rgba(7, 14, 24, 0.92));
  color: #f6e3a8;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

/* Sit & Reel and LiveNotate: two-up */
.bz-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.bz-duo__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 190px);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  min-height: 460px;
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: 28px;
  isolation: isolate;
}

.bz-duo__card h3 { margin: 6px 0 12px; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; }
.bz-duo__card p { font-size: 0.9875rem; line-height: 1.65; }
.bz-duo__card .bz-phone { max-width: 190px; justify-self: end; }
.bz-duo__card .bz-eyebrow::before { display: none; }
.bz-duo__card .bz-phone > video, .bz-duo__card .bz-phone > img { border-radius: 26px; }

.bz-duo__card.is-sr {
  --phone-glow: rgba(64, 200, 190, 0.25);
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(41, 160, 150, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 100%, rgba(212, 160, 23, 0.22), transparent 70%),
    #061416;
  border: 1px solid rgba(90, 220, 205, 0.22);
}

.bz-duo__card.is-sr h3 { font-family: "Cinzel", Georgia, serif; font-weight: 700; color: #ffe08a; letter-spacing: 0.02em; text-shadow: 0 0 30px rgba(255, 210, 90, 0.35); }
.bz-duo__card.is-sr .bz-eyebrow { color: #6fe0d2; }
.bz-duo__card.is-sr p { color: #cfe7e3; }
.bz-duo__card.is-sr .bz-phone { background: linear-gradient(150deg, #1f4d4b, #061416 50%, #1a3b3a); }

.bz-duo__card.is-ln {
  --phone-glow: rgba(250, 240, 220, 0.14);
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(240, 230, 210, 0.12), transparent 60%),
    linear-gradient(160deg, #15161c, #0a0b0f);
  border: 1px solid rgba(240, 230, 210, 0.16);
}

.bz-duo__card.is-ln h3 { font-family: "Bezhig Bodoni", Didot, "Bodoni 72", Georgia, serif; font-weight: 600; color: #fbf6ec; letter-spacing: -0.01em; }
.bz-duo__card.is-ln .bz-eyebrow { color: #d9cfbd; }
.bz-duo__card.is-ln p { color: #cfcabf; }
.bz-duo__card.is-ln .bz-phone { background: linear-gradient(150deg, #3a3b42, #0d0e12 50%, #2a2b31); }

.bz-duo__card .bz-actions { margin-top: 20px; }

/* HOME: engine */
.bz-engine__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.bz-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--bz-line);
  border-radius: 22px;
  background: var(--bz-line);
  list-style: none;
}

.bz-stats li { padding: clamp(22px, 3vw, 34px); background: rgba(16, 11, 9, 0.92); }

.bz-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.bz-stats span { color: var(--bz-muted); font-size: 0.9375rem; line-height: 1.5; }

.bz-engine__list { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.bz-engine__list li { padding-left: 22px; position: relative; color: var(--bz-text); }
.bz-engine__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; background: var(--bz-ember-grad); transform: rotate(45deg); }
.bz-engine__list strong { color: var(--bz-ivory); }

/* Updates */
.bz-updates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.bz-update {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bz-line);
  border-radius: 22px;
  background: rgba(22, 15, 12, 0.7);
  transition: border-color 0.25s, transform 0.25s;
}

.bz-update:hover { border-color: var(--bz-line-2); transform: translateY(-3px); }
.bz-update img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bz-update__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.bz-update__meta { color: var(--bz-amber); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.bz-update h3 { font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.bz-update h3 a { color: var(--bz-ivory); text-decoration: none; }
.bz-update h3 a::after { content: ""; position: absolute; inset: 0; }
.bz-update p { margin: 0; color: var(--bz-muted); font-size: 0.9375rem; line-height: 1.6; }

/* Signup */
.bz-signup {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--bz-line);
  border-radius: 32px;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(232, 98, 44, 0.14), transparent 60%),
    rgba(18, 12, 10, 0.8);
}

.signup-panel { min-width: 0; }
.signup-panel label, .signup-panel legend { color: var(--bz-text); font-size: 0.9375rem; }

.signup-panel input[type="email"] {
  width: 100%;
  min-height: 52px;
  margin: 10px 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(250, 226, 200, 0.24);
  border-radius: 12px;
  background: rgba(6, 4, 3, 0.7);
  color: var(--bz-ivory);
  font: inherit;
}

.signup-panel input[type="email"]:focus-visible { outline: 3px solid var(--bz-gold); outline-offset: 2px; }
.signup-panel fieldset { margin: 0 0 22px; padding: 0; border: 0; }
.signup-panel legend { margin-bottom: 12px; }
.topic-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.topic-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(250, 226, 200, 0.14);
  border-radius: 12px;
  background: rgba(250, 226, 200, 0.03);
  cursor: pointer;
}

.topic-options label:has(input:checked) { border-color: rgba(240, 168, 60, 0.6); background: rgba(240, 168, 60, 0.08); }
.signup-panel input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--bz-amber); }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 22px; color: var(--bz-muted); font-size: 0.875rem; line-height: 1.55; }
.consent-row input { margin-top: 2px !important; }
.signup-panel .bz-btn { width: 100%; border: 0; cursor: pointer; }
.signup-panel .bz-btn:disabled { opacity: 0.65; cursor: wait; }
.form-status { margin: 14px 0 0; color: #f6d7a8; font-size: 0.9375rem; }
.form-status:empty { margin: 0; }
.form-status[data-state="error"] { color: #ffc3ad; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup-fallback { display: inline-block; margin-top: 16px; font-size: 0.8125rem; }
.signup-panel:has(form[hidden]) .signup-fallback { margin-top: 0; }

/* Closing */
.bz-closing { text-align: center; }
.bz-closing .bz-h2 { margin: 0 auto 18px; max-width: 820px; }
.bz-closing p { margin-inline: auto; max-width: 560px; color: var(--bz-muted); }
.bz-closing .bz-actions { justify-content: center; }
.bz-mail {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  color: var(--bz-ivory);
  text-decoration: none;
  border-bottom: 2px solid rgba(240, 168, 60, 0.5);
}
.bz-mail:hover { color: #fff; border-color: var(--bz-amber); }

/* Subpages */
.bz-page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(32px, 5vw, 56px); }
.bz-page-hero h1 { font-size: clamp(2.75rem, 1.5rem + 4.6vw, 5.25rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.98; }
.bz-page-hero .bz-lead { margin-top: 24px; }

.bz-crumbs { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; color: var(--bz-faint); font-size: 0.8125rem; }
.bz-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.bz-crumbs a { color: var(--bz-muted); text-decoration: none; }
.bz-crumbs a:hover { color: var(--bz-ivory); }

.bz-prose { max-width: 760px; }
.bz-prose h2 { margin: 2.2em 0 0.7em; font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; }
.bz-prose h3 { margin: 1.8em 0 0.6em; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.bz-prose p, .bz-prose li { color: var(--bz-text); font-size: 1.0625rem; line-height: 1.8; }
.bz-prose ul, .bz-prose ol { padding-left: 1.3em; }
.bz-prose li { margin-bottom: 0.4em; }
.bz-prose strong { color: var(--bz-ivory); }
.bz-prose figure { margin: 2em 0; }
.bz-prose figcaption { margin-top: 10px; color: var(--bz-faint); font-size: 0.8125rem; }

/* Projects index */
.bz-index { display: grid; gap: 22px; }

.bz-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--entry-line, var(--bz-line));
  border-radius: 30px;
  background: var(--entry-bg, rgba(20, 14, 11, 0.85));
  isolation: isolate;
}

.bz-entry__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 56px); }
.bz-entry__copy h2 { margin: 12px 0 10px; font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); line-height: 1; }
.bz-entry__copy .bz-world__tagline { margin-bottom: 14px; }
.bz-entry__copy p { color: var(--entry-text, var(--bz-text)); line-height: 1.7; }
.bz-entry__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 6px 0 0; padding: 0; list-style: none; color: var(--entry-muted, var(--bz-muted)); font-size: 0.8125rem; }
.bz-entry__facts li::before { content: "◆"; margin-right: 7px; font-size: 0.6em; vertical-align: 2px; color: var(--world-accent, var(--bz-amber)); }
.bz-entry__media { position: relative; min-height: 320px; }
.bz-entry__media > img, .bz-entry__media > video, .bz-entry__media > picture, .bz-entry__media > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bz-entry__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--entry-fade, rgba(20, 14, 11, 1)) 0%, transparent 40%); }

.bz-entry.is-uf { --entry-bg: #140605; --entry-line: rgba(232, 73, 63, 0.3); --entry-fade: #140605; --world-accent: #f2c94c; }
.bz-entry.is-uf h2 { font-family: Georgia, "Iowan Old Style", serif; color: #f8e6c4; }
.bz-entry.is-fm { --entry-bg: #071019; --entry-line: rgba(215, 174, 88, 0.32); --entry-fade: #071019; --world-accent: #f4d991; }
.bz-entry.is-fm h2 { font-family: "Cinzel", Georgia, serif; color: #f4eedf; }
.bz-entry.is-ci { --entry-bg: #08111d; --entry-line: rgba(217, 173, 97, 0.32); --entry-fade: #08111d; --world-accent: #e2bd6a; }
.bz-entry.is-ci h2 { font-family: "Cinzel", Georgia, serif; color: #f6e3a8; }
.bz-entry.is-sr { --entry-bg: #061416; --entry-line: rgba(90, 220, 205, 0.26); --entry-fade: #061416; --world-accent: #ffe08a; }
.bz-entry.is-sr h2 { font-family: "Cinzel", Georgia, serif; color: #ffe08a; }
.bz-entry.is-ln { --entry-bg: #0d0e12; --entry-line: rgba(240, 230, 210, 0.2); --entry-fade: #0d0e12; --world-accent: #e8e0cf; }
.bz-entry.is-ln h2 { font-family: "Bezhig Bodoni", Didot, "Bodoni 72", Georgia, serif; color: #fbf6ec; }
.bz-entry.is-engine { --entry-bg: #120c0a; --world-accent: var(--bz-amber); }

/* Cards used by about, media and contact */
.bz-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bz-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.bz-panel {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--bz-line);
  border-radius: 22px;
  background: rgba(22, 15, 12, 0.72);
}

.bz-panel h3 { margin: 6px 0 10px; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.bz-panel p { color: var(--bz-muted); font-size: 0.9875rem; line-height: 1.65; }
.bz-panel .bz-chip { margin-bottom: 8px; }

.bz-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--bz-line);
  border-radius: 20px;
  background: #000;
}

.bz-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bz-clip-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bz-clip-row figure { margin: 0; }
.bz-clip-row figcaption { margin-top: 12px; color: var(--bz-muted); font-size: 0.875rem; line-height: 1.5; }
.bz-clip-row figcaption strong { display: block; color: var(--bz-ivory); font-size: 0.9375rem; }
.bz-clip-row .bz-phone { max-width: none; }

/* Scroll reveal: content is visible without JavaScript; the class is added by bezhig.js. */
.bz-reveal-ready [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bz-reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .bz-hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "side" "fan"; gap: 26px; }
  .bz-hero__side { max-width: 640px; padding-bottom: 0; }
  .bz-card.is-fm .bz-card__title, .bz-card.is-ci .bz-card__title, .bz-card.is-sr .bz-card__title { letter-spacing: 0.01em; }
  .bz-moments { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bz-clip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .bz-world__grid, .bz-world.is-ci .bz-world__grid, .bz-engine__grid, .bz-signup { grid-template-columns: minmax(0, 1fr); }
  .bz-world.is-ci .bz-world__media { order: 2; }
  .bz-duo { grid-template-columns: minmax(0, 1fr); }
  .bz-updates { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .bz-cards { grid-template-columns: 1fr 1fr; }
  .bz-entry { grid-template-columns: minmax(0, 1fr); }
  .bz-entry__media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .bz-entry__media::after { background: linear-gradient(0deg, var(--entry-fade, rgba(20, 14, 11, 1)) 0%, transparent 45%); }
  .bz-world.is-fm .bz-world__veil {
    background: linear-gradient(180deg, rgba(7, 16, 25, 0.35) 0%, rgba(7, 16, 25, 0.55) 30%, rgba(7, 16, 25, 0.96) 62%);
  }
  .bz-world.is-fm { align-items: flex-end; min-height: 0; padding-top: 52vw; }
  .bz-world.is-fm .bz-world__bg { bottom: auto; height: 78vw; }
  .bz-world.is-uf .bz-world__veil { background: linear-gradient(180deg, rgba(18, 5, 4, 0.7), rgba(18, 5, 4, 0.94) 60%); }
}

@media (max-width: 800px) {
  .bz-fan {
    display: flex;
    gap: 14px;
    margin-inline: calc(var(--bz-gutter) * -1);
    padding: 18px var(--bz-gutter) 26px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--bz-gutter);
    scrollbar-width: none;
    perspective: none;
  }
  .bz-fan::-webkit-scrollbar { display: none; }
  .bz-fan > li { flex: 0 0 58%; max-width: 250px; scroll-snap-align: start; }
  .bz-fan > li .bz-card { --tilt: 0deg !important; --lift: 0px !important; }
  .bz-fan:has(.bz-card:hover) .bz-card:not(:hover) { filter: none; }
  .bz-card:hover, .bz-card:focus-visible { transform: none; }
  .bz-moments { grid-template-columns: 1fr 1fr; }
  .bz-moments > :nth-child(3) { display: none; }
  .bz-towns { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .bz-towns figcaption { font-size: 0.625rem; letter-spacing: 0.06em; padding: 14px 4px 6px; }
  .bz-world.is-uf .bz-phone--back { display: none; }
  .bz-duo__card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .bz-duo__card .bz-phone { justify-self: start; max-width: 190px; order: -1; }
  .bz-cards, .bz-cards--2 { grid-template-columns: minmax(0, 1fr); }
  .topic-options { grid-template-columns: 1fr 1fr; }
  .bz-stats strong { font-size: 2rem; }
}

@media (max-width: 480px) {
  .bz-chip { white-space: normal; }
  .bz-hero h1 { font-size: clamp(2.75rem, 12.4vw, 3.5rem); }
  .bz-actions .bz-btn { flex: 1 1 100%; }
  .bz-moments { grid-template-columns: minmax(0, 1fr); }
  .bz-moments > :nth-child(2) { display: none; }
  .bz-stats { grid-template-columns: 1fr 1fr; }
  .bz-stats li { padding: 18px 16px; }
  .bz-stats strong { font-size: 1.625rem; }
  .bz-stats span { font-size: 0.8125rem; }
  .topic-options { grid-template-columns: minmax(0, 1fr); }
  .bz-clip-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bz-store { flex: 1 1 calc(50% - 6px); padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bz-hero__mark img { animation: none; }
  .bz-card, .bz-btn, .bz-update, .bz-towns img { transition: none; }
  .bz-reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
}
