/* ==========================================================================
   Arputham Traders — Brand Stylesheet
   Palette pulled from the company's print marketing (deep forest green,
   lime-cash accent, warm gold, cream paper background).
   ========================================================================== */

:root{
  --forest:      #0c3320;   /* deepest green — headers, footer, nav */
  --forest-700:  #123f28;
  --green:       #1c6b3a;   /* mid brand green — icons, links, borders */
  --green-600:   #185c31;
  --green-tint:  #eef4ec;   /* pale green section background */
  --lime:        #a6c400;   /* "CASH!" accent from the posters */
  --lime-ink:    #5c6f00;   /* readable text version of lime */
  --gold:        #c9a227;   /* premium accent — rupee / trust marks */
  --cream:       #f7f4ea;   /* paper background */
  --cream-2:     #efe9d8;
  --ink:         #1a1c17;
  --muted:       #5c6058;
  --white:       #ffffff;
  --rust:        #8a5a34;   /* scrap-metal warm accent, used sparingly */

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(12,51,32,0.08);
  --shadow-md: 0 12px 32px rgba(12,51,32,0.14);
  --shadow-lg: 0 24px 60px rgba(12,51,32,0.22);

  --ease: cubic-bezier(.22,.88,.32,1);
  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 .5em;
  color: var(--forest);
}

p{ margin: 0 0 1em; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ padding-left: 1.2em; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Barlow Condensed', sans-serif;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size: 13px;
  color: var(--green-600);
  background: var(--green-tint);
  border: 1px solid rgba(28,107,58,0.25);
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
}
.eyebrow::before{
  content:"";
  width:7px; height:7px; border-radius:50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(166,196,0,0.25);
}

