/* =========================================================
   BOLD Studio — Brand Override CSS
   Loaded after main.css on every page
   ========================================================= */

/* ── Fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: 'F37 Drago';
  src: url('../fonts/bold/F37DragoTrial-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'F37 Drago';
  src: url('../fonts/bold/F37DragoTrial-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'F37 Drago';
  src: url('../fonts/bold/F37DragoTrial-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roobert Arabic';
  src: url('../fonts/bold/RoobertArabicVF-TRIAL.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Brand Tokens ──────────────────────────────────────── */
:root {
  --at-theme-primary: #5510FF;
  --at-theme-primary-rgb: 85, 16, 255;
  --at-ff-heading: 'F37 Drago', sans-serif;
  --at-ff-body: 'Roobert Arabic', sans-serif;
  --bold-purple: #5510FF;
  --bold-black: #000000;
  --bold-white: #F2F2F2;
}

/* ── Typography ────────────────────────────────────────── */
body {
  font-family: var(--at-ff-body);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--at-ff-heading);
}

/* ── Bold Nav ──────────────────────────────────────────── */
.bold-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bold-nav a {
  font-family: var(--at-ff-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bold-nav a:hover,
.bold-nav a.active {
  color: var(--bold-purple);
}

/* Dark header variant */
.header-dark .bold-nav a {
  color: var(--at-neutral-300);
}

.header-dark .bold-nav a:hover,
.header-dark .bold-nav a.active {
  color: #fff;
}

/* ── Bold Logo ─────────────────────────────────────────── */
.bold-logo img,
.bold-brand-logo {
  height: 28px;
  width: auto;
  max-width: 160px;
}

.bold-hero-logo {
  width: 100%;
  max-width: 780px;
  height: auto;
  display: block;
}

/* Theme uses dedicated purple/white SVGs — disable template invert on header logos */
[data-bs-theme="dark"] .at-header-logo .bold-brand-logo,
[data-bs-theme="dark"] .at-offcanvas-logo .bold-brand-logo,
[data-bs-theme="dark"] .at-search-logo .bold-brand-logo {
  filter: none !important;
}

/* ScrollSmoother unavailable (e.g. file://) — use native scroll + working triggers */
html.no-scroll-smoother #smooth-content {
  pointer-events: auto;
}

html.no-scroll-smoother #smooth-content main {
  will-change: auto;
}

/* ── Bold CTA Button ───────────────────────────────────── */
.bold-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bold-purple);
  color: #fff;
  font-family: var(--at-ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--bold-purple);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.bold-btn-primary:hover {
  background: transparent;
  color: var(--bold-purple);
}

.bold-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--bold-black);
  font-family: var(--at-ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid var(--bold-black);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.bold-btn-outline:hover {
  background: var(--bold-black);
  color: #fff;
}

.bold-btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  font-family: var(--at-ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.4);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.bold-btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* ── Stats Ticker ──────────────────────────────────────── */
.bold-stats-ticker {
  border-top: 1px solid var(--at-neutral-100);
  border-bottom: 1px solid var(--at-neutral-100);
}

.bold-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 40px;
  border-right: 1px solid var(--at-neutral-100);
}

.bold-stat-item:last-child {
  border-right: none;
}

.bold-stat-number {
  font-family: var(--at-ff-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--bold-purple);
  line-height: 1;
}

.bold-stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--at-neutral-500);
}

/* ── Section Utilities ─────────────────────────────────── */
.bold-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--at-ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bold-purple);
  margin-bottom: 20px;
}

.bold-section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bold-purple);
}

.bold-section-title {
  font-family: var(--at-ff-heading);
  font-weight: 700;
  line-height: 1.05;
  color: var(--bold-black);
}

/* ── Service Cards ─────────────────────────────────────── */
.bold-service-card {
  border: 1px solid var(--at-neutral-100);
  padding: 40px 36px;
  transition: border-color 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.bold-service-card:hover {
  border-color: var(--bold-purple);
  transform: translateY(-4px);
  color: inherit;
}

.bold-service-num {
  font-family: var(--at-ff-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--at-neutral-300);
  margin-bottom: 32px;
}

.bold-service-title {
  font-family: var(--at-ff-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--bold-black);
  margin-bottom: 16px;
}

.bold-service-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--at-neutral-500);
  margin-bottom: 32px;
}

.bold-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bold-purple);
}

/* ── Portfolio Cards ───────────────────────────────────── */
.bold-portfolio-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.bold-portfolio-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bold-portfolio-card:hover img {
  transform: scale(1.04);
}

.bold-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bold-portfolio-card:hover .bold-portfolio-overlay {
  opacity: 1;
}

