/* ===========================================================
   Bespoke Installations — brand tokens
   Navy  #0B1330   Gold #C6A76B   Cream #F6F3EC   Ink #1B1C22
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Jost:wght@300;400;500&display=swap');

:root{
  --navy: #0B1330;
  --navy-deep: #070C22;
  --gold: #C6A76B;
  --gold-light: #E4CFA0;
  --cream: #F6F3EC;
  --cream-dim: #EDE8DB;
  --ink: #1B1C22;
  --ink-soft: #4A4C56;
  --line: rgba(198,167,107,0.28);

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Jost', sans-serif;

  --maxw: 1240px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; }
.wrap{ max-width: var(--maxw); margin:0 auto; padding: 0 28px; }
.eyebrow{
  font-family: var(--font-body);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 500;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- Diamond signature motif ---------- */
.chevron{
  width: 22px; height: 16px;
  display:inline-block;
  position:relative;
}
.chevron::before, .chevron::after{
  content:"";
  position:absolute; top:0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}
.chevron::before{ left:0; }
.chevron::after{ left:8px; }

/* ---------- Header ---------- */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  background: rgba(7,12,34,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height: 76px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  color: var(--cream);
  text-decoration:none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand img{ height: 40px; width:auto; }
.brand small{
  display:block;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.22em;
  font-size: 0.55rem;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 2px;
}
nav.main-nav{ display:flex; align-items:center; gap: 34px; }
nav.main-nav a{
  color: var(--cream);
  text-decoration:none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
}
nav.main-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:1px;
  background: var(--gold); transition: right .25s ease;
}
nav.main-nav a:hover::after{ right:0; }
.nav-cta{
  border:1px solid var(--gold);
  color: var(--gold-light) !important;
  padding: 8px 18px !important;
  border-radius: 2px;
}
.nav-toggle{ display:none; background:none; border:0; color:var(--cream); font-size:1.6rem; cursor:pointer; }

@media (max-width: 880px){
  nav.main-nav{
    position:fixed; top:76px; left:0; right:0; bottom:0;
    background: var(--navy-deep);
    flex-direction: column; justify-content:flex-start; padding: 40px 28px;
    transform: translateX(100%); transition: transform .3s ease;
  }
  nav.main-nav.open{ transform: translateX(0); }
  nav.main-nav a{ font-size: 1.2rem; padding: 14px 0; border-bottom: 1px solid var(--line); width:100%; }
  .nav-toggle{ display:block; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex; align-items:center;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, #101c46 100%);
  overflow:hidden;
  padding-top: 76px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(115deg, rgba(198,167,107,0.05) 0 2px, transparent 2px 140px);
  pointer-events:none;
}
.hero-chevrons{
  position:absolute; right:-10%; top:50%; transform: translateY(-50%);
  width: 620px; height: 620px;
  opacity: 0.5;
  pointer-events:none;
}
.hero-chevrons svg{ width:100%; height:100%; }
.hero-inner{
  position:relative; z-index:2;
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items:center;
  padding: 60px 0 90px;
}
.hero h1{
  color: var(--cream);
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 18px 0 22px;
}
.hero h1 em{ color: var(--gold); font-style: normal; }
.hero p.lede{
  color: rgba(246,243,236,0.78);
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 46ch;
  margin-bottom: 34px;
}
.btn-row{ display:flex; gap:18px; flex-wrap:wrap; }
.btn{
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 15px 30px;
  border-radius: 2px;
  text-decoration:none;
  display:inline-flex; align-items:center; gap:10px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn-gold{ background: var(--gold); color: var(--navy-deep); font-weight:600; }
.btn-gold:hover{ background: var(--gold-light); transform: translateY(-2px); }
.btn-outline{ border: 1px solid rgba(246,243,236,0.35); color: var(--cream); }
.btn-outline:hover{ border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }

.hero-stats{
  display:grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hero-stats div{
  background: rgba(7,12,34,0.6);
  padding: 26px 22px;
}
.hero-stats strong{
  display:block; font-family: var(--font-display); font-weight:800;
  font-size: 2rem; color: var(--gold-light); line-height:1;
}
.hero-stats span{
  display:block; margin-top:8px; font-size: 0.78rem;
  color: rgba(246,243,236,0.65); letter-spacing:0.03em;
}

@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; padding-bottom:60px; }
  .hero-chevrons{ display:none; }
}

/* ---------- Section shell ---------- */
section{ padding: 100px 0; }
.section-head{ max-width: 620px; margin-bottom: 48px; }
.section-head h2{
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 14px 0 16px;
  color: var(--navy);
}
.section-head p{ color: var(--ink-soft); font-size: 1.05rem; line-height:1.6; }

/* ---------- About / Intro ---------- */
.about{ background: var(--cream); }
.about-grid{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items:start;
}
.about-grid .quote{
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--navy);
  line-height:1.5;
}
.about-body p{ color: var(--ink-soft); line-height:1.75; font-size:1.02rem; margin-bottom: 18px; }
.about-marks{
  display:flex; gap: 40px; margin-top: 36px; flex-wrap:wrap;
}
.about-marks div strong{ display:block; font-family:var(--font-display); font-size:1.6rem; color:var(--navy); }
.about-marks div span{ font-size:0.8rem; color: var(--ink-soft); letter-spacing:0.03em; }
@media (max-width: 860px){ .about-grid{ grid-template-columns: 1fr; gap:36px; } }

