/* =========================================================
   BLOCKSY — Premium 2026 Prototype (Blue / White / Black-CTA)
   Light, editorial, community-publishing aesthetic.
   Re-skin the whole site by editing the :root block below.
   ========================================================= */

:root {
  /* ---- Surfaces ---- */
  --bg:        #ffffff;
  --bg-2:      #f4f7fe;   /* very light blue   */
  --bg-soft:   #eef3fc;
  --surface:   #ffffff;
  --surface-2: #f6f9ff;

  --border:        rgba(20, 40, 90, 0.10);
  --border-strong: rgba(20, 40, 90, 0.17);

  /* ---- Text ---- */
  --text:       #0c1424;   /* near-black navy */
  --text-muted: #525f78;
  --text-faint: #8a96ab;

  /* ---- Brand: blue ---- */
  --blue:      #2563eb;
  --blue-600:  #1d4ed8;
  --blue-400:  #60a5fa;
  --sky:       #0ea5e9;
  --cyan:      #22d3ee;

  /* ---- CTA: black ---- */
  --cta-bg:    #0a0c12;
  --cta-text:  #ffffff;

  --grad-brand: linear-gradient(120deg, #2563eb 0%, #3b82f6 50%, #0ea5e9 100%);
  --grad-text:  linear-gradient(120deg, #1d4ed8 0%, #2563eb 48%, #0ea5e9 100%);

  /* ---- Type ---- */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- Spacing / shape ---- */
  --radius:    18px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter:    clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 12vh, 150px);

  /* ---- Motion ---- */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:       0.7s;

  /* ---- Elevation (soft, light-theme shadows) ---- */
  --shadow-sm: 0 1px 2px rgba(16,24,40,0.06), 0 2px 6px rgba(16,24,40,0.06);
  --shadow:    0 12px 30px -14px rgba(16,30,70,0.22);
  --shadow-lg: 0 34px 70px -28px rgba(20,40,110,0.32);
  --shadow-cta:0 14px 30px -10px rgba(10,12,18,0.5);
  --glow-blue: 0 16px 40px -14px rgba(37,99,235,0.45);
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient light-blue page wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 12% -5%, rgba(37,99,235,0.10), transparent 60%),
    radial-gradient(820px 600px at 100% 6%, rgba(14,165,233,0.09), transparent 55%),
    radial-gradient(700px 700px at 50% 112%, rgba(37,99,235,0.06), transparent 60%),
    var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   OVERLAYS: progress, cursor glow, grain
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 100;
  background: var(--grad-brand);
  box-shadow: 0 0 16px rgba(37,99,235,0.6);
  transition: width 0.1s linear;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 440px; height: 440px;
  margin: -220px 0 0 -220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(37,99,235,0.10), transparent 60%);
  transition: transform 0.18s var(--ease-soft), opacity 0.3s;
  opacity: 0;
  will-change: transform;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.02;
  mix-blend-mode: multiply;
  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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  --pad-y: 0.7rem; --pad-x: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
  will-change: transform;
}
.btn-lg { --pad-y: 0.95rem; --pad-x: 1.7rem; font-size: 1.02rem; }

/* Black CTA */
.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-text);
  box-shadow: var(--shadow-cta);
}
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(255,255,255,0.22), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { box-shadow: 0 20px 42px -12px rgba(10,12,18,0.6); transform: translateY(-1px); }
.btn-primary:hover::after { opacity: 1; }

/* White ghost */
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--bg-2); border-color: rgba(37,99,235,0.4); }

.btn .play {
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.4s var(--ease-soft), backdrop-filter 0.4s, border-color 0.4s, box-shadow 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -22px rgba(20,40,110,0.4);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
  transition: padding 0.4s var(--ease-soft);
}
.scrolled .nav { padding-block: 0.7rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--glow-blue);
}

.nav-links { display: flex; gap: 0.4rem; }
.nav-links a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-2); }

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.ghost-link { color: var(--text-muted); font-weight: 500; font-size: 0.94rem; transition: color 0.25s; }
.ghost-link:hover { color: var(--text); }

.nav-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