.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section--forest{ background: var(--forest); color: #dfe8e0; }
.section--forest h2, .section--forest h3{ color: var(--white); }
.section--tint{ background: var(--green-tint); }

.section-head{
  max-width: 640px;
  margin: 0 0 44px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(30px, 4vw, 46px); }
.section-head p{ color: var(--muted); font-size: 17px; }
.section--forest .section-head p{ color:#b9c8bd; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:'Barlow Condensed', sans-serif;
  font-weight:700;
  font-size:17px;
  letter-spacing:.03em;
  text-transform:uppercase;
  padding: 15px 28px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s ease, color .25s ease;
}
.btn:hover{ transform: translateY(-3px); }
.btn:active{ transform: translateY(-1px); }

.btn--primary{
  background: var(--lime);
  color: var(--forest);
  box-shadow: 0 10px 24px rgba(166,196,0,0.35);
}
.btn--primary:hover{ box-shadow: 0 16px 32px rgba(166,196,0,0.45); }

.btn--outline{
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn--outline:hover{ background: rgba(255,255,255,0.1); }

.btn--dark{
  background: var(--forest);
  color: var(--white);
}
.btn--dark:hover{ background: var(--forest-700); box-shadow: var(--shadow-md); }

.btn--gold{
  background: var(--gold);
  color: var(--forest);
  box-shadow: 0 10px 24px rgba(201,162,39,0.35);
}

.btn--block{ width:100%; }
.btn--sm{ padding: 11px 20px; font-size:15px; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(247,244,234,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12,51,32,0.08);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height: 46px; width:auto; }
.brand-text{ line-height:1.05; }
.brand-text strong{
  display:block;
  font-family:'Barlow Condensed', sans-serif;
  font-weight:800;
  font-size:20px;
  letter-spacing:.03em;
  color: var(--forest);
}
.brand-text span{
  display:block;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: var(--green-600);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
  list-style:none;
  margin:0; padding:0;
}
.nav-links a{
  font-family:'Barlow Condensed', sans-serif;
  font-weight:600;
  font-size:16px;
  letter-spacing:.02em;
  text-transform:uppercase;
  color: var(--forest);
  position:relative;
  padding: 4px 0;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:-2px;
  height:2px; background: var(--lime);
  transition: right .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ right:0; }
.nav-links a.active{ color: var(--green-600); }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-phone{
  display:flex; align-items:center; gap:8px;
  font-family:'Barlow Condensed', sans-serif;
  font-weight:700; font-size:17px; color: var(--forest);
}
.nav-phone svg{ width:18px; height:18px; color: var(--lime-ink); }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none; border:none; cursor:pointer;
  padding: 6px;
}
.nav-toggle span{
  width:26px; height:2.5px; background: var(--forest); border-radius:2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  overflow:hidden;
  background: radial-gradient(1100px 620px at 78% -10%, #163f27 0%, var(--forest) 55%, #082013 100%);
  color: var(--white);
  padding: 64px 0 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items:center;
}
.hero-copy .eyebrow{
  background: rgba(166,196,0,0.14);
  border-color: rgba(166,196,0,0.35);
  color: var(--lime);
}
.hero-copy .eyebrow::before{ background: var(--lime); }
.hero h1{
  color: var(--white);
  font-size: clamp(42px, 6vw, 74px);
  margin: 18px 0 18px;
}
.hero h1 .hl{ color: var(--lime); }
.hero-copy p.lead{
  font-family:'Inter', sans-serif;
  text-transform:none;
  font-size: 19px;
  color: #cddccf;
  max-width: 520px;
}
.hero-actions{
  display:flex; flex-wrap:wrap; gap:16px;
  margin-top: 30px;
}
.hero-trust{
  display:flex; flex-wrap:wrap;
  gap: 26px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-trust div{ display:flex; align-items:center; gap:10px; font-size:14px; color:#c4d3c6; }
.hero-trust svg{ width:20px; height:20px; color: var(--lime); flex:none; }

.hero-visual{
  position:relative;
  align-self:end;
  padding-top: 30px;
}
.hero-visual .frame{
  position:relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow:hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-visual img{ width:100%; height: 430px; object-fit:cover; display:block; }
.hero-visual .cash-badge{
  position:absolute;
  top: -26px; left: -18px;
  background: var(--lime);
  color: var(--forest);
  font-family:'Barlow Condensed', sans-serif;
  font-weight:800;
  text-align:center;
  border-radius:50%;
  width: 118px; height:118px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  line-height:1.05;
  box-shadow: var(--shadow-md);
  transform: rotate(-8deg);
}
.hero-visual .cash-badge span{ font-size: 20px; }
.hero-visual .cash-badge small{ font-size:10px; letter-spacing:.08em; font-weight:700; }

.hero-wave{
  display:block; width:100%; height:auto; margin-top: 54px;
}

/* ---------- Trust / stats strip ---------- */
.strip{
  background: var(--white);
  border-top: 1px solid rgba(12,51,32,0.08);
  border-bottom: 1px solid rgba(12,51,32,0.08);
}
.strip .container{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  padding: 34px 24px;
}
.strip-item{ display:flex; align-items:center; gap:14px; }
.strip-item .ico{
  width:46px; height:46px; flex:none;
  border-radius: 12px;
  background: var(--green-tint);
  display:flex; align-items:center; justify-content:center;
  color: var(--green);
}
.strip-item .ico svg{ width:24px; height:24px; }
.strip-item strong{ display:block; font-size:15px; color: var(--forest); }
.strip-item span{ font-size:13px; color: var(--muted); }

/* ---------- Category cards ---------- */
.cats{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.cat-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 18px 26px;
  text-align:center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(12,51,32,0.06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cat-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-md); }
.cat-card .photo{
  width: 96px; height:96px; margin: 0 auto 16px;
  border-radius:50%;
  overflow:hidden;
  border: 4px solid var(--green-tint);
}
.cat-card .photo img{ width:100%; height:100%; object-fit:cover; }
.cat-card h4{ font-size:19px; margin-bottom:4px; color: var(--forest); }
.cat-card p{ font-size:13.5px; color: var(--muted); margin:0; }

/* ---------- Process steps ---------- */
.steps{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  counter-reset: step;
}
.step{
  position:relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px 26px;
  border: 1px solid rgba(12,51,32,0.07);
}
.step::before{
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family:'Barlow Condensed', sans-serif;
  font-weight:800;
  font-size: 15px;
  color: var(--forest);
  background: var(--lime);
  width: 34px; height:34px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
}
.step h4{ font-size:20px; margin-bottom:6px; }
.step p{ font-size:14.5px; color: var(--muted); margin:0; }
.steps-row{ position:relative; }

/* ---------- Feature list (why us) ---------- */
.features{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 28px;
}
.feature{
  display:flex; gap:16px; align-items:flex-start;
}
.feature .ico{
  width:44px; height:44px; flex:none;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display:flex; align-items:center; justify-content:center;
  color: var(--lime);
}
.section--forest .feature h4{ color: var(--white); font-size:18px; margin-bottom:4px;}
.section--forest .feature p{ color:#b9c8bd; font-size:14.5px; margin:0; }

/* ---------- Founder / split section ---------- */
.split{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items:center;
}
.split-media{ position:relative; }
.split-media .photo-frame{
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(12,51,32,0.08);
}
.split-media img{ width:100%; object-fit:cover; height: 460px; }
.split-media .tag{
  position:absolute; bottom:-18px; right:-18px;
  background: var(--forest);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-family:'Barlow Condensed', sans-serif;
}
.split-media .tag strong{ display:block; color: var(--lime); font-size: 26px; }
.split-media .tag span{ font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#cfe0d1; }

.values{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 28px;
}
.value-pill{
  background: var(--green-tint);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align:center;
  border: 1px solid rgba(28,107,58,0.12);
}
.value-pill strong{ display:block; font-family:'Barlow Condensed',sans-serif; font-size:18px; color: var(--forest); }
.value-pill span{ font-size:12.5px; color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: linear-gradient(120deg, var(--forest) 0%, #0a2a19 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 30px;
  flex-wrap:wrap;
  color: var(--white);
  position:relative;
  overflow:hidden;
}
.cta-banner::after{
  content:"";
  position:absolute; right:-60px; top:-60px;
  width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle, rgba(166,196,0,0.25), transparent 70%);
}
.cta-banner h2{ color:var(--white); margin-bottom:8px; font-size: clamp(26px,3.4vw,38px); }
.cta-banner p{ color:#c7d6c9; margin:0; max-width:460px; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.site-footer{
  background: #082013;
  color: #a9bcac;
  padding-top: 70px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand{ display:flex; gap:12px; align-items:center; margin-bottom:14px; }
.footer-brand img{ height:40px; background: var(--cream); padding:5px; border-radius:9px; }
.footer-brand strong{ color:var(--white); font-family:'Barlow Condensed',sans-serif; font-size:19px; letter-spacing:.02em; }
.footer-col h5{
  color: var(--white);
  font-family:'Barlow Condensed', sans-serif;
  letter-spacing:.08em;
  font-size:14px;
  text-transform:uppercase;
  margin-bottom:16px;
}
.footer-col ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:14.5px; }
.footer-col a:hover{ color: var(--lime); }
.footer-contact li{ display:flex; gap:10px; font-size:14.5px; align-items:flex-start; }
.footer-contact svg{ width:18px; height:18px; flex:none; margin-top:2px; color: var(--lime); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding: 22px 0 30px;
  font-size:13px;
  flex-wrap:wrap; gap:10px;
  color: #7f9182;
}
.footer-bottom a:hover{ color: var(--lime); }

/* ---------- Connect / form page ---------- */
.connect-grid{
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 46px;
  align-items:start;
}
.info-card{
  background: var(--forest);
  color:#dfe8e0;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.info-card h3{ color:var(--white); }
.info-list{ list-style:none; padding:0; margin: 22px 0 0; display:flex; flex-direction:column; gap:20px; }
.info-list li{ display:flex; gap:14px; align-items:flex-start; }
.info-list .ico{
  width:42px; height:42px; flex:none; border-radius:11px;
  background: rgba(166,196,0,0.15);
  display:flex; align-items:center; justify-content:center;
  color: var(--lime);
}
.info-list strong{ display:block; color:var(--white); font-size:15px; }
.info-list span, .info-list a{ font-size:14px; color:#b9c8bd; }
.info-list a:hover{ color: var(--lime); }

.form-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(12,51,32,0.07);
}
.form-card .form-head{ padding: 26px 26px 0; }
.gform-embed{
  width:100%;
  min-height: 1061px; /* matches this form's actual embed height from Google's
                          "Embed HTML" dialog — update if you add/remove fields */
  border:0;
  border-radius: var(--radius-md);
  display:block;
}
.gform-placeholder{
  margin: 20px;
  border: 2px dashed rgba(28,107,58,0.35);
  border-radius: var(--radius-md);
  background: var(--green-tint);
  padding: 46px 28px;
  text-align:center;
  color: var(--green-600);
}
.gform-placeholder svg{ width:38px; height:38px; margin-bottom:14px; color: var(--green); }
.gform-placeholder code{
  display:block;
  margin-top:14px;
  background: rgba(12,51,32,0.06);
  padding: 10px 12px;
  border-radius: 8px;
  font-size:12.5px;
  word-break: break-all;
  color: var(--forest);
}

.map-embed{
  border-radius: var(--radius-md);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.15);
  margin-top: 24px;
}
.map-embed iframe{ width:100%; height:220px; border:0; filter: grayscale(.2) contrast(1.05); }

/* ---------- Legal page ---------- */
.legal-shell{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items:start;
}
.legal-nav{
  position:sticky; top: 110px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(12,51,32,0.08);
  padding: 22px;
}
.legal-nav h5{
  font-family:'Barlow Condensed',sans-serif; letter-spacing:.08em; text-transform:uppercase;
  font-size:13px; color: var(--muted); margin-bottom:14px;
}
.legal-nav ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:2px; }
.legal-nav a{
  display:block; padding:9px 10px; border-radius:8px; font-size:14.5px; color: var(--ink);
}
.legal-nav a:hover, .legal-nav a.active{ background: var(--green-tint); color: var(--green-600); }

.legal-content{
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(12,51,32,0.08);
  padding: 46px;
}
.legal-content h2{ font-size: 30px; scroll-margin-top: 110px; }
.legal-content h3{ font-size: 21px; margin-top:34px; scroll-margin-top: 110px; color: var(--forest); }
.legal-content p, .legal-content li{ color:#3d4038; font-size:15.5px; }
.legal-content ul{ margin-bottom: 1em; }
.legal-updated{
  display:inline-block;
  font-size:13px;
  color: var(--green-600);
  background: var(--green-tint);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.legal-divider{ height:1px; background: rgba(12,51,32,0.1); margin: 34px 0; border:none; }

/* ---------- About page ---------- */
.about-hero{
  background: var(--forest);
  color: var(--white);
  padding: 70px 0 90px;
}
.about-hero .eyebrow{ background: rgba(166,196,0,0.14); border-color: rgba(166,196,0,0.35); color: var(--lime); }
.about-hero h1{ color:var(--white); font-size: clamp(38px,5vw,58px); max-width: 780px; }
.about-hero p{ color:#c7d6c9; max-width:640px; font-size:18px; text-transform:none; font-family:'Inter',sans-serif; }

.story-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items:center;
}
.story-grid img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.timeline{ list-style:none; padding:0; margin:0; }
.timeline li{
  position:relative;
  padding: 0 0 30px 34px;
  border-left: 2px solid rgba(12,51,32,0.12);
}
.timeline li:last-child{ border-color: transparent; padding-bottom:0; }
.timeline li::before{
  content:"";
  position:absolute; left:-7px; top:2px;
  width:12px; height:12px; border-radius:50%;
  background: var(--lime);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}
.timeline strong{ display:block; color: var(--forest); font-family:'Barlow Condensed',sans-serif; font-size:18px; }
.timeline span{ font-size:14px; color: var(--muted); }

/* ---------- Reveal-on-scroll (vanilla, framer-motion-style easing) ---------- */
[data-reveal]{
  opacity:0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{ opacity:1; transform:none; }
[data-reveal-group] [data-reveal]{ transition-delay: calc(var(--i,0) * 90ms); }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; }
  .cats{ grid-template-columns: repeat(3,1fr); }
  .steps{ grid-template-columns: repeat(2,1fr); }
  .features{ grid-template-columns: 1fr; }
  .split{ grid-template-columns:1fr; }
  .split-media img{ height:340px; }
  .connect-grid{ grid-template-columns:1fr; }
  .legal-shell{ grid-template-columns:1fr; }
  .legal-nav{ position:static; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .story-grid{ grid-template-columns:1fr; }
  .strip .container{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px){
  .nav-links, .nav-phone{ display:none; }
  .nav-toggle{ display:flex; }
  .nav.open .nav-links{
    display:flex; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; background: var(--cream); padding: 20px 24px 26px;
    border-bottom: 1px solid rgba(12,51,32,0.1); gap:16px;
  }
  .cats{ grid-template-columns: repeat(2,1fr); }
  .steps{ grid-template-columns: 1fr; }
  .cta-banner{ padding: 34px 26px; }
  .legal-content{ padding: 28px 22px; }
  .footer-grid{ grid-template-columns: 1fr; }
  .gform-embed{ min-height: 1250px; } /* small buffer for text wrapping on narrow screens */
}

/* ==========================================================================
   Gallery page — additive only, doesn't touch any existing rules above.
   ========================================================================== */
.gallery-filter{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom: 34px;
}
.gallery-filter button{
  font-family:'Barlow Condensed', sans-serif;
  font-weight:700; letter-spacing:.03em; text-transform:uppercase;
  font-size:14px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid rgba(12,51,32,0.18);
  background: var(--white);
  color: var(--forest);
  cursor:pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.gallery-filter button:hover{ border-color: var(--green); }
.gallery-filter button.active{
  background: var(--forest); color: var(--white); border-color: var(--forest);
}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-item{
  position:relative;
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  cursor:pointer;
}
.gallery-item.tall{ grid-row: span 2; }
.gallery-item.wide{ grid-column: span 2; }
.gallery-item img, .gallery-item video{
  width:100%; height:100%; object-fit:cover; display:block;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img, .gallery-item:hover video{ transform: scale(1.06); }
.gallery-item .cap{
  position:absolute; left:0; right:0; bottom:0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(8,32,19,0.85), transparent);
  color: var(--white);
  font-size:13.5px;
  font-family:'Barlow Condensed', sans-serif;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.gallery-item .play{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  background: rgba(8,32,19,0.15);
}
.gallery-item .play svg{
  width:52px; height:52px; color:var(--white);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.4));
}

/* Lightbox */
.lightbox{
  position:fixed; inset:0; z-index:200;
  background: rgba(6,20,12,0.92);
  display:none;
  align-items:center; justify-content:center;
  padding: 40px;
}
.lightbox.open{ display:flex; }
.lightbox-inner{ max-width:900px; width:100%; position:relative; }
.lightbox-inner img, .lightbox-inner video{
  width:100%; max-height:78vh; object-fit:contain; border-radius: var(--radius-md);
  background:#000;
}
.lightbox-close{
  position:absolute; top:-56px; right:0;
  width:44px; height:44px; border-radius:50%;
  background: rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.25);
  color:#fff; display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.lightbox-cap{ color:#cfe0d1; text-align:center; margin-top:14px; font-size:14.5px; }

@media (max-width: 980px){
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows:190px; }
}
@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: 1fr 1fr; grid-auto-rows:150px; }
  .gallery-item.wide{ grid-column: span 2; }
}
