:root {
  --hbcodex-color-primary: var(--wp--custom--hbcodex--color--primary, #2d6bff);
  --hbcodex-color-text: var(--wp--custom--hbcodex--color--text, #f5f7fa);
  --hbcodex-font-body: var(--wp--custom--hbcodex--font--body, var(--wp--preset--font-family--body, "Manrope", sans-serif));
  --hbcodex-container-width: var(--wp--custom--hbcodex--layout--container-width, 1120px);
  --hbcodex-btn-radius: var(--wp--custom--hbcodex--button--radius, 999px);
  --primary-midnight-black: #0b0d12;
  --primary-anthracite: #151a22;
  --primary-deep-navy: #0f1a2b;
  --secondary-graphite: #222a36;
  --secondary-steel: #2e3747;
  --secondary-slate: #3b465a;
  --accent-neon-blue: var(--hbcodex-color-primary);
  --accent-cyan: #35d0ff;
  --accent-electric-purple: #7a4dff;
  --neutral-off-white: var(--hbcodex-color-text);
  --neutral-cool-gray-100: #e6ebf2;
  --neutral-cool-gray-300: #c7d0dc;
  --bg-main: var(--primary-midnight-black);
  --bg-elev: var(--primary-anthracite);
  --bg-elev-soft: var(--primary-deep-navy);
  --line: rgba(199, 208, 220, 0.26);
  --line-soft: rgba(199, 208, 220, 0.16);
  --text: var(--neutral-off-white);
  --text-muted: var(--neutral-cool-gray-300);
  --accent: var(--accent-neon-blue);
  --accent-alt: var(--accent-cyan);
  --accent-2: var(--accent-electric-purple);
  --radius-lg: 1.3rem;
  --radius-sm: 0.8rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--hbcodex-font-body);
  background: radial-gradient(circle at 16% 16%, rgba(53, 208, 255, 0.17) 0%, transparent 38%),
    radial-gradient(circle at 82% 5%, rgba(122, 77, 255, 0.18) 0%, transparent 34%),
    var(--bg-main);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

.background-layers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.32;
  animation: drift 11s ease-in-out infinite;
}

.glow-a {
  top: -6rem;
  left: -8rem;
  background: var(--accent-alt);
}

.glow-b {
  right: -10rem;
  bottom: -8rem;
  background: var(--accent-2);
  animation-delay: 0.9s;
}

.grid-mask {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 25%, transparent 82%);
  opacity: 0.22;
}

.noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245, 247, 250, 0.14) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.04;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.scrolled {
  background: rgba(11, 13, 18, 0.8);
  backdrop-filter: blur(10px);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: clamp(150px, 20vw, 240px);
  height: auto;
  display: block;
}

.brand .custom-logo-link {
  display: inline-flex;
}

.brand .custom-logo {
  width: clamp(150px, 20vw, 240px);
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  left: 1rem;
  top: 0.75rem;
  z-index: 120;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #02111f;
  font-weight: 700;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
}

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
}

.main-nav {
  display: flex;
}

.main-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--text);
}

.hbcodex-nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hbcodex-search-form input {
  width: 14rem;
  max-width: 34vw;
  border: 1px solid var(--line-soft);
  border-radius: 0.7rem;
  background: rgba(34, 42, 54, 0.7);
  color: var(--text);
  font: inherit;
  padding: 0.52rem 0.72rem;
}

.hbcodex-search-form input:focus {
  outline: 0;
  border-color: rgba(53, 208, 255, 0.65);
}

.hbcodex-menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(34, 42, 54, 0.48);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
}

.hbcodex-menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border-radius: var(--hbcodex-btn-radius);
  background: linear-gradient(130deg, var(--accent), var(--accent-alt));
  color: var(--primary-midnight-black);
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 0;
  padding: 0.78rem 1.25rem;
  box-shadow: 0 10px 32px rgba(45, 107, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(45, 107, 255, 0.38);
}

.btn-small {
  font-size: 0.92rem;
  padding: 0.56rem 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: rgba(230, 235, 242, 0.5);
}

.section {
  width: min(var(--hbcodex-container-width), 92vw);
  margin: 0 auto;
  padding: 4.8rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-top: 5.2rem;
}

.contact-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  padding-top: 4.2rem;
}

.eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-alt);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 4.1rem);
}

h2 {
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--text-muted);
}

.cms-slot .cms-widget {
  margin: 0;
}

.cms-slot .cms-widget + .cms-widget {
  margin-top: 0.9rem;
}

.cms-slot :is(h1, h2, h3, h4, h5, h6) {
  margin: 0 0 0.65rem;
}

.cms-slot ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.cms-slot li {
  color: var(--neutral-cool-gray-100);
}