.aurora { position: absolute; inset: 0; z-index: -1; filter: blur(8px); }
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  will-change: transform;
}
.aurora .a1 { width: 560px; height: 560px; top: -140px; left: -90px;  background: radial-gradient(circle, var(--blue), transparent 70%); animation: drift1 18s var(--ease-soft) infinite alternate; }
.aurora .a2 { width: 500px; height: 500px; top: 20px;  right: -70px; background: radial-gradient(circle, var(--sky), transparent 70%); animation: drift2 22s var(--ease-soft) infinite alternate; }
.aurora .a3 { width: 440px; height: 440px; bottom: -160px; left: 38%; background: radial-gradient(circle, var(--cyan), transparent 70%); opacity: 0.28; animation: drift3 26s var(--ease-soft) infinite alternate; }

@keyframes drift1 { to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-50px, 30px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(40px, -50px) scale(1.2); } }

.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(20,40,90,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,40,90,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 30%, transparent 75%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; transform: scale(0.8); } }

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  font-weight: 800;
  margin-top: 1.5rem;
  letter-spacing: -0.035em;
  color: var(--text);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .w {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  opacity: 0;
}
.hero-title .w.is-in {
  transform: translateY(0) rotate(0);
  opacity: 1;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}

.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 31em;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero-meta { display: flex; align-items: center; gap: 0.9rem; margin-top: 2.4rem; color: var(--text-muted); font-size: 0.92rem; }
.hero-meta strong { color: var(--text); }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  margin-left: -10px;
  border: 2px solid var(--bg);
  background: var(--grad-brand);
}
.avatars span:nth-child(1) { margin-left: 0; background: linear-gradient(135deg, #2563eb, #22d3ee); }
.avatars span:nth-child(2) { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #0ea5e9, #1d4ed8); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #22d3ee, #3b82f6); }

/* Hero visual */
.hero-visual { position: relative; height: 100%; min-height: 440px; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.orb-glow {
  width: 320px; height: 320px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 90deg, var(--blue), var(--sky), var(--cyan), var(--blue));
  filter: blur(52px);
  opacity: 0.4;
  animation: spin 16s linear infinite;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  will-change: transform;
}
.card-main {
  width: min(360px, 90%);
  top: 8%; left: 4%;
  padding: 14px;
}
.fc-head { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; }
.fc-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.fc-head .r { background: #ff5f57; } .fc-head .y { background: #febc2e; } .fc-head .g { background: #28c840; }
.fc-title { margin-left: 8px; font-size: 0.72rem; color: var(--text-faint); font-family: var(--font-display); }
.fc-body { display: flex; flex-direction: column; gap: 10px; }
.fc-bar { height: 9px; border-radius: 6px; background: var(--bg-soft); }
.fc-bar.w70 { width: 70%; background: var(--grad-brand); }
.fc-bar.w90 { width: 90%; }
.fc-img { height: 110px; border-radius: 12px; background: linear-gradient(135deg, rgba(37,99,235,0.35), rgba(34,211,238,0.25)); margin-block: 4px; }
.fc-row { display: flex; gap: 8px; }
.fc-pill { height: 26px; flex: 1; border-radius: 8px; background: var(--bg-soft); }
.fc-pill.alt { background: var(--grad-brand); flex: 0 0 40%; }

.card-stat {
  bottom: 14%; left: 0;
  padding: 16px 18px;
  display: flex; flex-direction: column;
}
.cs-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.cs-value { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; line-height: 1; margin-top: 4px; color: var(--text); }
.cs-value small { font-size: 0.9rem; color: var(--text-faint); font-weight: 500; }
.cs-spark { display: block; height: 5px; width: 90px; margin-top: 10px; border-radius: 6px; background: var(--grad-brand); }

.card-chip {
  top: 12%; right: 0;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}
.chip-ic { font-size: 1.3rem; }
.chip-t { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--text); }
.chip-s { display: block; font-size: 0.78rem; color: var(--text-muted); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-faint);
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  font-family: var(--font-display);
}
.mouse { width: 22px; height: 36px; border: 1.5px solid var(--border-strong); border-radius: 12px; display: grid; justify-items: center; padding-top: 6px; }
.mouse span { width: 3px; height: 7px; border-radius: 3px; background: var(--blue); animation: scrolly 1.6s infinite; }
@keyframes scrolly { 0% { opacity:0; transform: translateY(-3px);} 40%{opacity:1;} 80%{opacity:0; transform: translateY(8px);} }

/* =========================================================
   LOGO MARQUEE
   ========================================================= */
.logos { padding-block: 56px; border-block: 1px solid var(--border); background: var(--bg-2); }
.logos-label { text-align: center; color: var(--text-faint); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-display); margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 4rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--text-faint); letter-spacing: -0.01em; transition: color 0.3s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span:hover { color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head { max-width: 42rem; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--text); }
.section-lead { margin-top: 1.2rem; color: var(--text-muted); font-size: 1.08rem; }

/* =========================================================
   FEATURES
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}
.feature-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.fc-ic {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--glow-blue);
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text); }
.feature-card p { color: var(--text-muted); font-size: 0.98rem; }
.fc-glow {
  position: absolute;
  width: 220px; height: 220px;
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(37,99,235,0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.feature-card:hover .fc-glow { opacity: 1; }

/* =========================================================
   STATS
   ========================================================= */
.stats { border-block: 1px solid var(--border); background: var(--bg-2); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; margin-top: 0.6rem; color: var(--text-muted); font-size: 0.92rem; }

/* =========================================================
   SHOWCASE (sticky scroll)
   ========================================================= */
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.showcase-sticky { position: sticky; top: 14vh; }

.device {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-style: preserve-3d;
}
.device-screen { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.ds-panel { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.ds-panel.is-active { opacity: 1; transform: scale(1); }
.ds-1 { background: linear-gradient(135deg, rgba(37,99,235,0.5), rgba(34,211,238,0.3)); }
.ds-2 { background: linear-gradient(135deg, rgba(14,165,233,0.5), rgba(59,130,246,0.35)); }
.ds-3 { background: linear-gradient(135deg, rgba(34,211,238,0.45), rgba(37,99,235,0.45)); }
.device-glow { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(37,99,235,0.18), transparent 40%); animation: spin 8s linear infinite; z-index: -1; }

.showcase-steps { display: flex; flex-direction: column; gap: 14px; padding-block: 8vh; }
.showcase-steps .eyebrow { margin-bottom: 1.5rem; }
.step {
  padding: 26px 26px 26px 30px;
  border-left: 2px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: transparent;
  transition: background 0.4s, border-color 0.4s;
  min-height: 30vh;
  display: flex; flex-direction: column; justify-content: center;
}
.step.is-active { background: var(--bg-2); border-left-color: var(--blue); }
.step-no { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; color: var(--blue); letter-spacing: 0.1em; }
.step h3 { font-size: 1.6rem; margin: 0.5rem 0 0.6rem; color: var(--text); }
.step p { color: var(--text-muted); }

/* =========================================================
   BENTO
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.bento-cell {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}
.bento-cell:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.bento-cell.big { grid-column: span 2; grid-row: span 2; }
.bento-cell.wide { grid-column: span 2; }
.bento-tag { display: inline-block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue); font-family: var(--font-display); font-weight: 600; }
.bento-cell h3 { font-size: 1.4rem; margin-top: 0.5rem; color: var(--text); }
.bento-cell p { color: var(--text-muted); margin-top: 0.4rem; font-size: 0.95rem; max-width: 24em; }
.bento-art { position: absolute; inset: auto 0 0 0; pointer-events: none; }
.art-mesh { height: 60%; background: radial-gradient(closest-side at 70% 80%, rgba(37,99,235,0.4), transparent), radial-gradient(closest-side at 30% 90%, rgba(34,211,238,0.35), transparent); filter: blur(6px); }
.art-orb { width: 140px; height: 140px; right: -30px; bottom: -30px; left: auto; border-radius: 50%; background: conic-gradient(from 0deg, var(--blue), var(--sky), var(--cyan), var(--blue)); filter: blur(8px); opacity: 0.55; animation: spin 12s linear infinite; }
.art-grid { inset: auto 20px 20px 20px; height: 90px; background-image: linear-gradient(rgba(20,40,90,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(20,40,90,0.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(#000, transparent); }
.art-swatches { display: flex; gap: 10px; inset: auto 26px 26px 26px; }
.art-swatches i { flex: 1; height: 40px; border-radius: 10px; }
.art-swatches i:nth-child(1){ background:var(--blue);} .art-swatches i:nth-child(2){ background:var(--blue-400);} .art-swatches i:nth-child(3){ background:var(--sky);} .art-swatches i:nth-child(4){ background:var(--cyan);} .art-swatches i:nth-child(5){ background:var(--cta-bg);}

/* =========================================================
   QUOTE
   ========================================================= */
.quote-section { text-align: center; }
.quote { max-width: 50rem; margin-inline: auto; }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.6rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--text); }
.quote em { font-style: normal; color: var(--blue); }
.quote footer { display: inline-flex; align-items: center; gap: 12px; margin-top: 2rem; }
.q-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #22d3ee); }
.quote footer strong { display: block; font-family: var(--font-display); color: var(--text); }
.quote footer small { color: var(--text-muted); }
.quote footer span:last-child { text-align: left; }

