/* =============================================
   MELAKAR STUDIO - BRAND SYSTEM 1.1 (DARK MODE)
   Source: dark brand identity board + dark website system board.

   Brand palette
   01 Night Black   #0B0B0E   page background
   02 Panel         #17171C   cards, surfaces
   03 Raised        #222229   inputs, hover, secondary buttons
   04 Signature Red #EA1D26   buttons, motifs, high-impact display
   05 UI Accent     #FF565E   links, small labels, focus
   06 Warm White    #F8F7F6   headings and primary text
   07 Muted Text    #B6B5C0   body copy on dark
   Border #393941 / Dim #73737D / Input border #63636D

   This file loads after style.css and the Customizer output.
   `html:root` out-ranks both `:root` blocks, so these tokens win
   without touching the older Fire/Ember defaults.
   To roll back, remove the lkr-brand-dark enqueue in functions.php.
   ============================================= */
html:root {
  /* Legacy palette steps remapped to the brand reds / neutrals */
  --palette-1:  #0b0b0e;
  --palette-2:  #17171c;
  --palette-3:  #5c0a10;
  --palette-4:  #8f1218;
  --palette-5:  #c4141c;
  --palette-6:  #ea1d26;
  --palette-7:  #ff565e;
  --palette-8:  #ff8a8f;
  --palette-9:  #ffb3b6;
  --palette-10: #f8f7f6;

  /* Brand tokens (new) */
  --brand-black:   #0b0b0e;
  --brand-panel:   #17171c;
  --brand-raised:  #222229;
  --brand-red:     #ea1d26;
  --brand-red-deep:#c4141c;
  --brand-accent:  #ff565e;
  --brand-white:   #f8f7f6;
  --brand-muted:   #b6b5c0;
  --brand-border:  #393941;
  --brand-dim:     #73737d;
  --brand-input-border: #63636d;
  --brand-red-tint:#3b0a0e;

  /* Surfaces */
  --bg:            #0b0b0e;
  --bg-2:          #121216;
  --bg-3:          #17171c;
  --bg-card:       #17171c;
  --bg-card-hover: #222229;

  --header-bg:          #0b0b0e;
  --header-bg-scrolled: #0b0b0e;
  --header-link:        #b6b5c0;
  --header-link-hover:  #f8f7f6;
  --header-hover-bg:    #222229;

  --border:        #393941;
  --border-light:  #222229;

  /* Accent / brand */
  --accent:        #ea1d26;
  --accent-light:  #ff565e;
  --accent-dark:   #c4141c;
  --accent-muted:  rgba(234,29,38,0.14);
  --accent-rgb:    234 29 38;

  /* Buttons: Signature Red, white label */
  --color-btn:       #ea1d26;
  --color-btn-hover: #c4141c;
  --button-text:     #ffffff;
  --overlay-btn-bg:    #ea1d26;
  --overlay-btn-color: #ffffff;
  --partner-hero-primary-bg:      #ea1d26;
  --partner-hero-primary-text:    #ffffff;
  --partner-hero-primary-hover:   #c4141c;
  --partner-hero-secondary-bg:    #222229;
  --partner-hero-secondary-text:  #f8f7f6;
  --partner-hero-secondary-hover: #393941;

  /* Text */
  --text:          #f8f7f6;
  --text-muted:    #b6b5c0;
  --text-dim:      #73737d;
  --title-color:   #f8f7f6;
  --section-label-color: #ff565e;

  --feature-card-bg:          #17171c;
  --feature-card-bg-featured: #222229;
  --feature-card-bg-hover:    #222229;
  --feature-title-color:      #f8f7f6;
  --feature-text-color:       #b6b5c0;

  /* Partnership */
  --partner-dir-bg:          #0b0b0e;
  --partner-single-content-link:       #ea1d26;
  --partner-single-button-bg:          #ea1d26;
  --partner-single-button-hover:       #c4141c;
  --partner-hero-gradient-start:  #17171c;
  --partner-hero-gradient-end:    #0b0b0e;
  --partner-hero-gradient-accent: #3b0a0e;
  --partner-hero-gradient-glow:   #5c0a10;

  /* Contact */
  --contact-page-bg:              #0b0b0e;
  --contact-hero-gradient-start:  #17171c;
  --contact-hero-gradient-end:    #0b0b0e;
  --contact-hero-gradient-accent: #3b0a0e;
  --contact-border:               #393941;
  --contact-title:                #f8f7f6;
  --contact-text:                 #b6b5c0;
  --contact-text-dim:             #73737d;
  --contact-card-bg:              #17171c;
  --contact-form-bg:              #17171c;
  --contact-field-bg:             #222229;
  --contact-field-focus-bg:       #222229;
  --contact-field-text:           #f8f7f6;
  --contact-accent:               #ff565e;
  --contact-error:                #ff565e;
  --contact-submit-bg:            #ea1d26;
  --contact-submit-text:          #ffffff;
  --contact-submit-hover:         #c4141c;

  /* Portfolio */
  --portfolio-page-bg:        #0b0b0e;
  --portfolio-gradient-start: #17171c;
  --portfolio-gradient-end:   #0b0b0e;
  --portfolio-gradient-accent:#3b0a0e;
  --portfolio-hero-glow:      #5c0a10;
  --portfolio-hero-overlay:   #0b0b0e;
  --portfolio-border:         #393941;
  --portfolio-title:          #f8f7f6;
  --portfolio-text:           #b6b5c0;
  --portfolio-text-muted:     #b6b5c0;
  --portfolio-accent:         #ea1d26;
  --portfolio-feature-bg:     #17171c;
  --portfolio-feature-label:  #ff565e;
  --portfolio-card-bg:        #17171c;
  --portfolio-card-hover:     #222229;
  --portfolio-card-title:     #f8f7f6;
  --portfolio-card-meta:      #73737d;
  --portfolio-overlay-bg:     #ea1d26;
  --portfolio-filter-bg:      #17171c;
  --portfolio-filter-text:    #b6b5c0;
  --portfolio-filter-active-bg:   #3b0a0e;
  --portfolio-filter-active-text: #f8f7f6;
  --portfolio-fact-bg:        #17171c;
  --portfolio-action-bg:      #222229;
  --portfolio-action-text:    #f8f7f6;
  --portfolio-action-icon:    #f8f7f6;

  /* Blog (dark surfaces; the light reading mode stays neutral) */
  --blog-page-bg:             #0b0b0e;
  --blog-gradient-start:      #17171c;
  --blog-gradient-end:        #0b0b0e;
  --blog-gradient-accent:     #3b0a0e;
  --blog-sidebar-title:       #f8f7f6;
  --blog-sidebar-text:        #b6b5c0;
  --blog-sidebar-border:      #393941;
  --blog-category-text:       #b6b5c0;
  --blog-category-active:     #f8f7f6;
  --blog-card-image-bg:       #17171c;
  --blog-card-label:          #73737d;
  --blog-card-title:          #f8f7f6;
  --blog-card-excerpt:        #b6b5c0;
  --blog-card-author:         #f8f7f6;
  --blog-card-meta:           #73737d;
  --blog-accent:              #ea1d26;
  --blog-single-dark-bg:      #0b0b0e;
  --blog-single-dark-surface: #17171c;
  --blog-single-dark-soft:    #222229;
  --blog-single-dark-border:  #393941;
  --blog-single-dark-title:   #f8f7f6;
  --blog-single-dark-text:    #f8f7f6;
  --blog-single-dark-muted:   #b6b5c0;
  --blog-single-dark-button:  #f8f7f6;
  --blog-single-dark-button-hover:#ffffff;
  --blog-single-dark-button-text:#0b0b0e;
  --blog-comment-bg:          #17171c;
  --blog-comment-reply-bg:    #222229;
  --blog-comment-border:      #393941;
  --blog-comment-author:      #f8f7f6;
  --blog-comment-meta:        #b6b5c0;
  --blog-comment-text:        #f8f7f6;
  --blog-comment-link:        #ff565e;

  /* Product */
  --product-page-bg:         #0b0b0e;
  --product-gradient-start:  #17171c;
  --product-gradient-end:    #0b0b0e;
  --product-gradient-accent: #3b0a0e;
  --product-gradient-glow:   #5c0a10;
  --product-border:          #393941;
  --product-title:           #f8f7f6;
  --product-text:            #b6b5c0;
  --product-text-muted:      #b6b5c0;
  --product-accent:          #ff565e;
  --product-card-bg:         #17171c;
  --product-card-hover:      #222229;
  --product-panel-bg:        #17171c;
  --product-fact-bg:         #17171c;
  --product-shelf-bg:        #17171c;
  --product-shelf-accent:    #5c0a10;
  --product-shelf-label:     #f8f7f6;
  --product-shelf-title:     #f8f7f6;
  --product-shelf-desc:      #b6b5c0;
  --product-shelf-cta:       #ff565e;
  --product-new-label-bg:    #ea1d26;
  --product-new-label-text:  #ffffff;
  --product-featured-label-bg:   #f8f7f6;
  --product-featured-label-text: #0b0b0e;
  --product-button-bg:       #ea1d26;
  --product-button-text:     #ffffff;
  --product-button-hover:    #c4141c;
  --product-ghost-bg:        #222229;
  --product-ghost-text:      #f8f7f6;
  --product-ghost-hover:     #393941;

  /* Video / Series */
  --video-page-bg:            #0b0b0e;
  --video-gradient-start:     #17171c;
  --video-gradient-end:       #0b0b0e;
  --video-gradient-accent:    #3b0a0e;
  --video-gradient-glow:      #5c0a10;
  --video-hero-overlay:       #0b0b0e;
  --video-hero-text:          #f8f7f6;
  --video-hero-muted:         #b6b5c0;
  --video-border:             #393941;
  --video-title:              #f8f7f6;
  --video-text:               #b6b5c0;
  --video-text-muted:         #b6b5c0;
  --video-card-bg:            #17171c;
  --video-card-title:         #f8f7f6;
  --video-card-hover:         #222229;
  --video-play-bg:            #ea1d26;
  --video-play-text:          #ffffff;
  --video-secondary-bg:       #222229;
  --video-secondary-text:     #f8f7f6;
  --video-badge-bg:           #ea1d26;
  --video-badge-text:         #ffffff;
  --video-filter-bg:          #17171c;
  --video-filter-text:        #b6b5c0;
  --video-filter-active-bg:   #3b0a0e;
  --video-filter-active-text: #f8f7f6;
  --video-sidebar-bg:         #17171c;
  --video-nav-card-bg:        #17171c;
  --video-nav-card-text:      #f8f7f6;
  --video-nav-card-meta:      #b6b5c0;
  --video-nav-card-hover:     #222229;
  --video-nav-card-hover-text:#f8f7f6;
  --video-nav-card-hover-border:#ea1d26;
  --video-mobile-nav-bg:      #17171c;

  /* Footer */
  --footer-bg:                #0b0b0e;
  --footer-bottom-bg:         #0b0b0e;
  --footer-border:            #393941;
  --footer-heading:           #f8f7f6;
  --footer-text:              #b6b5c0;
  --footer-link:              #b6b5c0;
  --footer-link-hover:        #ff565e;
  --footer-icon:              #ea1d26;
  --footer-social-bg:         #222229;
  --footer-social-icon:       #b6b5c0;
  --footer-social-hover-bg:   #ea1d26;
  --footer-social-hover-icon: #ffffff;
}

