/*
Theme Name: Sweetlicks Media
Theme URI: https://sweetlicksmedia.com
Author: Preluence Tech
Author URI: https://preluence.tech
Description: Cinematic dark-and-gold theme for Sweetlicks Media & Multi-Services Ltd. Every word, image, colour, slide, service, project, academy program, contact detail and the WhatsApp widget is editable from the WordPress dashboard (Appearance → Customize, plus the Slides, Services, Projects and Programs menus) — no code required. Includes one-click demo content import under Appearance → Sweetlicks Demo Import.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sweetlicks
Tags: dark, one-column, custom-logo, custom-menu, custom-colors, featured-images, theme-options, portfolio
*/

  :root {
    --bg: #0c0905;
    --bg-2: #15110a;
    --bg-3: #1e1810;
    --cream: #f5ecd9;
    --cream-soft: #c9bf9e;
    --gold: #d4a437;
    --gold-light: #f0d674;
    --gold-bright: #f5e08c;
    --gold-deep: #8b6914;
    --gold-rich: #b8860b;
    --muted: #8a7d63;
    --line: rgba(212, 164, 55, 0.18);
    --line-strong: rgba(212, 164, 55, 0.4);
    --wa-green: #25d366;
  }

  * { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--cream);
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    letter-spacing: -0.005em;
    overflow-x: hidden;
    margin: 0;
    cursor: none;
  }

  body::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
  }

  .display { font-family: 'Fraunces', serif; font-weight: 300; letter-spacing: -0.045em; line-height: 0.95; font-variation-settings: "opsz" 144, "SOFT" 50; }
  .display-it { font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; letter-spacing: -0.04em; font-variation-settings: "opsz" 144; }
  .mono { font-family: 'Manrope', sans-serif; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.7rem; }
  .gold-text { background: linear-gradient(135deg, #f5e08c 0%, #d4a437 45%, #b8860b 75%, #8b6914 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .gold-line { background: linear-gradient(90deg, transparent, var(--gold), transparent); height: 1px; }

  /* Cursor */
  .cursor-dot { position: fixed; width: 6px; height: 6px; background: var(--gold-bright); border-radius: 50%; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s; }
  .cursor-ring { position: fixed; width: 36px; height: 36px; border: 1px solid var(--gold); border-radius: 50%; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); transition: transform 0.25s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease; }
  body.cursor-hover .cursor-ring { width: 70px; height: 70px; border-color: var(--gold-light); }
  body.cursor-hover .cursor-dot { width: 0; height: 0; }
  
  @media (max-width: 768px) { 
    body { cursor: auto; } 
    .cursor-dot, .cursor-ring { display: none; } 
  }

  /* Logo */
  .logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; flex-shrink: 0; }
  .logo-mark { width: 52px; height: 34px; flex-shrink: 0; }
  .logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
  .logo-line-1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; letter-spacing: 0.08em; background: linear-gradient(135deg, #f5e08c 0%, #d4a437 50%, #8b6914 100%); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
  .logo-line-2 { font-family: 'Manrope', sans-serif; font-weight: 400; font-size: 0.58rem; letter-spacing: 0.42em; color: var(--cream-soft); margin-top: 3px; text-transform: uppercase; }
  .logo-footer .logo-mark { width: 80px; height: 52px; }
  .logo-footer .logo-line-1 { font-size: 1.8rem; }
  .logo-footer .logo-line-2 { font-size: 0.85rem; letter-spacing: 0.5em; }

  /* Nav */
  .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0.9rem 1.25rem; display: flex; justify-content: space-between; align-items: center; background: rgba(12, 9, 5, 0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--line); }
  .nav-link { color: var(--cream-soft); transition: color 0.3s ease; position: relative; text-decoration: none; cursor: none; }
  .nav-link.active { color: var(--gold-light); }
  .nav-link.active::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px; background: var(--gold); }
  .nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease; }
  .nav-link:hover { color: var(--gold-light); }
  .nav-link:hover::after { width: 100%; }
  .menu-btn { display: flex; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 8px; }
  .menu-btn span { width: 24px; height: 1px; background: var(--gold); transition: all 0.3s ease; }
  .menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  
  .mobile-menu { 
    position: fixed; top: 53px; left: 0; right: 0; bottom: 0; 
    background: var(--bg-2); border-bottom: 1px solid var(--line); 
    padding: 2rem 1.25rem; 
    transform: translateX(-100%); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    z-index: 99; 
    display: flex; 
    flex-direction: column; 
    gap: 1.5rem; 
    overflow-y: auto;
  } 
  .mobile-menu.open { transform: translateX(0); }

  @media (min-width: 901px) { 
    .nav { padding: 0.9rem 2.5rem; }
    .nav-links { display: flex !important; } 
    .menu-btn { display: none; } 
    .mobile-menu { display: none; } 
  }
  @media (max-width: 900px) { 
    .nav-links { display: none; } 
    .logo-line-1 { font-size: 1rem; } 
    .logo-line-2 { font-size: 0.5rem; } 
    .logo-mark { width: 42px; height: 28px; } 
  }

  /* ===== MULTI-PAGE ROUTING SYSTEM ===== */
  .page { display: block; min-height: 60vh; padding-top: 53px; }
  .page.active { display: block; animation: pageReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
  @keyframes pageReveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

  /* Hero Slider */
  .hero-slider { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: var(--bg); margin-top: -53px; }
  .slide { position: absolute; inset: 0; opacity: 0; z-index: 1; transition: opacity 1.4s cubic-bezier(0.65, 0, 0.35, 1); pointer-events: none; }
  .slide.active { opacity: 1; z-index: 2; pointer-events: auto; }
  .slide-bg { position: absolute; inset: 0; overflow: hidden; }
  .slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15) translateY(-2%); object-position: 50% 30%; filter: brightness(1.1) contrast(1.1) saturate(1.15); }
  .slide.active .slide-bg img { animation: kenBurns 7s ease-out forwards; }
  @keyframes kenBurns { from { transform: scale(1.15) translateY(-2%); } to { transform: scale(1.22) translateY(-2%); } }
  .slide-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,9,5,0.2) 0%, rgba(12,9,5,0.4) 35%, rgba(12,9,5,0.98) 85%), linear-gradient(90deg, rgba(12,9,5,0.8) 0%, rgba(12,9,5,0.2) 60%, transparent 100%); }
  .slide-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 1.25rem 6rem; max-width: 1600px; margin: 0 auto; }
  @media (min-width: 768px) { .slide-content { padding: 0 2.5rem 7rem; } }
  .slide-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; opacity: 0; transform: translateY(20px); }
  .slide.active .slide-meta { animation: slideUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .slide-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 1.5rem; color: var(--gold); }
  .slide-tag { font-family: 'Manrope', sans-serif; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; font-size: 0.7rem; color: var(--gold-light); }
  .slide-tag::before { content: ''; display: inline-block; width: 30px; height: 1px; background: var(--gold); margin-right: 1rem; vertical-align: middle; }
  .slide-title { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(2.5rem, 9vw, 6.5rem); line-height: 0.95; letter-spacing: -0.045em; max-width: 900px; opacity: 0; transform: translateY(40px); }
  .slide.active .slide-title { animation: slideUp 1s 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .slide-title .it { font-style: italic; background: linear-gradient(135deg, #f5e08c 0%, #d4a437 50%, #8b6914 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .slide-desc { max-width: 520px; color: var(--cream-soft); font-size: 1.05rem; line-height: 1.6; margin-top: 1.5rem; opacity: 0; transform: translateY(30px); }
  .slide.active .slide-desc { animation: slideUp 0.9s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .slide-cta { margin-top: 2rem; opacity: 0; transform: translateY(25px); }
  .slide.active .slide-cta { animation: slideUp 0.8s 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  @keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
  
  .slider-nav { position: absolute; bottom: 1.5rem; right: 1.25rem; z-index: 10; display: flex; align-items: center; gap: 1rem; }
  @media (min-width: 768px) { .slider-nav { bottom: 2.5rem; right: 2.5rem; gap: 1.5rem; } }
  .slider-arrow { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(12,9,5,0.6); backdrop-filter: blur(10px); color: var(--gold); display: flex; align-items: center; justify-content: center; cursor: none; transition: all 0.3s ease; font-size: 1rem; }
  @media (min-width: 768px) { .slider-arrow { width: 48px; height: 48px; font-size: 1.2rem; } }
  .slider-arrow:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
  .slider-dots { display: flex; gap: 0.4rem; align-items: center; }
  @media (min-width: 768px) { .slider-dots { gap: 0.6rem; } }
  .slider-dot { width: 8px; height: 8px; border-radius: 50%; background: transparent; border: 1px solid var(--cream-soft); cursor: none; transition: all 0.3s ease; padding: 0; }
  .slider-dot.active { background: var(--gold); border-color: var(--gold); width: 24px; border-radius: 4px; }
  @media (min-width: 768px) { .slider-dot.active { width: 28px; } }
  
  .slider-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(212,164,55,0.1); z-index: 10; }
  .slider-progress-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); width: 0%; transition: width 0.1s linear; }
  .slider-top-meta { position: absolute; top: 70px; left: 1.25rem; right: 1.25rem; z-index: 10; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
  @media (min-width: 768px) { .slider-top-meta { top: 0; left: 0; right: 0; padding: 6rem 2.5rem 1rem; max-width: 1600px; margin: 0 auto; } }

  /* Marquee */
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .marquee-track { display: inline-flex; animation: marquee 40s linear infinite; white-space: nowrap; align-items: center; }
  .marquee-item { padding: 0 1.5rem; color: var(--cream-soft); font-family: 'Fraunces', serif; font-size: 1.2rem; font-style: italic; font-weight: 300; }
  @media (min-width: 768px) { .marquee-item { padding: 0 2.5rem; font-size: 1.5rem; } }
  .marquee-dot { color: var(--gold); font-size: 0.8rem; }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(50px); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* Card */
  .card { background: linear-gradient(180deg, rgba(212, 164, 55, 0.04), rgba(212, 164, 55, 0.01)); border: 1px solid var(--line); border-radius: 2px; padding: 1.75rem; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; }
  @media (min-width: 768px) { .card { padding: 2.5rem; } }
  .card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 1px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width 0.7s ease; }
  .card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: linear-gradient(180deg, rgba(212, 164, 55, 0.09), rgba(212, 164, 55, 0.02)); }
  .card:hover::before { width: 100%; }

  /* Button */
  .btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.5rem; border: 1px solid var(--gold); color: var(--gold-light); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; background: transparent; transition: all 0.4s ease; cursor: none; position: relative; overflow: hidden; text-decoration: none; }
  @media (min-width: 768px) { .btn { padding: 0.95rem 2rem; font-size: 0.75rem; letter-spacing: 0.18em; } }
  .btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--gold), var(--gold-rich)); transform: translateX(-101%); transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1); z-index: -1; }
  .btn:hover { color: var(--bg); border-color: var(--gold-light); }
  .btn:hover::before { transform: translateX(0); }
  .btn-filled { background: linear-gradient(135deg, var(--gold-light), var(--gold-rich)); color: var(--bg); border: 1px solid var(--gold); }
  .btn-filled::before { display: none; }
  .btn-filled:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(212, 164, 55, 0.5); color: var(--bg); }

  /* Service Cards */
  .service-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); cursor: none; aspect-ratio: 4/5; }
  .service-card-img { position: absolute; inset: 0; overflow: hidden; }
  .service-card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12) translateY(-5%); object-position: 50% 35%; filter: brightness(1.15) contrast(1.1) saturate(1.15); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
  .service-card:hover .service-card-img img { filter: brightness(1.2) contrast(1.15) saturate(1.25); transform: scale(1.18) translateY(-5%); }
  .service-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,9,5,0.1) 0%, rgba(12,9,5,0.5) 45%, rgba(12,9,5,0.98) 85%); transition: background 0.6s ease; }
  .service-card:hover .service-card-overlay { background: linear-gradient(180deg, rgba(12,9,5,0) 0%, rgba(12,9,5,0.4) 45%, rgba(12,9,5,0.98) 85%); }
  .service-card-content { position: absolute; inset: 0; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; z-index: 2; }
  @media (min-width: 768px) { .service-card-content { padding: 1.75rem; } }
  .service-card-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 1rem; color: var(--gold); }
  .service-card-name { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(1.4rem, 5vw, 1.85rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--cream); transition: color 0.4s ease; }
  .service-card-desc { color: var(--cream-soft); font-size: 0.85rem; line-height: 1.5; margin-top: 0.6rem; max-height: 100px; opacity: 1; transition: max-height 0.5s ease, opacity 0.4s ease 0.1s; }
  @media (min-width: 1024px) { .service-card-desc { max-height: 0; overflow: hidden; opacity: 0; } .service-card:hover .service-card-desc { max-height: 100px; opacity: 1; } }
  .service-card-arrow { position: absolute; bottom: 1.5rem; right: 1.5rem; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1rem; transition: all 0.4s ease; }
  @media (min-width: 768px) { .service-card-arrow { bottom: 1.75rem; right: 1.75rem; } }
  .service-card:hover .service-card-arrow { background: var(--gold); color: var(--bg); border-color: var(--gold); transform: rotate(-45deg); }
  .service-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width 0.6s ease; z-index: 3; }
  .service-card:hover::after { width: 100%; }

  /* Work gallery */
  .work-card { position: relative; overflow: hidden; aspect-ratio: 4/5; cursor: none; }
  .work-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1) translateY(-3%); object-position: 50% 35%; filter: brightness(1.15) contrast(1.1) saturate(1.15); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
  .work-card:hover img { filter: brightness(1.2) contrast(1.15) saturate(1.25); transform: scale(1.18) translateY(-3%); }
  .work-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12,9,5,0.98) 95%); pointer-events: none; }
  .work-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; z-index: 2; }
  @media (min-width: 768px) { .work-info { padding: 1.8rem; } }

  /* Philosophy */
  .philosophy-quote { font-size: clamp(2rem, 8vw, 7rem); line-height: 0.92; }
  .philosophy-quote .big-word { display: block; font-size: clamp(3rem, 14vw, 12rem); line-height: 0.85; margin: 0.3rem 0; }
  .section-num { color: var(--gold); font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; }

  /* Academy */
  .academy-bg { background: radial-gradient(ellipse at 80% 20%, rgba(212,164,55,0.08), transparent 50%), linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }

  /* Phone link */
  .phone-link { display: inline-flex; align-items: baseline; gap: 1rem; color: var(--cream); transition: color 0.3s ease; font-family: 'Fraunces', serif; font-size: clamp(1.2rem, 4vw, 2.6rem); font-weight: 300; letter-spacing: -0.02em; text-decoration: none; line-height: 1.3; }
  .phone-link:hover { color: var(--gold-light); }

  /* Form */
  .form-input, .form-select { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line); padding: 0.9rem 0; color: var(--cream); font-family: 'Manrope', sans-serif; font-size: 1rem; outline: none; transition: border-color 0.3s ease; }
  .form-input:focus, .form-select:focus { border-bottom-color: var(--gold); }
  .form-input::placeholder { color: var(--muted); }
  .form-select { cursor: pointer; }
  .form-select option { background: var(--bg-2); color: var(--cream); }

  /* Toast */
  .toast { position: fixed; top: 80px; right: 1.25rem; background: linear-gradient(135deg, var(--gold), var(--gold-rich)); color: var(--bg); padding: 1rem 1.5rem; border-radius: 2px; font-weight: 500; z-index: 10001; transform: translateX(120%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 20px 60px -20px rgba(212, 164, 55, 0.5); }
  @media (min-width: 768px) { .toast { top: 100px; right: 30px; } }
  .toast.show { transform: translateX(0); }

  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--gold-deep); }
  ::-webkit-scrollbar-thumb:hover { background: var(--gold); }
  ::selection { background: var(--gold); color: var(--bg); }

  /* Back to top */
  .back-top { position: fixed; bottom: 20px; right: 20px; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(12, 9, 5, 0.85); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: var(--gold); cursor: none; z-index: 90; opacity: 0; transform: translateY(20px); transition: all 0.4s ease; text-decoration: none; font-size: 1.1rem; }
  @media (min-width: 768px) { .back-top { bottom: 30px; right: 30px; width: 48px; height: 48px; font-size: 1.2rem; } }
  .back-top.visible { opacity: 1; transform: translateY(0); }
  .back-top:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

  /* WhatsApp Floating Widget */
  .wa-widget { position: fixed; bottom: 20px; left: 20px; z-index: 95; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  @media (min-width: 768px) { .wa-widget { bottom: 30px; left: 30px; } }
  .wa-popup { background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 14px; padding: 1.25rem 1.5rem; max-width: calc(100vw - 40px); box-shadow: 0 20px 60px -15px rgba(0,0,0,0.6); transform: translateY(10px) scale(0.95); opacity: 0; pointer-events: none; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: bottom left; }
  @media (min-width: 768px) { .wa-popup { max-width: 300px; } }
  .wa-popup.show { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
  .wa-popup-header { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
  .wa-popup-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .wa-popup-avatar svg { width: 20px; height: 20px; }
  .wa-popup-name { font-family: 'Fraunces', serif; font-size: 1rem; color: var(--cream); line-height: 1.2; }
  .wa-popup-status { font-size: 0.7rem; color: var(--wa-green); display: flex; align-items: center; gap: 0.3rem; }
  .wa-popup-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--wa-green); box-shadow: 0 0 8px var(--wa-green); }
  .wa-popup-msg { color: var(--cream-soft); font-size: 0.85rem; line-height: 1.5; margin: 0.75rem 0 1rem; padding-left: 0.5rem; border-left: 2px solid var(--line-strong); }
  .wa-popup-close { position: absolute; top: 0.6rem; right: 0.8rem; background: none; border: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 0; transition: color 0.2s; }
  .wa-popup-close:hover { color: var(--gold); }
  .wa-popup-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--wa-green); color: #fff; padding: 0.55rem 1.1rem; border-radius: 20px; text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; transition: all 0.3s ease; }
  .wa-popup-btn:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: 0 8px 20px -5px rgba(37, 211, 102, 0.4); }
  .wa-popup-btn svg { width: 16px; height: 16px; }

  .wa-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--wa-green); display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; box-shadow: 0 10px 30px -5px rgba(37, 211, 102, 0.5); transition: all 0.3s ease; z-index: 2; }
  @media (min-width: 768px) { .wa-btn { width: 62px; height: 62px; } }
  .wa-btn:hover { transform: scale(1.08); background: #1ebe5d; }
  .wa-btn svg { width: 30px; height: 30px; fill: #fff; }
  @media (min-width: 768px) { .wa-btn svg { width: 34px; height: 34px; } }
  .wa-btn::before, .wa-btn::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa-green); animation: waPulse 2.5s ease-out infinite; z-index: -1; }
  .wa-btn::after { animation-delay: 1.2s; }
  @keyframes waPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
  .wa-badge { position: absolute; top: -2px; right: -2px; width: 22px; height: 22px; background: var(--gold-bright); color: var(--bg); border-radius: 50%; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); z-index: 3; }
  .wa-tooltip { display: none; position: absolute; left: 75px; top: 50%; transform: translateY(-50%) translateX(-10px); background: var(--bg-3); color: var(--cream); padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.8rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: all 0.3s ease; border: 1px solid var(--line); box-shadow: 0 8px 20px -5px rgba(0,0,0,0.4); }
  @media (min-width: 768px) { .wa-tooltip { display: block; } }
  .wa-btn:hover .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }
  .wa-tooltip::before { content: ''; position: absolute; left: -6px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-right-color: var(--bg-3); }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .slide.active .slide-bg img { animation: none; transform: scale(1.15) translateY(-2%); }
  }