/* =========================================================
   CTA  (light card, black buttons pop)
   ========================================================= */
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 8vw, 90px) var(--gutter);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--bg-soft), var(--surface));
  box-shadow: var(--shadow);
}
.cta-aurora {
  position: absolute; inset: -50%;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(37,99,235,0.35), transparent),
    radial-gradient(closest-side at 70% 60%, rgba(14,165,233,0.3), transparent),
    radial-gradient(closest-side at 50% 80%, rgba(34,211,238,0.25), transparent);
  filter: blur(46px);
  opacity: 0.7;
  animation: ctafloat 16s var(--ease-soft) infinite alternate;
  z-index: -1;
}
@keyframes ctafloat { to { transform: translate(30px, -20px) scale(1.1); } }
.cta-card h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--text); }
.cta-card p { color: var(--text-muted); margin-top: 1rem; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.cta-fine { font-size: 0.85rem; color: var(--text-faint); margin-top: 1.6rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--border); padding-block: 64px 32px; margin-top: var(--section-y); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand p { color: var(--text-muted); margin-top: 1rem; max-width: 22em; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 1rem; color: var(--text); }
.footer-col a { display: block; color: var(--text-muted); padding-block: 0.35rem; font-size: 0.94rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--blue); }
.subscribe { display: flex; gap: 8px; }
.subscribe input { flex: 1; min-width: 0; padding: 0.7rem 1rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-family: var(--font-body); }
.subscribe input::placeholder { color: var(--text-faint); }
.subscribe input:focus { outline: none; border-color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 0.86rem; flex-wrap: wrap; gap: 10px; }