/* Homepage (front-page.php) */
html:root {
  --hp-page-bg:               #0b0b0e;
  --hp-gradient-start:        #17171c;
  --hp-gradient-end:          #0b0b0e;
  --hp-hero-eyebrow:          #ff565e;
  --hp-hero-title:            #f8f7f6;
  --hp-hero-accent:           #ff565e;
  --hp-hero-accent-end:       #ea1d26;
  --hp-hero-desc:             #b6b5c0;
  --hp-hero-btn-bg:           #ea1d26;
  --hp-hero-btn-text:         #ffffff;
  --hp-hero-btn-hover:        #c4141c;
  --hp-hero-ghost-bg:         #222229;
  --hp-hero-ghost-bg-hover:   #393941;
  --hp-hero-ghost-text:       #f8f7f6;
  --hp-hero-ghost-border:     #ff565e;
  --hp-stat-num:              #f8f7f6;
  --hp-stat-label:            #b6b5c0;
  --hp-stat-div:              #393941;
  --hp-ticker-bg:             #f8f7f6;
  --hp-ticker-text:           #0b0b0e;
  --hp-ticker-sep:            #ea1d26;
  --hp-section-num:           #ea1d26;
  --hp-section-label:         #ff565e;
  --hp-section-title:         #f8f7f6;
  --hp-bento-bg:              #17171c;
  --hp-bento-hover:           #222229;
  --hp-bento-border:          #393941;
  --hp-bento-title:           #f8f7f6;
  --hp-bento-badge-bg:        #ea1d26;
  --hp-bento-badge-text:      #ffffff;
  --hp-client-bg:             #17171c;
  --hp-client-border:         #393941;
  --hp-client-hover:          #222229;
  --hp-step-num:              #ff565e;
  --hp-step-border:           #393941;
  --hp-step-title:            #f8f7f6;
  --hp-step-text:             #b6b5c0;
  --hp-cta-bg:                #0b0b0e;
  --hp-cta-title:             #f8f7f6;
  --hp-cta-desc:              #b6b5c0;
  --hp-cta-btn-bg:            #ea1d26;
  --hp-cta-btn-text:          #ffffff;
  --hp-cta-btn-hover:         #c4141c;
  --hp-cta-ghost-bg:          #222229;
  --hp-cta-ghost-bg-hover:    #393941;
  --hp-cta-ghost-text:        #f8f7f6;
  --hp-cta-ghost-border:      #ff565e;
}

