/* ============================================================
   RGVISION · styles.css
   Studio photographique premium · Guadeloupe
   Palette « Forêt » — V1.2
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette Forêt */
  --c-ink:        #070707;   /* Noir profond */
  --c-ink-2:      #0d0d0d;
  --c-charcoal:   #151515;   /* Noir charbon */
  --c-surface:    #1a1a1a;
  --c-surface-2:  #1f1f1f;
  --c-line:       #232323;
  --c-line-2:     #2a2a2a;

  --c-forest:     #0F4C3A;   /* Vert forêt — accent principal */
  --c-forest-2:   #0a3a2c;
  --c-forest-dim: #073021;
  --c-sage:       #7E927C;   /* Vert sauge — accent secondaire */
  --c-sage-soft:  #5e6f5d;

  --c-bone:       #F3F1EA;   /* Blanc cassé */
  --c-bone-dim:   rgba(243, 241, 234, 0.74);
  --c-mute:       rgba(243, 241, 234, 0.5);
  --c-faint:      rgba(243, 241, 234, 0.18);

  /* Typographies */
  --f-display: "Playfair Display", "Times New Roman", serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --f-label:   "Montserrat", "Inter", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Spacing & easing */
  --pad: clamp(20px, 4vw, 56px);
  --rule: 1px solid var(--c-line);
  --ease: cubic-bezier(0.6, 0.1, 0.05, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   2. BASE / RESET
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-ink);
  color: var(--c-bone);
  font-family: var(--f-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: none;
}

::selection { background: var(--c-forest); color: var(--c-bone); }

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: none;
}

@media (hover: none) {
  html, body, a, button { cursor: auto; }
}

/* ============================================================
   3. ATMOSPHERE — grain, vignette, cursor
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grainShift 1.6s steps(4) infinite;
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9001;
  background: radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: width 0.2s var(--ease), height 0.2s var(--ease), margin 0.2s var(--ease);
}
.cursor::before, .cursor::after { content: ""; position: absolute; background: var(--c-bone); }
.cursor::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.cursor::after  { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }
.cursor i {
  position: absolute;
  inset: 0;
  border: 1px solid var(--c-bone);
  border-radius: 50%;
}
.cursor i::before, .cursor i::after, .cursor i b, .cursor i b::before {
  content: ""; position: absolute; background: var(--c-bone);
}
.cursor i::before { left: -8px; top: 50%; width: 6px; height: 1px; transform: translateY(-50%); }
.cursor i::after  { right: -8px; top: 50%; width: 6px; height: 1px; transform: translateY(-50%); }
.cursor i b       { left: 50%; top: -8px; width: 1px; height: 6px; transform: translateX(-50%); }
.cursor i b::before { left: 50%; bottom: -14px; width: 1px; height: 6px; transform: translateX(-50%); }
.cursor.is-active { width: 84px; height: 84px; margin: -42px 0 0 -42px; }

@media (hover: none) { .cursor { display: none; } }

/* ============================================================
   4. LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--c-ink);
  z-index: 9500;
  display: grid;
  place-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader__mark {
  position: relative;
  width: clamp(160px, 22vw, 260px);
  opacity: 0;
  animation: develop 1.6s ease forwards 0.15s;
}
.loader__bar {
  position: absolute;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  width: clamp(220px, 30vw, 360px);
  height: 1px;
  background: rgba(243, 241, 234, 0.18);
  overflow: hidden;
}
.loader__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-forest);
  transform: translateX(-100%);
  animation: barFill 1.6s var(--ease) forwards 0.2s;
}
.loader__meta {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translate(-50%, 0);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--c-mute);
  text-transform: uppercase;
}
body.is-loaded .loader { opacity: 0; visibility: hidden; }

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--pad);
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.65) 0%, rgba(7, 7, 7, 0) 100%);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}
.nav.is-stuck {
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(243, 241, 234, 0.05);
  padding: 14px var(--pad);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}
/* Logo as authored — no filter, no halo */
.nav__brand img { width: 110px; height: auto; }

.nav__menu {
  display: flex;
  gap: 30px;
  justify-self: center;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.nav__menu a {
  position: relative;
  padding: 4px 0;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--c-sage);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__menu a:hover { opacity: 1; }
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--c-bone);
  border-radius: 999px;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s ease;
}
.nav__cta::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-sage);
  box-shadow: 0 0 0 0 rgba(126, 146, 124, 0.55);
  animation: pulse 1.6s var(--ease) infinite;
}
.nav__cta:hover {
  background: var(--c-forest);
  border-color: var(--c-forest);
}

