/* XSTYLZ website themes. Original dark styles remain in site.css. */
:root { color-scheme: dark; }

/* Compact, accessible header control on desktop and mobile. */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin-left: -15px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(255,255,255,.055);
  color: #f3f3f0;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
  position: relative;
  z-index: 72;
}
.theme-toggle:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); transform: rotate(12deg); }
.theme-toggle:focus-visible { outline: 3px solid #c9a24b; outline-offset: 3px; }
.theme-icon { display: block; }
.theme-icon-moon { display: none; }

@media (max-width: 920px) {
  .theme-toggle { margin-left: auto; flex-basis: 42px; }
  .menu-button { margin-left: -17px; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle { transition: none; }
  .theme-toggle:hover { transform: none; }
}

/* A warm, editorial light version of the complete public site. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f3ec;
  --bg2: #eee9e1;
  --bg3: #e6e0d8;
  --ink: #0f1b2d;
  --soft: #4f5b6b;
  --muted: #677282;
  --stroke: rgba(15,27,45,.2);
  --stroke2: rgba(15,27,45,.12);
  --accent: #967338;
  --glow: #c7b6a2;
}
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }

[data-theme="light"] body { background: var(--bg); color: var(--ink); }
[data-theme="light"] ::selection { background: #d6c3a0; color: #0f1b2d; }
[data-theme="light"] em { color: #816c59; }
[data-theme="light"] .eyebrow { color: #566172; }
[data-theme="light"] .alternate { background: #efeae2; }
[data-theme="light"] .logo-dot,
[data-theme="light"] .footer-word span,
[data-theme="light"] .title-period { color: #a27c3b; }
[data-theme="light"] .logo-symbol { filter: brightness(0) saturate(100%) invert(12%) sepia(17%) saturate(1755%) hue-rotate(179deg); }
[data-theme="light"] .theme-toggle { color: #0f1b2d; background: #ffffffb5; border-color: #0f1b2d33; }
[data-theme="light"] .theme-toggle:hover { background: #e9e2d7; border-color: #0f1b2d77; }
[data-theme="light"] .site-header { border-bottom-color: #0f1b2d1c; }
[data-theme="light"] .site-header.scrolled { background: rgba(246,243,236,.9); }
[data-theme="light"] .desktop-nav>a,
[data-theme="light"] .nav-drop-trigger { color: #344255; }
[data-theme="light"] .desktop-nav>a:hover,
[data-theme="light"] .nav-drop-trigger:hover { color: #0f1b2d; }
[data-theme="light"] .header-contact { border-color: #0f1b2d70; color: #0f1b2d; }
[data-theme="light"] .header-contact:hover { background: #e3dbcd; }
[data-theme="light"] .menu-button span { background: #0f1b2d; }
[data-theme="light"] .dropdown-panel { background: #fffcf7; border-color: #ded6ca; box-shadow: 0 24px 65px #22304725; }
[data-theme="light"] .dropdown-kicker { color: #6a7180; }
[data-theme="light"] .dropdown-panel a { color: #344255; border-bottom-color: #0f1b2d18; }
[data-theme="light"] .dropdown-panel a:hover { color: #0f1b2d; background: #eee7dc; }

/* Home hero: subtle cream lighting; keep all original artwork and motion. */
[data-theme="light"] .hero { background: #f6f3ec; }
[data-theme="light"] .hero-world:after {
  background: linear-gradient(90deg,#f6f3ec 3%,rgba(246,243,236,.91) 28%,rgba(246,243,236,.16) 70%),
              linear-gradient(0deg,#f6f3ec 0%,transparent 18%,transparent 73%,#f6f3ec44);
}
[data-theme="light"] .hero-aurora {
  background: radial-gradient(ellipse at 60% 40%,#d1c0bc 0,transparent 31%),
              radial-gradient(ellipse at 32% 70%,#b7c3d1 0,transparent 45%),
              radial-gradient(ellipse at 73% 72%,#d8bbab 0,transparent 44%);
  opacity: .67;
}
[data-theme="light"] .hero-arc { border-color: #0f1b2d24; }
[data-theme="light"] .hero-arc-b { border-color: #98795332; }
[data-theme="light"] .hero-grain { opacity: .065; }
[data-theme="light"] .hero-kicker,
[data-theme="light"] .hero-bottomline,
[data-theme="light"] .location-tag { color: #556174; }
[data-theme="light"] .hero h1 em { color: #84705e; }
[data-theme="light"] .hero-title-wrap>p { color: #4e5a6a; }
[data-theme="light"] .hero-art-ring { border-color: #35415444; box-shadow: 0 0 70px #a18c7130; }
[data-theme="light"] .hero-art-caption span,
[data-theme="light"] .hero-art-text { color: #495568; }
[data-theme="light"] .scroll-prompt { color: #0f1b2d; }
[data-theme="light"] .cursor-glow { background: radial-gradient(circle,#b5a89122,transparent 70%); }

/* Buttons and reusable headings. */
[data-theme="light"] .btn { border-color: #506073; }
[data-theme="light"] .btn:hover { border-color: #0f1b2d; }
[data-theme="light"] .btn-light { background: #0f1b2d; border-color: #0f1b2d; color: #fffdf8; }
[data-theme="light"] .btn-light:hover { background: #2d3e54; color: #fffdf8; }
[data-theme="light"] .btn-outline { background: rgba(255,255,255,.48); color: #0f1b2d; }
[data-theme="light"] .btn-outline:hover { background: #fffdf8; }
[data-theme="light"] .text-link:hover { color: #86652e; border-color: #86652e; }
[data-theme="light"] .statement span { color: #727987; }
[data-theme="light"] .round-orbit { color: #9f895f; }
[data-theme="light"] .service-row:hover { background: linear-gradient(90deg,#e6ddd099,transparent); }
[data-theme="light"] .service-index,
[data-theme="light"] .service-category { color: #677282; }
[data-theme="light"] .service-row:hover .service-arrow { color: #0f1b2d; }

/* Product and portfolio showcases. Dark NFC card artwork is left unchanged. */
[data-theme="light"] .nfc-feature { background: #fffcf7; border-color: #ded6ca; }
[data-theme="light"] .pill-row span { color: #485568; border-color: #9ca5ae; }
[data-theme="light"] .nfc-feature-art { background: radial-gradient(circle at 48% 40%,#d8ccbb 0,#c9c1b8 45%,#e6dfd5 100%); }
[data-theme="light"] .nfc-art-glow { border-color: #0f1b2d25; }
[data-theme="light"] .work-home { background: #eee9e1; }
[data-theme="light"] .project-image { background: transparent; }
[data-theme="light"] .project-meta,
[data-theme="light"] .project-num { color: #4c586b; }
[data-theme="light"] .brand-name { color: #59677a; }
[data-theme="light"] .brand-name img { opacity: .84; }
[data-theme="light"] .social-section { background: #f6f3ec; }
[data-theme="light"] .social-empty { background: #fffcf7; }
[data-theme="light"] .social-empty-art { background: radial-gradient(circle at 48% 52%,#c8c2bb 0,#e0d7cf 42%,#eee8df 90%); }
[data-theme="light"] .social-empty-art:after { border-color: #0f1b2d22; }
[data-theme="light"] .reel-thumb { background: radial-gradient(circle at 65% 30%,#bec3c8,#e6e0d8 70%); }
[data-theme="light"] .reel-big-icon,
[data-theme="light"] .reel-card .micro { color: #6c7887; }
[data-theme="light"] .review-grid blockquote { background: #fffcf788; }

/* Interior pages, service pricing, informational panels and forms. */
[data-theme="light"] .page-hero {
  background: radial-gradient(ellipse at 90% 0%,#d8cabd 0,transparent 46%),
              linear-gradient(115deg,#f6f3ec,#eae4dc);
}
[data-theme="light"] .page-hero:after { border-color: #0f1b2d1d; }
[data-theme="light"] .page-hero h1 em { color: #85715d; }
[data-theme="light"] .breadcrumbs { color: #627084; }
[data-theme="light"] .breadcrumbs span { color: #77818e; }
[data-theme="light"] .breadcrumbs a:hover { color: #0f1b2d; }
[data-theme="light"] .package-price { color: #18263a; }
[data-theme="light"] .detail-note .asterisk { color: #9c7945; }
[data-theme="light"] .process-grid>div { border-top-color: #a6a8aa; }
[data-theme="light"] .process-grid>div>span { color: #657182; }
[data-theme="light"] .callout-box { background: #e9e1d6; }
[data-theme="light"] .project-video,
[data-theme="light"] .nfc-video-shell { background: #e3dbd2; }
[data-theme="light"] .video-placeholder { background: radial-gradient(circle at 60% 40%,#c8c4cf 0,#dad4d1 48%,#e8e2d8 100%); }
[data-theme="light"] .video-play { border-color: #46566a; }
[data-theme="light"] .market-card { background: #e8e1d6; }
[data-theme="light"] .market-card strong span { color: #5c6979; }
[data-theme="light"] .soon-label { background: #ffffff88; }
[data-theme="light"] .contact-method>span { color: #637084; }
[data-theme="light"] .contact-method a:hover { color: #936f35; }
[data-theme="light"] .contact-social { color: #506073; }
[data-theme="light"] .contact-form-wrap { background: #fffcf7; border-color: #ddd5cb; }
[data-theme="light"] form label { color: #344255; }
[data-theme="light"] form input:not([type=checkbox]),
[data-theme="light"] form textarea,
[data-theme="light"] form select { background: #fff; color: #0f1b2d; border-color: #a8adb4; }
[data-theme="light"] form input:focus,
[data-theme="light"] form textarea:focus,
[data-theme="light"] form select:focus { border-color: #5b6b7f; }
[data-theme="light"] form input::placeholder,
[data-theme="light"] form textarea::placeholder { color: #647082; }
[data-theme="light"] .consent input { accent-color: #0f1b2d; }
[data-theme="light"] .form-success { color: #17663e; }

/* Closing statement and footer keep the light palette consistent. */
[data-theme="light"] .closing-cta { background: #e7e0d6; }
[data-theme="light"] .cta-mesh {
  opacity: .7;
  background: radial-gradient(ellipse at 25% 115%,#cdbbac 0,transparent 44%),
              radial-gradient(ellipse at 75% -25%,#c7c7cf 0,transparent 57%),
              linear-gradient(120deg,#e4dcd2,#eae4da);
}
[data-theme="light"] .cta-mesh:after { border-color: #0f1b2d1c; box-shadow: 0 0 0 110px #0f1b2d05,0 0 0 230px #0f1b2d04; }
[data-theme="light"] .closing-inner h2 em { color: #866d57; }
[data-theme="light"] .closing-inner>.micro { color: #5f6b78; }
[data-theme="light"] .site-footer { background: #ebe5dc; }
[data-theme="light"] .footer-nav a { color: #445265; }
[data-theme="light"] .footer-nav a:hover { color: #0f1b2d; }
[data-theme="light"] .footer-bottom { color: #5e6a7b; }
[data-theme="light"] .footer-bottom a { color: #1f2d40; }
[data-theme="light"] .whatsapp-float { background: #0f1b2d; color: #fff; box-shadow: 0 12px 40px #25304335; }
[data-theme="light"] .whatsapp-float:hover { background: #263852; }

@media (max-width: 920px) {
  [data-theme="light"] .mobile-nav { background: #f6f3ec; }
  [data-theme="light"] .mobile-nav-scroll>a,
  [data-theme="light"] .mobile-nav summary { color: #0f1b2d; border-bottom-color: #0f1b2d30; }
  [data-theme="light"] .mobile-subnav a { color: #4c596a; }
  [data-theme="light"] .mobile-actions a { border-color: #687385; color: #0f1b2d; }
}

/* Shown only when the website owner configures both Turnstile keys. */
.turnstile-check { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-height: 86px; }
.turnstile-check p { margin: 0; font-size: 11px; font-weight: 600; color: var(--soft); }