.workflow-panel.cms-slot :is(h1, h2) {
  font-size: 1.2rem;
}

.feature-card.cms-slot :is(h1, h2),
.service-card.cms-slot :is(h1, h2),
.team-card.cms-slot :is(h1, h2),
.impact-card.cms-slot :is(h1, h2) {
  font-size: 1.2rem;
}

.marquee-track .cms-widget {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
}

.marquee-track .cms-widget p {
  color: var(--neutral-cool-gray-100);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline;
}

.lead {
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-metrics {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-metrics li {
  background: rgba(46, 55, 71, 0.34);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.85rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.08rem;
  color: var(--text);
}

.hero-metrics span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.workflow-panel {
  background: linear-gradient(170deg, rgba(34, 42, 54, 0.9), rgba(15, 26, 43, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}

.spot-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --spot-tx: 0%;
  --spot-ty: 0%;
  --spot-opacity: 0;
  --spot-size: 280px;
  --spot-blur: 92px;
}

.spot-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  display: block;
  width: var(--spot-size);
  height: var(--spot-size);
  transform: translate(-50%, -50%) translate(var(--spot-tx), var(--spot-ty));
  border-radius: 100%;
  background: radial-gradient(circle at 35% 35%, rgba(53, 208, 255, 0.95), rgba(122, 77, 255, 0.88) 62%, rgba(45, 107, 255, 0.55) 100%);
  opacity: var(--spot-opacity);
  filter: blur(var(--spot-blur)) saturate(128%);
  will-change: transform, opacity;
  pointer-events: none;
  transition: opacity 0.2s ease-out, transform 0.34s ease-out;
}

.spot-card > * {
  position: relative;
  z-index: 1;
}

.panel-head {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(199, 208, 220, 0.3);
}

.flow-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.65rem;
}

.flow-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.66rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: rgba(46, 55, 71, 0.22);
}

.flow-list span {
  font-size: 0.72rem;
  min-width: 2rem;
  padding: 0.26rem 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--neutral-off-white);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.status-bar {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(53, 208, 255, 0.42);
  background: rgba(53, 208, 255, 0.12);
}

.status-bar p {
  font-size: 0.8rem;
}

.status-bar strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--text);
}

.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 0.8rem;
  background: rgba(34, 42, 54, 0.28);
}

.marquee {
  width: min(1120px, 92vw);
  margin: 0 auto;
  overflow: hidden;
  padding: 0.8rem 0;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: march 22s linear infinite;
}

.marquee-track span {
  color: var(--neutral-cool-gray-100);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card,
.service-card,
.impact-card,
.team-card {
  background: linear-gradient(165deg, rgba(34, 42, 54, 0.92), rgba(15, 26, 43, 0.96));
  border-radius: 1rem;
  border: 1px solid var(--line);
  padding: 1.1rem;
}

.profile-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background: linear-gradient(165deg, rgba(34, 42, 54, 0.92), rgba(15, 26, 43, 0.96));
  border-radius: 1rem;
  border: 1px solid var(--line);
  padding: 1.1rem;
}

.profile-image {
  width: 136px;
  height: 136px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.profile-role {
  color: var(--neutral-cool-gray-100);
  font-weight: 700;
}

.inline-link {
  color: var(--accent-alt);
  text-decoration: none;
  font-weight: 700;
}

.inline-link:hover {
  color: var(--text);
}

.contact-form-wrap {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(165deg, rgba(34, 42, 54, 0.92), rgba(15, 26, 43, 0.96));
  padding: 1.2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--neutral-cool-gray-100);
  font-size: 0.92rem;
}

.contact-form label:last-of-type {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 0.7rem;
  background: rgba(46, 55, 71, 0.22);
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.8rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: rgba(53, 208, 255, 0.65);
  box-shadow: 0 0 0 2px rgba(53, 208, 255, 0.15);
}

.contact-form button {
  width: fit-content;
}

.section-head {
  margin-bottom: 1.2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.service-card {
  min-height: 10rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 208, 255, 0.55);
}

.split-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.timeline ol {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(46, 55, 71, 0.22);
  padding: 0.75rem;
}

.timeline strong {
  font-family: "Space Grotesk", sans-serif;
  color: var(--neutral-off-white);
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  min-width: 2.35rem;
  border-radius: 999px;
  text-align: center;
  padding: 0.3rem 0.2rem;
}

.impact-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.05rem;
}

