/*
Theme Name:  eClinton OS
Theme URI:   https://eclinton.com
Author:      eClinton
Author URI:  https://eclinton.com
Description: eClinton OS — the operating system for the eClinton universe. A dark cosmic sky where the Sun is the eClinton brand, a crescent Moon is eClinton Media, and glowing Stars are every product. Names are always visible beneath each star and everything expands on hover.
Version:     1.2.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License:     Proprietary — All Rights Reserved
License URI: https://eclinton.com
Text Domain: eclinton-ecosystem
Tags:        dark, full-width-template, custom-menu, custom-logo, featured-images, translation-ready

© eClinton Conglomerate (Reg. 7074012). eClinton OS is designed and
built entirely in-house by eClinton. No portion of its design, code,
or branding may be copied, reproduced, or redistributed without
written permission. All rights reserved.
*/

/* =============================================================
   CSS VARIABLES
   ============================================================= */
:root {
  --sky:          #020510;
  --sky-mid:      #030818;
  --sky-far:      #0a1230;
  --gold:         #f4c842;
  --gold-glow:    rgba(244,200,66,0.5);
  --silver:       #c8d8f0;
  --star:         #a0c4ff;
  --muted:        rgba(160,196,255,0.62);
  --border:       rgba(160,196,255,0.07);
  --spring:       cubic-bezier(0.34,1.56,0.64,1);
}

/* =============================================================
   ACCESSIBILITY — skip link + keyboard focus indicators.
   cursor:none (used throughout for the custom cursor dot) removes
   the native mouse cursor, but that's a separate thing from
   keyboard focus — this site had almost no visible focus styling,
   which is the one that actually matters for keyboard users.
   ============================================================= */
.eco-skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 10000;
  background: var(--sky); color: var(--silver);
  padding: 12px 22px; border: 1px solid var(--star);
  font-family: 'Rajdhani', sans-serif; font-size: .85rem; letter-spacing: 1px;
  text-decoration: none; border-radius: 3px;
  transition: top .2s ease;
}
.eco-skip-link:focus {
  top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--star);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =============================================================
   RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--sky);
  font-family: 'Rajdhani', sans-serif;
  color: var(--silver);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
  cursor: none;
  -webkit-user-select: none; -moz-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
/* Form fields stay selectable/editable — without this exception the
   site's own inputs (search boxes, comment forms, etc.) would break.
   Everything else, including page text, is locked per your request;
   see functions.php / my reply for the trade-offs this creates. */
input, textarea, select, [contenteditable] {
  -webkit-user-select: text; -moz-user-select: text; user-select: text;
  -webkit-touch-callout: default;
}
a { color: var(--star); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

/* =============================================================
   CUSTOM CURSOR
   ============================================================= */
.eco-cursor {
  position: fixed;
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width .18s, height .18s, background .18s, box-shadow .18s;
  box-shadow: 0 0 10px 3px rgba(255,255,255,0.38);
  will-change: left, top;
}
.eco-cursor.on {
  width: 24px; height: 24px;
  background: rgba(244,200,66,0.88);
  box-shadow: 0 0 20px 8px rgba(244,200,66,0.52);
}

/* =============================================================
   SKY CANVAS + NEBULAE
   ============================================================= */
#eco-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.eco-nebula {
  position: fixed; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 1;
}
.eco-nebula-a { width:500px;height:250px;background:rgba(20,40,110,.28);top:5%;left:3%; }
.eco-nebula-b { width:380px;height:380px;background:rgba(55,18,80,.18);top:35%;right:5%; }
.eco-nebula-c { width:700px;height:180px;background:rgba(10,28,70,.22);bottom:18%;left:15%; }

/* On interior pages (about/contact/careers/privacy/terms/etc.) the full
   vivid sky competes with reading long-form text, so it's dialed way
   down there — the homepage hero keeps the full effect. */
body:not(.eco-front) #eco-canvas   { opacity: .5; }
body:not(.eco-front) .eco-nebula   { opacity: .35; }

.eco-bg-stars { position: fixed; inset: 0; z-index: 2; pointer-events: none; }

/* =============================================================
   SITE HEADER
   ============================================================= */