/* =========================================================
   REVEAL ANIMATION (JS-driven)
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-sticky { position: relative; top: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.big { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: var(--surface); border: 1px solid var(--border-strong);
    width: 42px; height: 42px; border-radius: 12px;
    align-items: center; justify-content: center; cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .bento { grid-template-columns: 1fr; }
  .bento-cell.big, .bento-cell.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ACCESSIBILITY — reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .hero-title .w { opacity: 1 !important; transform: none !important; }
  .cursor-glow { display: none; }
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* =========================================================
   HBC ADDITIONS — brand sublabel, inner pages, blog, contact
   ========================================================= */

/* Brand with sublabel */
.brand-name { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-sub { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }
.nav-links a.active { color: var(--text); background: var(--bg-2); }

/* ---- Inner page hero ---- */
.page-hero {
  position: relative;
  padding: clamp(140px, 20vh, 200px) 0 clamp(50px, 8vh, 90px);
  overflow: hidden;
  text-align: center;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: inline-flex; gap: 0.4rem; color: var(--text-faint); font-size: 0.85rem; margin-bottom: 1.4rem; font-family: var(--font-display); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--text-faint); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
.page-hero .lead { max-width: 40rem; margin: 1.4rem auto 0; color: var(--text-muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }

/* ---- Generic prose ---- */
.prose { max-width: 46rem; }
.prose p { color: var(--text-muted); font-size: 1.06rem; margin-bottom: 1.2rem; }
.prose p strong { color: var(--text); }

/* ---- Two-column story ---- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(37,99,235,0.16), rgba(34,211,238,0.12)), var(--bg-soft);
  display: grid; place-items: center;
}
.split-visual .badge {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-align: center; padding: 1rem;
}
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.split p { color: var(--text-muted); margin-bottom: 1rem; }

/* ---- Founder card ---- */
.founder {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.founder-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue), var(--sky) 60%, var(--cyan));
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 3.4rem;
  box-shadow: var(--glow-blue);
}
.founder h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.founder .role { color: var(--blue); font-family: var(--font-display); font-weight: 600; margin-top: 0.3rem; }
.founder p { color: var(--text-muted); margin-top: 1rem; }
.credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4rem; list-style: none; padding: 0; }
.credentials li {
  font-size: 0.82rem; font-family: var(--font-display); font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
}

