/* ========================================
   StarryNight - Handmade Lighting Brand
   FLOS-inspired Design Language
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  color: #1a1a1a;
  background: #faf8f5;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.15; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.2; }
h4 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); text-transform: uppercase; letter-spacing: 0.15em; }
p { font-size: clamp(0.95rem, 1.2vw, 1.1rem); color: #555; }
.section-label {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #999;
  margin-bottom: 1rem;
}

/* --- Nav --- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  background: transparent;
  transition: all 0.4s ease;
}
nav.scrolled { background: rgba(250, 248, 245, 0.95); backdrop-filter: blur(20px); padding: 0.8rem 3rem; box-shadow: 0 1px 0 rgba(0,0,0,0.05); }
.nav-light { background: rgba(250, 248, 245, 0.98); padding: 0.8rem 3rem; box-shadow: 0 1px 0 rgba(0,0,0,0.05); }
.nav-logo { font-size: 1.3rem; letter-spacing: 0.3em; font-weight: 400; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
nav.scrolled .nav-links a { color: rgba(26,26,26,0.7); }
nav.nav-light .nav-links a { color: rgba(26,26,26,0.7); }
nav.scrolled .nav-links a:hover { color: #1a1a1a; }
.nav-links a:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 1px; background: #fff; margin: 6px 0; transition: 0.3s; }
nav.scrolled .menu-toggle span { background: #1a1a1a; }
nav.nav-light .menu-toggle span { background: #1a1a1a; }
/* --- Hero --- */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.hero-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  padding: 0 2rem; max-width: 800px;
}
.hero-content h1 { margin-bottom: 1rem; animation: fadeUp 1.2s ease; }
.hero-content p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  animation: fadeUp 1.2s ease 0.2s both;
}
.hero-cta {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  transition: all 0.4s ease;
  animation: fadeUp 1.2s ease 0.4s both;
}
.hero-cta:hover { background: #fff; color: #1a1a1a; border-color: #fff; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  animation: bounce 2s infinite;
}

/* --- Inner Pages --- */
.page-intro,
.material-hero,
.about-hero,
.projects-hero {
  padding: 9rem 3rem 5rem;
}
.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: 3rem;
  align-items: end;
  border-bottom: 1px solid rgba(26,26,26,0.1);
}
.page-intro h1,
.material-hero h1,
.about-hero h1,
.projects-hero h1 { font-size: clamp(3.8rem, 7vw, 7rem); line-height: 0.92; }
.page-intro p,
.material-hero p,
.about-hero p,
.projects-hero p { max-width: 440px; }
.catalogue-content { padding: 2.5rem 3rem 6rem; }
.catalogue-controls { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; margin-bottom: 1rem; }
.catalogue-controls .filter-tab { padding: 0.4rem 0; }
.catalogue-count { font-family: 'Inter', sans-serif; font-size: 0.7rem; color: #999; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2.2rem; }
.product-card[hidden] { display: none !important; }
.material-hero,
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(3rem, 8vw, 10rem);
  min-height: 78vh;
  align-items: center;
}
.material-hero > img,
.about-hero > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #f0ece6; }
.material-list { border-top: 1px solid rgba(26,26,26,0.1); }
.material-list article { display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr); min-height: 530px; border-bottom: 1px solid rgba(26,26,26,0.1); }
.material-list article:nth-child(even) { direction: rtl; }
.material-list article:nth-child(even) > * { direction: ltr; }
.material-list img { width: 100%; height: 100%; min-height: 340px; object-fit: contain; background: #f1ede7; padding: 3rem; }
.material-list article > div { display: grid; align-content: center; gap: 1.3rem; padding: clamp(2rem, 6vw, 7rem); }
.material-list span { font-family: 'Inter', sans-serif; font-size: 0.72rem; letter-spacing: 0.18em; color: #999; }
.material-list h2 { font-size: clamp(2.5rem, 4vw, 4.5rem); }
.material-list a { width: max-content; font-family: 'Inter', sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; padding-bottom: 0.4rem; border-bottom: 1px solid #1a1a1a; }
.projects-hero { position: relative; display: grid; min-height: 80vh; color: #fff; align-items: end; overflow: hidden; }
.projects-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.56), rgba(0,0,0,0.06)); }
.projects-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.projects-hero > div { position: relative; z-index: 1; max-width: 650px; }
.projects-hero p { color: rgba(255,255,255,0.72); }
.projects-hero .section-label { color: rgba(255,255,255,0.66); }
.projects-gallery { padding-top: 5rem; }
.about-statement { padding-top: 7rem; padding-bottom: 7rem; }
.about-statement .hero-cta { margin-top: 1rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(-10px); } 60% { transform: translateX(-50%) translateY(-5px); } }

