/* ============================================================
   CLUSTER SIXTEEN — shared stylesheet
   Palette: sage / cream, minimal & airy — with a bold cinematic
   scroll signature (the "growing line").

   >>> OPTION POINTS are marked like this throughout the file.
   Swap the values to change the whole feel in seconds.
   ============================================================ */

:root{
  /* ---------- COLOR TOKENS ---------- */
  --cream:        #F7F5EF;   /* base background */
  --cream-deep:   #EFEBE0;   /* secondary panel bg */
  --sage:         #A9BB9C;   /* primary accent */
  --sage-deep:    #4C5E45;   /* dark green for text-on-cream & dark sections */
  --ink:          #2B2B26;   /* body text */
  --gold:         #B8965A;   /* CTA / signature accent */
  --line:         #D8D2C2;   /* hairlines, dividers */
  --white:        #FFFFFF;

  /* >>> OPTION A — swap to a moodier palette:
  --cream: #EDEAE2; --sage-deep: #23301F; --gold: #C9A15A;  */

  /* ---------- TYPE TOKENS ---------- */
  --font-display: 'Century Gothic', CenturyGothic, AppleGothic, 'Poppins', sans-serif;
  --font-body:    'Century Gothic', CenturyGothic, AppleGothic, 'Poppins', sans-serif;
  --font-mono:    'Century Gothic', CenturyGothic, AppleGothic, 'Poppins', sans-serif;

  /* ---------- LAYOUT TOKENS ---------- */
  --maxw: 1240px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --radius: 2px; /* studio uses near-sharp corners, architectural */

  /* ---------- MOTION TOKENS ---------- */
  --ease: cubic-bezier(.22,1,.36,1);
  --dur-slow: 1.1s;
  --dur-med: .7s;
  --dur-fast: .35s;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:500;
  color:var(--sage-deep);
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.6rem, 6vw, 5.2rem); line-height:1.02; font-weight:400; }
h2{ font-size:clamp(1.9rem, 4vw, 3.1rem); line-height:1.08; }
h3{ font-size:clamp(1.2rem, 2vw, 1.6rem); }

p{ margin:0 0 1em; max-width:60ch; }
.eyebrow{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold);
  display:inline-block;
  margin-bottom:1.1em;
}

.container{ max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter); }
.section{ padding: clamp(4rem,10vh,8rem) 0; position:relative; }
.section-dark{ background:var(--sage-deep); color:var(--cream); }
.section-dark h2, .section-dark h3{ color:var(--cream); }
.section-dark p{ color:#DCE3D6; }

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding: 1.4rem var(--gutter);
  transition: background var(--dur-med) var(--ease), padding var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
  mix-blend-mode:normal;
}
.nav.solid{
  background:rgba(247,245,239,.92);
  backdrop-filter: blur(8px);
  padding: .9rem var(--gutter);
  box-shadow: 0 1px 0 var(--line);
}
.nav .logo{
  font-family:var(--font-display);
  font-size:1.15rem;
  letter-spacing:.04em;
  color:var(--sage-deep);
  display:flex; align-items:center;
}
.nav .logo b{ color:var(--gold); font-weight:500; }
.nav .logo-img{
  height:84px; width:auto; display:block;
  filter:brightness(0) invert(1); /* white wordmark over the dark hero */
  transition:filter var(--dur-med) var(--ease);
}
.nav.solid .logo-img{ filter:none; } /* true-ink wordmark once nav goes solid cream */
.nav ul{ list-style:none; display:flex; gap:2.4rem; margin:0; padding:0; }
.nav a{
  font-family:var(--font-mono);
  font-size:.75rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--cream); /* light over the transparent/hero nav */
  position:relative;
  transition: color var(--dur-med) var(--ease);
}
.nav.solid a{ color:var(--sage-deep); } /* true ink once the bar goes solid cream */
.nav-home.solid a{ color:var(--cream); } /* home page keeps white nav links even when solid */
.nav ul a.active::after, .nav ul a:hover::after{
  content:''; position:absolute; left:0; bottom:-6px; width:100%; height:1px; background:var(--gold);
}
.nav-toggle{ display:none; }

