:root{
  --navy: #345163;
  --navy-deep: #223846;
  --navy-darker: #16262f;
  --off-white: #e3e8eb;
  --white: #ffffff;
  --line: rgba(227,232,235,0.35);
}
*{margin:0;padding:0;box-sizing:border-box;}
body{
  background:var(--navy-deep);
  color:var(--off-white);
  font-family:'Montserrat',sans-serif;
  font-weight:300;
  line-height:1.6;
}
h1,h2,h3,.wordmark{font-family:'Playfair Display',serif;}
a{color:inherit;text-decoration:none;}

/* NAV */
header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:28px 6vw;
  mix-blend-mode:normal;
}
.nav-logo{font-size:1.1rem;letter-spacing:0.12em;font-weight:600;font-family:'Playfair Display',serif;}
nav ul{display:flex;gap:2.4rem;list-style:none;font-size:0.78rem;letter-spacing:0.14em;text-transform:uppercase;font-weight:400;}
nav a{opacity:0.85;transition:opacity .25s;}
nav a:hover{opacity:1;border-bottom:1px solid var(--off-white);}

/* MOBILE NAV TOGGLE */
.nav-toggle{
  display:none;background:none;border:none;cursor:pointer;
  flex-direction:column;justify-content:center;gap:5px;
  width:34px;height:28px;padding:0;z-index:60;position:relative;
}
.nav-toggle span{
  display:block;width:100%;height:1px;background:var(--off-white);
  transition:transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1){transform:translateY(6px) rotate(45deg);}
.nav-toggle.open span:nth-child(2){opacity:0;}
.nav-toggle.open span:nth-child(3){transform:translateY(-6px) rotate(-45deg);}

/* HERO */
.hero{
  height:100vh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;
  background:
    linear-gradient(180deg, rgba(22,38,47,0.55), rgba(22,38,47,0.85)),
    url('img/hero.jpg') center/cover no-repeat;
  padding:0 6vw;
}
.logo-box{
  border:1px solid var(--line);
  padding:2.6rem 3.6rem;
  display:inline-block;
}
.logo-box h1{
  font-size:clamp(3rem,9vw,6rem);
  font-weight:700;
  color:var(--white);
  letter-spacing:0.01em;
}
.logo-box .sub{
  margin-top:0.9rem;
  font-size:0.85rem;
  letter-spacing:0.32em;
  text-transform:uppercase;
  font-weight:300;
  color:var(--off-white);
}
.scroll-cue{
  margin-top:3.2rem;font-size:0.7rem;letter-spacing:0.2em;text-transform:uppercase;opacity:0.6;
}

section{padding:7rem 6vw;}
.section-head{text-align:center;max-width:640px;margin:0 auto 3.6rem;}
.section-head .eyebrow{font-size:0.72rem;letter-spacing:0.28em;text-transform:uppercase;opacity:0.6;margin-bottom:0.9rem;}
.section-head h2{font-size:clamp(1.8rem,3.5vw,2.6rem);font-weight:600;color:var(--white);}
.section-head p{margin-top:1rem;font-size:0.95rem;opacity:0.75;}

/* PORTFOLIO */
.portfolio-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;max-width:1200px;margin:0 auto;
}
.cat-card{
  position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--navy);
  display:block;
}
.cat-card img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(0.85);transition:transform .6s ease;}
.cat-card:hover img{transform:scale(1.05);}
.cat-card .overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, transparent 40%, rgba(22,38,47,0.9));
  display:flex;align-items:flex-end;padding:1.6rem;
}
.cat-card .overlay h3{color:var(--white);font-size:1.25rem;font-weight:600;}
.cat-card .overlay span{display:block;font-family:'Montserrat',sans-serif;font-size:0.7rem;letter-spacing:0.18em;text-transform:uppercase;opacity:0.75;margin-top:0.3rem;}

.ig-strip{text-align:center;margin-top:3.6rem;font-size:0.8rem;letter-spacing:0.14em;text-transform:uppercase;opacity:0.7;}
.ig-strip a{border-bottom:1px solid var(--line);padding-bottom:2px;}

