/* =================================================================
   RAHUL MISHRA WILDLIFE — MAIN STYLESHEET
   Design: Cinematic dark, premium, immersive wildlife portfolio
================================================================= */

/* ----- DESIGN TOKENS ----- */
:root {
  /* Colour palette */
  --clr-bg:          #080808;
  --clr-dark:        #0e0e0e;
  --clr-surface:     #141414;
  --clr-card:        #1a1a1a;
  --clr-card-hover:  #1f1f1f;
  --clr-border:      rgba(255,255,255,0.07);
  --clr-border-mid:  rgba(255,255,255,0.12);

  --clr-gold:        #c9a84c;
  --clr-gold-light:  #e0c27a;
  --clr-gold-dark:   #9a7a2e;
  --clr-gold-fade:   rgba(201,168,76,0.12);

  --clr-text:        #e4e4e4;
  --clr-text-mid:    #a0a0a0;
  --clr-text-muted:  #666;
  --clr-text-subtle: #3a3a3a;

  --clr-white:       #ffffff;
  --clr-overlay:     rgba(0,0,0,0.65);

  /* Typography */
  --font-serif:      'Cormorant Garamond', Georgia, serif;
  --font-sans:       'Inter', system-ui, sans-serif;
  --font-display:    'Montserrat', 'Inter', sans-serif;

  /* Spacing */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;
  --space-3xl:  9rem;

  /* Layout */
  --max-w:        1320px;
  --nav-h:        200px;
  --nav-h-scroll: 160px;

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast:    0.2s;
  --dur-mid:     0.4s;
  --dur-slow:    0.7s;
}

/* ----- RESET & BASE ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }

/* ----- TYPOGRAPHY SCALE ----- */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; color: var(--clr-white); }

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1rem; font-family: var(--font-display); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

p { font-size: 1rem; line-height: 1.8; color: var(--clr-text-mid); }

/* ----- LAYOUT UTILITIES ----- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--dur-mid) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn__arrow { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--clr-gold);
  color: var(--clr-bg);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out);
  z-index: 0;
}
.btn--primary span, .btn--primary:not(.btn--ghost) { position: relative; z-index: 1; }
.btn--primary:hover::after { transform: scaleX(1); }

.btn--ghost {
  border: 1px solid var(--clr-gold);
  color: var(--clr-gold);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--clr-gold-fade);
  border-color: var(--clr-gold-light);
  color: var(--clr-gold-light);
}

.btn--outline {
  border: 1px solid var(--clr-border-mid);
  color: var(--clr-text);
}
.btn--outline:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

/* ----- SECTION HEADERS ----- */
.section-header { text-align: center; margin-bottom: var(--space-xl); }

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.75rem;
}
.section-tag--light { color: var(--clr-gold-light); }

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--clr-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ================================================================
   PRELOADER
================================================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader__inner { text-align: center; }

.preloader__logo {
  width: 160px;
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s forwards;
}
.preloader__logo img { width: 100%; filter: brightness(0) invert(1); }

.preloader__line {
  width: 0;
  height: 1px;
  background: var(--clr-gold);
  margin: 0 auto 1.5rem;
  animation: expandLine 0.8s var(--ease-out) 0.9s forwards;
}

.preloader__text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  opacity: 0;
  animation: fadeIn 0.5s ease 1.4s forwards;
}

@keyframes expandLine {
  to { width: 120px; }
}

