:root {
  --bg: #0b1220;
  --bg-alt: #0f172a;
  --panel: #111c30;
  --panel-2: #16233c;
  --text: #e6edf7;
  --muted: #9db0c9;
  --line: rgba(148, 174, 210, 0.14);
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -30px rgba(2, 8, 23, 0.9);
  --container: 1160px;
  --ff-head: "Fraunces", Georgia, serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--ff-head); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: #04121f; padding: 0.6rem 1rem; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04121f; box-shadow: 0 12px 30px -12px rgba(56, 189, 248, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(56, 189, 248, 0.85); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.74rem;
  font-weight: 700; color: var(--accent); margin: 0 0 0.75rem;
}
.accent { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); }
.brand-logo-img {
  height: 78px; width: auto; border-radius: 8px;
  transition: transform 0.2s ease;
}
.brand:hover .brand-logo-img { transform: scale(1.03); }

.nav-menu { display: flex; align-items: center; gap: 1.75rem; }
.nav-menu a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s ease; }
.nav-menu a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important; border: 1px solid var(--line);
  padding: 0.5rem 1.1rem; border-radius: 999px;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(55% 45% at 8% 30%, rgba(14, 165, 233, 0.12), transparent 62%),
    var(--bg);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }
.hero-copy .lead { color: var(--muted); font-size: 1.1rem; max-width: 44ch; margin-top: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 1.6rem 0 2rem; }

.hero-stats { list-style: none; display: flex; gap: 2.2rem; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--ff-head); font-size: 1.9rem; color: var(--text); }
.hero-stats span { color: var(--muted); font-size: 0.85rem; }

.hero-visual { display: flex; justify-content: center; }
.glasses-card {
  width: 100%; max-width: 400px; padding: 1.25rem; border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.glasses-card img { width: 100%; height: auto; border-radius: 14px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-sub { color: var(--muted); margin-top: 0.6rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-lead p { color: var(--muted); font-size: 1.05rem; }
.about-lead strong { color: var(--text); }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.feature-list li {
  display: flex; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-list li:hover { transform: translateY(-3px); border-color: rgba(56, 189, 248, 0.4); }
.feature-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.2rem;
  background: var(--accent-soft); color: var(--accent);
}
.feature-list h3 { margin-bottom: 0.25rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* ---------- Brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.brand-card {
  position: relative; padding: 2rem 1.75rem; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.brand-card:hover { transform: translateY(-5px); border-color: rgba(56, 189, 248, 0.45); box-shadow: var(--shadow); }
.brand-logo {
  min-height: 96px; display: grid; place-items: center; margin-bottom: 1.4rem;
  background: #fff; border-radius: var(--radius-sm);
  padding: 0.8rem 1rem; overflow: hidden;
}
.brand-logo img {
  max-width: 100%; max-height: 62px;
  width: auto; height: auto; object-fit: contain;
}
.brand-badge {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.8rem;
  line-height: 1.3; max-width: 100%;
}
.brand-card h3 { margin-bottom: 0.4rem; }
.brand-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-flow: dense; }
.gallery-item {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; padding: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item--tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: grid; gap: 0.2rem; }
.contact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); font-weight: 700; }
.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; display: grid; gap: 1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 0.9rem; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: 0.95rem; resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-note { margin: 0; font-size: 0.88rem; min-height: 1.2em; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer-logo-img { height: 68px; width: auto; border-radius: 8px; }
.footer-brand p { color: var(--muted); font-size: 0.85rem; margin: 0.6rem 0 0; }
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a { color: var(--muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 0.82rem; width: 100%; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .glasses-card { max-width: 320px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: 100px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.25rem; align-items: stretch;
    transform: translateY(-100%); opacity: 0;
    visibility: hidden; pointer-events: none;
    transition: transform 0.3s ease, opacity 0.25s ease, visibility 0.3s ease;
  }
  .nav-menu.open {
    transform: translateY(0); opacity: 1;
    visibility: visible; pointer-events: auto;
  }
  .nav-menu a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 0.6rem; border-color: var(--accent); }
}

@media (max-width: 520px) {
  .hero-stats { gap: 1.4rem; }
  .hero-stats strong { font-size: 1.5rem; }
  .brand-logo-img { height: 60px; }
  .gallery { gap: 0.7rem; }
}