@media (max-width:760px){
  .nav{ padding: 1rem 1.2rem; }
  .nav.solid{ padding: .8rem 1.2rem; }
  .nav .logo-img{ height:52px; }

  .nav ul{
    position:fixed;
    top:0; right:0;
    height:100vh;
    width:min(78vw, 320px);
    background:var(--cream);
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:0;
    padding: 6.5rem 2rem 2rem;
    transform:translateX(100%);
    transition: transform var(--dur-med) var(--ease);
    box-shadow: -4px 0 24px rgba(0,0,0,.12);
    z-index:99;
  }
  .nav ul.open{ transform:translateX(0); }
  .nav ul li{ width:100%; }
  .nav ul a{
    display:block;
    padding: 1rem 0;
    width:100%;
    border-bottom:1px solid var(--line);
    color:var(--sage-deep) !important;
  }
  .nav ul a::after{ display:none; }

  .nav-toggle{
    display:flex; flex-direction:column; justify-content:center; align-items:flex-end;
    gap:5px;
    width:32px; height:28px;
    background:none; border:none; padding:0; margin:0;
    cursor:pointer;
    z-index:101;
    position:relative;
  }
  .nav-toggle span{
    display:block; height:2px; width:100%;
    background:var(--cream);
    transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  }
  .nav.solid .nav-toggle span,
  .nav-home.solid .nav-toggle span{ background:var(--sage-deep); }
  .nav-home .nav-toggle span{ background:#161611; } /* nav-home is always on a cream bar, so the icon is always dark ink */
  .nav ul.open ~ .nav-toggle span,
  .nav-toggle.active span{ background:var(--sage-deep); }
  .nav-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2){ opacity:0; }
  .nav-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
}

/* ---------- HERO ---------- */
main{ position:relative; }

.hero{
  min-height:100vh; position:relative; display:flex; align-items:flex-end;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transform:scale(1.08);
  filter:saturate(.9) brightness(.85);
}
.hero-bg-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(43,54,38,.15) 0%, rgba(30,38,26,.65) 100%);
}
.hero-content{
  position:relative; z-index:2; color:var(--cream);
  padding: 0 var(--gutter) clamp(3rem,8vh,6rem);
  max-width:var(--maxw); margin:0 auto; width:100%;
}
.hero-content h1{ color:var(--white); }
.hero-content .eyebrow{ color:var(--sage); }
.hero-scroll-cue{
  position:absolute; bottom:2.2rem; left:50%; transform:translateX(-50%);
  z-index:2; color:var(--cream); font-family:var(--font-mono); font-size:.68rem;
  letter-spacing:.15em; text-transform:uppercase; opacity:.8;
  display:flex; flex-direction:column; align-items:center; gap:.6rem;
}
.hero-scroll-cue span{
  width:1px; height:34px; background:var(--cream); opacity:.6;
  animation: cue-grow 2.2s var(--ease) infinite;
  transform-origin:top;
}
@keyframes cue-grow{
  0%{ transform:scaleY(0); opacity:0;}
  40%{ transform:scaleY(1); opacity:.9;}
  100%{ transform:scaleY(1); opacity:0;}
}

/* ---------- THE GROWING LINE (signature element) ----------
   A vine/blueprint line that draws itself down the page as
   the user scrolls, threading every section together. */
.growth-line{
  position:absolute; left:calc(var(--gutter) - 1px); top:0; bottom:0; width:2px;
  z-index:5; pointer-events:none; display:none;
}
.growth-line svg{ width:100%; height:100%; overflow:visible; }
.growth-line path{
  fill:none; stroke:var(--gold); stroke-width:2;
  stroke-dasharray:1; stroke-dashoffset:1;
  vector-effect:non-scaling-stroke;
}
@media (min-width:900px){ .growth-line{ display:block; } }

/* ---------- SPLIT / ALTERNATING BLOCKS ---------- */
.split{
  display:grid; grid-template-columns:1fr 1fr; gap: clamp(2rem,6vw,6rem);
  align-items:center;
}
.split.reverse .split-media{ order:2; }
.split-media{ overflow:hidden; border-radius:var(--radius); }
.split-media img{ width:100%; height:100%; object-fit:cover; transition:transform 1.4s var(--ease); }
.split-media:hover img{ transform:scale(1.05); }
.split-text .eyebrow{ margin-bottom:1rem; }