/* ---------- Portfolio ---------- */
.portfolio{ background: var(--navy-deep); }
.portfolio .section-head p{ color: rgba(246,243,236,0.68); }
.portfolio .section-head h2{ color: var(--cream); }
.portfolio .eyebrow{ color: var(--gold-light); }

.filters{
  display:flex; gap: 10px; flex-wrap:wrap; margin-bottom: 38px;
}
.filter-btn{
  font-family: var(--font-body);
  background: transparent;
  border: 1px solid rgba(246,243,236,0.25);
  color: rgba(246,243,236,0.8);
  padding: 10px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border-radius: 2px;
  cursor:pointer;
  transition: all .2s ease;
}
.filter-btn:hover{ border-color: var(--gold); color: var(--gold-light); }
.filter-btn.active{ background: var(--gold); border-color: var(--gold); color: var(--navy-deep); font-weight:600; }

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gallery figure{
  position:relative;
  margin:0;
  overflow:hidden;
  cursor:pointer;
  background: #111a3a;
}
.gallery figure img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease, filter .5s ease;
}
.gallery figure:hover img{ transform: scale(1.06); }
.gallery figure figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding: 14px 16px 12px;
  background: linear-gradient(to top, rgba(7,12,34,0.92), transparent);
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity:0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery figure:hover figcaption{ opacity:1; transform: translateY(0); }
.gallery figure.tall{ grid-row: span 2; }
.gallery figure.hide{ display:none; }

@media (max-width: 980px){ .gallery{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .gallery{ grid-template-columns: 1fr; grid-auto-rows: 260px;} .gallery figure.tall{ grid-row: span 1; } }

.gallery-more{
  display:block; margin: 34px auto 0; text-align:center;
}

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; z-index: 300;
  background: rgba(4,7,20,0.94);
  display:none; align-items:center; justify-content:center;
  padding: 40px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-height: 88vh; max-width: 90vw; object-fit:contain; border: 1px solid var(--line); }
.lightbox button{
  position:absolute; background:none; border:0; color: var(--cream);
  font-size: 2rem; cursor:pointer; line-height:1;
}
.lightbox .lb-close{ top: 26px; right: 34px; }
.lightbox .lb-prev{ left: 20px; top:50%; transform:translateY(-50%); }
.lightbox .lb-next{ right: 20px; top:50%; transform:translateY(-50%); }
.lightbox button:hover{ color: var(--gold-light); }