@media (max-width: 980px) {
  .nav__menu { display: none; }
  .nav { grid-template-columns: 1fr auto; }
}

/* ============================================================
   6. HERO — full-bleed camera with cross-fade cycle
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(120px, 16vh, 180px) var(--pad) clamp(40px, 8vh, 80px);
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  isolation: isolate;
  overflow: hidden;
}

/* Camera "video" — cross-fade between assembled & exploded */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--c-ink);
}
.hero__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: opacity, transform;
  transform-origin: 50% 50%;
}
.hero__layer--a {
  background-image: url("assets/images/camera-hero.jpg");
  animation:
    camCycleA 14s var(--ease) infinite,
    kenBurnsA 14s ease-in-out infinite;
}
.hero__layer--b {
  background-image: url("assets/images/camera-exploded.png");
  background-size: contain;
  background-color: #0a0a0a;
  animation:
    camCycleB 14s var(--ease) infinite,
    kenBurnsB 14s ease-in-out infinite;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 20%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.0) 70%),
    linear-gradient(180deg,
      rgba(7, 7, 7, 0.65) 0%,
      rgba(7, 7, 7, 0.30) 35%,
      rgba(7, 7, 7, 0.78) 78%,
      rgba(7, 7, 7, 0.97) 100%),
    linear-gradient(90deg,
      rgba(7, 7, 7, 0.50) 0%,
      rgba(7, 7, 7, 0.0) 60%);
}

.hero__tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 25% 80%, rgba(15, 76, 58, 0.35) 0%, transparent 60%),
    radial-gradient(40% 35% at 80% 20%, rgba(126, 146, 124, 0.10) 0%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.hero__meta {
  position: absolute;
  top: 100px;
  left: var(--pad);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-mute);
  text-transform: uppercase;
  z-index: 2;
}
.hero__meta b { color: var(--c-bone); font-weight: 500; }

.hero__rule {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  top: 88px;
  height: 1px;
  background: var(--c-faint);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-bone);
}
.hero__kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--c-sage);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(64px, 17vw, 280px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--c-bone);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}
.hero__title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(120%) rotate(8deg);
}
.hero__title .accent { color: var(--c-sage); }

.hero__sub {
  display: grid;
  grid-template-columns: minmax(0, 56ch) 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-top: clamp(8px, 2vh, 20px);
}
.hero__lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  color: var(--c-bone);
  max-width: 50ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.hero__lede em { font-style: italic; color: var(--c-sage); }

.hero__cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .hero__sub { grid-template-columns: 1fr; }
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--f-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
  isolation: isolate;
  color: var(--c-bone);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-forest);
  z-index: -1;
  transform: translateY(0);
  transition: transform 0.5s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-bone);
  z-index: -2;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.btn--solid:hover { color: var(--c-ink); }
.btn--solid:hover::before { transform: translateY(-101%); }
.btn--solid:hover::after  { transform: translateY(0); }

.btn--ghost { border: 1px solid rgba(243, 241, 234, 0.5); }
.btn--ghost::before { background: var(--c-bone); transform: translateY(101%); }
.btn--ghost::after  { display: none; }
.btn--ghost:hover { color: var(--c-ink); border-color: var(--c-bone); }
.btn--ghost:hover::before { transform: translateY(0); }

.btn--ink { color: var(--c-bone); }
.btn--ink::before { background: var(--c-ink); }
.btn--ink::after  { background: var(--c-bone); }
.btn--ink:hover { color: var(--c-forest); }

.btn .arr {
  display: inline-block;
  width: 18px;
  height: 8px;
  position: relative;
}
.btn .arr::before, .btn .arr::after { content: ""; position: absolute; background: currentColor; }
.btn .arr::before { left: 0; top: 50%; right: 0; height: 1px; transform: translateY(-50%); }
.btn .arr::after {
  right: 0; top: 50%;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: translate(0, -50%) rotate(45deg);
}

/* ============================================================
   8. SECTION BASE
   ============================================================ */
section { position: relative; }
.section { padding: clamp(80px, 12vh, 160px) var(--pad); }

.section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(48px, 8vh, 96px);
  border-top: var(--rule);
  padding-top: 22px;
}
.section__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--c-mute);
  text-transform: uppercase;
}
.section__num b { color: var(--c-sage); font-weight: 500; }