/* Homepage helper tokens that style.css derives from other values.
   --hp-muted was following the (red) eyebrow colour, which turned card
   descriptions red. Body copy stays Muted Text; red stays for labels. */
html body.home {
  --hp-muted:  #b6b5c0;
  --hp-faint:  #73737d;
  --hp-ember:  #ea1d26;
  --hp-orange: #ea1d26;
  --hp-gold:   #ff565e;
}

/* Service card icons (inline SVG, replaces emoji) */
html .hp-bento-icon,
html .service-icon {
  color: #ff565e;
  background: rgba(234, 29, 38, 0.12);
  border: 1px solid rgba(255, 86, 94, 0.22);
  border-radius: 12px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
html .hp-bento-icon svg,
html .service-icon svg {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
}
html .hp-b-web .hp-bento-icon svg,
html .hp-b-ar .hp-bento-icon svg {
  width: 2rem;
  height: 2rem;
}
html .hp-bento-card:hover .hp-bento-icon {
  color: #ffffff;
  background: #ea1d26;
  border-color: #ea1d26;
}

/* =============================================
   DESKTOP LAYOUT WIDTH (Site Layout = Fixed)
   Was 1180px (home 1220px) with up to 4.5-5rem side padding, which left
   only ~1040px for content. Now a 1440px container with 4rem max padding:
   about 1312px of content on large screens, fluid padding on laptops.
   Change --container-max to resize everything in one place
   (1280px = tighter, 1536px = wider).
   Full-width layout is untouched.
   ============================================= */
html:root {
  --container-max: 1440px;
  --container-pad: clamp(1.25rem, 4vw, 4rem);
}

html body.lkr-layout-fixed .container,
html body.home.lkr-layout-fixed .container {
  max-width: var(--container-max);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

html body.home.lkr-layout-fixed .site-header .header-inner {
  max-width: var(--container-max);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Video/series hero text block: keep aligned with the new container edge */
html body.lkr-layout-fixed .nf-hero-content {
  max-width: var(--container-max);
  margin-left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
}

/* =============================================
   TYPE SCALE + SECTION RHYTHM (one system for every page)
   Measured on the draft at 1440px before this block:
   - page titles 75px (but home 98px, home CTA 55px)
   - section headings 35px / 28px / 22px / 17px depending on the page
   - section padding 80, 128, 40, 72, 112, 38px depending on the page
   Now every page uses the same tokens (fluid, so tablet/mobile scale down).
   Tweak the numbers below to restyle the whole site at once.
   ============================================= */
html:root {
  /* Type scale */
  --title-display: clamp(2.6rem, 7vw, 5.5rem);    /* homepage hero            ~88px */
  --title-page:    clamp(2.4rem, 5.2vw, 4.25rem); /* every inner page title   ~68px */
  --title-cta:     clamp(2rem, 4.2vw, 3.25rem);   /* closing call-to-action   ~52px */
  --title-section: clamp(1.75rem, 3.2vw, 2.5rem); /* section headings         ~40px */
  --title-sub:     clamp(1.2rem, 1.8vw, 1.5rem);  /* card / block headings    ~24px */

  /* Vertical rhythm */
  --space-section: clamp(3rem, 7vw, 6.5rem);     /* between sections         ~104px */
  --space-tight:   clamp(2rem, 4vw, 3.5rem);     /* directly after a hero     ~56px */
  --space-head:    clamp(2rem, 4vw, 3.5rem);     /* section heading -> content ~56px */
}

/* Page titles (all inner pages) */
html body .nf-hero-title,
html body .contact-title,
html body .product-market-heading h1,
html body .page-title,
html body .default-page-title,
html body .hero-title,
html body.lkr-layout-fixed .contact-title {
  font-size: var(--title-page);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Homepage hero + CTA */
html body.home .hp-headline {
  font-size: var(--title-display);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
html body.home .hp-cta-title {
  font-size: var(--title-cta);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* Section headings */
html .section-title,
html body.home [class*="hp-section-"] .section-title,
html .nf-row-title,
html .product-all-section h2,
html .product-promo-section h2,
html .product-shelf-section h2 {
  font-size: var(--title-section);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

/* Card / block headings */
html .contact-hero h2 {
  font-size: var(--title-sub);
  line-height: 1.2;
}

/* Section spacing */
html .section,
html .hp-cta-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
html body.home .hp-section-intro {
  margin-bottom: var(--space-head);
}
html .section-header {
  margin-bottom: var(--space-head);
}

/* Blocks that follow a hero banner start closer, end with a full section gap */
html .portfolio-archive-list,
html .product-all-section {
  padding-top: var(--space-tight);
  padding-bottom: var(--space-section);
}
html .product-promo-section,
html .nf-rows-wrap {
  padding-bottom: var(--space-section);
}
html .contact-hero {
  padding-bottom: var(--space-section);
}

/* overflow:hidden on the video page <main> blocks position:sticky; clip hides overflow the same way without breaking it */
html body .netflix-dashboard { overflow: visible; overflow-x: clip; }
/* Contact page: social proof, slot note, WhatsApp alternative */
html body .contact-proof { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1.25rem 0 0; padding: 0; }
html body .contact-proof li { background: var(--surface, #17171c); border: 1px solid var(--border, #393941); border-radius: 12px; padding: 0.85rem 0.9rem; display: flex; flex-direction: column; gap: 0.15rem; }
html body .contact-proof strong { font-family: 'Outfit', sans-serif; font-size: 1.6rem; line-height: 1; color: #fff; }
html body .contact-proof span { font-size: 0.82rem; color: var(--text-muted, #a1a1aa); line-height: 1.3; }
html body .contact-slot-note { display: inline-flex; align-items: center; gap: 0.5rem; margin: 1rem 0 0; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(234, 29, 38, 0.12); border: 1px solid rgba(234, 29, 38, 0.4); color: #fff; font-size: 0.9rem; }
html body .contact-slot-dot { width: 8px; height: 8px; border-radius: 50%; background: #ea1d26; box-shadow: 0 0 0 0 rgba(234, 29, 38, 0.6); animation: lkrSlotPulse 1.8s infinite; }
@keyframes lkrSlotPulse { 70% { box-shadow: 0 0 0 8px rgba(234, 29, 38, 0); } 100% { box-shadow: 0 0 0 0 rgba(234, 29, 38, 0); } }
html body .contact-alt { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border, #393941); display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; color: var(--text-muted, #a1a1aa); font-size: 0.95rem; }
html body .contact-wa-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid #25d366; color: #25d366; font-weight: 600; text-decoration: none; transition: background 0.2s, color 0.2s; }
html body .contact-wa-btn:hover, html body .contact-wa-btn:focus-visible { background: #25d366; color: #0b0b0e; }
@media (max-width: 560px) { html body .contact-proof { grid-template-columns: 1fr; } }

/* "Hire Me" button in the header (replaces the Contact menu item) */
html body .lkr-hire-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1.25rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: #ea1d26;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(234, 29, 38, 0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
html body .lkr-hire-btn svg { transition: transform 0.2s; }
html body .lkr-hire-btn:hover,
html body .lkr-hire-btn:focus-visible {
  background: #ff565e;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 86, 94, 0.4);
}
html body .lkr-hire-btn:hover svg { transform: translateX(3px); }
@media (max-width: 900px) {
  html body .lkr-hire-btn { margin-left: 0.5rem; padding: 0.5rem 0.9rem; font-size: 0.82rem; }
}

/* Journal (blog): bigger, easier-to-read type */
html body .blog-site-name strong { font-size: 2.6rem; line-height: 1.1; }
html body .blog-site-name em { font-size: 1.9rem; line-height: 1.15; }
html body .blog-site-desc { font-size: 1rem; line-height: 1.6; }
html body .blog-cat-link { font-size: 1.05rem; padding-top: 0.45rem; padding-bottom: 0.45rem; }
html body .blog-card-cat { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--accent-2, #ff565e); }
html body .blog-card-title { font-size: var(--title-sub); line-height: 1.25; }
html body .blog-card-excerpt { font-size: 1.0625rem; line-height: 1.65; }
html body .blog-card-author-name { font-size: 0.95rem; }
html body .blog-card-author span { font-size: 0.85rem; }
html body .blog-layout { min-height: 60vh; }

/* Journal search sits in the sticky bar like the other pages */
html body .lkr-filter-bar .blog-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
}
html body .lkr-filter-bar .blog-search-form input[type="search"] { width: auto; min-width: 260px; }

/* Video page: first row starts below the sticky bar (it used to slide 48px under it and hide "Video Terkini") */
html body .lkr-filter-bar + .nf-rows-wrap {
  margin-top: 0;
  padding-top: var(--space-head);
}
/* Video hero title a bit smaller so long titles fit */
html body.post-type-archive-studio_video .nf-hero-title,
html body.tax-video_category .nf-hero-title {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* Video card titles: show up to 3 lines instead of cutting after the first */
html body .nf-thumb .nf-thumb-title {
  -webkit-line-clamp: 3;
  line-clamp: 3;
  line-height: 1.3;
  overflow: hidden;
}
html body .nf-thumb[hidden],
html body .nf-row[hidden] { display: none !important; }
html body .video-filter-empty { padding: 3rem var(--container-pad, 1.5rem); color: var(--text-muted, #b6b5c0); text-align: center; }

/* Filter bar that lives directly in <main> (portfolio, products, videos): sticks for the whole page */
html body .lkr-filter-bar {
  position: sticky;
  top: var(--lkr-header-h, 82px);
  z-index: 90;
  scroll-margin-top: var(--lkr-header-h, 82px);
  background: rgba(11, 11, 14, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border, #393941);
}
html body .lkr-filter-bar .product-row-header {
  position: static;
  margin-bottom: 0;
  background: none;
  box-shadow: none;
  clip-path: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
html body .lkr-filter-bar + .portfolio-archive-list,
html body .lkr-filter-bar + .product-all-section { padding-top: var(--space-head); }

/* Sticky filter bar (category pages): pinned under the fixed header */
html body .product-row-header {
  position: sticky;
  top: var(--lkr-header-h, 82px);
  z-index: 90;
  align-items: center;
  padding: 0.85rem 0;
  margin-bottom: var(--space-head);
  background: rgba(11, 11, 14, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 100vmax rgba(11, 11, 14, 0.92);
  clip-path: inset(0 -100vmax);
}
html body .product-row-header h2 { font-size: var(--title-sub); }
html body .portfolio-row-header .product-filter-form { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
html body .portfolio-row-header .product-filter-form input[type="search"] { min-width: 220px; }

html body .blog-page-title { margin: 0 0 var(--space-head); color: var(--text, #f8f7f6); }

/* Accessible focus ring (brand: 3px UI Accent) */
html :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #ff565e;
  outline-offset: 2px;
}

/* Form fields on dark surfaces: Raised fill, #63636D border */
html :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], textarea, select) {
  border-color: #63636d;
}

::selection {
  background: #ea1d26;
  color: #ffffff;
}