/* CLIENT LOGO STRIP */
.client-logos{
  list-style:none;
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:1rem 1.2rem;
  max-width:1000px;margin:0 auto;
  text-align:center;
}
.client-logo{
  display:flex;align-items:center;justify-content:center;
  height:64px;min-width:120px;
  padding:0 1.5rem;
  background:rgba(227,232,235,0.92);
  border-radius:6px;
  transition:background-color .25s, transform .25s;
}
.client-logo img{
  height:28px;max-height:28px;max-width:150px;
  width:auto;
  object-fit:contain;
  display:block;
  filter:grayscale(1) brightness(0.9) contrast(0.95) opacity(0.7);
  transition:filter .3s ease;
}
.client-logo:hover img{
  filter:grayscale(0) brightness(1) contrast(1) opacity(1);
}
.client-logo:hover{background:rgba(255,255,255,0.98);transform:translateY(-2px);}
.client-logo.text-only{
  background:transparent;
  border:1px solid var(--line);
  border-radius:4px;
  padding:0 1.2rem;
  height:auto;min-height:44px;
}
.client-logo.text-only span{
  font-size:0.76rem;letter-spacing:0.12em;text-transform:uppercase;
  opacity:0.75;color:var(--off-white);
  transition:opacity .25s;
}
.client-logo.text-only:hover{border-color:var(--off-white);background:rgba(227,232,235,0.06);transform:none;}
.client-logo.text-only:hover span{opacity:1;}
@media (max-width:780px){
  .client-logos{gap:0.8rem 0.7rem;}
  .client-logo{height:52px;padding:0 1rem;min-width:90px;}
  .client-logo img{height:22px;max-height:22px;max-width:110px;}
  .client-logo.text-only{padding:0 0.9rem;min-height:38px;}
  .client-logo.text-only span{font-size:0.68rem;}
}

.subgallery{margin-top:4.5rem;}
.subgallery-label{text-align:center;font-size:0.7rem;letter-spacing:0.24em;text-transform:uppercase;opacity:0.55;margin-bottom:1.4rem;}
.subgallery-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;max-width:1200px;margin:0 auto;}
.subgallery-grid img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;filter:saturate(0.85);}
@media (max-width:780px){ .subgallery-grid{grid-template-columns:repeat(2,1fr);} }

/* GALLERY PAGE */
.gallery-hero{
  padding:9.5rem 6vw 3rem;text-align:center;
  background:var(--navy-darker);
}
.gallery-hero .eyebrow{font-size:0.72rem;letter-spacing:0.28em;text-transform:uppercase;opacity:0.6;margin-bottom:0.9rem;}
.gallery-hero h1{font-size:clamp(2rem,4.5vw,3rem);font-weight:600;color:var(--white);}
.gallery-hero p{margin-top:1rem;font-size:0.92rem;opacity:0.75;max-width:600px;margin-left:auto;margin-right:auto;}
.back-link{display:inline-block;margin-top:1.6rem;font-size:0.75rem;letter-spacing:0.14em;text-transform:uppercase;border-bottom:1px solid var(--line);padding-bottom:2px;opacity:0.85;}
.gallery-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:0.9rem;max-width:1300px;margin:0 auto;padding:0 6vw 6rem;
}
.gallery-grid img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;filter:saturate(0.85);cursor:zoom-in;transition:transform .3s ease;}
.gallery-grid img:hover{transform:scale(1.02);}
@media (max-width:900px){ .gallery-grid{grid-template-columns:repeat(2,1fr);} }

/* LIGHTBOX */
.lightbox{
  position:fixed;inset:0;background:rgba(15,24,29,0.95);display:none;
  align-items:center;justify-content:center;z-index:100;padding:4vh 4vw;
}
.lightbox.open{display:flex;}
.lightbox img{max-width:100%;max-height:92vh;object-fit:contain;}
.lightbox .close{position:absolute;top:24px;right:32px;font-size:1.8rem;cursor:pointer;color:var(--white);}