.site-header {
  position: fixed; top:0; left:0; right:0; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px;
  background: linear-gradient(to bottom, rgba(2,5,16,.93) 0%, transparent 100%);
}
.site-branding { display: flex; align-items: center; }
.eco-logo-link { display: block; line-height: 1; text-decoration: none; }
.eco-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem; font-weight: 600; letter-spacing: .5px;
  display: inline-flex; align-items: baseline;
}
.eco-logo-e {
  color: #ff3b3b;
}
.eco-logo-rest {
  color: #4d94ff; margin-left: 1px;
}
.eco-logo-link:hover .eco-logo-e   { color: #ff5959; }
.eco-logo-link:hover .eco-logo-rest { color: #6ba8ff; }

.primary-navigation ul  { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 26px; max-width: 60vw; }
.primary-navigation a   { font-size: .72rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(200,216,240,.68); transition: color .3s; white-space: nowrap; }
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a { color: var(--gold); }

.eco-menu-btn {
  display: none; background: none;
  border: 1px solid rgba(160,196,255,.2);
  color: var(--silver); padding: 7px 15px;
  font: .7rem/1 'Rajdhani', sans-serif;
  letter-spacing: 3px; text-transform: uppercase;
  cursor: none; transition: all .3s;
}
.eco-menu-btn:hover { border-color: var(--gold); color: var(--gold); }

/* =============================================================
   HERO — COSMIC SKY
   ============================================================= */
.eco-hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; overflow: hidden;
}

/* ── SUN ── */
.eco-sun {
  position: absolute; top: 12%; left: 50%; transform: translateX(-50%);
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff6d0, #f4c842 38%, #e8900a 75%, #bf4e00);
  box-shadow:
    0 0 25px 12px rgba(244,200,66,.55),
    0 0 70px  35px rgba(244,150,20,.28),
    0 0 140px 70px rgba(200,100,10,.13);
  z-index: 20; cursor: none;
  transition: all .5s var(--spring);
}
.eco-sun::before {
  content: ''; position: absolute; inset: -18px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,200,66,.25) 0%, transparent 70%);
  animation: eco-pulse 4s ease-in-out infinite;
}
.eco-sun:hover {
  width: 140px; height: 140px;
  margin-top: -20px; margin-left: -20px;
  box-shadow:
    0 0 55px 28px rgba(244,200,66,.75),
    0 0 120px 60px rgba(244,150,20,.50),
    0 0 240px 120px rgba(200,100,10,.22);
}
.eco-sun__logo {
  position: absolute; inset: 16px; border-radius: 50%;
  object-fit: contain; mix-blend-mode: overlay; opacity: .85;
}

.eco-sun-label {
  position: absolute; top: calc(12% + 118px); left: 50%;
  transform: translateX(-50%); text-align: center;
  pointer-events: none; z-index: 20;
}
.eco-sun-label__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 300; letter-spacing: 8px;
  color: var(--gold); text-shadow: 0 0 35px rgba(244,200,66,.8);
}
.eco-sun-label__sub {
  font-size: .65rem; letter-spacing: 5px; text-transform: uppercase;
  color: rgba(244,200,66,.65); margin-top: 6px;
}

/* ── CRESCENT MOON (SVG — geometry-based, no background matching needed) ── */
.eco-moon-svg-wrap { flex-shrink: 0; }
.eco-moon-svg { width: 100%; height: 100%; overflow: visible; display: block; }

/* ── ALWAYS-VISIBLE STAR LABELS ── */
.eco-star-tag {
  display: block; margin-top: 7px;
  font-family: 'Rajdhani', sans-serif;
  font-size: .58rem; letter-spacing: 3px; text-transform: uppercase;
  white-space: nowrap; pointer-events: none;
  transition: letter-spacing .32s, color .32s, text-shadow .32s;
}
/* Moon tag colours */
.eco-moon-wrap .eco-star-tag {
  color: rgba(200,216,240,.6);
  text-shadow: 0 0 10px rgba(200,216,240,.28);
}
.eco-moon-wrap:hover .eco-star-tag {
  color: rgba(220,235,255,.96);
  letter-spacing: 5px;
  text-shadow: 0 0 18px rgba(200,216,240,.72);
}

/* ── PRODUCT STAR WRAPS ── */
.eco-stars-field { position: absolute; inset: 0; z-index: 15; pointer-events: none; }

.eco-star-wrap {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  cursor: none; pointer-events: all; z-index: 15;
}
.eco-star-ball {
  border-radius: 50%; flex-shrink: 0;
  transition:
    width  0.4s cubic-bezier(0.34,1.56,0.64,1),
    height 0.4s cubic-bezier(0.34,1.56,0.64,1),
    margin 0.4s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow 0.4s ease;
}

