/*
Theme Name: Swaaadle Lights
Theme URI: https://swaaadle.com/
Author: Swaaadle
Author URI: https://swaaadle.com/
Description: Custom WordPress theme for Swaaadle Lights, built for premium B2B lighting manufacturing experiences.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swaaadle
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --sw-color-ink: #14211d;
  --sw-color-charcoal: #1d2422;
  --sw-color-green-900: #0d3327;
  --sw-color-green-700: #176247;
  --sw-color-green-500: #2fa36b;
  --sw-color-green-100: #e8f4ee;
  --sw-color-white: #ffffff;
  --sw-color-surface: #f7faf8;
  --sw-color-border: rgba(20, 33, 29, 0.14);
  --sw-shadow-soft: 0 18px 45px rgba(13, 51, 39, 0.12);
  --sw-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sw-header-height: 76px;
  --sw-announcement-height: 42px;
  --sw-radius-sm: 8px;
  --sw-radius-md: 12px;
  --sw-transition: 180ms ease;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--sw-color-ink);
  font-family: var(--sw-font-sans);
  background: var(--sw-color-white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; height: auto; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  left: 0;
}

.site-footer {
  background: #0f1d16;
  color: #fff;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--sw-color-accent);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 2.4fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: var(--sw-container);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 1.25rem 2.25rem;
}

.site-footer__brand {
  max-width: 320px;
}

.site-footer__logo {
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.site-footer__company {
  color: var(--sw-color-accent);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.site-footer__summary {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.35rem, 3vw, 2.25rem);
}

.site-footer__nav h2 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.site-footer__nav ul {
  display: grid;
  gap: 0.62rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.76);
  display: inline-flex;
  font-size: 0.94rem;
  line-height: 1.35;
}

.site-footer__bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  max-width: var(--sw-container);
  margin: 0 auto;
  padding: 1.2rem 1.25rem 1.5rem;
}

.site-footer__bottom p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: flex-end;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    max-width: 620px;
  }

  .site-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    padding: 2.5rem 1rem 1.75rem;
  }

  .site-footer__columns {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.15rem 1rem 1.4rem;
  }

  .site-footer__legal {
    justify-content: flex-start;
  }
}
/* Shared branded download glyph used across frontend templates. */
.sw-download-icon {
  width: 1.25em;
  height: 1.25em;
  color: #be559f !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

/* CMS model uploads shared by LENS and AGNI Series. */
.lens-product-visual.has-series-model-image {
  background-image: var(--series-hero-model-image);
  background-size: contain;
  background-position: center;
}

.lens-model-card span[style*="--series-model-image"] {
  background-image: var(--series-model-image);
  background-size: contain;
  background-position: center;
}

/* Editable Series content icons: Kathir, Lite, Veyil, Lens and Agni. */
.series-v1--kathir .swaaadle-series-content-icon,
.series-v1--lite .swaaadle-series-content-icon,
.series-v1--veyil .swaaadle-series-content-icon,
.series-v1--lens .swaaadle-series-content-icon,
.series-v1--agni .swaaadle-series-content-icon {
  display: block;
  width: 26px;
  height: 26px;
  margin: auto;
  color: #be559f !important;
  stroke: currentColor;
}

.series-v1--kathir .series-related-icon {
  color: #be559f !important;
  stroke: currentColor;
}

.swaaadle-series-content-icon.is-uploaded,
.series-uploaded-icon {
  width: 28px;
  height: 28px;
  max-width: 100%;
  object-fit: contain;
}

/* Series visual consistency: Kathir, Lite, Veyil, Lens and Agni. */
.series-v1--kathir .series-section-title > small,
.series-v1--lite .lite-section-title > small,
.series-v1--veyil .veyil-section-title > small,
.series-v1--lens .lens-section-title > small,
.series-v1--agni .lens-section-title > small {
  display: none !important;
}

.series-v1--kathir .series-quick-specs i,
.series-v1--lite .lite-quick-specs i,
.series-v1--veyil .veyil-quick-specs i,
.series-v1--lens .lens-quick-specs i,
.series-v1--agni .lens-quick-specs i {
  display: grid !important;
  flex: 0 0 34px;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid #be559f !important;
  border-radius: 50% !important;
  color: #be559f !important;
  background: rgba(255, 255, 255, 0.96) !important;
  line-height: 1 !important;
}

.series-v1--kathir .series-quick-specs i > .swaaadle-series-content-icon,
.series-v1--lite .lite-quick-specs i > .swaaadle-series-content-icon,
.series-v1--veyil .veyil-quick-specs i > .swaaadle-series-content-icon,
.series-v1--lens .lens-quick-specs i > .swaaadle-series-content-icon,
.series-v1--agni .lens-quick-specs i > .swaaadle-series-content-icon {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  color: #be559f !important;
  stroke: currentColor;
}

.series-v1--kathir .series-quick-specs i > :is(svg, img),
.series-v1--lite .lite-quick-specs i > :is(svg, img),
.series-v1--veyil .veyil-quick-specs i > :is(svg, img),
.series-v1--lens .lens-quick-specs i > :is(svg, img),
.series-v1--agni .lens-quick-specs i > :is(svg, img) {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  object-fit: contain;
}

.series-v1--kathir :is(.series-kpis, .series-feature-track, .series-download-grid) i,
.series-v1--lite :is(.lite-kpis, .lite-download-grid) i,
.series-v1--veyil :is(.veyil-kpis, .veyil-download-grid) i,
.series-v1--lens .lens-download-grid i,
.series-v1--agni .lens-download-grid i {
  display: grid !important;
  place-items: center !important;
  border-color: #be559f !important;
  color: #be559f !important;
}

.series-v1--kathir .swaaadle-series-content-icon:not(.is-uploaded),
.series-v1--lite .swaaadle-series-content-icon:not(.is-uploaded),
.series-v1--veyil .swaaadle-series-content-icon:not(.is-uploaded),
.series-v1--lens .swaaadle-series-content-icon:not(.is-uploaded),
.series-v1--agni .swaaadle-series-content-icon:not(.is-uploaded) {
  color: #be559f !important;
  stroke: currentColor;
}

.series-v1--kathir i:has(> .swaaadle-series-content-icon),
.series-v1--lite i:has(> .swaaadle-series-content-icon),
.series-v1--veyil i:has(> .swaaadle-series-content-icon),
.series-v1--lens i:has(> .swaaadle-series-content-icon),
.series-v1--agni i:has(> .swaaadle-series-content-icon) {
  border-color: #be559f !important;
  color: #be559f !important;
}

.series-v1--lite .lite-system-diagram .lite-callout > span,
.series-v1--veyil .veyil-system-diagram .veyil-callout > span {
  display: grid !important;
  place-items: center !important;
  border-color: #be559f !important;
  color: #be559f !important;
}

.lite-feature-panel li,
.veyil-feature-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lite-feature-panel li .swaaadle-series-content-icon,
.veyil-feature-panel li .swaaadle-series-content-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0;
}