/* PRICING */
.pricing-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;max-width:1100px;margin:0 auto;
}
.price-card{
  border:1px solid var(--line);padding:2.6rem 2rem;text-align:center;
  display:flex;flex-direction:column;
}
.price-card.featured{border-color:var(--off-white);background:rgba(227,232,235,0.04);}
.price-card h3{font-size:1.3rem;font-weight:600;color:var(--white);margin-bottom:0.6rem;}
.price-card .price{font-family:'Playfair Display',serif;font-size:2.2rem;font-weight:600;margin:1.2rem 0;color:var(--white);}
.price-card .price small{font-family:'Montserrat',sans-serif;font-size:0.85rem;font-weight:300;opacity:0.7;}
.price-card ul{list-style:none;font-size:0.85rem;opacity:0.8;margin-bottom:1.8rem;}
.price-card li{padding:0.4rem 0;border-bottom:1px solid rgba(227,232,235,0.12);}
.price-card .cta{display:inline-block;align-self:center;margin-top:auto;border:1px solid var(--off-white);padding:0.7rem 1.8rem;font-size:0.72rem;letter-spacing:0.18em;text-transform:uppercase;}
.price-note{max-width:640px;margin:2.6rem auto 0;text-align:center;font-size:0.78rem;opacity:0.55;font-style:italic;}

/* CONTACT */
.contact-wrap{display:grid;grid-template-columns:1fr 1.2fr;gap:4rem;max-width:1100px;margin:0 auto;align-items:start;}
.contact-info h3{font-size:1.4rem;font-weight:600;color:var(--white);margin-bottom:1.2rem;}
.contact-info p{font-size:0.9rem;opacity:0.8;margin-bottom:1.6rem;}
.contact-info .field{margin-bottom:1.2rem;font-size:0.85rem;}
.contact-info .field span{display:block;font-size:0.68rem;letter-spacing:0.18em;text-transform:uppercase;opacity:0.55;margin-bottom:0.3rem;}
form{display:flex;flex-direction:column;gap:1.1rem;}
form input, form textarea{
  background:rgba(227,232,235,0.06);
  border:1px solid var(--line);
  border-radius:4px;
  color:var(--white);font-family:'Montserrat',sans-serif;font-size:0.9rem;padding:0.85rem 1rem;
  font-weight:300;
  transition:border-color .2s ease, background-color .2s ease;
}
form input:focus, form textarea:focus{
  outline:none;
  border-color:var(--off-white);
  background:rgba(227,232,235,0.1);
}
form input::placeholder, form textarea::placeholder{color:rgba(227,232,235,0.5);}
form textarea{resize:vertical;min-height:110px;}
form button{
  align-self:flex-start;margin-top:0.6rem;
  background:var(--off-white);color:var(--navy-darker);
  border:none;padding:0.9rem 2.2rem;font-size:0.75rem;letter-spacing:0.18em;text-transform:uppercase;
  cursor:pointer;
}
form button:disabled{opacity:0.6;cursor:default;}
.form-status{font-size:0.82rem;margin-top:0.4rem;min-height:1.2em;}
.form-status.ok{color:#9fd6a8;}
.form-status.err{color:#e5a3a3;}

footer{
  text-align:center;padding:3rem 6vw;font-size:0.75rem;opacity:0.5;letter-spacing:0.06em;
  border-top:1px solid rgba(227,232,235,0.1);
}

@media (max-width:780px){
  .portfolio-grid, .pricing-grid{grid-template-columns:1fr;}
  .contact-wrap{grid-template-columns:1fr;}
  .nav-toggle{display:flex;}
  nav ul{
    position:fixed;top:0;right:0;bottom:0;width:72vw;max-width:300px;
    flex-direction:column;justify-content:flex-start;
    background:var(--navy-darker);
    padding:6.5rem 2.2rem 2rem;
    gap:1.9rem;
    box-shadow:-6px 0 28px rgba(0,0,0,0.35);
    transform:translateX(100%);
    transition:transform .3s ease;
  }
  nav ul.open{transform:translateX(0);}
}