@media (max-width:820px){
  .split, .split.reverse{ grid-template-columns:1fr; }
  .split.reverse .split-media{ order:0; }
}

/* ---------- CARD GRID (projects / values) ---------- */
.grid{ display:grid; grid-template-columns:repeat(3,1fr); gap: clamp(1.2rem,3vw,2.4rem); }
@media (max-width:900px){ .grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .grid{ grid-template-columns:1fr;} }

.card{ position:relative; overflow:hidden; border-radius:var(--radius); background:var(--white); }
.card-img-wrap{ overflow:hidden; aspect-ratio:4/5; }
.card-img-wrap img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease); }
.card:hover .card-img-wrap img{ transform:scale(1.08); }
.card-caption{ padding:1.2rem 0 .2rem; }
.card-caption .eyebrow{ margin-bottom:.4rem; font-size:.65rem; }

/* ---------- PROCESS / NUMBERED STEPS (real sequence, numbering justified) ---------- */
.process{ display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; }
@media (max-width:900px){ .process{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .process{ grid-template-columns:1fr;} }
.process-step .num{
  font-family:var(--font-mono); color:var(--gold); font-size:.85rem; letter-spacing:.1em;
  border-top:1px solid var(--line); display:block; padding-top:.8rem; margin-bottom:.8rem;
}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  font-family:var(--font-mono); font-size:.75rem; letter-spacing:.1em; text-transform:uppercase;
  padding:.95rem 1.8rem; border:1px solid currentColor; border-radius:var(--radius);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn:hover{ background:var(--sage-deep); color:var(--cream); border-color:var(--sage-deep); }
.btn-light{ color:var(--cream); }
.btn-light:hover{ background:var(--cream); color:var(--sage-deep); }

/* ---------- FOOTER ---------- */
footer{
  background:var(--sage-deep); color:var(--cream);
  padding: clamp(3rem,6vw,5rem) 0 2rem;
}
footer .foot-grid{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:2rem; margin-bottom:3rem; }
footer h4{ color:var(--sage); font-family:var(--font-mono); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom:1rem; }
footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.6rem; }
footer a:hover{ color:var(--gold); }
.foot-bottom{ border-top:1px solid rgba(247,245,239,.15); padding-top:1.4rem; display:flex; justify-content:space-between; font-family:var(--font-mono); font-size:.7rem; letter-spacing:.05em; opacity:.75; }
@media (max-width:700px){ footer .foot-grid{ grid-template-columns:1fr; gap:2rem;} .foot-bottom{ flex-direction:column; gap:.6rem;} }