.lens-benefits li {
  grid-template-columns: 28px 1fr;
  align-items: center;
}

.lens-benefits li > .swaaadle-series-content-icon {
  grid-row: 1;
  width: 24px;
  height: 24px;
  margin: 0;
}

.lens-benefits li > span {
  display: grid;
  gap: 2px;
}

.lens-benefits li small {
  color: var(--lens-muted);
  font-size: .64rem;
}

.lens-env-row article > i {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-left: -19px;
  border: 1px solid #be559f;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #be559f;
}

.lens-env-row article > i .swaaadle-series-content-icon {
  width: 22px;
  height: 22px;
}

/* Series E1: full-width section backgrounds with 90% content areas.
 * Hero sizing and layout are intentionally excluded. */
.series-v1--kathir > .series-band,
.series-v1--lite > :is(.lite-section, .lite-environments, .lite-projects),
.series-v1--veyil > :is(.veyil-section, .veyil-environments, .veyil-projects),
.series-v1--lens > :is(.lens-section, .lens-applications, .lens-projects, .lens-large-spaces),
.series-v1--agni > :is(.lens-section, .lens-applications, .lens-projects, .lens-large-spaces) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 5%;
}

.series-v1--kathir > :is(.series-engineering, .series-applications, .series-bottom-cta) > .series-shell,
.series-v1--lite > .lite-bottom-cta > .lite-shell,
.series-v1--veyil > .veyil-bottom-cta > .veyil-shell,
.series-v1--lens > .lens-bottom-cta > .lens-shell,
.series-v1--agni > .lens-bottom-cta > .lens-shell {
  width: 90%;
  max-width: none;
  margin-inline: auto;
}

/* Uploaded Lens/Agni hero backgrounds retain the original overlays and geometry. */
.series-v1--lens .lens-hero[style*="--lens-hero-upload"]:before {
  background-image:
    linear-gradient(90deg, rgba(2,6,10,.98) 0%, rgba(3,8,14,.9) 32%, rgba(3,8,14,.36) 62%, rgba(3,8,14,.82) 100%),
    var(--lens-hero-upload);
}

.series-v1--agni .lens-hero[style*="--lens-hero-upload"]:before {
  background-image:
    linear-gradient(90deg, rgba(1,5,9,.98) 0%, rgba(3,8,13,.9) 31%, rgba(3,8,13,.28) 64%, rgba(3,8,13,.84) 100%),
    var(--lens-hero-upload);
}
