/* ==========================================================================
   Le Bohémien Tours and Travels
   style.css
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout helpers
   4.  Buttons & links
   5.  Header / navigation
   6.  Hero
   7.  Tagline ticker
   8.  Welcome
   9.  Tour categories
   10. Featured tours
   11. Trekking
   12. Gallery + filters
   13. Why choose us
   14. Contact form
   15. Footer
   16. Lightbox
   17. Motion & print
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root{
  /* Palette — the emerald is sampled straight from the logo file (#007D47) */
  --emerald:      #007D47;
  --emerald-dark: #005C34;
  --pine:         #06301F;
  --pine-soft:    #0C3A26;
  --ink:          #12251C;
  --ink-soft:     #47584F;
  --mist:         #F1F4F0;
  --paper:        #FFFFFF;
  --brass:        #B0792B;
  --line:         rgba(18, 37, 28, .12);
  --line-light:   rgba(255, 255, 255, .16);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.82rem, .78rem + .18vw, .9rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.075rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.34rem + .8vw, 2rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 5.2rem);

  /* Space & shape */
  --shell:  1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --block:  clamp(3.5rem, 7vw, 7rem);
  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   28px;
  --r-xl:   36px;
  --shadow-soft: 0 18px 44px -28px rgba(6, 48, 31, .55);
  --shadow-lift: 0 30px 60px -34px rgba(6, 48, 31, .7);
  --header-h: 76px;
}

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

html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body{
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; height: auto; display: block; }
button, input, select, textarea{ font: inherit; color: inherit; }
a{ color: var(--emerald-dark); }

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  font-variation-settings: "SOFT" 18, "WONK" 1;
  letter-spacing: -.01em;
}

p{ margin: 0 0 1.1em; }
p:last-child{ margin-bottom: 0; }