.bold-portfolio-overlay-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bold-purple);
  margin-bottom: 8px;
}

.bold-portfolio-overlay-title {
  font-family: var(--at-ff-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.bold-portfolio-meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.bold-portfolio-meta-title {
  font-family: var(--at-ff-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--bold-black);
  margin-bottom: 4px;
}

.bold-portfolio-meta-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--at-neutral-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Process Steps ─────────────────────────────────────── */
.bold-process-step {
  padding: 36px 0;
  border-bottom: 1px solid var(--at-neutral-100);
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.bold-process-num {
  font-family: var(--at-ff-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--at-neutral-300);
  min-width: 36px;
  padding-top: 4px;
}

.bold-process-content h4 {
  font-family: var(--at-ff-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--bold-black);
  margin-bottom: 10px;
}

.bold-process-content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--at-neutral-500);
  margin: 0;
}

/* ── CTA Band ──────────────────────────────────────────── */
.bold-cta-band {
  background: var(--bold-black);
  padding: 100px 0;
  text-align: center;
}

.bold-cta-band h2 {
  font-family: var(--at-ff-heading);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.05;
}

.bold-cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
}

/* ── Offcanvas Mobile Nav ──────────────────────────────── */
.bold-offcanvas-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bold-offcanvas-nav li {
  border-bottom: 1px solid var(--at-neutral-100);
}

.bold-offcanvas-nav a {
  display: block;
  padding: 20px 0;
  font-family: var(--at-ff-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--bold-black);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bold-offcanvas-nav a:hover {
  color: var(--bold-purple);
}

/* ── Footer ────────────────────────────────────────────── */
.bold-footer {
  background: var(--bold-black);
  color: rgba(255,255,255,0.55);
}

.bold-footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.bold-footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.bold-footer-logo {
  height: 22px;
  width: auto;
  margin-bottom: 20px;
}

/* Footer is always dark — fixed white logo, no theme swap or invert */
.footer-fixed-bottom .at-header-logo {
  flex: 0 0 auto;
  max-width: 100px;
}

.footer-fixed-bottom .at-header-logo .bold-footer-logo {
  display: block;
  width: auto !important;
  max-width: 100px;
  height: 24px;
  margin-bottom: 0;
  filter: none !important;
}

.bold-footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.bold-footer-col-title {
  font-family: var(--at-ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.bold-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bold-footer-links a {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bold-footer-links a:hover {
  color: #fff;
}

.bold-footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.bold-footer-legal {
  display: flex;
  gap: 24px;
}

.bold-footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bold-footer-legal a:hover {
  color: rgba(255,255,255,0.7);
}

/* ── Testimonial Cards ─────────────────────────────────── */
.bold-testimonial {
  background: var(--at-neutral-50);
  padding: 40px;
}

.bold-testimonial-quote {
  font-family: var(--at-ff-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bold-black);
  margin-bottom: 32px;
}

.bold-testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bold-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.bold-testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--bold-black);
}

.bold-testimonial-role {
  font-size: 12px;
  color: var(--at-neutral-500);
}

/* ── FAQ ───────────────────────────────────────────────── */
.bold-faq-item {
  border-bottom: 1px solid var(--at-neutral-100);
}

.bold-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--at-ff-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--bold-black);
  transition: color 0.2s ease;
}

.bold-faq-question:hover {
  color: var(--bold-purple);
}

.bold-faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.bold-faq-item.open .bold-faq-icon {
  transform: rotate(45deg);
  color: var(--bold-purple);
}

.bold-faq-answer {
  display: none;
  padding: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--at-neutral-500);
  max-width: 720px;
}

.bold-faq-item.open .bold-faq-answer {
  display: block;
}

/* ── Page Hero ─────────────────────────────────────────── */
.bold-page-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--at-neutral-100);
}

.bold-page-hero h1 {
  font-family: var(--at-ff-heading);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 700;
  color: var(--bold-black);
  line-height: 1.0;
  margin-bottom: 24px;
}

.bold-page-hero p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--at-neutral-500);
  max-width: 600px;
}

/* ── Header Fixed ──────────────────────────────────────── */
.bold-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(254,254,254,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--at-neutral-100);
  transition: background 0.3s ease;
}

.bold-header.header-transparent {
  background: transparent;
  border-bottom: none;
}

.bold-header.header-transparent .bold-nav a {
  color: rgba(255,255,255,0.85);
}

.bold-header.header-transparent .bold-nav a:hover {
  color: #fff;
}