/* =====================================================================
   WordPress additions
   ===================================================================== */
a.service-card, a.work-card { display: block; color: inherit; text-decoration: none; }
.logo-img { max-height: 42px; width: auto; }
.logo-footer .logo-img { max-height: 64px; }
.nav-links a, .mobile-menu a { text-decoration: none; }

/* Admin bar offsets */
.admin-bar .nav { top: 32px; }
.admin-bar .mobile-menu { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .nav, .admin-bar .mobile-menu { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .nav { top: 0; } #wpadminbar { position: fixed; } }

/* Custom cursor switched off in Customizer */
body.slk-no-cursor, body.slk-no-cursor a, body.slk-no-cursor .nav-link, body.slk-no-cursor .service-card,
body.slk-no-cursor .work-card, body.slk-no-cursor .slider-dot, body.slk-no-cursor .btn { cursor: auto; }
body.slk-no-cursor a, body.slk-no-cursor button, body.slk-no-cursor .btn { cursor: pointer; }
body.slk-no-grain::before { display: none; }

/* Page header for generic pages / blog */
.slk-page-head { padding: 6rem 1.5rem 3rem; max-width: 1600px; margin: 0 auto; }
@media (min-width: 768px) { .slk-page-head { padding: 8rem 2.5rem 4rem; } }

/* Block-editor / classic content */
.slk-prose { color: var(--cream-soft); font-size: 1.05rem; line-height: 1.8; max-width: 820px; }
.slk-prose > * + * { margin-top: 1.25em; }
.slk-prose h1, .slk-prose h2, .slk-prose h3, .slk-prose h4 { font-family: 'Fraunces', serif; color: var(--cream); font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; margin-top: 1.8em; }
.slk-prose h1 { font-size: 2.6rem; } .slk-prose h2 { font-size: 2.1rem; } .slk-prose h3 { font-size: 1.6rem; } .slk-prose h4 { font-size: 1.3rem; }
.slk-prose a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.slk-prose strong { color: var(--cream); font-weight: 600; }
.slk-prose ul { list-style: disc; padding-left: 1.4em; } .slk-prose ol { list-style: decimal; padding-left: 1.4em; }
.slk-prose li + li { margin-top: .4em; }
.slk-prose blockquote { border-left: 2px solid var(--gold); padding-left: 1.25rem; font-family: 'Fraunces', serif; font-style: italic; font-size: 1.4rem; color: var(--cream); }
.slk-prose img, .slk-prose figure { max-width: 100%; height: auto; }
.slk-prose figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.slk-prose table { width: 100%; border-collapse: collapse; } .slk-prose td, .slk-prose th { border: 1px solid var(--line); padding: .6rem .8rem; }
.slk-prose pre, .slk-prose code { background: var(--bg-3); border-radius: 2px; padding: .15em .4em; font-size: .9em; }
.slk-prose pre { padding: 1rem; overflow-x: auto; }
.slk-prose .wp-block-button__link { background: linear-gradient(135deg, var(--gold), var(--gold-rich)); color: var(--bg); text-decoration: none; border-radius: 2px; padding: .85rem 1.6rem; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; }
.slk-prose .alignwide { max-width: 1200px; } .slk-prose .aligncenter { margin-left: auto; margin-right: auto; }
.slk-extra-content { padding: 0 1.5rem 5rem; max-width: 1600px; margin: 0 auto; }
@media (min-width: 768px) { .slk-extra-content { padding: 0 2.5rem 6rem; } }

/* Blog cards */
.slk-post-card { display: block; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .4s ease, transform .4s ease; text-decoration: none; color: inherit; }
.slk-post-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.slk-post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.slk-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); margin: 0 .2rem; color: var(--cream-soft); }
.slk-pagination .page-numbers.current, .slk-pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold-light); }

/* Forms (comments, search) */
.slk-prose input[type=text], .slk-prose input[type=email], .slk-prose input[type=url], .slk-prose textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea, .search-form input[type=search] { width: 100%; background: transparent; border: 1px solid var(--line-strong); color: var(--cream); padding: .8rem 1rem; }
.comment-form .submit, .search-form button { background: linear-gradient(135deg, var(--gold), var(--gold-rich)); color: var(--bg); padding: .8rem 1.6rem; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 600; margin-top: 1rem; }
.comment-list { list-style: none; padding: 0; } .comment-list .comment { border-top: 1px solid var(--line); padding: 1.25rem 0; }

.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; background: var(--gold); color: var(--bg); padding: .8rem 1.2rem; top: 8px; left: 8px; }
.slk-hp { position: absolute !important; left: -9999px !important; }
.customize-partial-edit-shortcut button { cursor: pointer !important; }