/* ── HOVER DESCRIPTION — zooms in on hover, zooms back out on leave ── */
.eco-star-desc {
  position: absolute; top: 100%; left: 50%; margin-top: 14px;
  width: 190px; padding: 12px 15px;
  background: rgba(4,7,22,.92);
  border: 1px solid rgba(160,196,255,.2);
  border-radius: 2px;
  font-family: 'Rajdhani', sans-serif;
  font-size: .72rem; line-height: 1.6; text-align: center;
  color: rgba(210,224,250,.82); text-transform: none; letter-spacing: .2px;
  white-space: normal; pointer-events: none;
  transform: translateX(-50%) scale(.5);
  transform-origin: top center;
  opacity: 0;
  transition: transform .4s var(--spring), opacity .3s ease;
  z-index: 60;
}
.eco-star-wrap:hover .eco-star-desc,
.eco-star-wrap:focus-visible .eco-star-desc {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

/* ── SCROLL HINT ── */
.eco-hint {
  position: absolute; bottom: 64px; left: 0; right: 0;
  text-align: center; z-index: 20; pointer-events: none;
}
.eco-hint p {
  font-size: .75rem; letter-spacing: 6px; text-transform: uppercase;
  color: rgba(160,196,255,.75);
  text-shadow: 0 0 20px rgba(160,196,255,.6), 0 0 40px rgba(160,196,255,.3);
  animation: eco-float 6s ease-in-out infinite;
}
.eco-hero-copy {
  margin-top: 14px; font-size: .56rem !important; letter-spacing: 3px !important;
  color: rgba(160,196,255,.68) !important; text-shadow: none !important;
  animation: none !important; text-transform: uppercase;
}

/* =============================================================
   SOCIAL LINKS — small glowing "star" buttons, same visual family
   as the product stars but sized down for a row of icons.
   ============================================================= */
.eco-socials {
  position: absolute; bottom: 14px; left: 0; right: 0; z-index: 22;
  display: flex; justify-content: center; align-items: center;
  gap: 12px; flex-wrap: wrap; padding: 0 16px;
}
.eco-social-star {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  color: rgba(230,238,255,.85);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.14), rgba(160,196,255,.05) 70%);
  box-shadow: 0 0 8px 2px rgba(160,196,255,.22), 0 0 18px 4px rgba(160,196,255,.1);
  text-decoration: none; cursor: none;
  transition: transform .35s var(--spring), box-shadow .35s ease, color .35s ease, width .35s var(--spring), height .35s var(--spring);
}
.eco-social-star svg { width: 15px; height: 15px; }
.eco-social-star:hover,
.eco-social-star:focus-visible {
  width: 40px; height: 40px;
  color: var(--eco-social-glow, #fff);
  box-shadow: 0 0 16px 5px var(--eco-social-glow, rgba(160,196,255,.6)), 0 0 34px 10px color-mix(in srgb, var(--eco-social-glow, #a0c4ff) 45%, transparent);
}
.eco-social-star:hover svg,
.eco-social-star:focus-visible svg { width: 18px; height: 18px; }

/* Hover/focus tooltip with the platform name — same idea as the
   star description tooltips, just simpler since it's one word. */
.eco-social-star__tip {
  position: absolute; bottom: 100%; left: 50%; margin-bottom: 10px;
  transform: translateX(-50%) scale(.6); transform-origin: bottom center;
  padding: 5px 10px; border-radius: 2px;
  background: rgba(4,7,22,.92); border: 1px solid rgba(160,196,255,.2);
  font-family: 'Rajdhani', sans-serif; font-size: .62rem; letter-spacing: 1px;
  color: rgba(220,230,250,.9); white-space: nowrap; pointer-events: none;
  opacity: 0; transition: transform .3s var(--spring), opacity .25s ease;
}
.eco-social-star:hover .eco-social-star__tip,
.eco-social-star:focus-visible .eco-social-star__tip {
  opacity: 1; transform: translateX(-50%) scale(1);
}

@media (max-width: 480px) {
  .eco-socials { bottom: 10px; gap: 8px; }
  .eco-social-star { width: 28px; height: 28px; }
  .eco-social-star svg { width: 13px; height: 13px; }
}

/* =============================================================
   SINGLE UNSCROLLABLE FRONT PAGE
   ============================================================= */
html.eco-front-html,
body.eco-front {
  height: 100vh; height: 100dvh; overflow: hidden;
}
body.eco-front .eco-hero { height: 100vh; height: 100dvh; }

/* =============================================================
   PRODUCTS SECTION
   ============================================================= */
.eco-products {
  position: relative; z-index: 10; padding: 100px 24px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(4,7,22,.97) 14%,
    rgba(4,7,22,.97) 86%,
    transparent 100%);
}
.eco-section-head { text-align: center; margin-bottom: 55px; }
.eco-section-head__eye  { font-size: .62rem; letter-spacing: 7px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eco-section-head__title { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; letter-spacing: 4px; color: var(--silver); }

.eco-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2px; max-width: 1100px; margin: 0 auto;
}
.eco-card {
  background: rgba(8,12,38,.6); border: 1px solid var(--border);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: background .38s, border-color .38s; cursor: none;
}
.eco-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 2px; height: 0; background: var(--star); transition: height .38s;
}
.eco-card:hover::before { height: 100%; }
.eco-card:hover { background: rgba(12,22,58,.82); border-color: rgba(160,196,255,.18); }

.eco-card__dot {
  width: 9px; height: 9px; border-radius: 50%; margin-bottom: 20px;
  transition: width .3s, height .3s, box-shadow .3s;
}
.eco-card:hover .eco-card__dot { width: 14px; height: 14px; }
.eco-card__name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: var(--silver); margin-bottom: 5px; letter-spacing: 2px; }
.eco-card__url  { font-size: .6rem; letter-spacing: 3px; color: rgba(160,196,255,.34); margin-bottom: 15px; }
.eco-card__desc { font-size: .82rem; line-height: 1.88; color: rgba(180,200,240,.44); }
.eco-card__link {
  display: inline-block; margin-top: 18px; font-size: .6rem;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(160,196,255,.36);
  border-bottom: 1px solid rgba(160,196,255,.14); padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.eco-card__link:hover { color: var(--star); border-color: var(--star); }

/* =============================================================
   ABOUT / CTA
   ============================================================= */
.eco-about {
  padding: 90px 30px; max-width: 860px; margin: 0 auto; text-align: center;
}
.eco-about p {
  font-family: 'Cormorant Garamond', serif; font-size: 1.45rem;
  font-weight: 300; line-height: 1.85; color: rgba(200,216,240,.48);
}
.eco-about strong { color: var(--silver); font-weight: 400; }

.eco-cta { padding: 90px 30px; text-align: center; position: relative; z-index: 20; background: rgba(4,7,22,.6); }
.eco-btn {
  display: inline-block; padding: 14px 46px;
  border: 1px solid rgba(160,196,255,.6);
  font: .7rem/1 'Rajdhani', sans-serif;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--star); cursor: none;
  transition: color .3s, background .3s, border-color .3s;
  position: relative; overflow: hidden;
  z-index: 20;
  background: rgba(4,7,22,.5);
}
.eco-btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--star); transform: scaleX(0);
  transform-origin: left; transition: transform .38s; z-index: -1;
}
.eco-btn:hover { color: var(--sky); border-color: var(--star); }
.eco-btn:hover::before { transform: scaleX(1); }