::selection{ background: var(--emerald); color: #fff; }

:focus-visible{
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link{
  position: fixed;
  top: -100px; left: 12px; z-index: 200;
  background: var(--pine); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus{ top: 0; }

/* 3. LAYOUT HELPERS ======================================================== */
.shell{
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section{ padding-block: var(--block); }
.section--tint{ background: var(--paper); }

.section__head{ margin-bottom: clamp(2rem, 4vw, 3.4rem); max-width: 62ch; }
.section__head--row{
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.section__sub{
  color: var(--ink-soft);
  max-width: 56ch;
  margin-top: .9rem;
}

/* The short rule under a heading is the one structural device carried over
   from the original site — it marks every section title. */
.h-section{
  font-size: var(--step-3);
  padding-bottom: .55rem;
  position: relative;
}
.h-section::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 62px; height: 4px;
  background: var(--emerald);
  border-radius: 2px;
}
.h-section--light{ color: #fff; }
.h-section--light::after{ background: #fff; }

/* 4. BUTTONS & LINKS ======================================================= */
.btn{
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn--solid{
  --btn-bg: var(--emerald);
  --btn-fg: #fff;
  --btn-bd: var(--emerald);
}
.btn--solid:hover{ --btn-bg: var(--emerald-dark); --btn-bd: var(--emerald-dark); }

.btn--outline{
  --btn-fg: var(--emerald-dark);
  --btn-bd: rgba(0, 125, 71, .4);
}
.btn--outline:hover{ --btn-bg: var(--emerald); --btn-fg: #fff; --btn-bd: var(--emerald); }

.btn--ghost{
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover{ --btn-bg: rgba(255, 255, 255, .16); --btn-bd: #fff; }

.btn--lg{ padding: 1rem 1.9rem; font-size: var(--step-0); }
.btn--block{ width: 100%; }

.link-arrow{
  display: inline-block;
  color: var(--emerald-dark);
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(0, 125, 71, .35);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.link-arrow:hover{ color: var(--emerald); border-color: var(--emerald); }

/* 5. HEADER / NAVIGATION =================================================== */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-stuck{
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -26px rgba(6, 48, 31, .8);
}

.header__inner{
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand{ display: inline-flex; align-items: center; line-height: 0; }
.brand img{
  width: clamp(150px, 18vw, 200px);
  height: auto;
  /* The hero is dark, so the logo sits on a light plate until the header sticks. */
  background: rgba(255, 255, 255, .94);
  padding: .45rem .7rem;
  border-radius: var(--r-sm);
  transition: background-color .3s ease, padding .3s ease;
}
.site-header.is-stuck .brand img{ background: transparent; padding: .2rem 0; }

.nav{ display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav__list{
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.9rem);
  margin: 0; padding: 0;
  list-style: none;
}
.nav__item{ position: relative; }

.nav__link{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem 0;
  background: none;
  border: 0;
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  text-shadow: 0 1px 12px rgba(6, 48, 31, .55);
  transition: color .2s ease;
}
.nav__link::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover::after,
.nav__link.is-current::after{ transform: scaleX(1); }

.site-header.is-stuck .nav__link{ color: var(--ink); text-shadow: none; }
.site-header.is-stuck .nav__link:hover{ color: var(--emerald-dark); }

.nav__caret{ width: 11px; height: 8px; transition: transform .25s ease; }
.nav__toggle[aria-expanded="true"] .nav__caret{ transform: rotate(180deg); }

.submenu{
  position: absolute;
  top: calc(100% + 14px); left: -1rem;
  min-width: 190px;
  margin: 0; padding: .5rem;
  list-style: none;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.submenu.is-open{ opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a{
  display: block;
  padding: .6rem .85rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
}
.submenu a:hover{ background: var(--mist); color: var(--emerald-dark); }

.hamburger{
  display: none;
  width: 46px; height: 46px;
  padding: 11px;
  background: rgba(255, 255, 255, .9);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.hamburger span{
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.hamburger span + span{ margin-top: 5px; }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-scrim{
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 48, 31, .5);
  backdrop-filter: blur(2px);
}

@media (max-width: 940px){
  /* Sits above the drawer so it doubles as the close button */
  .hamburger{ display: block; position: relative; z-index: 96; }

  .nav{
    position: fixed;
    top: 0; right: 0;
    z-index: 95;
    width: min(84vw, 350px);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 1.5rem) 1.6rem 2rem;
    background: var(--paper);
    box-shadow: -20px 0 60px -30px rgba(6, 48, 31, .9);
    transform: translateX(102%);
    transition: transform .34s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
  }
  .nav.is-open{ transform: translateX(0); }

  .nav__list{
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list > li{ border-bottom: 1px solid var(--line); }

  .nav__link{
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0;
    color: var(--ink);
    font-size: var(--step-1);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 0;
    text-shadow: none;
  }
  .nav__link::after{ display: none; }

  .submenu{
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 .6rem .2rem;
    display: none;
  }
  .submenu.is-open{ display: block; }

  .nav__cta{ margin-top: 1.6rem; }
}

/* 6. HERO ================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: calc(var(--header-h) + 3rem) clamp(4rem, 9vw, 7rem);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__scene{ position: absolute; inset: 0; z-index: -1; }
.hero__ridges{ position: absolute; inset: 0; width: 100%; height: 100%; }

/* Swap this background-image path for the real hero photograph.
   If the file is missing the illustrated ridge scene shows instead. */
.hero__photo{
  position: absolute;
  inset: 0;
  background-image: url("assets/images/hero/hero-himalaya.jpg");
  background-size: cover;
  background-position: center;
}

.hero__veil{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 48, 31, .94) 0%, rgba(6, 48, 31, .74) 26%, rgba(6, 48, 31, .34) 55%, rgba(6, 48, 31, .1) 76%, rgba(6, 48, 31, .3) 100%);
}

.hero__inner{ position: relative; }

.hero__eyebrow{
  font-size: var(--step--1);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 1rem;
}

.hero__title{
  font-size: var(--step-4);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
  margin-bottom: 1.4rem;
  max-width: 15ch;
}
.hero__line{ display: block; }
.hero__line--script{
  font-style: italic;
  font-weight: 300;
  color: #E9F4EC;
  padding-left: .08em;
}

.hero__lede{
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 2rem;
}

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

.hero__scroll{
  position: absolute;
  left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.hero__scroll span{
  width: 3px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollHint 1.9s ease-in-out infinite;
}
@keyframes scrollHint{
  0%, 100%{ transform: translateY(0); opacity: 1; }
  60%{ transform: translateY(12px); opacity: .1; }
}

/* One orchestrated entrance on load — the only non-user-triggered motion here. */
.hero__eyebrow,
.hero__title .hero__line,
.hero__lede,
.hero__actions{
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn .9s cubic-bezier(.2, .7, .3, 1) forwards;
}
.hero__eyebrow{ animation-delay: .1s; }
.hero__title .hero__line:nth-child(1){ animation-delay: .22s; }
.hero__title .hero__line:nth-child(2){ animation-delay: .34s; }
.hero__lede{ animation-delay: .48s; }
.hero__actions{ animation-delay: .6s; }
@keyframes heroIn{ to{ opacity: 1; transform: translateY(0); } }

@media (max-width: 600px){
  .hero{ min-height: 92svh; }
  .hero__scroll{ display: none; }
  .hero__title{ max-width: 100%; }
  .hero__actions .btn{ flex: 1 1 100%; }
}

/* 7. TAGLINE TICKER ======================================================== */
.ticker{
  background: var(--pine);
  color: rgba(255, 255, 255, .9);
  padding: .85rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track{
  display: inline-flex;
  animation: tickerSlide 38s linear infinite;
}
.ticker__group{
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
}
.ticker em{
  font-style: italic;
  font-family: var(--font-display);
  font-size: var(--step-0);
}
.ticker i{ color: var(--brass); font-style: normal; }
@keyframes tickerSlide{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* 8. WELCOME =============================================================== */
.welcome__grid{
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px){
  .welcome__grid{ grid-template-columns: 1.05fr .95fr; }
}

.welcome__text p{ color: var(--ink-soft); max-width: 60ch; }
.welcome__text .h-section{ margin-bottom: 1.6rem; }
.welcome__text .btn{ margin-top: 1rem; }

.welcome__figure{ margin: 0; }
.welcome__figure img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
}
.welcome__figure figcaption{
  margin-top: 1rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
  border-left: 3px solid var(--emerald);
  padding-left: .8rem;
}

/* 9. TOUR CATEGORIES ======================================================= */
.cat-grid{
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cat-card{
  background: var(--mist);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.cat-card__media{ overflow: hidden; }
.cat-card__media img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .3, 1);
}
.cat-card:hover .cat-card__media img{ transform: scale(1.05); }

.cat-card__body{
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  flex: 1;
}
.cat-card__body h3{
  font-size: var(--step-2);
  padding-bottom: .5rem;
  border-bottom: 3px solid var(--emerald);
  align-self: flex-start;
}
.cat-card__body p{ color: var(--ink-soft); margin: 0; flex: 1; }
.cat-card__body .link-arrow{ align-self: flex-start; }

/* 10. FEATURED TOURS ======================================================= */
.tour-list{ display: grid; gap: clamp(2rem, 4vw, 3.4rem); }

.tour{
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--pine);
  box-shadow: var(--shadow-soft);
}
.tour__media img{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.tour__panel{
  padding: clamp(1.5rem, 3vw, 2.4rem);
  color: #fff;
}
.tour__region{
  font-size: var(--step--1);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  margin-bottom: .55rem;
}
.tour__name{
  font-size: var(--step-2);
  margin-bottom: .8rem;
}
.tour__note{
  color: rgba(255, 255, 255, .84);
  max-width: 52ch;
  margin-bottom: 1.4rem;
}
.tour__panel .btn--outline{
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .5);
}
.tour__panel .btn--outline:hover{ --btn-bg: #fff; --btn-fg: var(--pine); --btn-bd: #fff; }

@media (min-width: 860px){
  .tour{ background: transparent; box-shadow: none; }
  .tour__media img{ aspect-ratio: 21 / 9; border-radius: var(--r-xl); }
  .tour__panel{
    position: absolute;
    left: clamp(1.5rem, 4vw, 3.5rem);
    bottom: clamp(1.5rem, 4vw, 3rem);
    width: min(46ch, 52%);
    background: rgba(6, 48, 31, .72);
    backdrop-filter: blur(14px) saturate(130%);
    border: 1px solid var(--line-light);
    border-radius: var(--r-lg);
  }
  /* Alternate the panel side so the list doesn't read as a stack of clones */
  .tour:nth-child(even) .tour__panel{
    left: auto;
    right: clamp(1.5rem, 4vw, 3.5rem);
  }
}

/* 11. TREKKING ============================================================= */
.trek{
  position: relative;
  padding-block: var(--block);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.trek__bg{
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(6, 48, 31, .93) 12%, rgba(6, 48, 31, .74) 55%, rgba(12, 58, 38, .86) 100%),
    url("assets/images/trekking/trek-dodital.jpg") center / cover no-repeat,
    linear-gradient(160deg, #0C3A26, #06301F 60%, #0A2A3A);
}

.trek__text{ max-width: 70ch; }
.trek__text > p{
  color: rgba(255, 255, 255, .84);
  margin-top: 1.5rem;
  max-width: 58ch;
}

.trek__list{
  list-style: none;
  margin: 2.4rem 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 760px){
  .trek__text{ max-width: none; }
  .trek__list{ grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
}
.trek__list li{
  border-top: 2px solid rgba(255, 255, 255, .3);
  padding-top: 1rem;
}
.trek__list h3{
  font-size: var(--step-1);
  margin-bottom: .4rem;
}
.trek__list p{
  color: rgba(255, 255, 255, .74);
  font-size: var(--step--1);
  margin: 0;
}

/* 12. GALLERY ============================================================== */
.filters{ display: flex; flex-wrap: wrap; gap: .5rem; }

.chip{
  padding: .5rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover{ border-color: var(--emerald); color: var(--emerald-dark); }
.chip.is-active{
  background: var(--emerald);
  border-color: var(--emerald);
  color: #fff;
}

.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(.6rem, 1.4vw, 1rem);
}
@media (min-width: 760px){
  .gallery{ grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  /* A few tiles run tall so the grid reads as a wall of photographs */
  .gallery__item:nth-child(6n + 1),
  .gallery__item:nth-child(6n + 4){ grid-row: span 2; }
}

.gallery__item{
  position: relative;
  padding: 0;
  border: 0;
  background: var(--pine-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1;
  transition: opacity .3s ease, transform .3s ease;
}
@media (min-width: 760px){
  .gallery__item{ aspect-ratio: auto; height: 100%; }
}
.gallery__item img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1), filter .3s ease;
}
.gallery__item:hover img{ transform: scale(1.06); filter: brightness(.82); }

.gallery__label{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem .9rem .8rem;
  background: linear-gradient(to top, rgba(6, 48, 31, .88), transparent);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.gallery__item:hover .gallery__label,
.gallery__item:focus-visible .gallery__label{ opacity: 1; transform: translateY(0); }

.gallery__item.is-hidden{ display: none; }

/* First reveal of the wall, staggered — set by script.js */
.gallery__item.reveal{ opacity: 0; transform: translateY(14px); }
.gallery__item.reveal.is-in{ opacity: 1; transform: none; }

.gallery__empty{
  margin-top: 1.5rem;
  color: var(--ink-soft);
}

/* 13. WHY CHOOSE US ======================================================== */
.why-grid{
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.why svg{
  width: 34px; height: 34px;
  color: var(--emerald);
  margin-bottom: 1rem;
}
.why h3{
  font-size: var(--step-1);
  margin-bottom: .5rem;
}
.why p{
  color: var(--ink-soft);
  font-size: var(--step--1);
  margin: 0;
}

/* 14. CONTACT ============================================================== */
.contact__grid{
  display: grid;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 900px){
  .contact__grid{ grid-template-columns: 1fr 1fr; }
}

.contact__details{
  margin: 2.4rem 0 0;
  display: grid;
  gap: 1.6rem;
}
.contact__details dt{
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--emerald-dark);
  margin-bottom: .35rem;
}
.contact__details dd{
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}
.contact__details a{ color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.contact__details a:hover{ color: var(--emerald-dark); border-color: var(--emerald); }

.form{
  background: var(--mist);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: grid;
  gap: 1.1rem;
}
.field{ display: grid; gap: .4rem; }
.field-row{ display: grid; gap: 1.1rem; }
@media (min-width: 520px){
  .field-row{ grid-template-columns: 1fr 1fr; }
}
.field label{
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select,
.field textarea{
  width: 100%;
  padding: .8rem .95rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea{ resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 125, 71, .15);
}
.field input.is-invalid,
.field select.is-invalid{ border-color: #B3261E; }

.field__error{
  margin: 0;
  min-height: 1em;
  font-size: var(--step--1);
  color: #B3261E;
}

.form__status{
  margin: 0;
  font-size: var(--step--1);
  color: var(--emerald-dark);
  font-weight: 600;
}

/* 15. FOOTER =============================================================== */
.footer{
  background: var(--pine);
  color: rgba(255, 255, 255, .78);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.footer__grid{
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer__plaque{
  display: inline-block;
  background: #fff;
  padding: .8rem 1rem;
  border-radius: var(--r-md);
  margin-bottom: 1.2rem;
}
.footer__plaque img{ width: 190px; }
.footer__brand p{ max-width: 34ch; font-size: var(--step--1); }

.footer__col h3{
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: .5rem;
  margin-bottom: 1.1rem;
  position: relative;
}
.footer__col h3::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 42px; height: 3px;
  background: var(--emerald);
  border-radius: 2px;
}
.footer__col-h2{ margin-top: 1.8rem; }
.footer__col p{ font-size: var(--step--1); line-height: 1.8; }

.footer a{ color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover{ color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer__links{ list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: var(--step--1); }

.footer__bar{
  border-top: 1px solid var(--line-light);
  padding-block: 1.4rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--1);
}
.footer__bar p{ margin: 0; }

/* 16. LIGHTBOX ============================================================= */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(.4rem, 2vw, 1.5rem);
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 24, 16, .97);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.is-open{ opacity: 1; }
.lightbox[hidden]{ display: none; }

.lightbox__stage{
  margin: 0;
  display: grid;
  gap: 1rem;
  justify-items: center;
  min-width: 0;
}
.lightbox__stage img{
  max-width: 100%;
  max-height: 74svh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 40px 80px -40px #000;
}
.lightbox__stage figcaption{
  color: rgba(255, 255, 255, .85);
  font-size: var(--step--1);
  text-align: center;
}

.lightbox__nav,
.lightbox__close{
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease;
}
.lightbox__nav:hover,
.lightbox__close:hover{ background: rgba(255, 255, 255, .24); }

.lightbox__close{
  position: absolute;
  top: clamp(.8rem, 3vw, 1.6rem);
  right: clamp(.8rem, 3vw, 1.6rem);
  font-size: 1.5rem;
}

@media (max-width: 600px){
  .lightbox{ grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox__stage{ grid-row: 1; grid-column: 1 / -1; }
  .lightbox__nav--prev{ grid-row: 2; grid-column: 1; justify-self: start; }
  .lightbox__nav--next{ grid-row: 2; grid-column: 2; justify-self: end; }
}

/* 17. MOTION & PRINT ======================================================= */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__eyebrow,
  .hero__title .hero__line,
  .hero__lede,
  .hero__actions,
  .gallery__item.reveal{ opacity: 1; transform: none; }
  .ticker__track{ animation: none; }
}

@media print{
  .site-header, .hero__scroll, .ticker, .lightbox, .filters, .form{ display: none !important; }
  body{ background: #fff; }
  .hero{ min-height: auto; color: var(--ink); }
}