.section__title {
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(40px, 7vw, 110px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.section__title .gold { color: var(--c-sage); font-style: italic; }

/* ============================================================
   9. MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  border-top: var(--rule);
  border-bottom: var(--rule);
  padding: 22px 0;
  overflow: hidden;
  background: var(--c-charcoal);
}
.marquee__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 64px);
  letter-spacing: -0.02em;
  color: var(--c-bone);
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee span::after {
  content: "";
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-forest);
}
.marquee span.alt { color: rgba(243, 241, 234, 0.22); }
.marquee span.alt::after { background: var(--c-sage); }

/* ============================================================
   10. MANIFESTO
   ============================================================ */
.manifesto {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.manifesto__copy p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.32;
  color: var(--c-bone);
  max-width: 22ch;
}
.manifesto__copy p + p {
  margin-top: 28px;
  font-family: var(--f-body);
  font-style: normal;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--c-bone-dim);
  max-width: 50ch;
}
.manifesto__copy p em { color: var(--c-sage); font-style: italic; }
.manifesto__copy .stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-mute);
}

.manifesto__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(15, 76, 58, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, #161616 0%, #0c0c0c 100%);
  border: 1px solid var(--c-line);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.manifesto__stage img {
  width: 84%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.7));
  transition: transform 0.6s var(--ease);
}
.manifesto__stage:hover img { transform: scale(1.04); }
.manifesto__stage::before, .manifesto__stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(243, 241, 234, 0.18);
  width: 26px;
  height: 26px;
}
.manifesto__stage::before { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.manifesto__stage::after  { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.manifesto__stage .label {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--c-mute);
  text-transform: uppercase;
}
.manifesto__stage .label b { color: var(--c-sage); font-weight: 500; }
.manifesto__stage .frame-num {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--c-mute);
}

@media (max-width: 880px) { .manifesto { grid-template-columns: 1fr; } }

/* ============================================================
   11. SERVICES
   ============================================================ */
.services {
  background: var(--c-ink);
  border-top: var(--rule);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--c-line);
  background: var(--c-ink);
}
.svc {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-right: 1px solid var(--c-line);
  isolation: isolate;
  overflow: hidden;
  transition: background 0.4s var(--ease);
}
.svc:last-child { border-right: 0; }
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 76, 58, 0.0) 0%, rgba(15, 76, 58, 0.22) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.svc:hover { background: var(--c-charcoal); }
.svc:hover::before { opacity: 1; }
.svc__num {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--c-mute);
  text-transform: uppercase;
}
.svc__num b { color: var(--c-sage); font-weight: 500; }
.svc__name {
  margin: 16px 0 8px;
  font-family: var(--f-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.svc__for {
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-sage);
}
.svc__desc {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-bone-dim);
  max-width: 38ch;
}
.svc__incl {
  margin: 26px 0 0;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc__incl li {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--c-bone);
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(243, 241, 234, 0.08);
}
.svc__incl li::before { content: "+"; color: var(--c-sage); font-weight: 600; }
.svc__bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: var(--rule);
  padding-top: 18px;
}
.svc__price {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.svc__price small {
  display: block;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--c-mute);
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 4px;
}
.svc__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--c-bone);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc__link:hover { color: var(--c-sage); border-color: var(--c-sage); }

@media (max-width: 980px) {
  .services__grid { grid-template-columns: 1fr; }
  .svc { border-right: 0; border-bottom: 1px solid var(--c-line); }
  .svc:last-child { border-bottom: 0; }
}

/* ============================================================
   12. PORTFOLIO + FILTERS
   ============================================================ */
.work {
  background: var(--c-ink);
  border-top: var(--rule);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: var(--rule);
}
.filter {
  padding: 10px 18px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-bone-dim);
  transition: all 0.3s var(--ease);
}
.filter:hover { color: var(--c-bone); border-color: var(--c-sage); }
.filter.is-active {
  color: var(--c-bone);
  border-color: var(--c-forest);
  background: var(--c-forest);
}
.filter .count {
  font-family: var(--f-mono);
  font-size: 9px;
  margin-left: 8px;
  color: var(--c-mute);
}
.filter.is-active .count { color: rgba(243, 241, 234, 0.7); }

.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
  isolation: isolate;
  cursor: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.tile.is-hidden { display: none; }
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  opacity: 0.8;
  transition: opacity 0.4s ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-forest);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}