/* ================================================================
   NAVIGATION
================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--dur-mid) var(--ease-out),
              height var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}

.nav.is-scrolled {
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: var(--nav-h-scroll);
  box-shadow: 0 1px 0 var(--clr-border);
}

.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo { flex-shrink: 0; }
.nav__logo-img {
  height: 240px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--dur-mid), height var(--dur-mid);
  object-fit: contain;
}
.nav.is-scrolled .nav__logo-img {
  height: 180px;
}
.nav__logo:hover .nav__logo-img { filter: brightness(0) saturate(100%) invert(73%) sepia(43%) saturate(450%) hue-rotate(5deg) brightness(95%); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-mid);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur-fast);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-gold);
  transition: width var(--dur-mid) var(--ease-out);
}
.nav__link:hover, .nav__link--active { color: var(--clr-white); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }

.nav__link--cta {
  color: var(--clr-gold);
  border: 1px solid var(--clr-gold);
  padding: 0.45rem 1.1rem 0.45rem;
  letter-spacing: 0.1em;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--clr-gold-fade); color: var(--clr-gold-light); border-color: var(--clr-gold-light); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 44px;
  height: 44px;
  justify-content: center;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transition: all var(--dur-mid) var(--ease-out);
  transform-origin: center;
}
.nav__toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile Nav Overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.nav-mobile.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-mobile__links { text-align: center; margin-bottom: 3rem; }
.nav-mobile__link {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--clr-text-mid);
  padding: 0.4rem 0;
  transition: color var(--dur-fast);
}
.nav-mobile__link:hover { color: var(--clr-gold); }

.nav-mobile__social { display: flex; gap: 1.5rem; }
.nav-mobile__social a {
  color: var(--clr-text-muted);
  transition: color var(--dur-fast);
}
.nav-mobile__social a:hover { color: var(--clr-gold); }
.nav-mobile__social svg { width: 24px; height: 24px; }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

/* Each slide */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }

.hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 8s var(--ease-out);
}
.hero__slide.is-active .hero__slide-img { transform: scale(1); }

/* Overlays */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0.45) 100%
  );
  z-index: 1;
}
.hero__overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,0) 100%);
  z-index: 2;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
}
.hero__line {
  flex: 0 0 32px;
  height: 1px;
  background: var(--clr-gold);
}

.hero__title {
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}
.hero__title-serif { font-style: italic; color: var(--clr-gold-light); font-size: 0.72em; }
.hero__title-large { display: inline-block; }
.hero__title-space { letter-spacing: 0.05em; }

.hero__subtitle {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 2.5rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slide indicators */
.hero__indicators {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 3rem);
  right: clamp(1.25rem, 5vw, 3rem);
  z-index: 3;
  display: flex;
  gap: 6px;
}
.hero__indicator {
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: width var(--dur-mid) var(--ease-out), background var(--dur-mid);
  padding: 0;
}
.hero__indicator.is-active {
  width: 40px;
  background: var(--clr-gold);
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 3rem);
  left: clamp(1.25rem, 5vw, 3rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  animation: scrollCuePulse 2.5s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--clr-gold));
}
@keyframes scrollCuePulse {
  0%, 100% { opacity: 0.5; transform: translateY(0); }
  50%       { opacity: 1;   transform: translateY(6px); }
}

/* ================================================================
   STORIES STRIP
================================================================ */
.stories-strip {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.stories-strip__track-wrap {
  overflow: hidden;
  padding: 1rem 0;
  position: relative;
}
.stories-strip__track-wrap::before,
.stories-strip__track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(1.25rem, 5vw, 3rem);
  z-index: 2;
  pointer-events: none;
}
.stories-strip__track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--clr-bg), transparent);
}
.stories-strip__track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--clr-bg), transparent);
}

.stories-strip__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem clamp(1.25rem, 5vw, 3rem);
}
.stories-strip__track::-webkit-scrollbar { display: none; }

/* Story card */
.story-card {
  flex: 0 0 clamp(260px, 30vw, 380px);
  scroll-snap-align: start;
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  overflow: hidden;
  position: relative;
  transition: border-color var(--dur-mid), transform var(--dur-slow) var(--ease-out);
}
.story-card:hover {
  border-color: var(--clr-gold-dark);
  transform: translateY(-4px);
}

.story-card__img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.story-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.story-card:hover .story-card__img { transform: scale(1.05); }
.story-card__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.story-card__cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  background: rgba(0,0,0,0.6);
  padding: 0.3rem 0.6rem;
  backdrop-filter: blur(4px);
}

.story-card__body {
  padding: 1.5rem;
}
.story-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--clr-white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.story-card__excerpt {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.story-card__link {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--dur-fast);
}
.story-card:hover .story-card__link { gap: 0.7rem; }

.stories-strip__footer { text-align: center; margin-top: var(--space-xl); }

/* ================================================================
   CATEGORIES
================================================================ */
.categories {
  padding: var(--space-2xl) 0 var(--space-3xl);
  background: var(--clr-dark);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 360px);
  gap: 4px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.category-card {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--clr-surface);
}

.category-card--large {
  grid-row: span 2;
}