/* ---- Journey (numbered vertical) ---- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: jn; }
.journey-step {
  position: relative; padding: 30px 26px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.journey-step .jn {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad-brand); color: #fff;
  font-family: var(--font-display); font-weight: 800; margin-bottom: 16px;
  box-shadow: var(--glow-blue);
}
.journey-step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.journey-step p { color: var(--text-muted); font-size: 0.97rem; }

/* ---- Blog ---- */
.category-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.cat-pill {
  font-family: var(--font-display); font-weight: 600; font-size: 0.88rem;
  padding: 0.5rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-muted);
  cursor: pointer; transition: all 0.25s;
}
.cat-pill:hover { color: var(--text); border-color: rgba(37,99,235,0.4); }
.cat-pill.active { background: var(--cta-bg); color: #fff; border-color: var(--cta-bg); }

.blog-featured {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow); margin-bottom: 40px;
}
.blog-featured .thumb { min-height: 320px; }
.blog-featured .bf-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.blog-featured h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0.8rem 0; }
.blog-featured p { color: var(--text-muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.post-card .thumb { height: 190px; }
.post-card .pc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card h3 { font-size: 1.22rem; line-height: 1.2; }
.post-card p { color: var(--text-muted); font-size: 0.95rem; }
.post-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--text-faint); font-family: var(--font-display); margin-top: auto; padding-top: 0.6rem; }
.post-meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }
.read-more { color: var(--blue); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; }