/* ---------- SCROLL REVEAL (JS toggles .is-visible) ---------- */
.reveal{ opacity:0; transform:translateY(40px); transition:opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-scale{ opacity:0; transform:scale(.92); transition:opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal-scale.is-visible{ opacity:1; transform:scale(1); }
.reveal-clip{ clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.reveal-clip.is-visible{ clip-path: inset(0 0 0% 0); }

/* stagger children via inline --d custom property, set by JS or manually */
.reveal, .reveal-scale{ transition-delay: var(--d, 0s); }

/* >>> OPTION B — want gentler motion instead of cinematic?
   set --dur-slow: .5s and change translateY(40px) to translateY(14px) */

/* ---------- SMALL PAGE HERO (about/projects/contact) ---------- */
.page-hero{
  padding: clamp(8rem,18vh,11rem) 0 3rem;
  border-bottom:1px solid var(--line);
}

/* ---------- CONTACT FORM ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.4rem; }
.form-grid .full{ grid-column:1/-1; }
label{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--sage-deep); display:block; margin-bottom:.5rem; }
input, textarea{
  width:100%; background:transparent; border:none; border-bottom:1px solid var(--line);
  padding:.7rem 0; font-family:var(--font-body); font-size:1rem; color:var(--ink);
  transition:border-color var(--dur-fast) var(--ease);
}
input:focus, textarea:focus{ outline:none; border-color:var(--gold); }
textarea{ resize:vertical; min-height:110px; }

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

/* ============================================================
   HOME PAGE HEADER — "Nirvana" reference restyle
   Clean white header, black wordmark, muted-grey/black nav.
   No borders or rules — just generous whitespace — and it
   fades away smoothly as the page scrolls (see script.js),
   reappearing once you scroll back near the top.
   >>> Currently scoped to nav-home (applied on every page).
   ============================================================ */
.nav-home, .nav-home.solid{
  position:sticky; top:0;
  background:var(--cream);
  backdrop-filter:none;
  padding: 2.6rem var(--gutter);
  border:none;
  box-shadow:none;
  transition: opacity .25s linear;
}
.nav-home .logo-img, .nav-home.solid .logo-img{
  height:45px;
  filter:none; /* always the true black ink mark on white */
}
.nav-home a, .nav-home.solid a{
  font-family:var(--font-body);
  font-size:1rem;
  font-weight:400;
  letter-spacing:normal;
  text-transform:none;
  color:#BFBFB6;
  transition:color var(--dur-fast) var(--ease);
}
.nav-home ul{ gap:2.6rem; }
.nav-home ul a.active,
.nav-home.solid ul a.active{
  color:#161611;
  font-weight:500;
}
.nav-home ul a:hover{ color:#161611; }
.nav-home ul a.active::after,
.nav-home ul a:hover::after{ content:none; }

/* ============================================================
   HOME — full-screen auto-advancing image slider (below header)
   Fits within one viewport (no scroll needed): height is the
   viewport minus the actual header height (measured in JS and
   stored in --header-h). Margins match the header's gutter on
   every side, so the slide's left edge lines up with the logo.
   ============================================================ */
html, body{ height:100%; }
body{ margin:0; }
.hero-slider{
  width:100%;
  --frame-margin: var(--gutter); /* match the nav's inset so the frame's edges line up with the logo (left) and contact link (right) */
  padding: 0 var(--frame-margin) clamp(3rem, 8vh, 6rem);
  box-sizing:border-box;
}
.hero-slider-frame{
  position:relative;
  width:100%;
  aspect-ratio: 2.03 / 1; /* precisely matches the reference framing (measured from your screenshot's green box) */
  overflow:hidden;
  border-radius:var(--radius);
  background:var(--cream);
}
.hero-slider-frame .slide{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.4s cubic-bezier(.4,0,.2,1);
}
.hero-slider-frame .slide.active{
  opacity:1;
  z-index:1;
}

/* ============================================================
   HOME — video card, right-aligned, sitting below the hero
   slider. Uses the same side gutter as the slider so its right
   edge lines up with the nav; card itself is a smaller block
   rather than full width.
   ============================================================ */
.home-video-section{
  width:100%;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 6rem);
  box-sizing:border-box;
  display:flex;
  justify-content:flex-end;
}
.home-video-card{
  width: min(820px, 68vw);
  aspect-ratio: 2 / 1;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--cream-deep);
}
.home-video-card video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media (max-width: 700px){
  .home-video-card{ width: min(400px, 80vw); }
}

/* ============================================================
   HOME — end-of-page social row (email / facebook / instagram /
   pinterest), left-aligned to the same gutter as the header
   logo and slider, with a plain hairline above it.
   ============================================================ */
.social-footer{
  background:var(--cream);
  padding: 3rem var(--gutter) 3.5rem;
}
.social-footer-line{
  border-top:1px solid var(--line);
  margin-bottom: 2.4rem;
}
.social-footer-icons{
  display:flex;
  align-items:center;
  gap: 1.7rem;
}
.social-footer-icons a{
  color:#4A4A44;
  display:flex;
  transition: color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.social-footer-icons a svg{
  width:20px; height:20px;
}
.social-footer-icons a:hover{
  color:#161611;
}

/* ============================================================
   CONTACT PAGE — address / form / map three-up layout
   ============================================================ */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1.15fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: 3rem var(--gutter) 4rem;
  align-items:start;
}
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-address h2{
  font-family:var(--font-body);
  font-weight:700;
  font-size:1.6rem;
  color:#161611;
  text-transform:lowercase;
  margin:0 0 1.4rem;
}
.contact-address-block{
  font-size:.95rem;
  line-height:1.7;
  color:#3A3A34;
  margin:0 0 1.6rem;
}
.contact-address-block a{
  text-decoration:none;
  color:#3A3A34;
}
.contact-address-block a:hover{ color:#161611; text-decoration:underline; }

.contact-form-col .form-grid{ row-gap:1.6rem; }
.contact-submit{
  background:#161611;
  color:var(--white);
  border:none;
  padding: .9rem 2.2rem;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.85rem;
  letter-spacing:.03em;
  text-transform:uppercase;
  cursor:pointer;
  transition: opacity var(--dur-fast) var(--ease);
}
.contact-submit:hover{ opacity:.85; }
.contact-submit:disabled{ opacity:.6; cursor:default; }

.form-status{
  font-family:var(--font-body);
  font-size:.85rem;
  line-height:1.5;
  min-height:1.2em;
}
.form-status.is-success{ color:#2f6b2f; }
.form-status.is-error{ color:#a83232; }

.contact-map-col{
  width:100%; height:100%;
  min-height:420px;
  overflow:hidden;
  border-radius:var(--radius);
}

/* ============================================================
   ABOUT US — right-aligned photo, centered top-to-bottom
   Simple black placeholder box: swap it for a real photo by
   either adding a background-image here, or replacing the
   <div class="about-photo"> in about.html with an <img>.
   ============================================================ */
.about-main{
  height: calc(100vh - var(--header-h, 132px));
  display:flex;
  flex-direction:column;
  overflow:hidden; /* never scrolls — script.js sizes content to always fit */
}
.about-content{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  align-items:flex-start; /* top-align the row; script.js centers the whole row via padding-top */
  box-sizing:border-box;
}
.about-photo-section{
  flex:0 0 auto;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start; /* aligns photo to the left */
  padding-left: var(--gutter); /* same left edge as the logo */
}
.about-photo{
  width:auto;
  height:auto;
  max-width:680px;   /* upper safety cap; script.js sets the real height */
  max-height:100%;
  aspect-ratio: 1000 / 1300; /* matches the actual cropped photo */
  object-fit:cover;
  background:#000;
}
.about-text-wrap{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-end;      /* right-aligns both blocks */
  justify-content:space-between; /* text block to the top, founders to the bottom */
  padding: 0 var(--gutter) 0 1.5rem;
  box-sizing:border-box;
}
.about-text{
  max-width: 380px;
  font-family: var(--font-body);
  font-size: .78rem;
  line-height: 1.65;
  color:#161611;
  text-align:left;
}
.about-text p{ margin:0 0 1.3em; max-width:none; text-align:justify; text-align-last:left; }
.about-text p:last-child{ margin-bottom:0; }
.about-text strong{ font-weight:600; }
.about-founders{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:.35em;
  margin-top:2.2rem;
  font-family:var(--font-body);
  font-size:.78rem;
  letter-spacing:.02em;
  color:#161611;
  text-align:right;
}
.about-main .social-footer{
  flex:0 0 auto;
}

/* centered variant of the social icon row (used on About Us) */
.social-footer-icons.centered{
  justify-content:center;
}

@media (max-width: 860px){
  .about-main{ height:auto; min-height:calc(100vh - var(--header-h, 132px)); overflow:visible; }
  .about-content{ flex-direction:column; }
  .about-photo-section{ padding-left:0; justify-content:center; flex:0 0 auto; }
  .about-text-wrap{ padding: 1rem var(--gutter); justify-content:flex-start; align-items:flex-start; }
  .about-photo{ width:100%; max-width:420px; height:auto; }
  .about-founders{ align-items:flex-start; text-align:left; }
  .about-text{ max-width:none; }
}

/* ============================================================
   PROJECTS PAGE — 5-photo horizontal grid (edge-to-edge row,
   uniform squares, thin gaps), matching the Nirvana works grid.
   ============================================================ */
.projects-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 0 var(--gutter);
  margin-top: 2.5rem;
}
.proj-item{
  position:relative;
  overflow:hidden;
  cursor:pointer;
  color:inherit;
  text-decoration:none;
}
.proj-item img{
  width:100%;
  aspect-ratio: 2 / 3;
  object-fit:cover;
  display:block;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94), opacity .6s ease;
}
.proj-item:hover img{
  transform: scale(1.07);
  opacity:.8;
}
.proj-label{
  position:absolute;
  right:14px; bottom:14px;
  font-family:var(--font-body);
  font-size:.85rem;
  font-weight:500;
  letter-spacing:.02em;
  color:#fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
  opacity:0;
  transform:translateY(10px);
  transition: opacity .5s ease .08s, transform .5s ease .08s;
  pointer-events:none;
}
.proj-item:hover .proj-label{
  opacity:1;
  transform:translateY(0);
}
.proj-item-soon{ cursor:default; }
.proj-item-soon img{ filter:grayscale(.5); opacity:.7; }
.proj-item-soon:hover img{ transform:none; opacity:.7; }
.proj-soon-badge{
  position:absolute;
  left:14px; top:14px;
  font-family:var(--font-body);
  font-size:.68rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#fff;
  background:rgba(22,22,17,.72);
  padding:.35em .7em;
  border-radius:2px;
}
@media (max-width: 900px){
  .projects-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PROJECT DETAIL PAGES (e.g. Bansil House) — Nirvana-style:
   one large uncropped hero image, left/right edges matching the
   header's gutter (same start as the logo, same end as the nav),
   followed by a descriptive text block.
   ============================================================ */
.project-hero{
  padding: 2.4rem var(--gutter) 0;
  box-sizing:border-box;
}
.project-hero img{
  width:100%;
  height:auto;
  display:block;
}
.project-text{
  max-width: 760px;
  margin: 0 auto;
  padding: 2.6rem var(--gutter) 4rem;
  box-sizing:border-box;
}
.project-text p{
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.75;
  color:#2B2B26;
  margin:0 0 1.4em;
  max-width:none;
}
.project-text .project-quote{
  font-style:italic;
  color:#5A5A52;
}

/* FLOOR PLAN — full-bleed, edge-to-edge, no gutter */
.project-plan{
  width:100%;
  padding: 0 var(--gutter);
  box-sizing:border-box;
  margin-top:2.5rem;
}
.project-plan img{
  width:100%;
  height:auto;
  display:block;
}

/* ============================================================
   LIGHTBOX — full-screen viewer for gallery grid images,
   with prev/next arrows and keyboard/swipe navigation.
   ============================================================ */
.lightbox{
  position:fixed; inset:0; z-index:999;
  background:rgba(20,19,15,.96);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition: opacity .35s var(--ease);
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox-img{
  max-width:88vw; max-height:86vh;
  width:auto; height:auto;
  object-fit:contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  opacity:0;
  transform: scale(.98);
  transition: opacity .3s ease, transform .3s ease;
}
.lightbox-img.is-visible{ opacity:1; transform:scale(1); }
.lightbox-close,
.lightbox-prev,
.lightbox-next{
  position:absolute;
  background:none; border:none; cursor:pointer;
  color:var(--cream);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .2s ease, transform .2s ease;
  opacity:.75;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover{ opacity:1; }
.lightbox-close{
  top: clamp(14px, 3vw, 32px);
  right: clamp(14px, 3vw, 32px);
  width:40px; height:40px;
}
.lightbox-close svg{ width:22px; height:22px; }
.lightbox-prev,
.lightbox-next{
  top:50%; transform:translateY(-50%);
  width:56px; height:56px;
}
.lightbox-prev:hover,
.lightbox-next:hover{ transform:translateY(-50%) scale(1.08); }
.lightbox-prev{ left: clamp(6px, 2.5vw, 28px); }
.lightbox-next{ right: clamp(6px, 2.5vw, 28px); }
.lightbox-prev svg,
.lightbox-next svg{ width:30px; height:30px; }
.lightbox-counter{
  position:absolute;
  bottom: clamp(14px, 3vw, 28px);
  left:50%; transform:translateX(-50%);
  font-family:var(--font-mono);
  font-size:.72rem; letter-spacing:.1em;
  color:var(--cream); opacity:.65;
}
@media (max-width: 640px){
  .lightbox-prev, .lightbox-next{ width:44px; height:44px; }
  .lightbox-prev svg, .lightbox-next svg{ width:22px; height:22px; }
  .lightbox-img{ max-width:94vw; max-height:80vh; }
}