/* =============================================================
   STANDARD WP CONTENT
   ============================================================= */
.entry-header {
  padding: 148px 30px 46px; max-width: 860px; margin: 0 auto;
  position: relative; z-index: 5;
  background: rgba(2,4,14,.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.entry-title  { font-family: 'Cormorant Garamond', serif; font-size: 2.7rem; font-weight: 300; letter-spacing: 4px; color: var(--silver); line-height: 1.22; }
.entry-meta   { font-size: .6rem; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.entry-content {
  max-width: 760px; margin: 0 auto; padding: 34px 30px 68px;
  font-size: .97rem; line-height: 1.96; color: rgba(210,224,246,.78);
  position: relative; z-index: 5;
  background: rgba(2,4,14,.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.entry-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.72rem; font-weight: 400; color: var(--silver); letter-spacing: 2px; margin: 34px 0 13px; }
.entry-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.24rem; font-weight: 400; color: var(--silver); letter-spacing: 2px; margin: 28px 0 11px; }
.entry-content p  { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { margin: 0 0 22px 22px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 12px; }
.entry-content li::marker { color: rgba(160,196,255,.4); }
.entry-content strong { color: var(--silver); font-weight: 600; }
.entry-content a { border-bottom: 1px solid rgba(160,196,255,.3); }
.entry-content a:hover { border-color: var(--gold); }
.entry-content .eco-btn { border-bottom: none; }
.entry-content blockquote { border-left: 2px solid var(--star); padding: 6px 22px; margin: 26px 0; font-family: 'Cormorant Garamond', serif; font-size: 1.12rem; color: rgba(200,216,240,.65); font-style: italic; }

/* =============================================================
   SITE FOOTER
   ============================================================= */
.site-footer {
  position: relative; z-index: 10; padding: 48px 28px; text-align: center;
  border-top: 1px solid rgba(160,196,255,.05);
}
.eco-footer-cols { display: flex; justify-content: center; gap: 46px; margin-bottom: 34px; flex-wrap: wrap; }
.eco-footer-col h4 { font-size: .58rem; letter-spacing: 5px; text-transform: uppercase; color: var(--muted); margin-bottom: 15px; }
.eco-footer-col ul { list-style: none; }
.eco-footer-col li { margin-bottom: 8px; }
.eco-footer-col a  { font-size: .76rem; letter-spacing: 1px; color: rgba(200,216,240,.3); transition: color .3s; }
.eco-footer-col a:hover { color: var(--star); }
.eco-footer-copy { font-size: .56rem; letter-spacing: 4px; color: rgba(160,196,255,.15); text-transform: uppercase; }

/* =============================================================
   WIDGETS / COMMENTS / PAGINATION
   ============================================================= */
.widget-area  { padding: 48px 28px; border-top: 1px solid var(--border); }
.widget-title { font-size: .6rem; letter-spacing: 5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.comments-area { max-width: 760px; margin: 0 auto; padding: 34px 30px; }
.comments-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; letter-spacing: 3px; color: var(--silver); margin-bottom: 34px; }
.comment-form input,
.comment-form textarea {
  background: rgba(10,15,42,.82); border: 1px solid var(--border);
  color: var(--silver); padding: 11px 15px; width: 100%; margin-bottom: 13px;
  font: .88rem/1.5 'Rajdhani', sans-serif; letter-spacing: 1px;
  transition: border-color .3s;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: rgba(160,196,255,.28); }
.comment-form .submit {
  background: transparent; border: 1px solid rgba(160,196,255,.22);
  color: var(--star); padding: 10px 34px;
  font: .67rem/1 'Rajdhani', sans-serif; letter-spacing: 4px; text-transform: uppercase;
  cursor: none; transition: all .3s;
}
.comment-form .submit:hover { background: var(--star); color: var(--sky); }
.nav-links .page-numbers {
  display: inline-block; padding: 7px 13px; font-size: .66rem;
  letter-spacing: 2px; color: var(--muted);
  border: 1px solid var(--border); transition: all .3s;
}
.nav-links .page-numbers:hover,
.nav-links .page-numbers.current { border-color: rgba(160,196,255,.28); color: var(--star); }

/* =============================================================
   WHATSAPP FAB — a glowing ball in the same language as the
   product stars, draggable so it never permanently blocks content
   ============================================================= */
.eco-wa-fab {
  position: fixed; top: 66%; left: 74%; z-index: 9999;
  display: flex; flex-direction: column; align-items: center;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.eco-wa-fab__ball {
  display: block; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle at 38% 33%, #eafff2, #25D366 55%, #0e7a3d);
  box-shadow:
    0 0 20px 8px rgba(37,211,102,.55),
    0 0 46px 18px rgba(37,211,102,.26);
  animation: eco-twinkle 3.4s ease-in-out infinite;
  transition:
    width .4s var(--spring), height .4s var(--spring),
    box-shadow .4s ease, margin .4s var(--spring);
}
.eco-wa-fab:hover .eco-wa-fab__ball {
  animation-play-state: paused;
  width: 66px; height: 66px;
  margin: -5px;
  box-shadow:
    0 0 34px 14px rgba(37,211,102,.8),
    0 0 76px 30px rgba(37,211,102,.42);
}
.eco-wa-fab__label {
  display: block; margin-top: 9px;
  font-family: 'Rajdhani', sans-serif;
  font-size: .58rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(140,255,180,.78);
  text-shadow: 0 0 10px rgba(37,211,102,.5);
  white-space: nowrap; pointer-events: none;
  transition: letter-spacing .32s ease, color .32s ease;
}
.eco-wa-fab:hover .eco-wa-fab__label { color: #a6ffc8; letter-spacing: 5px; }

@media (max-width: 768px) {
  .eco-wa-fab__ball { width: 48px; height: 48px; }
  .eco-wa-fab__label { font-size: .52rem; }
}

/* =============================================================
   PAGE TRANSITION — the page content revolves on its orbit between
   pages, sending the old page away and bringing the new one in.

   This is scoped to #eco-orbit-stage / #page, NOT html or body.
   That wrapper contains no position:fixed elements at all (the
   header, sky canvas, nebulae and WhatsApp button all live outside
   it), so perspective/transform here can never corrupt fixed
   positioning elsewhere on the page — which is what caused the
   header, background and content to visibly break apart on scroll.
   ============================================================= */
#eco-orbit-stage { perspective: 1600px; }
#page {
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}

/* =============================================================
   NATIVE PAGE TRANSITIONS — Cross-Document View Transitions API.
   Opts every same-origin navigation into a browser-native animated
   swap: no JS, no click-interception, no artificial delay before
   the next page actually starts loading. Chrome/Edge 126+ and
   Safari 18.2+ support this today; Firefox is still shipping it.
   Everywhere else this at-rule is silently ignored and navigation
   just happens normally — that IS the fallback, nothing else
   needed. Respects prefers-reduced-motion automatically per spec,
   with an explicit override below as a second line of defence.
   ============================================================= */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: eco-view-out .5s cubic-bezier(.4,0,.2,1) both;
}
::view-transition-new(root) {
  animation: eco-view-in .5s cubic-bezier(.4,0,.2,1) both;
}
@keyframes eco-view-out {
  from { opacity: 1; transform: scale(1);     filter: blur(0); }
  to   { opacity: 0; transform: scale(.97);   filter: blur(3px); }
}
@keyframes eco-view-in {
  from { opacity: 0; transform: scale(1.03);  filter: blur(3px); }
  to   { opacity: 1; transform: scale(1);     filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) {
    animation: none !important;
  }
}

/* Site-wide reduced-motion support — twinkling stars, moon glow,
   shooting stars, hover zooms. A real WCAG 2.2 expectation, not a
   nice-to-have. (js/main.js also skips creating shooting-star
   elements at all when this preference is set.) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================
   KEYFRAMES
   ============================================================= */
@keyframes eco-pulse   { 0%,100%{transform:scale(1);opacity:.5}    50%{transform:scale(1.25);opacity:.83} }
@keyframes eco-twinkle { 0%,100%{opacity:.34;transform:scale(1)}   50%{opacity:1;transform:scale(1.32)}   }
@keyframes eco-float   { 0%,100%{opacity:.26;transform:translateY(0)} 50%{opacity:.54;transform:translateY(-7px)} }
@keyframes eco-shoot   { 0%{transform:translateX(0) translateY(0) rotate(-28deg);opacity:1;width:2px} 100%{transform:translateX(-380px) translateY(228px) rotate(-28deg);opacity:0;width:96px} }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 768px) {
  .site-header { padding: 14px 18px; }
  .eco-logo-text { font-size: 1.45rem; }
  .primary-navigation { display: none; }
  .primary-navigation.open {
    display: flex; flex-direction: column;
    position: fixed; top: 62px; left: 0; right: 0;
    background: rgba(2,5,16,.97); padding: 22px;
    border-top: 1px solid var(--border);
  }
  .primary-navigation.open ul { flex-direction: column; gap: 16px; }
  .eco-menu-btn { display: block; }
  .eco-sun { width: 80px; height: 80px; }
  .eco-sun:hover { width: 112px; height: 112px; }
  .eco-sun-label { top: calc(12% + 94px); }
  .eco-sun-label__name { font-size: 1.85rem; letter-spacing: 5px; }
  .eco-products  { padding: 68px 16px; }
  .entry-header, .entry-content, .comments-area { padding-left: 18px; padding-right: 18px; }
  .eco-footer-cols { flex-direction: column; align-items: center; gap: 26px; }
  .site-footer { padding: 34px 18px; }
  .eco-nebula-a { width: 260px; height: 160px; }
  .eco-nebula-b { width: 220px; height: 220px; }
  .eco-nebula-c { width: 280px; height: 130px; }
}