/* --- Hero Carousel --- */
.hero-carousel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.5s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }

/* --- Section Common --- */
.section { padding: 6rem 3rem; }
.section-dark { background: #1a1a1a; color: #fff; }
.section-dark p { color: rgba(255,255,255,0.6); }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title p { max-width: 600px; margin: 1rem auto 0; }

/* --- Series Grid --- */
.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  max-width: 1400px; margin: 0 auto;
}
.series-card {
  position: relative; overflow: hidden;
  height: 500px; cursor: pointer;
}
.series-card-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transition: transform 1.2s ease;
}
.series-card:hover .series-card-bg { transform: scale(1.05); }
.series-card-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.1) 100%);
}
.series-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.5rem;
  color: #fff;
}
.series-card-content h3 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.series-card-content .count {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}
.series-card-content .desc {
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
  margin-top: 0.5rem; max-width: 250px;
}

/* --- Products --- */
.container { max-width: 1400px; margin: 0 auto; }
.products-section { padding: 4rem 0; }
.filter-tabs {
  display: flex; justify-content: center; gap: 2rem;
  margin-bottom: 3rem; flex-wrap: wrap;
}
.filter-tab {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: #999; cursor: pointer; padding: 0.5rem 0;
  background: none; border: none;
  position: relative; transition: color 0.3s;
}
.filter-tab::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: #1a1a1a;
  transform: scaleX(0); transition: transform 0.4s;
}
.filter-tab:hover, .filter-tab.active { color: #1a1a1a; }
.filter-tab.active::after { transform: scaleX(1); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: #e8e5e0;
}
.product-card {
  background: #faf8f5; position: relative; overflow: hidden;
  cursor: pointer; transition: all 0.4s ease;
}
.product-card:hover { background: #f5f0eb; }
.product-card-image {
  aspect-ratio: 1; overflow: hidden;
  position: relative;
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.03); }
.product-card-body { padding: 1.2rem 1.5rem; }
.product-card-body .sku {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; color: #999;
  letter-spacing: 0.05em;
}
.product-card-body .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; margin-top: 0.2rem;
}
.product-card-body .spec {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; color: #aaa;
  margin-top: 0.3rem;
}