.category-card__img-wrap {
  position: absolute;
  inset: 0;
}
.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.category-card:hover .category-card__img { transform: scale(1.06); }

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  transition: background var(--dur-slow);
}
.category-card:hover .category-card__overlay { background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.25) 60%); }

.category-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  z-index: 1;
  transform: translateY(0);
  transition: transform var(--dur-mid) var(--ease-out);
}

.category-card__count {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.4rem;
}

.category-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--clr-white);
  margin-bottom: 0.2rem;
}

.category-card__sub {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
  transition: color var(--dur-fast);
}
.category-card:hover .category-card__sub { color: var(--clr-gold-light); }

.category-card__arrow {
  display: inline-block;
  color: var(--clr-gold);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--dur-mid), transform var(--dur-mid) var(--ease-out);
}
.category-card:hover .category-card__arrow { opacity: 1; transform: translateX(0); }

/* Focus ring for keyboard accessibility */
.category-card:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 2px;
}

/* ================================================================
   QUOTE BREAK
================================================================ */
.quote-break {
  position: relative;
  padding: clamp(5rem, 12vh, 10rem) 0;
  overflow: hidden;
}

.quote-break__bg {
  position: absolute;
  inset: 0;
}
.quote-break__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35);
}
.quote-break__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.55);
}

.quote-break__quote {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.quote-break__quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--clr-white);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.quote-break__quote cite {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  font-style: normal;
}

/* ================================================================
   PORTFOLIO PREVIEW — MASONRY
================================================================ */
.portfolio-preview {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.masonry-grid {
  column-count: 3;
  column-gap: 4px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--clr-surface);
}
.masonry-item:focus-visible { outline: 2px solid var(--clr-gold); outline-offset: 2px; }

.masonry-item__img {
  display: block;
  width: 100%;
  transition: transform 0.8s var(--ease-out);
}
.masonry-item:hover .masonry-item__img { transform: scale(1.04); }

.masonry-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--dur-slow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.masonry-item:hover .masonry-item__overlay { background: rgba(0,0,0,0.35); }

.masonry-item__icon {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--dur-mid), transform var(--dur-mid) var(--ease-out);
  color: var(--clr-white);
}
.masonry-item__icon svg { width: 32px; height: 32px; }
.masonry-item:hover .masonry-item__icon { opacity: 1; transform: scale(1); }

.portfolio-preview__footer { text-align: center; margin-top: var(--space-xl); }

/* ================================================================
   ABOUT TEASER
================================================================ */
.about-teaser {
  padding: var(--space-3xl) 0;
  background: var(--clr-dark);
}

.about-teaser__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-teaser__img-col { position: relative; }
.about-teaser__img-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.about-teaser__img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  display: block;
}
.about-teaser__img-accent {
  position: absolute;
  top: -12px;
  left: -12px;
  right: 40px;
  bottom: 40px;
  border: 1px solid var(--clr-gold-dark);
  z-index: 0;
  pointer-events: none;
}

.about-teaser__content-col .section-tag { margin-bottom: 0.75rem; display: block; }

.about-teaser__body {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.about-teaser__stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.about-teaser__stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about-teaser__stat-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* ================================================================
   CONSERVATION
================================================================ */
.conservation {
  position: relative;
  padding: clamp(5rem, 12vh, 10rem) 0;
  overflow: hidden;
}

.conservation__bg {
  position: absolute;
  inset: 0;
}
.conservation__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) saturate(0.4);
}
.conservation__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.65);
}

.conservation__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.conservation__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--clr-white);
  margin-bottom: 1.25rem;
}
.conservation__body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.8;
}

/* ================================================================
   BEHIND THE LENS
================================================================ */
.behind-lens {
  padding: var(--space-3xl) 0;
}

.behind-lens__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--clr-border);
  margin-top: var(--space-xl);
}

.btl-card {
  background: var(--clr-surface);
  padding: 2.5rem 2rem;
  transition: background var(--dur-mid);
}
.btl-card:hover { background: var(--clr-card); }

.btl-card__icon {
  width: 40px;
  height: 40px;
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
}
.btl-card__icon svg { width: 100%; height: 100%; }

.btl-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--clr-white);
  margin-bottom: 0.75rem;
}
.btl-card__body {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--clr-text-muted);
}