.tile:hover::after  { opacity: 0.55; }
.tile:hover::before { opacity: 0; }
.tile__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}
.tile:hover .tile__bg { transform: scale(1.06); }
.tile__copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}
.tile__cat {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-sage);
}
.tile__title {
  margin: 4px 0 0;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-bone);
}
.tile__id {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: rgba(243, 241, 234, 0.6);
}
.tile.size-7-3  { grid-column: span 7; aspect-ratio: 4/3; }
.tile.size-5-3  { grid-column: span 5; aspect-ratio: 4/3; }
.tile.size-4-4  { grid-column: span 4; aspect-ratio: 3/4; }
.tile.size-6-3  { grid-column: span 6; aspect-ratio: 4/3; }
.tile.size-12-2 { grid-column: span 12; aspect-ratio: 21/9; }

@media (max-width: 880px) {
  .work__grid { grid-template-columns: 1fr; }
  .tile { grid-column: 1 / -1 !important; aspect-ratio: 3/4; }
}

/* Tile placeholder backgrounds */
.tile.bg-1 .tile__bg { background-image: radial-gradient(60% 50% at 30% 30%, rgba(15, 76, 58, 0.45) 0%, transparent 60%), linear-gradient(135deg, #16241e 0%, #0a0a0a 60%, #1a1a1a 100%); }
.tile.bg-2 .tile__bg { background-image: radial-gradient(50% 60% at 70% 70%, rgba(126, 146, 124, 0.32) 0%, transparent 65%), linear-gradient(45deg, #1a1f1c 0%, #0d0d0d 100%); }
.tile.bg-3 .tile__bg { background-image: radial-gradient(40% 55% at 50% 20%, rgba(243, 241, 234, 0.15) 0%, transparent 60%), linear-gradient(180deg, #1a1a1a 0%, #050505 100%); }
.tile.bg-4 .tile__bg { background-image: radial-gradient(50% 50% at 50% 50%, rgba(15, 76, 58, 0.40) 0%, transparent 65%), linear-gradient(180deg, #0e1a14 0%, #060a08 100%); }
.tile.bg-5 .tile__bg { background-image: radial-gradient(60% 60% at 30% 80%, rgba(126, 146, 124, 0.20) 0%, transparent 60%), linear-gradient(180deg, #131816 0%, #0a0a0a 100%); }
.tile.bg-6 .tile__bg { background-image: radial-gradient(70% 50% at 50% 50%, rgba(15, 76, 58, 0.25) 0%, transparent 70%), linear-gradient(90deg, #0a1410 0%, #1a1a1a 50%, #0a1410 100%); }
.tile.bg-7 .tile__bg { background-image: radial-gradient(40% 60% at 80% 30%, rgba(126, 146, 124, 0.28) 0%, transparent 65%), linear-gradient(225deg, #15211c 0%, #060606 100%); }

.work__cta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: var(--rule);
}
.work__cta p {
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 30px);
  max-width: 32ch;
}

/* ============================================================
   13. STATS
   ============================================================ */
.stats {
  border-top: var(--rule);
  background: var(--c-charcoal);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--c-line);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(56px, 8vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, var(--c-bone) 0%, var(--c-sage) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__num sup {
  color: var(--c-forest);
  -webkit-text-fill-color: var(--c-sage);
  font-size: 0.45em;
  vertical-align: top;
}
.stat__lbl {
  margin-top: 16px;
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-mute);
  max-width: 22ch;
}

@media (max-width: 880px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--c-line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ============================================================
   14. ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  border-top: var(--rule);
}
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-surface), #0a0a0a);
}
.about__photo .ph {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 40% at 50% 35%, rgba(243, 241, 234, 0.08) 0%, transparent 60%),
    radial-gradient(60% 70% at 30% 80%, rgba(15, 76, 58, 0.20) 0%, transparent 70%),
    linear-gradient(180deg, #1a1d1b 0%, #0a0c0b 100%);
}
.about__photo .sig {
  position: absolute;
  left: 24px;
  bottom: 24px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 28px;
  color: var(--c-bone-dim);
}
.about__photo .sig::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--c-sage);
  margin-bottom: 8px;
}
.about__copy h3 {
  margin: 0 0 28px;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about__copy h3 em { color: var(--c-sage); font-style: italic; }
.about__copy p {
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.72;
  color: var(--c-bone-dim);
  max-width: 56ch;
}
.about__copy p + p { margin-top: 16px; }
.about__copy p strong { color: var(--c-bone); font-weight: 500; }
.about__copy .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.about__copy .pill {
  padding: 10px 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-mute);
}

@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }

/* ============================================================
   15. FINAL CTA
   ============================================================ */
.cta {
  position: relative;
  padding: clamp(120px, 18vh, 220px) var(--pad);
  background:
    radial-gradient(80% 80% at 50% 50%, rgba(243, 241, 234, 0.06) 0%, transparent 60%),
    var(--c-forest);
  overflow: hidden;
  border-top: 1px solid var(--c-forest-2);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n2'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n2)' opacity='.5'/></svg>");
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cta__title {
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(64px, 12vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--c-bone);
}
.cta__title em {
  font-style: italic;
  color: var(--c-ink);
  text-shadow: -1px -1px 0 rgba(243, 241, 234, 0.4);
}
.cta__row {
  margin-top: clamp(36px, 5vh, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  border-top: 1px solid rgba(243, 241, 234, 0.35);
  padding-top: 28px;
}
.cta__lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  max-width: 38ch;
  color: var(--c-bone);
}

@media (max-width: 880px) { .cta__row { grid-template-columns: 1fr; } }

/* ============================================================
   16. FOOTER
   ============================================================ */
footer {
  padding: clamp(48px, 6vw, 96px) var(--pad) 32px;
  border-top: var(--rule);
  background: var(--c-ink);
}
.foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: var(--rule);
}
.foot h6 {
  margin: 0 0 18px;
  font-family: var(--f-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot a {
  font-size: 14px;
  color: var(--c-bone-dim);
  transition: color 0.2s ease;
}
.foot a:hover { color: var(--c-sage); }

.foot__brand p {
  margin: 14px 0 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--c-bone-dim);
  max-width: 28ch;
}
.foot__brand img { width: 140px; height: auto; }

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-mute);
}

@media (max-width: 880px) { .foot { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   17. WHATSAPP FLOATING BUTTON
   ============================================================ */
.wapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-forest);
  display: grid;
  place-items: center;
  color: var(--c-bone);
  box-shadow: 0 10px 30px rgba(15, 76, 58, 0.55), 0 0 0 0 rgba(15, 76, 58, 0.6);
  animation: pulseBig 2s var(--ease) infinite;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease;
}
.wapp:hover {
  transform: scale(1.1);
  background: var(--c-sage);
  color: var(--c-ink);
}
.wapp svg { width: 24px; height: 24px; }

/* ============================================================
   18. UTILITIES
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   19. KEYFRAMES — all animations
   ============================================================ */

/* Atmosphere */
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, 2%); }
  50%  { transform: translate(2%, -3%); }
  75%  { transform: translate(-2%, -2%); }
  100% { transform: translate(0, 0); }
}

/* Loader */
@keyframes develop {
  0%   { opacity: 0; filter: blur(14px); }
  60%  { opacity: 0.9; filter: blur(2px); }
  100% { opacity: 1; filter: blur(0); }
}
@keyframes barFill {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* Pulse — CTA dot, WhatsApp */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(126, 146, 124, 0.55); }
  100% { box-shadow: 0 0 0 12px rgba(126, 146, 124, 0); }
}
@keyframes pulseBig {
  0%   { box-shadow: 0 10px 30px rgba(15, 76, 58, 0.55), 0 0 0 0 rgba(15, 76, 58, 0.6); }
  100% { box-shadow: 0 10px 30px rgba(15, 76, 58, 0.55), 0 0 0 24px rgba(15, 76, 58, 0); }
}

/* Marquee */
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* HERO CAMERA — Cross-fade cycle 14s */
@keyframes camCycleA {
  0%   { opacity: 1; }
  28%  { opacity: 1; }
  42%  { opacity: 0; }
  85%  { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes camCycleB {
  0%   { opacity: 0; }
  28%  { opacity: 0; }
  42%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Ken Burns — subtle zoom/pan */
@keyframes kenBurnsA {
  0%   { transform: scale(1.04) translate(0, 0); }
  50%  { transform: scale(1.10) translate(-1%, -1%); }
  100% { transform: scale(1.04) translate(0, 0); }
}
@keyframes kenBurnsB {
  0%   { transform: scale(1.02) translate(0, 0); }
  50%  { transform: scale(1.08) translate(1%, 1%); }
  100% { transform: scale(1.02) translate(0, 0); }
}

/* ============================================================
   20. ACCESSIBILITY — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .grain { display: none; }
}
