/* LED Mask Lab - Optimized 2026 Styles */
:root {
  --ink: #1a1714;
  --parchment: #f8f4ee;
  --warm: #ede7dc;
  --rose: #c4736a;
  --gold: #9a7640;
  --gold-light: #f7f0e2;
  --mist: #7a7269;
  --white: #fdfcfa;
  --green: #3d5c42;
  --green-light: #e8f0e9;
  --radius: 12px;
  --shadow: 0 2px 20px rgba(26,23,20,0.08);
}

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

body {
  font-family: 'Jost', system-ui, sans-serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 300;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.25; font-weight: 600; }

nav {
  background: var(--white);
  border-bottom: 1px solid rgba(26,23,20,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.logo span { color: var(--rose); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--mist);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: color .2s;
}

.nav-links a:hover { color: var(--rose); }

.hero {
  background: linear-gradient(160deg, #f9ede9 0%, #fdf3e3 50%, #e8ede9 100%);
  padding: 72px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-kicker {
  display: inline-block;
  background: rgba(196,115,106,.1);
  color: var(--rose);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(196,115,106,.2);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
  max-width: 680px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--mist);
  max-width: 580px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--taupe);
}

.hero-meta strong {
  color: var(--ink);
  display: block;
  font-size: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 24px;
}

.author-box {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--warm-white, #fffaf8);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin: 28px 0;
}

.author-av {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-dust, #e8c5bc), var(--rose));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  flex-shrink: 0;
}

.author-info h4 { font-size: 1rem; margin-bottom: 4px; }

.author-info p { font-size: .83rem; color: var(--mist); }

.qa-box {
  background: var(--sage-light, #e8ede9);
  border: 1px solid rgba(138,158,141,.25);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.qa-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 3px; }

.qa-box h3 {
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sage);
  margin-bottom: 7px;
  font-weight: 600;
}

.qa-box p { font-size: .93rem; line-height: 1.7; }

.science-section {
  background: var(--charcoal, #1e1a18);
  color: white;
  padding: 56px 24px;
}

.science-inner { max-width: 1160px; margin: 0 auto; }

.science-inner h2 { color: rgba(255,255,255,.95); margin-bottom: 8px; }

.science-inner .section-kicker { color: rgba(196,115,106,.85); }

.science-inner p {
  color: rgba(255,255,255,.6);
  max-width: 580px;
  margin-bottom: 32px;
  font-weight: 300;
}

.wl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.wl-card {
  border-radius: 12px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}

.wl-card.red { background: rgba(196,60,40,.18); border: 1px solid rgba(196,80,60,.3); }
.wl-card.nir { background: rgba(150,60,20,.15); border: 1px solid rgba(150,80,40,.25); }
.wl-card.deep-nir { background: rgba(100,40,10,.12); border: 1px solid rgba(120,60,20,.2); }
.wl-card.blue { background: rgba(60,90,180,.15); border: 1px solid rgba(80,110,200,.25); }

.wl-nm {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.wl-card.red .wl-nm { color: #ff8070; }
.wl-card.nir .wl-nm { color: #ffaa70; }
.wl-card.deep-nir .wl-nm { color: #ff7050; }
.wl-card.blue .wl-nm { color: #80aaff; }

.wl-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
  color: rgba(255,255,255,.5);
}

.wl-name {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  margin-bottom: 8px;
}

.wl-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

.wl-masks {
  margin-top: 12px;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}

.wl-masks strong { color: rgba(255,255,255,.5); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--warm-white, #fffaf8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(45,36,32,.13);
}

.card-img {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--blush, #f5e8e4);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.product-card:hover .card-img img { transform: scale(1.04); }

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: white;
  color: var(--rose);
  font-size: .68rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }

.card-brand {
  font-size: .68rem;
  color: var(--taupe);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 9px;
  line-height: 1.3;
}

.card-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }

.stars { color: #d4956a; font-size: .88rem; }

.rcount { font-size: .75rem; color: var(--mist); }

.card-wl {
  background: var(--charcoal, #1e1a18);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: .75rem;
}

.card-wl-title {
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .65rem;
  margin-bottom: 5px;
}

.card-wl-list { display: flex; flex-wrap: wrap; gap: 5px; }

.wl-pill {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 500;
}

.wl-pill.red { background: rgba(196,60,40,.25); color: #ff9080; }
.wl-pill.nir { background: rgba(150,60,20,.2); color: #ffaa80; }
.wl-pill.deep-nir { background: rgba(100,40,10,.2); color: #ff7050; }
.wl-pill.blue { background: rgba(60,90,180,.2); color: #90b0ff; }

.card-specs {
  list-style: none;
  font-size: .8rem;
  color: var(--mist);
  margin-bottom: 14px;
  flex: 1;
}

.card-specs li {
  padding: 3px 0;
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

.card-specs li::before {
  content: '→';
  color: var(--rose-dust);
  font-size: .7rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.btn-check {
  display: block;
  text-align: center;
  background: var(--rose);
  color: white;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s;
  margin-bottom: 7px;
}

.btn-check:hover { background: var(--rose-deep, #a85a52); }

.btn-review {
  display: block;
  text-align: center;
  color: var(--rose);
  font-size: .8rem;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--rose-dust);
  text-decoration: none;
  transition: all .2s;
}

.btn-review:hover { background: var(--petal, #f9ede9); }

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.method-card {
  background: var(--warm-white, #fffaf8);
  border-radius: 13px;
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--rose-dust);
}

.method-icon { font-size: 1.9rem; margin-bottom: 10px; }

.method-card h4 { font-size: .9rem; margin-bottom: 5px; }

.method-card p { font-size: .78rem; color: var(--mist); }

footer {
  background: var(--ink);
  color: rgba(253,252,250,.6);
  padding: 32px 24px;
  font-size: .82rem;
  text-align: center;
}

footer a { color: rgba(253,252,250,.6); text-decoration: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .wrap { padding: 48px 16px; }
  .products-grid { grid-template-columns: 1fr; }
}