/* ================================================================
   INSTAGRAM
================================================================ */
.instagram-section {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: var(--clr-dark);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  max-width: var(--max-w);
  margin: var(--space-xl) auto 0;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.ig-tile {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--clr-surface);
  display: block;
  position: relative;
}
.ig-tile__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-mid);
}
.ig-tile:hover .ig-tile__inner { background: var(--clr-gold-fade); }
.ig-tile__icon { color: var(--clr-gold); opacity: 0.3; width: 32px; height: 32px; }

.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.ig-tile:hover img { transform: scale(1.05); }

.instagram-section__footer { text-align: center; margin-top: var(--space-xl); }

/* ================================================================
   CONTACT TEASER
================================================================ */
.contact-teaser {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--clr-border);
}
.contact-teaser__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact-teaser__body {
  font-size: 1.05rem;
  margin: 1.25rem auto 2rem;
  color: var(--clr-text-muted);
  font-family: var(--font-serif);
  font-style: italic;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  border-top: 1px solid var(--clr-border);
  background: var(--clr-dark);
}

.footer__top { padding: var(--space-2xl) 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.footer__logo img {
  height: 160px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.footer__tagline {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.footer__social { display: flex; gap: 1rem; }
.footer__social-link {
  color: var(--clr-text-muted);
  transition: color var(--dur-fast);
  width: 20px;
  height: 20px;
}
.footer__social-link:hover { color: var(--clr-gold); }
.footer__social-link svg { width: 100%; height: 100%; }

.footer__nav-title {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
}
.footer__nav-list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__nav-link {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  transition: color var(--dur-fast);
}
.footer__nav-link:hover { color: var(--clr-gold); }

.footer__email {
  font-size: 0.85rem;
  color: var(--clr-text-mid);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: block;
  transition: color var(--dur-fast);
}
.footer__email:hover { color: var(--clr-gold); }
.footer__location {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer__bottom {
  border-top: 1px solid var(--clr-border);
  padding: 1.5rem 0;
  display: flex;
}
.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer__copy, .footer__credit {
  font-size: 0.72rem;
  color: var(--clr-text-muted);
}

/* ================================================================
   LIGHTBOX
================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-out);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
  user-select: none;
  -webkit-user-select: none;
}
.lightbox__img.is-loaded { opacity: 1; }
.lightbox__img-protect {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: default;
}

.lightbox__loader {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--clr-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.lightbox__img.is-loaded ~ .lightbox__loader { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: rgba(255,255,255,0.7);
  transition: color var(--dur-fast);
  z-index: 1;
  padding: 1rem;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { color: var(--clr-gold); }

.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__close svg { width: 24px; height: 24px; }

.lightbox__prev { left: clamp(0.5rem, 3vw, 3rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(0.5rem, 3vw, 3rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev svg, .lightbox__next svg { width: 32px; height: 32px; }

.lightbox__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.lightbox__caption-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--clr-white);
  font-style: italic;
}
.lightbox__caption-meta {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-top: 0.25rem;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1200px) {
  .behind-lens__grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
  .instagram-grid .ig-tile:nth-child(n+5) { display: none; }
}

@media (max-width: 1024px) {
  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .category-card--large { grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .masonry-grid { column-count: 2; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; --nav-h-scroll: 56px; }
  .nav { background: rgba(8,8,8,0.92); }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__logo-img { height: 44px; }
  .nav.is-scrolled .nav__logo-img { height: 38px; }

  .hero__title { font-size: clamp(2.4rem, 9vw, 4.5rem); }

  .categories__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 4px;
  }
  .categories__grid .category-card { height: 240px; }

  .about-teaser__inner { grid-template-columns: 1fr; }
  .about-teaser__img-col { max-width: 380px; margin: 0 auto; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom .container { flex-direction: column; text-align: center; }

  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .instagram-grid .ig-tile:nth-child(n+4) { display: none; }

  .behind-lens__grid { grid-template-columns: 1fr; }
  .masonry-grid { column-count: 2; }
}

@media (max-width: 520px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .masonry-grid { column-count: 1; }
  .about-teaser__stats { flex-direction: column; gap: 1.5rem; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid .ig-tile:nth-child(n+3) { display: none; }
}

/* ================================================================
   UTILITY
================================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Prevent body scroll when mobile nav or lightbox is open */
body.no-scroll { overflow: hidden; }

/* Masonry items handle their own fade-in via .is-loaded on the parent wrapper */
