/* Master of Light — Static site 8-16
   Dark industrial + gold (aligned with Amazon A+ brand) */

:root {
  --bg: #0c0e12;
  --bg-elevated: #141820;
  --bg-card: #1a1f2a;
  --bg-soft: #222834;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(212, 175, 90, 0.35);
  --text: #f2f4f7;
  --text-muted: #9aa3b2;
  --text-dim: #6b7380;
  --gold: #d4af5a;
  --gold-soft: #e8c97a;
  --gold-dim: #9a7b3a;
  --accent: #3d8bfd;
  --white: #ffffff;
  --success: #3ecf8e;
  --radius: 10px;
  --radius-sm: 6px;
  --max: 1140px;
  --font: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Outfit", "DM Sans", system-ui, sans-serif;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  --header-h: 4.25rem;
  /* Keep home hero + featured images the same max size */
  --home-img-max: 420px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-soft);
  text-underline-offset: 3px;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--white);
}

/* —— Layout —— */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 40rem;
}

/* —— Header (white bar so dark logo reads clearly) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12, 14, 18, 0.1);
  box-shadow: 0 1px 0 rgba(12, 14, 18, 0.04), 0 8px 24px rgba(12, 14, 18, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.7rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #141820;
}

.logo img {
  height: 44px;
  width: auto;
  /* Registered / dark logos on white */
  max-width: min(220px, 48vw);
  object-fit: contain;
  object-position: left center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #141820;
}

.logo-text span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.5rem;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: #3d4554;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: #0c0e12;
  border-bottom-color: var(--gold);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.5rem 0.95rem !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #14120a !important;
  font-weight: 700 !important;
  border-bottom: none !important;
  font-size: 0.85rem !important;
}

.nav-cta:hover {
  filter: brightness(1.06);
  color: #000 !important;
}

.nav-toggle {
  display: none;
  background: #f4f5f7;
  border: 1px solid rgba(12, 14, 18, 0.12);
  color: #141820;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-dim));
  color: #14120a;
}

.btn-primary:hover {
  color: #000;
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-soft);
  border-color: var(--border-strong);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 90, 0.1);
  color: var(--white);
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(212, 175, 90, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(61, 139, 253, 0.08), transparent 50%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
}

.hero .lead {
  margin-bottom: 0.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0.5rem;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.badge-gold {
  border-color: var(--border-strong);
  color: var(--gold-soft);
  background: rgba(212, 175, 90, 0.1);
}

.hero-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 1;
  width: 100%;
  max-width: var(--home-img-max);
  margin-left: auto;
  justify-self: end;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(12, 14, 18, 0.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-float strong {
  color: var(--gold-soft);
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —— Paths / dual offer —— */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.path-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.path-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.path-card.featured {
  border-color: var(--border-strong);
  background:
    linear-gradient(160deg, rgba(212, 175, 90, 0.1), transparent 55%),
    var(--bg-card);
}

.path-card h3 {
  font-size: 1.35rem;
  margin: 0.35rem 0 0.65rem;
}

.path-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}

.path-card ul {
  list-style: none;
  margin-bottom: 1.25rem;
}

.path-card li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.path-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* —— Feature strip —— */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: left;
}

.feature-item .icon {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.feature-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* —— Featured LED —— */
.featured-led {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--home-img-max)) 1fr;
  gap: 2.5rem;
  align-items: center;
}

.featured-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: var(--home-img-max);
  aspect-ratio: 1;
}

.featured-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.featured-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.featured-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.25rem;
}

.spec-pills span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* —— Products —— */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(212, 175, 90, 0.08), transparent 50%),
    var(--bg);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
}

.catalog-nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.catalog-nav a:hover {
  border-color: var(--border-strong);
  color: var(--gold-soft);
}

.catalog-section {
  padding: 2.5rem 0 1rem;
}

.catalog-section h2 {
  font-size: 1.55rem;
  margin-bottom: 0.35rem;
}

.catalog-section .section-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
  font-size: 0.98rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: rgba(212, 175, 90, 0.4);
  transform: translateY(-3px);
}

.product-card.highlight {
  border-color: var(--border-strong);
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 0;
}

.product-card.highlight .product-body {
  justify-content: center;
  padding: 1.75rem 2rem;
}

.product-img {
  background: #0a0c10;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card.highlight .product-img {
  aspect-ratio: auto;
  min-height: 100%;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body .tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.product-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.product-body .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  flex: 1;
}

.product-body .btn {
  align-self: flex-start;
}

/* —— Amazon page —— */
.amazon-panel {
  display: grid;
  grid-template-columns: 1.35fr minmax(140px, 220px);
  gap: 1.5rem 2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 2rem;
}

.amazon-panel h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.amazon-panel p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Compact side image — avoids tall full-bleed scroll */
.amazon-panel-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0c10;
  max-width: 220px;
  margin-inline: auto;
}

.amazon-panel-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  max-height: 220px;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-list .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.contact-list a,
.contact-list span {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-form h3 {
  margin-bottom: 0.35rem;
}

.form-note {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(212, 175, 90, 0.15);
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(62, 207, 142, 0.12);
  border: 1px solid rgba(62, 207, 142, 0.3);
  border-radius: var(--radius-sm);
  color: var(--success);
  font-size: 0.92rem;
}

.form-success.show {
  display: block;
}

/* —— Footer —— */
.site-footer {
  margin-top: 3rem;
  padding: 2.75rem 0 1.75rem;
  background: #080a0e;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.site-footer h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.site-footer p {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 28ch;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* —— Misc —— */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Responsive —— */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.lifestyle-card {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.lifestyle-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.lifestyle-card figcaption {
  padding: 0.55rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .hero-grid,
  .featured-grid,
  .paths,
  .contact-grid,
  .amazon-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .featured-media {
    max-width: min(var(--home-img-max), 100%);
    margin-inline: auto;
    justify-self: center;
  }

  .amazon-panel-media {
    max-width: 160px;
    order: -1;
  }

  .amazon-panel-media img {
    max-height: 160px;
  }

  .product-card.highlight {
    grid-template-columns: 1fr;
  }

  .lifestyle-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-strip {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-card.highlight .product-img {
    aspect-ratio: 1;
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-bottom: 1px solid rgba(12, 14, 18, 0.1);
    box-shadow: 0 12px 28px rgba(12, 14, 18, 0.1);
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(12, 14, 18, 0.08);
    color: #3d4554;
  }

  .nav a:hover,
  .nav a.active {
    color: #0c0e12;
  }

  .logo img {
    height: 38px;
  }

  .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
    border-bottom: none !important;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 34px;
  }
}