/* Category-tinted thumbnails */
.thumb { position: relative; overflow: hidden; background: var(--bg-soft); }
.thumb::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px); background-size: 26px 26px; mix-blend-mode: overlay; }
.thumb .tag { position: absolute; top: 14px; left: 14px; z-index: 1; font-family: var(--font-display); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(255,255,255,0.9); color: var(--text); }
.t-leadership { background: linear-gradient(150deg, #2563eb, #0ea5e9); }
.t-life       { background: linear-gradient(150deg, #0ea5e9, #22d3ee); }
.t-family     { background: linear-gradient(150deg, #1d4ed8, #3b82f6); }
.t-masterclass{ background: linear-gradient(150deg, #3b82f6, #22d3ee); }
.t-money      { background: linear-gradient(150deg, #1e40af, #2563eb); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact-form {
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; }
.field input, .field textarea, .field select {
  padding: 0.85rem 1rem; border-radius: 14px;
  border: 1px solid var(--border-strong); background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 0.98rem; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.info-card {
  padding: 26px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.info-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: 0; }
.info-item .ic { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); color: var(--blue); }
.info-item .it-label { font-size: 0.78rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-display); }
.info-item .it-value { color: var(--text); font-weight: 500; }
.info-item a.it-value:hover { color: var(--blue); }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); transition: all 0.25s; }
.socials a:hover { background: var(--cta-bg); color: #fff; border-color: var(--cta-bg); transform: translateY(-3px); }

.note-banner {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(37,99,235,0.07); border: 1px solid rgba(37,99,235,0.2);
  color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px;
}

/* Section helper */
.section.tight { padding-block: clamp(48px, 8vh, 90px); }
.text-center { text-align: center; }

/* ---- Responsive (HBC additions) ---- */
@media (max-width: 980px) {
  .split, .founder, .blog-featured, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .journey { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured .thumb { min-height: 220px; }
  .founder-portrait { max-width: 280px; }
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* =========================================================
   SINGLE ARTICLE (post.html)
   ========================================================= */
.article-hero { position: relative; padding: clamp(130px, 18vh, 190px) 0 24px; overflow: hidden; text-align: center; }
.article-hero .aurora { opacity: 0.7; }
.article-hero .container { position: relative; z-index: 1; max-width: 800px; }
.article-hero .breadcrumb { justify-content: center; }
.article-cat { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.4rem 0.9rem; border-radius: 999px; color: #fff; background: var(--grad-brand); margin-bottom: 1.2rem; }
.article-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); letter-spacing: -0.03em; font-weight: 800; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; justify-content: center; margin-top: 1.5rem; color: var(--text-muted); font-size: 0.92rem; font-family: var(--font-display); }
.article-meta .a-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.8rem; }
.article-meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }

.article-cover {
  max-width: 1000px; margin: clamp(28px, 5vw, 48px) auto 0;
  aspect-ratio: 16 / 8; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}

.article-body { max-width: 720px; margin: 0 auto; padding-block: clamp(40px, 6vw, 68px); }
.article-body p { color: #2f3a50; font-size: 1.12rem; line-height: 1.85; margin-bottom: 1.4rem; }
.article-body .lead-para { font-size: 1.3rem; line-height: 1.7; color: var(--text); font-family: var(--font-display); font-weight: 500; }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2.2rem 0 0.8rem; color: var(--text); }
.article-body h3 { font-size: 1.3rem; margin: 1.8rem 0 0.6rem; color: var(--text); }
.article-body ul, .article-body ol { padding-left: 1.3rem; margin-bottom: 1.4rem; color: #2f3a50; }
.article-body li { margin-bottom: 0.55rem; font-size: 1.08rem; line-height: 1.7; }
.article-body blockquote {
  margin: 2rem 0; padding: 1.2rem 1.6rem;
  border-left: 3px solid var(--blue); background: var(--bg-2);
  border-radius: 0 14px 14px 0;
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.4; color: var(--text);
}
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body .inline-img { width: 100%; aspect-ratio: 16/9; border-radius: 16px; margin: 1.8rem 0; border: 1px solid var(--border); }

.author-box {
  display: flex; gap: 18px; align-items: center;
  max-width: 720px; margin: 8px auto 0; padding: 24px 26px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.author-box .ab-avatar { flex: 0 0 64px; height: 64px; border-radius: 50%; background: linear-gradient(160deg, var(--blue), var(--sky) 60%, var(--cyan)); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.author-box h4 { font-size: 1.15rem; }
.author-box .role { color: var(--blue); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; margin: 2px 0 6px; }
.author-box p { color: var(--text-muted); font-size: 0.95rem; }

.article-foot { max-width: 720px; margin: 26px auto 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); }
.share { display: flex; gap: 10px; align-items: center; }
.share .s-label { color: var(--text-faint); font-size: 0.85rem; font-family: var(--font-display); }
.back-link { color: var(--text-muted); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.back-link:hover { color: var(--blue); }

@media (max-width: 720px) {
  .article-foot { flex-direction: column-reverse; align-items: flex-start; }
}

/* =========================================================
   WORDPRESS INTEGRATION OVERRIDES
   ========================================================= */

/* wp_nav_menu outputs a <ul> — reset list styling, keep the pill look */
.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links li { display: flex; }
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-parent > a,
.nav-links a.active { color: var(--text); background: var(--bg-2); }

/* Founder photo (About) */
.founder-portrait { overflow: hidden; }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

/* Avatar images inside circular badges */
.a-avatar img, .ab-avatar img, .q-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }

/* Real featured images sit behind the grid overlay nicely */
.thumb { background-size: cover; background-position: center; }

/* Admin bar offset for the fixed header */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* WordPress core alignment + caption helpers inside article body */
.article-body .alignwide { width: min(100%, 980px); margin-inline: auto; }
.article-body .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; }
.article-body .aligncenter { display: block; margin-inline: auto; }
.article-body .wp-block-image img, .article-body img { border-radius: 16px; height: auto; }
.article-body figcaption { color: var(--text-faint); font-size: 0.88rem; text-align: center; margin-top: 0.6rem; }
.article-body .wp-block-quote, .article-body .wp-block-pullquote { margin: 2rem 0; padding: 1.2rem 1.6rem; border-left: 3px solid var(--blue); background: var(--bg-2); border-radius: 0 14px 14px 0; }

/* Pagination */
.hbc-pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 48px; }
.hbc-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px;
  border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text); font-family: var(--font-display); font-weight: 600; transition: all 0.25s;
}
.hbc-pagination .page-numbers:hover { border-color: rgba(37,99,235,0.4); }
.hbc-pagination .page-numbers.current { background: var(--cta-bg); color: #fff; border-color: var(--cta-bg); }

/* Form feedback banners */
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-size: 0.95rem; }
.form-alert.ok  { background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.35); color: #166534; }
.form-alert.err { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.30); color: #991b1b; }

/* Custom logo — resizable via Customizer → Site Identity → "Logo height" */
:root { --logo-height: 40px; }
.custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.custom-logo { height: var(--logo-height, 40px); width: auto; max-width: 240px; display: block; }