/* ---------- Process ---------- */
.process{ background: var(--cream-dim); }
.process-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.process-step{ position:relative; padding-top: 8px; }
.process-step .num{
  font-family: var(--font-display); font-weight:800; font-size: 2.6rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
  line-height:1; margin-bottom: 14px; display:block;
}
.process-step h3{ font-size:1.05rem; color: var(--navy); margin-bottom:10px; }
.process-step p{ color: var(--ink-soft); font-size:0.94rem; line-height:1.6; }
@media (max-width: 900px){ .process-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .process-grid{ grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews{ background: var(--navy); position:relative; overflow:hidden; }
.reviews .section-head h2, .reviews .section-head p{ color: var(--cream); }
.reviews .section-head p{ color: rgba(246,243,236,0.7); }
.review-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.review-card{
  background: rgba(246,243,236,0.05);
  border: 1px solid var(--line);
  padding: 28px 26px;
  border-radius: 3px;
}
.review-card .stars{ color: var(--gold); letter-spacing: 3px; font-size: 0.9rem; margin-bottom: 14px; }
.review-card p{ color: rgba(246,243,236,0.85); font-size: 0.95rem; line-height:1.65; margin: 0 0 18px; }
.review-card .who{ font-family: var(--font-display); font-weight:600; font-size:0.88rem; color: var(--gold-light); }
.review-card .who span{ display:block; font-family:var(--font-body); font-weight:300; color: rgba(246,243,236,0.5); font-size:0.78rem; margin-top:2px; }
@media (max-width: 980px){ .review-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .review-grid{ grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact{ background: var(--cream); }
.contact-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:start;
}
.contact-info h3{ color: var(--navy); font-size:1.3rem; margin-bottom: 18px; }
.contact-list{ list-style:none; padding:0; margin: 0 0 30px; }
.contact-list li{
  display:flex; align-items:center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid rgba(11,19,48,0.1);
}
.contact-list a{ text-decoration:none; color: var(--navy); font-weight:500; }
.contact-list a:hover{ color: var(--gold); }
.contact-list .label{ font-size:0.7rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--ink-soft); display:block; margin-bottom:2px; }
.social-row{ display:flex; gap: 14px; }
.social-row a{
  border: 1px solid var(--navy); color: var(--navy); text-decoration:none;
  padding: 10px 20px; font-size: 0.85rem; border-radius:2px;
  transition: all .2s ease;
}
.social-row a:hover{ background: var(--navy); color: var(--cream); }

.contact-form{
  background: var(--navy);
  padding: 40px;
  border-radius: 3px;
}
.contact-form h3{ color: var(--cream); font-size:1.2rem; margin-bottom:6px; }
.contact-form p.hint{ color: rgba(246,243,236,0.6); font-size:0.88rem; margin: 0 0 22px; }
.contact-form label{
  display:block; color: var(--gold-light); font-size:0.75rem; letter-spacing:0.06em;
  text-transform:uppercase; margin-bottom: 6px; margin-top:16px;
}
.contact-form input, .contact-form textarea{
  width:100%; background: rgba(246,243,236,0.06); border: 1px solid var(--line);
  color: var(--cream); padding: 12px 14px; font-family: var(--font-body); font-size: 0.95rem;
  border-radius: 2px;
}
.contact-form input:focus, .contact-form textarea:focus{ outline: 2px solid var(--gold); outline-offset:1px; }
.contact-form button{
  margin-top: 24px; width:100%; border:0; cursor:pointer;
}
.form-note{ color: rgba(246,243,236,0.5); font-size:0.78rem; margin-top:12px; }

@media (max-width: 860px){ .contact-grid{ grid-template-columns:1fr; gap:40px; } }

/* ---------- Footer ---------- */
footer{
  background: var(--navy-deep);
  color: rgba(246,243,236,0.55);
  padding: 40px 0;
  font-size: 0.85rem;
}
footer .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
footer .foot-brand{ display:flex; align-items:center; gap:10px; color: rgba(246,243,236,0.8); }
footer .foot-brand img{ height: 26px; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform: none; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold); outline-offset: 2px;
}
