/* ==============================
   Lens By Nexoe — Redesign 2026
   Light, exclusive, editorial
   ============================== */

:root {
  --bg: #fafaf8;
  --bg2: #f2f1ed;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #C7AE6A;
  --accent-dark: #a08e52;
  --border: #e2e0d8;
  --radius: 12px;
  --container: clamp(20px, 5vw, 80px);
  --max: 1200px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block }
a { color: var(--fg); text-decoration: none }
a:hover { color: var(--accent-dark) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }

/* ——— HEADER ——— */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--container);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand img {
  width: 48px; height: 48px;
  border-radius: 10px;
}
.brand-text h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.1;
}
.brand-text p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
nav.main-nav {
  display: flex; gap: 28px; align-items: center;
}
nav.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
  transition: color .2s;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--fg) }
.ig-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.ig-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  color: #fff !important;
}
.ig-btn svg { width: 16px; height: 16px; flex-shrink: 0 }
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 4px; color: var(--fg);
}

/* ——— HERO ——— */
.hero {
  position: relative;
  width: 100%; overflow: hidden;
  height: min(80vh, 700px);
  background: #111;
}
.hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  display: flex; align-items: flex-end;
  padding: clamp(24px, 5vw, 60px);
}
.hero-text {
  color: #fff; max-width: 640px;
}
.hero-text .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hero-text h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
}
.hero-text p {
  margin: 0 0 24px;
  font-size: clamp(15px, 2vw, 18px);
  opacity: 0.9;
}
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  color: #fff;
  font-weight: 700; font-size: 14px;
  transition: background .2s, border-color .2s;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* ——— INTRO SECTION ——— */
.intro {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 100px) var(--container);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.intro-text .section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.intro-text h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}
.intro-text p {
  color: var(--muted);
  margin-bottom: 16px;
}
.intro-text p:last-of-type { margin-bottom: 28px }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: var(--fg);
  color: #fff;
  font-weight: 700; font-size: 14px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
  color: #fff;
}
.intro-image {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.intro-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.intro-image:hover img { transform: scale(1.03) }

/* ——— GALLERY STRIP ——— */
.gallery-strip {
  background: var(--bg2);
  padding: clamp(48px, 8vw, 100px) 0;
}
.gallery-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--container);
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}
.section-header h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
}
.section-label-small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.link-arrow {
  font-size: 14px; font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
}
.link-arrow:hover { color: var(--fg) }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ddd;
}
.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-card:hover img { transform: scale(1.05) }
.gallery-card figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-card:hover figcaption { opacity: 1 }

/* ——— GEAR SECTION ——— */
.gear-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 100px) var(--container);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.gear-section-text h2 {
  margin: 0 0 16px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
}
.gear-section-text p {
  color: var(--muted);
  margin-bottom: 28px;
}
.gear-list {
  display: flex; flex-direction: column; gap: 10px;
}
.gear-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  gap: 12px;
}
.gear-item-name { font-weight: 600 }
.gear-item-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
  transition: color .2s;
}
.gear-item-link:hover { color: var(--fg) }

/* ——— INSTAGRAM STRIP ——— */
.instagram-strip {
  background: var(--fg);
  color: #fff;
  text-align: center;
  padding: clamp(48px, 8vw, 80px) var(--container);
}
.instagram-strip h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
}
.instagram-strip p {
  margin: 0 0 28px;
  opacity: 0.7;
  max-width: 480px;
  margin-inline: auto;
}
.ig-btn-large {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 800; font-size: 16px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.ig-btn-large:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  color: #fff;
}
.ig-btn-large svg { width: 20px; height: 20px }

/* ——— SOCIAL LINKS ——— */
.social-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px) var(--container);
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  border-bottom: 1px solid var(--border);
}
.social-strip p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.social-links { display: flex; gap: 10px; flex-wrap: wrap }
.social-link {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  transition: border-color .2s, color .2s;
}
.social-link:hover { border-color: var(--fg); color: var(--fg) }

/* ——— FOOTER ——— */
footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--container) 40px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--muted);
}
footer a { color: var(--muted); transition: color .2s }
footer a:hover { color: var(--fg) }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap }

/* ——— ABOUT PAGE ——— */
.about-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 100px) var(--container) 0;
}
.about-hero .section-label-small { margin-bottom: 16px }
.about-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  margin: 0 0 32px;
  line-height: 1.1;
}
.about-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container) clamp(48px, 8vw, 100px);
}
.about-body p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
}
.about-body p:first-of-type {
  font-size: 20px;
  color: var(--fg);
  font-weight: 600;
}
.about-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 40px 0;
  aspect-ratio: 16/7;
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ——— PORTFOLIO PAGE ——— */
.portfolio-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--container);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ——— GEAR PAGE ——— */
.gear-page {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 100px) var(--container);
}
.gear-page h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin: 0 0 12px;
}
.gear-page > p {
  color: var(--muted);
  margin-bottom: 40px;
  font-size: 17px;
}
.gear-category {
  margin-bottom: 40px;
}
.gear-category h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.gear-affiliate-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--bg2);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
}

/* ——— PAGE HEADER (inner pages) ——— */
.page-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--container) 0;
}
.page-header .section-label-small { margin-bottom: 12px }
.page-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin: 0 0 40px;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr }
  .intro-image { order: -1; aspect-ratio: 16/9 }
  .gear-section { grid-template-columns: 1fr }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 640px) {
  nav.main-nav { display: none }
  nav.main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px var(--container);
    gap: 16px;
  }
  .hamburger { display: block }
  .gallery-grid { grid-template-columns: 1fr }
  .header-inner { flex-wrap: wrap }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important }
}