.bold-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ── Mobile menu button ────────────────────────────────── */
.bold-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.bold-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 991px) {
  .bold-hamburger { display: flex; }
  .bold-nav { display: none; }
  .bold-header { padding: 0 20px; }
}

/* ── Offcanvas Panel ───────────────────────────────────── */
.bold-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bold-offcanvas.open {
  transform: translateX(0);
}

.bold-offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.bold-offcanvas-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--bold-black);
}

.bold-offcanvas-footer {
  margin-top: auto;
  display: flex;
  gap: 20px;
}

.bold-offcanvas-footer a {
  font-size: 13px;
  color: var(--at-neutral-500);
  text-decoration: none;
}

/* ── Value Cards ───────────────────────────────────────── */
.bold-value-card {
  padding: 36px;
  border: 1px solid var(--at-neutral-100);
}

.bold-value-icon {
  width: 48px;
  height: 48px;
  background: var(--bold-purple);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.bold-value-title {
  font-family: var(--at-ff-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--bold-black);
  margin-bottom: 12px;
}

.bold-value-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--at-neutral-500);
  margin: 0;
}

/* ── Contact Form ──────────────────────────────────────── */
.bold-form-group {
  margin-bottom: 24px;
}

.bold-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--at-neutral-500);
  margin-bottom: 8px;
}

.bold-form-group input,
.bold-form-group textarea,
.bold-form-group select {
  width: 100%;
  padding: 14px 0;
  background: none;
  border: none;
  border-bottom: 1.5px solid var(--at-neutral-200);
  font-family: var(--at-ff-body);
  font-size: 15px;
  color: var(--bold-black);
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
}

.bold-form-group input:focus,
.bold-form-group textarea:focus,
.bold-form-group select:focus {
  border-bottom-color: var(--bold-purple);
}

.bold-form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ── Team Cards ────────────────────────────────────────── */
.bold-team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 20px;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.bold-team-card:hover img {
  filter: grayscale(0%);
}

.bold-team-name {
  font-family: var(--at-ff-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--bold-black);
  margin-bottom: 4px;
}