/* --- Brand Story --- */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.story-image { width: 100%; }
.story-image img { width: 100%; border-radius: 0; }
.story-content h2 { margin-bottom: 1.5rem; }
.story-content p { margin-bottom: 1.2rem; }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 350px; object-fit: cover;
  transition: transform 1s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.tall img { height: 500px; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide img { height: 400px; }

/* --- PDF Content Section --- */
.pdf-content {
  max-width: 800px; margin: 0 auto;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.fact-card {
  padding: 2rem; border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s;
}
.fact-card:hover { border-color: rgba(255,255,255,0.3); }
.fact-card .number {
  font-size: 2.5rem; color: rgba(255,255,255,0.3);
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 0.5rem;
}
.fact-card h4 { margin-bottom: 0.5rem; font-size: 0.9rem; }
.fact-card p { font-size: 0.85rem; }

/* --- Story Timeline --- */
.timeline { position: relative; max-width: 800px; margin: 3rem auto; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.15);
}
.timeline-item { position: relative; padding: 0 0 2.5rem 2rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -4px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.3);
}
.timeline-item .tl-title { font-size: 1rem; margin-bottom: 0.3rem; }
.timeline-item .tl-desc { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* --- Stats Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
  max-width: 1000px; margin: 0 auto;
}
.stat-item .stat-number {
  font-size: 3rem; color: #1a1a1a;
  font-family: 'Cormorant Garamond', serif;
}
.stat-item .stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: #999;
  margin-top: 0.5rem;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px; margin: 0 auto;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 0.8rem; font-size: 0.95rem; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 1rem;
  background: transparent;
  border: 1px solid rgba(26,26,26,0.15);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #1a1a1a; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em;
  padding: 1rem 2.5rem;
  background: #1a1a1a; color: #fff;
  border: none; cursor: pointer;
  transition: all 0.4s;
}
.contact-form button:hover { background: #333; }
.form-status { min-height: 1.2rem; margin: 0.2rem 0 0; font-family: 'Inter', sans-serif; font-size: 0.75rem; }
.form-status.error { color: #9c2f1c; }
.form-status.success { color: #3f6b4a; }

/* --- Footer --- */
footer {
  padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px; margin: 0 auto 3rem;
}
.footer-brand .logo { font-size: 1.2rem; letter-spacing: 0.3em; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; max-width: 300px; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.15em; margin-bottom: 1.5rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem; color: #777;
  margin-bottom: 0.6rem; transition: color 0.3s;
}
.footer-col a:hover { color: #1a1a1a; }
.footer-bottom {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; color: #bbb;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 2000; background: rgba(0,0,0,0.9);
  display: none; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 2rem; right: 2rem;
  color: #fff; font-size: 2rem; cursor: pointer;
  background: none; border: none; font-family: 'Inter', sans-serif;
}

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .story-section { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 1.5rem; }
  nav { padding: 1.2rem 1.5rem; }
  .nav-light { padding: 0.8rem 1.5rem; }
  .page-intro,
  .material-hero,
  .about-hero,
  .projects-hero { padding: 7rem 1.5rem 4rem; }
  .catalogue-content { padding: 2rem 1.5rem 4rem; }
  .material-list article { min-height: 0; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; background: #1a1a1a; flex-direction: column; justify-content: center; align-items: center; gap: 2rem; transition: right 0.4s ease; }
  .nav-links.open { right: 0; display: flex; }
  .nav-links a { font-size: 0.9rem; color: rgba(255,255,255,0.8) !important; }
  .menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 0.55rem;
    top: 0.45rem;
    z-index: 1002;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }
  .menu-toggle span { margin: 0; flex: 0 0 1px; }
  nav.nav-light .menu-toggle span { background: #1a1a1a; }
  .language-toggle { margin-left: auto; margin-right: 0.5rem; }
  .series-grid { grid-template-columns: 1fr; }
  .series-card { height: 400px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { max-width: none; }
  .section { padding: 3rem 1rem; }
  .products-section { padding: 2rem 0; }
  .page-intro,
  .material-hero,
  .about-hero { grid-template-columns: 1fr; gap: 2.2rem; min-height: 0; padding: 6.5rem 1rem 3rem; }
  .projects-hero { min-height: 68vh; padding: 6.5rem 1rem 3rem; }
  .page-intro h1,
  .material-hero h1,
  .about-hero h1,
  .projects-hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .catalogue-content { padding: 1.5rem 1rem 3rem; }
  .page-intro p,
  .material-hero p,
  .about-hero p,
  .projects-hero p { overflow-wrap: normal; }
  .catalogue-intro p { max-width: 330px; font-size: 0.95rem; line-height: 1.75; }
  .catalogue-controls { gap: 1rem 1.3rem; }
  .material-list article,
  .material-list article:nth-child(even) { display: flex; flex-direction: column; direction: ltr; }
  .material-list img { min-height: 280px; padding: 2rem; }
  .material-list article > div { padding: 2.5rem 1.5rem 3rem; }
  .projects-gallery { padding-top: 3.5rem; }
}

/* --- Desktop Typography: keep compact labels and fitting titles on one line --- */
@media (min-width: 1100px) {
  .nav-logo,
  .nav-links a,
  .section-label,
  .filter-tab,
  .catalogue-count,
  .series-card-content h3,
  .product-card .name,
  .footer-col a,
  .detail-series-badge,
  .detail-back {
    white-space: nowrap;
  }

  .section-title h2,
  .material-list h2 {
    white-space: nowrap;
  }

  .material-hero h1,
  .projects-hero h1 {
    font-size: clamp(3.5rem, 4.2vw, 4.5rem);
    line-height: 1;
    white-space: nowrap;
  }

  .material-hero h1 br,
  .projects-hero h1 br {
    display: none;
  }
}

/* --- Mobile Menu Overlay --- */
.mobile-overlay {
  display: none;
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 998;
}
.mobile-overlay.active { display: block; }

.language-select {
  position: relative;
  margin-left: 1.45rem;
  color: rgba(255,255,255,0.9);
}
nav.scrolled .language-select,
nav.nav-light .language-select { color: #1a1a1a; }
.language-trigger {
  width: 47px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font: 500 10px/1 Inter, sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.language-trigger svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.language-trigger:hover { opacity: 0.7; }
.language-trigger:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -7px;
  min-width: 162px;
  padding: 5px;
  background: #fff;
  color: #252320;
  border: 1px solid rgba(37,35,32,0.18);
  box-shadow: 0 14px 30px rgba(0,0,0,0.13);
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1100;
}
.language-select.open .language-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.language-menu button {
  width: 100%;
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px 9px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: 400 12px/1.2 Inter, sans-serif;
  cursor: pointer;
}
.language-menu button span { color: #8c857c; font-size: 10px; letter-spacing: 0.06em; }
.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button.active { background: #f3f1ed; }
.language-menu button:focus-visible { outline: 1px solid #585249; outline-offset: -1px; }
.language-menu button.active { font-weight: 600; }
@media (max-width: 768px) {
  .language-select { margin: 0 3.45rem 0 0; }
  .language-trigger { height: 30px; }
}