.impact-card li {
  margin: 0.2rem 0;
  color: var(--neutral-cool-gray-100);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.team-card {
  min-height: 8.6rem;
}

.team-card p {
  font-size: 0.9rem;
}

.final-cta {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: linear-gradient(165deg, rgba(34, 42, 54, 0.88), rgba(15, 26, 43, 0.96));
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 68ch;
  margin: 0 auto 1.2rem;
}

.site-footer {
  width: min(var(--hbcodex-container-width), 92vw);
  margin: 2rem auto 0;
  padding: 1.5rem 0 2.5rem;
  color: var(--neutral-cool-gray-300);
  font-size: 0.83rem;
  border-top: 1px solid var(--line);
}

.hbcodex-footer-widgets {
  display: grid;
  grid-template-columns: repeat(var(--hbcodex-footer-columns), minmax(0, 1fr));
  gap: 1rem;
}

.hbcodex-footer-widget-col .widget {
  background: rgba(34, 42, 54, 0.45);
  border: 1px solid var(--line-soft);
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.hbcodex-footer-nav {
  margin-top: 1rem;
}

.hbcodex-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
}

.hbcodex-footer-menu a {
  color: var(--neutral-cool-gray-100);
  text-decoration: none;
}

.hbcodex-footer-menu a:hover {
  color: var(--text);
}

.hbcodex-footer-copy {
  margin-top: 1rem;
}

.hbcodex-scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(34, 42, 54, 0.9);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hbcodex-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hbcodex-content-wrap {
  display: grid;
  gap: 1rem;
}

.hbcodex-content-wrap.has-sidebar.sidebar-left {
  grid-template-columns: 280px 1fr;
}

.hbcodex-content-wrap.has-sidebar.sidebar-right {
  grid-template-columns: 1fr 280px;
}

.hbcodex-main-content {
  min-width: 0;
}

.hbcodex-sidebar .widget {
  background: rgba(34, 42, 54, 0.45);
  border: 1px solid var(--line-soft);
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.posts-grid {
  display: grid;
  gap: var(--hbcodex-blog-gap);
  grid-template-columns: repeat(var(--hbcodex-blog-columns), minmax(0, 1fr));
}

.hbcodex-post-card {
  background: linear-gradient(165deg, rgba(34, 42, 54, 0.92), rgba(15, 26, 43, 0.96));
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.hbcodex-post-thumb {
  display: block;
}

.hbcodex-post-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.hbcodex-post-card-body {
  padding: 1rem;
}

.hbcodex-post-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.hbcodex-post-title a {
  color: var(--text);
  text-decoration: none;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}

.entry-meta a {
  color: var(--neutral-cool-gray-100);
  text-decoration: none;
}

.hbcodex-entry-content > * + * {
  margin-top: 1rem;
}

.hbcodex-hide-meta-author .entry-author,
.hbcodex-hide-single-meta-author .single-post .entry-author {
  display: none;
}

.hbcodex-hide-meta-date .entry-date-wrap,
.hbcodex-hide-single-meta-date .single-post .entry-date-wrap {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes march {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 1rem, 0) scale(1.07);
  }
}

@media (max-width: 980px) {
  .hbcodex-menu-toggle {
    display: inline-flex;
  }

  .hbcodex-nav-wrap {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.45rem);
    min-width: 250px;
    max-width: calc(100vw - 2rem);
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: rgba(11, 13, 18, 0.96);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .hbcodex-nav-wrap.is-open {
    display: flex;
  }

  .main-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .main-nav-list a {
    display: block;
    border-radius: 0.5rem;
    padding: 0.5rem 0.55rem;
    background: rgba(34, 42, 54, 0.35);
  }

  .hbcodex-search-form input {
    max-width: 100%;
    width: 100%;
  }

  .hero,
  .contact-hero,
  .two-col,
  .split-band {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hbcodex-content-wrap.has-sidebar.sidebar-left,
  .hbcodex-content-wrap.has-sidebar.sidebar-right {
    grid-template-columns: 1fr;
  }

  .posts-grid {
    grid-template-columns: repeat(min(2, var(--hbcodex-blog-columns)), minmax(0, 1fr));
  }

  .hbcodex-footer-widgets {
    grid-template-columns: repeat(min(2, var(--hbcodex-footer-columns)), minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.4rem 0;
  }

  .services-grid,
  .feature-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .btn-small {
    display: none;
  }

  .brand-logo {
    width: clamp(126px, 42vw, 185px);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .hbcodex-footer-widgets {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .spot-card::before {
    opacity: 0;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Gutenberg editor safety: keep animated elements visible/editable in editor iframe. */
.editor-styles-wrapper .reveal,
.editor-styles-wrapper .reveal.in {
  opacity: 1 !important;
  transform: none !important;
}

.editor-styles-wrapper .tilt-card {
  transform: none !important;
}

.editor-styles-wrapper .marquee-track {
  animation: none;
}
