/* =============================================
   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; }

/* ---- Events: card (whole card clickable) ---- */
html body .lkr-ev-card { position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); background: #101114; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
html body .lkr-ev-card:hover { transform: translateY(-3px); border-color: rgba(237, 28, 36, .55); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.lkr-ev-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #1d1014, #2a0f14 55%, #0d0e11); }
.lkr-ev-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.lkr-ev-card:hover .lkr-ev-media img { transform: scale(1.04); }
.lkr-ev-media-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 4rem; font-weight: 900; color: rgba(255, 255, 255, .08); }
.lkr-ev-date { position: absolute; top: .8rem; left: .8rem; min-width: 3.4rem; padding: .45rem .55rem; border-radius: 12px; background: #ed1c24; color: #fff; text-align: center; line-height: 1; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.lkr-ev-date b { display: block; font-size: 1.35rem; font-weight: 900; }
.lkr-ev-date span { display: block; margin-top: .25rem; font-size: .62rem; letter-spacing: .12em; font-weight: 800; }
.lkr-ev-status { position: absolute; top: .8rem; right: .8rem; margin: 0; }
.lkr-ev-body { display: flex; flex-direction: column; gap: .65rem; flex: 1; padding: 1.1rem 1.2rem 1.2rem; }
.lkr-ev-cat { align-self: flex-start; padding: .2rem .6rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lkr-ev-title { margin: 0; font-size: 1.12rem; line-height: 1.25; }
.lkr-ev-title a { color: var(--text); text-decoration: none; }
.lkr-ev-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lkr-ev-meta { display: flex; flex-direction: column; gap: .4rem; color: var(--text-muted); font-size: .85rem; }
.lkr-ev-meta span { display: flex; align-items: center; gap: .5rem; }
.lkr-ev-meta svg, .lkr-ev-chip svg, .event-info-icon svg, .lkr-ev-action svg { width: 15px; height: 15px; flex: none; color: #ed1c24; }
.lkr-ev-more { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--border); color: var(--text); font-size: .8rem; font-weight: 800; }
.lkr-ev-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.lkr-ev-card:hover .lkr-ev-more svg { transform: translateX(4px); color: #ed1c24; }

/* ---- Events: single page ---- */
.lkr-ev-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.lkr-ev-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--text); font-size: .85rem; }
.lkr-ev-countdown { display: inline-flex; align-items: center; padding: .3rem .8rem; border: 1px solid rgba(57, 255, 20, .4); border-radius: 999px; background: rgba(57, 255, 20, .08); color: #39ff14; font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.lkr-ev-h2 { margin: 0 0 1rem; font-size: 1.25rem; }
.event-info-icon svg { width: 18px; height: 18px; }
.lkr-ev-maplink { color: #ed1c24; font-size: .8rem; font-weight: 700; text-decoration: none; }
.lkr-ev-actions { display: grid; gap: .6rem; }
.lkr-ev-actions .btn { width: 100%; justify-content: center; }
.lkr-ev-action { display: inline-flex; align-items: center; gap: .55rem; }
.lkr-ev-related { padding: 3rem 0 1rem; border-top: 1px solid var(--border); margin-top: 3rem; }

/* ---- Events: light card + pills on the thumbnail ---- */
html body .lkr-ev-card { background: #f4f1ea; border-color: #e3ded2; }
html body .lkr-ev-card:hover { border-color: #ed1c24; box-shadow: 0 16px 36px rgba(0, 0, 0, .5); }
html body .lkr-ev-title a { color: #14151a; }
html body .lkr-ev-meta { color: #4c515c; }
html body .lkr-ev-cat { border-color: #d5cfbf; background: #fff; color: #4c515c; }
html body .lkr-ev-more { border-top-color: #ddd7c8; color: #14151a; }
html body .lkr-ev-media { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #f2dcde, #e9e3d5); }
html body .lkr-ev-media img { object-position: center top; }
html body .lkr-ev-media-fallback { color: rgba(237, 28, 36, .18); }
html body .lkr-ev-status { padding: .35rem .8rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(10, 11, 14, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
html body .lkr-ev-status.event-status-upcoming { color: #39ff14; }
html body .lkr-ev-status.event-status-ongoing { color: #ffd400; }
html body .lkr-ev-status.event-status-past { color: #c9ccd3; }

/* ---- Events: card hover stays light ---- */
html body .lkr-ev-card:hover, html body .lkr-ev-card:focus-within { background: #fffdf8; border-color: #ed1c24; }
html body .lkr-ev-card:hover .lkr-ev-title a, html body .lkr-ev-card:focus-within .lkr-ev-title a { color: #ed1c24; }
html body .lkr-ev-card:hover .lkr-ev-meta { color: #3a3e48; }
html body .lkr-ev-card:hover .lkr-ev-more { color: #ed1c24; border-top-color: #eadfd0; }

/* ---- Events single: light details card + professional buttons ---- */
html body .event-info-box { background: #f4f1ea; border: 1px solid #e3ded2; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
html body .event-info-box .event-info-body { background: transparent; }
html body .event-info-box .event-info-row { border-color: #e3ded2; }
html body .event-info-box .event-info-text strong { color: #14151a; }
html body .event-info-box .event-info-text span { color: #4c515c; }
html body .event-info-box .event-info-text small { color: #6b7080 !important; }
html body .event-info-box .lkr-ev-maplink { color: #ed1c24; }
html body .event-info-box .event-cta { background: transparent; border-top: 1px solid #e3ded2; }
html body .lkr-ev-actions { display: grid; gap: .65rem; padding: 1.1rem 1.25rem 1.3rem; }
html body .lkr-ev-actions .btn { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 2.9rem; padding: .7rem 1rem; border-radius: 12px; font-size: .9rem; font-weight: 800; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease; }
html body .lkr-ev-actions .btn svg { width: 18px; height: 18px; flex: none; }
html body .lkr-ev-actions .btn-primary { border: 1px solid #ed1c24; background: #ed1c24; color: #fff; box-shadow: 0 8px 18px rgba(237, 28, 36, .28); }
html body .lkr-ev-actions .btn-primary svg { color: #fff; }
html body .lkr-ev-actions .btn-primary:hover { background: #c8141b; border-color: #c8141b; transform: translateY(-1px); }
html body .lkr-ev-actions .lkr-ev-action { border: 1px solid #d5cfbf; background: #fff; color: #14151a; box-shadow: none; }
html body .lkr-ev-actions .lkr-ev-action svg { color: #ed1c24; }
html body .lkr-ev-actions .lkr-ev-action:hover { border-color: #14151a; background: #14151a; color: #fff; }
html body .lkr-ev-actions .lkr-ev-action:hover svg { color: #fff; }
html body .lkr-ev-actions a[href*="wa.me"] svg { color: #1fa855; }
html body .lkr-ev-actions a[href*="wa.me"]:hover { border-color: #25d366; background: #25d366; color: #fff; }
html body .lkr-ev-actions a[href*="wa.me"]:hover svg { color: #fff; }

/* ---- Events single: WhatsApp green by default, Copy Link black by default ---- */
html body .lkr-ev-actions a[href*="wa.me"] { border-color: #25d366; background: #25d366; color: #fff; box-shadow: 0 8px 18px rgba(37, 211, 102, .28); }
html body .lkr-ev-actions a[href*="wa.me"] svg { color: #fff; }
html body .lkr-ev-actions a[href*="wa.me"]:hover { border-color: #1fa855; background: #1fa855; color: #fff; transform: translateY(-1px); }
html body .lkr-ev-actions button[data-copy-link] { border-color: #14151a; background: #14151a; color: #fff; }
html body .lkr-ev-actions button[data-copy-link] svg { color: #fff; }
html body .lkr-ev-actions button[data-copy-link]:hover { border-color: #2a2d36; background: #2a2d36; color: #fff; transform: translateY(-1px); }

/* ---- Homepage: soft gradient mesh instead of the square grid ---- */
html body .hp-hero-bg {
	background:
		radial-gradient(46% 52% at 80% 6%, rgba(237, 28, 36, .42), transparent 64%),
		radial-gradient(40% 44% at 96% 40%, rgba(255, 122, 24, .28), transparent 66%),
		radial-gradient(42% 46% at 60% -8%, rgba(255, 46, 126, .26), transparent 62%),
		radial-gradient(38% 40% at 6% 96%, rgba(56, 189, 248, .14), transparent 64%);
	background-size: 130% 130%, 130% 130%, 130% 130%, 130% 130%;
	background-repeat: no-repeat;
	-webkit-mask-image: none;
	mask-image: none;
	animation: lkrMeshDrift 20s ease-in-out infinite alternate;
}
html body .hp-hero-bg::before {
	content: "";
	position: absolute;
	top: -35%;
	right: -14%;
	width: 72%;
	height: 150%;
	background: linear-gradient(115deg, #ed1c24 0%, #ff5a1f 38%, #ff2e7e 64%, transparent 100%);
	opacity: .2;
	filter: blur(70px);
	transform: skewY(-12deg);
}
html body .hp-hero-bg::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 38%;
	background: linear-gradient(180deg, transparent, var(--hp-page-bg, #0a0a0a));
}
html body .hp-cta-glow {
	background:
		radial-gradient(44% 70% at 18% 100%, rgba(237, 28, 36, .34), transparent 66%),
		radial-gradient(40% 64% at 86% 0%, rgba(255, 46, 126, .22), transparent 64%),
		radial-gradient(34% 56% at 60% 100%, rgba(255, 122, 24, .2), transparent 66%);
	-webkit-mask-image: none;
	mask-image: none;
}
@keyframes lkrMeshDrift {
	0% { background-position: 0% 0%, 100% 10%, 50% 0%, 0% 100%; }
	100% { background-position: 12% 14%, 88% 22%, 62% 12%, 8% 88%; }
}
@media (prefers-reduced-motion: reduce) {
	html body .hp-hero-bg { animation: none; }
}

/* ---- Homepage hero background: choice from Theme Settings (body.lkr-hero-mesh|grid|plain) ---- */
html body.lkr-hero-grid .hp-hero-bg {
	background:
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
	background-size: 86px 86px;
	background-repeat: repeat;
	-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 88%);
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 88%);
	animation: none;
}
html body.lkr-hero-grid .hp-hero-bg::before,
html body.lkr-hero-grid .hp-hero-bg::after { display: none; }
html body.lkr-hero-grid .hp-cta-glow {
	background:
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
	background-size: 78px 78px;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 76%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 76%, transparent 100%);
}
html body.lkr-hero-plain .hp-hero-bg,
html body.lkr-hero-plain .hp-cta-glow { display: none; }

/* Mobile: filter/search bars (Journal, Products, Portfolio, Videos, Events) use the full width */
@media (max-width: 768px) {
  html body .lkr-filter-bar .product-row-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  html body .lkr-filter-bar .product-row-header h2 { margin: 0; }
  html body .lkr-filter-bar .product-filter-form,
  html body .lkr-filter-bar .blog-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
  html body .lkr-filter-bar .product-filter-form input[type="search"],
  html body .lkr-filter-bar .blog-search-form input[type="search"] {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  html body .lkr-filter-bar .product-filter-form select {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* Footer links: bigger tap area, no sticky hover on touch so one tap opens the link */
.footer-col ul li a { display: inline-block; padding: 0.3rem 0; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .footer-col ul li a { transition: none; }
  .footer-col ul li a:hover { color: var(--footer-link); }
}

/* Mobile header: burger left, logo centre, Hire Me right */
@media (max-width: 768px) {
  html body .site-header .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 0.5rem;
  }
  html body .site-header .main-navigation { display: contents; }
  html body .site-header .main-navigation .menu-toggle {
    grid-column: 1; grid-row: 1;
    justify-self: start;
    margin: 0;
  }
  html body .site-header .site-branding {
    grid-column: 2; grid-row: 1;
    justify-self: center;
    margin: 0;
    text-align: center;
  }
  html body .site-header .lkr-hire-btn {
    grid-column: 3; grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }
  html body.single-post .site-header .single-theme-toggle-header {
    grid-column: 3; grid-row: 1;
    justify-self: end;
  }
  html body.single-post .site-header .lkr-hire-btn { display: none; }

  /* Burger stays above the full-screen menu and turns into a close (X) button */
  html body .site-header .main-navigation .menu-toggle {
    position: relative;
    z-index: 1002;
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }
  html body .site-header .main-navigation.toggled .menu-toggle { background: transparent; }
  html body .site-header .main-navigation.toggled .menu-icon::before,
  html body .site-header .main-navigation.toggled .menu-icon::after { background: #f4f1ea; }
  html body.single-post:not(.single-post-dark) .site-header .main-navigation.toggled .menu-icon::before,
  html body.single-post:not(.single-post-dark) .site-header .main-navigation.toggled .menu-icon::after { background: #191919; }
  /* No slide/size animation on the overlay or its links, so tapping a link never makes the menu jump */
  html body .site-header .main-navigation ul { transition: none; }
  html body .site-header .main-navigation a { transition: none; -webkit-tap-highlight-color: transparent; }
  html body .site-header .main-navigation li a:active { transform: none; }
  html body .site-header .main-navigation.toggled a:focus { outline: none; }
}

/* Mobile: homepage buttons keep padding, text wraps inside instead of overflowing */
@media (max-width: 600px) {
  html body .hp-hero-actions,
  html body .hp-cta-actions { flex-wrap: wrap; }
  html body .hp-hero-actions .btn,
  html body .hp-cta-actions .btn,
  html body .btn-lg {
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.25;
    min-height: 2.9rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.92rem;
    flex: 1 1 9rem;
    box-sizing: border-box;
  }
}

/* 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;
}