.bold-team-role {
  font-size: 13px;
  color: var(--at-neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── 404 ───────────────────────────────────────────────── */
.bold-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.bold-404-number {
  font-family: var(--at-ff-heading);
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 700;
  color: var(--bold-purple);
  line-height: 1;
  margin-bottom: 0;
}

.bold-404-title {
  font-family: var(--at-ff-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--bold-black);
  margin-bottom: 16px;
}

.bold-404-text {
  font-size: 16px;
  color: var(--at-neutral-500);
  margin-bottom: 40px;
  max-width: 440px;
}

/* ── Coming Soon ───────────────────────────────────────── */
.bold-coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background: var(--bold-black);
}

.bold-coming-soon h1 {
  font-family: var(--at-ff-heading);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 24px;
}

.bold-coming-soon p {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 48px;
  max-width: 480px;
}

.bold-coming-email {
  display: flex;
  gap: 0;
  max-width: 460px;
  width: 100%;
}

.bold-coming-email input {
  flex: 1;
  padding: 15px 20px;
  font-family: var(--at-ff-body);
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-right: none;
  color: #fff;
  outline: none;
}

.bold-coming-email input::placeholder {
  color: rgba(255,255,255,0.35);
}

.bold-coming-email button {
  padding: 15px 24px;
  background: var(--bold-purple);
  border: 1.5px solid var(--bold-purple);
  color: #fff;
  font-family: var(--at-ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bold-coming-email button:hover {
  background: #6e2fff;
}

/* ── Social Links ──────────────────────────────────────── */
.bold-socials {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bold-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.bold-socials a svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.bold-socials a:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.bold-socials-dark a {
  border-color: var(--at-neutral-100);
  color: var(--at-neutral-500);
}

.bold-socials-dark a:hover {
  border-color: var(--bold-purple);
  color: var(--bold-purple);
}

/* ── Page Body Offset for Fixed Header ─────────────────── */
.bold-page-body {
  padding-top: 72px;
}

/* Filter bar */
.bold-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.bold-filter-btn {
  padding: 8px 20px;
  background: none;
  border: 1px solid var(--at-neutral-100);
  font-family: var(--at-ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--at-neutral-500);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bold-filter-btn:hover,
.bold-filter-btn.active {
  background: var(--bold-purple);
  border-color: var(--bold-purple);
  color: #fff;
}

/* ── Preloader logo fix ────────────────────────────────── */
.page-loader .page-loader-logo {
  z-index: 10;
}

.page-loader .page-loader-logo img {
  width: 220px;
  height: auto;
  display: block;
}

.bar {
  background: #040405 !important;
}

/* ── Hero title-meta: remove negative margin (logo has no descenders) */
.sec-1-home-15__title-meta {
  margin-top: 16px !important;
}

/* ── Hero Video Background ─────────────────────────────── */
.bold-hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bold-hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
  pointer-events: none;
}

.bold-hero-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* ── Utility ───────────────────────────────────────────── */
.bold-divider {
  height: 1px;
  background: var(--at-neutral-100);
  margin: 0;
}

.text-bold-purple { color: var(--bold-purple); }
.bg-bold-purple { background-color: var(--bold-purple); }
.bg-bold-black { background-color: var(--bold-black); }

.bold-arrow-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bold-arrow-icon svg {
  transition: transform 0.2s ease;
}

a:hover .bold-arrow-icon svg {
  transform: translateX(4px);
}

/* ── Protected portfolio gate (BLAZE) ─────────────────── */
body.portfolio-gate-locked {
  overflow: hidden;
}

/* Keep page hidden until gate + blur are active (prevents flash before overlay) */
body.portfolio-gate-locked:not(.portfolio-gate-active) header.header-15,
body.portfolio-gate-locked:not(.portfolio-gate-active) #smooth-wrapper,
body.portfolio-gate-locked:not(.portfolio-gate-active) footer.footer-fixed-bottom,
body.portfolio-gate-locked:not(.portfolio-gate-active) .px-blur-bottom,
body.portfolio-gate-locked:not(.portfolio-gate-active) #magic-cursor {
  visibility: hidden;
  pointer-events: none;
}

/* Portfolio visible under glass only when gate is active */
body.portfolio-gate-locked.portfolio-gate-active header.header-15,
body.portfolio-gate-locked.portfolio-gate-active #smooth-wrapper,
body.portfolio-gate-locked.portfolio-gate-active footer.footer-fixed-bottom,
body.portfolio-gate-locked.portfolio-gate-active .px-blur-bottom,
body.portfolio-gate-locked.portfolio-gate-active #magic-cursor,
body.portfolio-gate-locked.portfolio-gate-active .at-offcanvas-area,
body.portfolio-gate-locked.portfolio-gate-active .at-offcanvas-2-area,
body.portfolio-gate-locked.portfolio-gate-active .at-search-form-toggle,
body.portfolio-gate-locked.portfolio-gate-active .at-search-body-overlay,
body.portfolio-gate-locked.portfolio-gate-active .back-to-top-wrapper {
  visibility: visible;
  pointer-events: none;
}

.portfolio-access-gate {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.portfolio-access-gate.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: none;
}

.portfolio-access-gate.is-unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.portfolio-access-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px) saturate(1.15);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
}

[data-bs-theme="dark"] .portfolio-access-gate__backdrop {
  background: rgba(0, 0, 0, 0.18);
}

.portfolio-access-gate__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  padding: 48px 40px 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  text-align: center;
}

[data-bs-theme="dark"] .portfolio-access-gate__panel {
  background: rgba(30, 30, 30, 0.45);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.portfolio-access-gate__logo {
  height: 28px;
  width: auto;
  margin-bottom: 28px;
}

.portfolio-access-gate__title {
  font-family: var(--at-ff-heading);
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--at-neutral-950);
}

[data-bs-theme="dark"] .portfolio-access-gate__title {
  color: var(--bold-white);
}

.portfolio-access-gate__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--at-neutral-500);
  margin-bottom: 28px;
}

.portfolio-access-gate__form {
  text-align: left;
}

.portfolio-access-gate__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--at-neutral-700);
}

.portfolio-access-gate__input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.65);
  font-family: var(--at-ff-body);
  font-size: 16px;
  color: var(--at-neutral-950);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-bs-theme="dark"] .portfolio-access-gate__input {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--bold-white);
}

.portfolio-access-gate__input:focus {
  border-color: var(--bold-purple);
  box-shadow: 0 0 0 3px rgba(var(--at-theme-primary-rgb), 0.2);
}

.portfolio-access-gate__submit {
  width: 100%;
  margin-top: 16px;
}

.portfolio-access-gate__error {
  margin-top: 12px;
  font-size: 14px;
  color: #c62828;
  text-align: center;
  min-height: 1.25em;
}

.portfolio-access-gate__back {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  text-decoration: underline;
  color: var(--at-neutral-500);
}

.portfolio-access-gate__back:hover {
  color: var(--bold-purple);
}

.portfolio-access-gate__panel.is-shake {
  animation: portfolio-gate-shake 0.45s ease;
}

@keyframes portfolio-gate-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}
