/* ============================================================
   Spice Design Studio — stylesheet
   Ported from the live theme (wp-content/themes/spice-design-studio/style.css)
   so the mockup matches the existing aesthetic the owner already likes.
   ============================================================ */

:root {
  --bg:        #0c0b09;
  --bg2:       #141210;
  --cream:     #e8dcc8;
  --cream-dim: #c9bda6;
  --gold:      #c4975a;
  --gold-light:#d9b07a;
  --white:     #f5f0e8;
  --text-muted:#7a6e60;
  --border:    rgba(196,151,90,0.2);
  --nav-h:     88px;
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}

html{
  scroll-behavior:smooth;
  scroll-padding-top:var(--nav-h);
  -webkit-text-size-adjust:100%;
}

body{
  background:var(--bg);
  color:var(--cream);
  font-family:'Jost',sans-serif;
  font-weight:300;
  overflow-x:hidden;
  padding-top:var(--nav-h);
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
    scroll-behavior:auto !important;
  }
}

:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}

/* ── NAV ── */
#main-nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.5rem 4rem;
  background:linear-gradient(to bottom,rgba(12,11,9,0.95) 0%,transparent 100%);
  backdrop-filter:blur(4px);
  transition:background 0.3s;
}
#main-nav.scrolled{background:rgba(12,11,9,0.98);}

.nav-logo{display:flex;align-items:center;gap:1rem;text-decoration:none;}
.nav-logo img{height:52px;mix-blend-mode:screen;filter:brightness(1.1);}
.nav-logo-text{display:flex;flex-direction:column;line-height:1;}
.nav-logo-text .site-name{
  font-family:'Cormorant Garamond',serif;
  font-size:1.2rem;font-weight:500;
  letter-spacing:0.08em;color:var(--cream);
}
.nav-logo-text .site-tagline{
  font-size:0.6rem;font-weight:400;
  letter-spacing:0.25em;text-transform:uppercase;
  color:var(--gold);margin-top:3px;
}

.nav-links{display:flex;gap:3rem;list-style:none;}
.nav-links a{
  font-size:0.7rem;font-weight:400;
  letter-spacing:0.2em;text-transform:uppercase;
  color:var(--cream-dim);
  transition:color 0.3s;position:relative;
}
.nav-links a::after{
  content:'';position:absolute;bottom:-4px;left:0;
  width:0;height:1px;background:var(--gold);transition:width 0.3s;
}
.nav-links a:hover,.nav-links a.active{color:var(--gold);}
.nav-links a:hover::after,.nav-links a.active::after{width:100%;}

.nav-cta{
  font-size:0.65rem;font-weight:400;
  letter-spacing:0.2em;text-transform:uppercase;
  color:var(--bg);background:var(--gold);
  padding:0.7rem 1.8rem;border:none;
  cursor:pointer;transition:background 0.3s,transform 0.2s;
}
.nav-cta:hover{background:var(--gold-light);transform:translateY(-1px);}

.ham{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:4px;}
.ham span{display:block;width:24px;height:1px;background:var(--cream);transition:all 0.3s;}

.mobile-menu{
  display:none;position:fixed;inset:0;z-index:200;
  background:rgba(8,8,7,0.97);
  flex-direction:column;align-items:center;justify-content:center;gap:2.5rem;
}
.mobile-menu.open{display:flex;}
.mobile-menu a{
  font-family:'Cormorant Garamond',serif;font-size:2.5rem;
  font-weight:300;color:var(--cream);transition:color 0.3s;
}
.mobile-menu a:hover{color:var(--gold);}
.mobile-close{
  position:absolute;top:1.5rem;right:1.5rem;
  width:46px;height:46px;
  display:flex;align-items:center;justify-content:center;
  color:var(--cream);
  background:transparent;
  border:1px solid rgba(232,220,200,0.35);
  cursor:pointer;line-height:1;
  transition:all 0.2s;
  z-index:100;
}
.mobile-close:hover{border-color:var(--gold);color:var(--gold);}
.mobile-close svg{display:block;pointer-events:none;}

/* ── SHARED ── */
.container{max-width:1300px;margin:0 auto;padding:0 4rem;}

.section-label{
  font-size:0.6rem;font-weight:400;
  letter-spacing:0.35em;text-transform:uppercase;
  color:var(--gold);
  display:flex;align-items:center;gap:1rem;margin-bottom:1.2rem;
}
.section-label::before{content:'';display:block;width:30px;height:1px;background:var(--gold);}

.section-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.4rem,4vw,3.6rem);font-weight:300;
  line-height:1.15;color:var(--white);
}
.section-title em{font-style:italic;color:var(--gold);}

.btn-primary{
  font-size:0.65rem;font-weight:500;letter-spacing:0.22em;text-transform:uppercase;
  color:var(--bg);background:var(--gold);
  padding:1.1rem 2.8rem;border:none;cursor:pointer;
  transition:all 0.3s;display:inline-block;
}
.btn-primary:hover{background:var(--gold-light);transform:translateY(-2px);color:var(--bg);}

.btn-secondary{
  font-size:0.65rem;font-weight:400;letter-spacing:0.22em;text-transform:uppercase;
  color:var(--cream-dim);background:none;
  border:1px solid rgba(232,220,200,0.3);
  padding:1.1rem 2.8rem;cursor:pointer;transition:all 0.3s;
  display:inline-block;
}
.btn-secondary:hover{border-color:var(--gold);color:var(--gold);}

/* ── HEROES ── */
.hero,.portfolio-hero,.contact-hero,.page-hero{
  margin-top:calc(-1 * var(--nav-h));
  position:relative;overflow:hidden;
}
.hero{height:100vh;display:flex;align-items:flex-end;padding-top:var(--nav-h);box-sizing:border-box;}
.portfolio-hero,.contact-hero{height:45vh;display:flex;align-items:flex-end;}
.page-hero{height:55vh;display:flex;align-items:flex-end;}

.hero-bg,.portfolio-hero-bg,.contact-hero-bg,.page-hero-bg{
  position:absolute;inset:0;background-size:cover;background-position:center;
}
.hero-bg{
  background-image:url('images/open%20concept%20kitchen%20and%20dining.png');
  transform:scale(1.05);animation:heroZoom 12s ease-out forwards;
}
.portfolio-hero-bg{background-image:url('images/custom%20kitchen%20island%20stone%20countertops.png');}
.contact-hero-bg{background-image:url('images/master%20bathroom%20spa%20retreat.png');}
.page-hero-bg{background-image:url('images/walk%20in%20tile%20shower.png');}
@keyframes heroZoom{to{transform:scale(1);}}

.hero-overlay,.portfolio-hero-overlay,.contact-hero-overlay,.page-hero-overlay{
  position:absolute;inset:0;
}
.hero-overlay{background:linear-gradient(135deg,rgba(12,11,9,0.85) 0%,rgba(12,11,9,0.4) 50%,rgba(12,11,9,0.7) 100%);}
.portfolio-hero-overlay,.contact-hero-overlay,.page-hero-overlay{
  background:linear-gradient(to top,rgba(12,11,9,1) 0%,rgba(12,11,9,0.5) 100%);
}

.hero-content{
  position:relative;z-index:2;
  padding:0 4rem 6rem;max-width:780px;
  animation:heroFadeUp 1.2s ease-out 0.3s both;
}
.portfolio-hero-content,.contact-hero-content,.page-hero-content{
  position:relative;z-index:2;padding:0 4rem 4rem;max-width:1300px;width:100%;margin:0 auto;
}
@keyframes heroFadeUp{from{opacity:0;transform:translateY(40px);}to{opacity:1;transform:translateY(0);}}

.hero-eyebrow{
  font-size:0.62rem;font-weight:400;letter-spacing:0.35em;text-transform:uppercase;
  color:var(--gold);margin-bottom:1.5rem;
  display:flex;align-items:center;gap:1rem;
}
.hero-eyebrow::before{content:'';display:block;width:40px;height:1px;background:var(--gold);}

.hero-title{
  font-family:'Cormorant Garamond',serif;
  /* clamp uses min(vw, vh) so title scales down on short viewports
     and never overflows above the hero into the fixed nav */
  font-size:clamp(2.4rem, min(6.5vw, 11vh), 5.6rem);
  font-weight:300;
  line-height:1.05;color:var(--white);margin-bottom:2rem;
}
.hero-title em{font-style:italic;color:var(--gold);}

.hero-subtitle{
  font-size:0.85rem;font-weight:300;line-height:1.9;
  color:var(--cream-dim);max-width:500px;margin-bottom:3rem;
}

.hero-actions{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap;}

.hero-scroll{
  position:absolute;bottom:2.5rem;right:4rem;z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:0.8rem;opacity:0.6;
}
.hero-scroll span{
  font-size:0.55rem;letter-spacing:0.25em;text-transform:uppercase;
  color:var(--cream-dim);writing-mode:vertical-lr;
}
.scroll-line{
  width:1px;height:60px;
  background:linear-gradient(to bottom,var(--gold),transparent);
  animation:scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse{0%,100%{opacity:0.4}50%{opacity:1}}

/* ── ABOUT STRIP ── */
.about-strip{
  background:var(--bg2);padding:7rem 0;
  border-top:1px solid var(--border);border-bottom:1px solid var(--border);
}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:center;}
.about-img-wrap{position:relative;}
.about-img-wrap img{width:100%;height:520px;object-fit:cover;}
.about-img-wrap::before{
  content:'';position:absolute;
  top:-20px;left:-20px;right:20px;bottom:20px;
  border:1px solid var(--border);z-index:-1;
}
.about-badge{
  position:absolute;bottom:-1.5rem;right:-1.5rem;
  background:var(--gold);color:var(--bg);padding:1.5rem 2rem;text-align:center;
}
.about-badge .num{font-family:'Cormorant Garamond',serif;font-size:2.8rem;font-weight:600;line-height:1;display:block;}
.about-badge .lbl{font-size:0.55rem;font-weight:500;letter-spacing:0.18em;text-transform:uppercase;display:block;margin-top:4px;}
.about-text p{font-size:0.92rem;line-height:2;color:var(--cream-dim);margin-bottom:1.5rem;}
.about-stats{
  display:grid;grid-template-columns:1fr 1fr;gap:2rem;
  margin-top:3rem;padding-top:2.5rem;border-top:1px solid var(--border);
}
.stat-item .num{font-family:'Cormorant Garamond',serif;font-size:2.4rem;font-weight:300;color:var(--gold);display:block;}
.stat-item .lbl{font-size:0.65rem;letter-spacing:0.15em;text-transform:uppercase;color:var(--text-muted);margin-top:4px;display:block;}

/* ── SERVICES ── */
.services{padding:8rem 0;}
.services-header{text-align:center;margin-bottom:4rem;}
.services-header .section-label{justify-content:center;}
.services-header .section-label::before{display:none;}
.services-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:2px;margin-top:5rem;background:var(--border);
}
.service-card{
  background:var(--bg);padding:3.5rem 2.8rem;
  position:relative;overflow:hidden;transition:background 0.4s;
}
.service-card::after{
  content:'';position:absolute;bottom:0;left:0;
  width:0;height:2px;background:var(--gold);transition:width 0.4s;
}
.service-card:hover{background:var(--bg2);}
.service-card:hover::after{width:100%;}
.service-num{font-family:'Cormorant Garamond',serif;font-size:4rem;font-weight:300;color:rgba(196,151,90,0.12);line-height:1;margin-bottom:1rem;}
.service-title{font-family:'Cormorant Garamond',serif;font-size:1.5rem;font-weight:400;color:var(--cream);margin-bottom:1rem;}
.service-desc{font-size:0.82rem;line-height:1.85;color:var(--text-muted);}

/* ── FEATURED ── */
.featured{padding:8rem 0;background:var(--bg2);}
.featured-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:4rem;flex-wrap:wrap;gap:2rem;}
.featured-grid{display:grid;grid-template-columns:1.4fr 1fr;grid-template-rows:560px;gap:2px;}
.featured-main{position:relative;overflow:hidden;display:block;}
.featured-main img{width:100%;height:100%;object-fit:cover;transition:transform 0.8s ease;}
.featured-main:hover img{transform:scale(1.04);}
.featured-side{display:flex;flex-direction:column;gap:2px;height:100%;}
.featured-sm{flex:1 1 0;position:relative;overflow:hidden;min-height:0;}
.featured-sm img{width:100%;height:100%;object-fit:cover;transition:transform 0.8s ease;}
.featured-sm:hover img{transform:scale(1.04);}
.img-caption{
  position:absolute;bottom:0;left:0;right:0;
  padding:1.5rem 2rem;
  background:linear-gradient(to top,rgba(12,11,9,0.85) 0%,transparent 100%);
  transform:translateY(100%);transition:transform 0.4s ease;
}
.featured-main:hover .img-caption,.featured-sm:hover .img-caption{transform:translateY(0);}
.img-caption span{font-size:0.75rem;letter-spacing:0.12em;color:var(--cream);}

/* ── TESTIMONIAL SLICE ── */
.testimonial{
  padding:8rem 0;text-align:center;
  border-top:1px solid var(--border);border-bottom:1px solid var(--border);
}
.quote-mark{font-family:'Cormorant Garamond',serif;font-size:8rem;line-height:0.5;color:var(--gold);opacity:0.3;display:block;margin-bottom:2rem;}
.quote-text{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(1.4rem,2.5vw,2rem);font-weight:300;font-style:italic;
  line-height:1.6;color:var(--cream);max-width:780px;margin:0 auto 2.5rem;
}
.quote-author{font-size:0.7rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);}
.quote-detail{font-size:0.7rem;color:var(--text-muted);margin-top:0.5rem;}

/* ── ABOUT PAGE ── */
.about-page{padding:7rem 0;}
.about-page-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:6rem;align-items:start;}
.about-page-img{
  position:sticky;top:calc(var(--nav-h) + 2rem);
}
.about-page-img img{width:100%;height:auto;}
.about-page-img::before{
  content:'';position:absolute;
  top:-20px;left:-20px;right:20px;bottom:20px;
  border:1px solid var(--border);z-index:-1;pointer-events:none;
}
.about-page-text h2{
  font-family:'Cormorant Garamond',serif;
  font-size:2.2rem;font-weight:300;color:var(--white);
  margin:3rem 0 1.5rem;
}
.about-page-text h2:first-child{margin-top:0;}
.about-page-text h2 em{font-style:italic;color:var(--gold);}
.about-page-text p{font-size:0.92rem;line-height:2;color:var(--cream-dim);margin-bottom:1.4rem;}

/* ── PROCESS ── */
.process{padding:8rem 0;background:var(--bg2);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.process-header{text-align:center;margin-bottom:5rem;}
.process-header .section-label{justify-content:center;}
.process-header .section-label::before{display:none;}
.process-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;}
.process-step{padding:2rem;border-left:1px solid var(--border);}
.process-step .step-num{font-family:'Cormorant Garamond',serif;font-size:0.85rem;letter-spacing:0.2em;color:var(--gold);margin-bottom:1rem;display:block;}
.process-step h3{font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-weight:400;color:var(--cream);margin-bottom:1rem;}
.process-step p{font-size:0.82rem;line-height:1.85;color:var(--text-muted);}

/* ── SERVICES PAGE ── */
.services-page{padding:7rem 0;}
.service-block{
  display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;
  padding:5rem 0;border-bottom:1px solid var(--border);
}
.service-block:last-child{border-bottom:none;}
.service-block.reverse{direction:rtl;}
.service-block.reverse > *{direction:ltr;}
.service-block-img{position:relative;overflow:hidden;height:440px;}
.service-block-img img{width:100%;height:100%;object-fit:cover;}
.service-block-text .section-label{margin-bottom:1rem;}
.service-block-text h2{
  font-family:'Cormorant Garamond',serif;
  font-size:2.4rem;font-weight:300;color:var(--white);margin-bottom:1.5rem;line-height:1.15;
}
.service-block-text h2 em{font-style:italic;color:var(--gold);}
.service-block-text p{font-size:0.9rem;line-height:2;color:var(--cream-dim);margin-bottom:1.5rem;}
.service-block-text ul{list-style:none;margin-top:1.5rem;}
.service-block-text li{
  font-size:0.85rem;color:var(--cream-dim);padding:0.6rem 0 0.6rem 1.5rem;position:relative;
  border-bottom:1px solid var(--border);
}
.service-block-text li::before{
  content:'';position:absolute;left:0;top:1.1rem;
  width:8px;height:1px;background:var(--gold);
}

/* ── FAQ ── */
.faq{padding:8rem 0;background:var(--bg2);border-top:1px solid var(--border);}
.faq-header{text-align:center;margin-bottom:4rem;}
.faq-header .section-label{justify-content:center;}
.faq-header .section-label::before{display:none;}
.faq-list{max-width:800px;margin:0 auto;}
.faq-item{border-top:1px solid var(--border);}
.faq-item:last-child{border-bottom:1px solid var(--border);}
.faq-q{
  width:100%;background:none;border:none;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;gap:2rem;
  padding:1.8rem 0;
  font-family:'Cormorant Garamond',serif;font-size:1.2rem;font-weight:400;
  color:var(--cream);text-align:left;
  transition:color 0.3s;
}
.faq-q:hover{color:var(--gold);}
.faq-q .faq-icon{
  flex-shrink:0;width:24px;height:24px;
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold);font-size:0.9rem;line-height:1;
  transition:transform 0.3s,border-color 0.3s;
}
.faq-item.open .faq-icon{transform:rotate(45deg);border-color:var(--gold);}
.faq-a{
  max-height:0;overflow:hidden;transition:max-height 0.4s ease;
  font-size:0.85rem;line-height:1.95;color:var(--text-muted);
}
.faq-item.open .faq-a{max-height:400px;padding-bottom:1.8rem;}

/* ── PORTFOLIO ── */
.portfolio-filters{padding:3rem 0;border-bottom:1px solid var(--border);}
.filter-btns{display:flex;gap:0.5rem;flex-wrap:wrap;}
.filter-btn{
  font-size:0.62rem;font-weight:400;letter-spacing:0.18em;text-transform:uppercase;
  color:var(--text-muted);background:none;border:1px solid rgba(122,110,96,0.3);
  padding:0.65rem 1.6rem;cursor:pointer;transition:all 0.3s;
}
.filter-btn:hover,.filter-btn.active{color:var(--bg);background:var(--gold);border-color:var(--gold);}

.portfolio-grid{
  padding:5rem 0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:2px;
}
.port-item{position:relative;overflow:hidden;aspect-ratio:3/4;cursor:pointer;}
.port-item img{width:100%;height:100%;object-fit:cover;transition:transform 0.7s ease;}
.port-item:hover img{transform:scale(1.06);}
.port-overlay{
  position:absolute;inset:0;
  background:rgba(12,11,9,0.75);
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:2rem;opacity:0;transition:opacity 0.4s;
}
.port-item:hover .port-overlay,.port-item:focus-within .port-overlay{opacity:1;}
.port-cat{font-size:0.58rem;letter-spacing:0.22em;text-transform:uppercase;color:var(--gold);margin-bottom:0.5rem;}
.port-name{font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-weight:400;color:var(--white);}

/* ── TESTIMONIALS PAGE ── */
.testimonials-page{padding:7rem 0;}
.testimonials-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;
}
.testimonial-card{
  background:var(--bg2);border:1px solid var(--border);
  padding:3rem;display:flex;flex-direction:column;gap:1.5rem;
  transition:border-color 0.3s,transform 0.3s;
}
.testimonial-card:hover{border-color:var(--gold);transform:translateY(-3px);}
.testimonial-stars{display:flex;gap:0.2rem;color:var(--gold);font-size:0.9rem;letter-spacing:0.1em;}
.testimonial-quote{
  font-family:'Cormorant Garamond',serif;
  font-size:1.15rem;font-weight:300;font-style:italic;line-height:1.7;
  color:var(--cream);
}
.testimonial-meta{
  border-top:1px solid var(--border);padding-top:1.5rem;margin-top:auto;
}
.testimonial-name{font-size:0.85rem;font-weight:400;color:var(--cream);letter-spacing:0.05em;}
.testimonial-role{font-size:0.7rem;letter-spacing:0.18em;text-transform:uppercase;color:var(--gold);margin-top:4px;display:block;}
.testimonial-project{font-size:0.7rem;color:var(--text-muted);margin-top:6px;display:block;}

/* ── CTA BANNER ── */
.cta-banner{background:var(--bg2);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:6rem 0;text-align:center;}
.cta-banner .section-label{justify-content:center;}
.cta-banner .section-label::before{display:none;}
.cta-banner p.body-text{font-size:0.88rem;color:var(--text-muted);max-width:480px;margin:0 auto 2.5rem;line-height:1.9;}
.body-text{font-size:0.9rem;color:var(--cream-dim);line-height:1.9;}

/* ── TESTIMONIALS EMPTY STATE ── */
.testimonials-empty{padding:3rem 0 5rem;}
.testimonials-empty .section-title{margin-bottom:0;}
.testimonials-empty .section-label{display:inline-flex;}
.testimonials-empty .section-label::before{display:none;}

/* ── CONTACT ── */
.contact-body{padding:7rem 0;}
.contact-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:8rem;}
.contact-info h2{font-family:'Cormorant Garamond',serif;font-size:1.8rem;font-weight:300;color:var(--cream);margin-bottom:1.5rem;}
.contact-info > p{font-size:0.85rem;line-height:2;color:var(--text-muted);margin-bottom:3rem;}
.contact-detail{display:flex;flex-direction:column;gap:1.8rem;margin-bottom:3rem;}
.contact-item{display:flex;gap:1.2rem;align-items:flex-start;}
.contact-icon{width:40px;height:40px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--gold);}
.contact-item-text .lbl{font-size:0.58rem;letter-spacing:0.2em;text-transform:uppercase;color:var(--text-muted);display:block;margin-bottom:3px;}
.contact-item-text a,.contact-item-text span{font-size:0.85rem;color:var(--cream);transition:color 0.3s;display:block;}
.contact-item-text a:hover{color:var(--gold);}
.contact-item-text .sub{font-size:0.75rem;color:var(--text-muted);margin-top:2px;}
.google-btn{
  display:inline-flex;align-items:center;gap:0.8rem;
  font-size:0.65rem;font-weight:400;letter-spacing:0.18em;text-transform:uppercase;
  color:var(--cream-dim);border:1px solid var(--border);
  padding:0.9rem 1.6rem;transition:all 0.3s;margin-top:1rem;
}
.google-btn:hover{border-color:var(--gold);color:var(--gold);}

/* ── FORM ── */
.form-title{font-family:'Cormorant Garamond',serif;font-size:1.8rem;font-weight:300;color:var(--cream);margin-bottom:0.5rem;}
.form-subtitle{font-size:0.8rem;color:var(--text-muted);margin-bottom:2.5rem;}
.form-group{margin-bottom:1.6rem;}
.form-captcha label span{color:var(--gold);font-variant-numeric:tabular-nums;}
.captcha-error{color:#d97a6e;font-size:0.78rem;margin-top:0.5rem;font-style:italic;min-height:1.2em;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;margin-bottom:1.6rem;}
.form-row .form-group{margin-bottom:0;}
label{display:block;font-size:0.58rem;font-weight:500;letter-spacing:0.18em;text-transform:uppercase;color:var(--text-muted);margin-bottom:0.6rem;}
input,select,textarea{
  width:100%;background:rgba(255,255,255,0.03);
  border:1px solid rgba(196,151,90,0.2);
  padding:1rem 1.2rem;font-family:'Jost',sans-serif;
  font-size:0.85rem;font-weight:300;color:var(--cream);outline:none;
  transition:border-color 0.3s,background 0.3s;
  -webkit-appearance:none;appearance:none;
}
input:focus,select:focus,textarea:focus{border-color:var(--gold);background:rgba(196,151,90,0.05);}
select{
  cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c4975a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1.2rem center;padding-right:3rem;
}
select option{background:#1a1612;color:var(--cream);}
textarea{resize:vertical;min-height:130px;line-height:1.7;}
input::placeholder,textarea::placeholder{color:rgba(201,189,166,0.3);}

.submit-btn{
  font-size:0.65rem;font-weight:500;letter-spacing:0.22em;text-transform:uppercase;
  color:var(--bg);background:var(--gold);
  padding:1.2rem 3rem;border:none;cursor:pointer;transition:all 0.3s;width:100%;
}
.submit-btn:hover{background:var(--gold-light);}
.submit-btn:disabled{opacity:0.6;cursor:not-allowed;}

.form-notice{font-size:0.72rem;color:var(--text-muted);margin-top:1.2rem;line-height:1.7;}
.form-success{
  display:none;text-align:center;padding:4rem 2rem;border:1px solid var(--border);
}
.form-success.show{display:block;}
.success-icon{
  width:60px;height:60px;border:1px solid var(--gold);border-radius:50%;
  display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:var(--gold);
}
.form-success h3{font-family:'Cormorant Garamond',serif;font-size:1.8rem;font-weight:300;color:var(--cream);margin-bottom:1rem;}
.form-success p{font-size:0.85rem;color:var(--text-muted);}

/* ── FOOTER ── */
footer{background:#080807;border-top:1px solid var(--border);padding:4rem 0 2rem;}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:4rem;margin-bottom:4rem;}
.footer-brand img{height:56px;mix-blend-mode:screen;margin-bottom:1.2rem;}
.footer-brand p{font-size:0.8rem;line-height:1.9;color:var(--text-muted);max-width:300px;}
.footer-col h4{font-size:0.6rem;font-weight:500;letter-spacing:0.22em;text-transform:uppercase;color:var(--gold);margin-bottom:1.5rem;}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:0.8rem;}
.footer-col ul li a{font-size:0.8rem;color:var(--text-muted);transition:color 0.3s;}
.footer-col ul li a:hover{color:var(--gold);}
.footer-social{display:flex;gap:1rem;margin-top:0.5rem;}
.footer-social a{
  width:40px;height:40px;border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color:var(--cream-dim);transition:all 0.3s;
}
.footer-social a:hover{color:var(--gold);border-color:var(--gold);}
.footer-bottom{border-top:1px solid var(--border);padding-top:2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;}
.footer-bottom p{font-size:0.72rem;color:var(--text-muted);}
.footer-bottom a{color:var(--gold);}

/* Designed-and-built credit (Meridian Works). Forces its own row below the
   copyright/phone line via flex-basis: 100%. rel="nofollow" on the link is
   intentional — it's a credit, not a vote. */
.footer-credit{
  flex-basis:100%;text-align:center;
  font-size:0.65rem;letter-spacing:0.08em;
  color:var(--muted);opacity:0.75;
  margin-top:0.5rem;padding-top:1.2rem;
  border-top:1px solid rgba(196,151,90,0.12);
}
.footer-credit a{display:inline-flex;align-items:center;gap:0.55rem;color:var(--muted);transition:color 0.2s;line-height:1;}
.footer-credit a:hover{color:var(--gold);}
.footer-credit a:hover img{filter:brightness(0) invert(70%) sepia(53%) saturate(700%) hue-rotate(353deg) brightness(96%) contrast(85%);}
/* Filter chain converts the multicolor logo to a single-tone gold silhouette
   matching --gold (#c4975a). brightness(0) collapses all colors to black
   while preserving alpha; the rest of the chain re-tints it gold. */
.footer-credit img{
  height:18px;width:auto;flex-shrink:0;
  filter:brightness(0) invert(70%) sepia(53%) saturate(443%) hue-rotate(353deg) brightness(91%) contrast(82%);
  opacity:0.85;transition:opacity 0.2s;
}
.footer-credit a:hover img{opacity:1;}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .process-steps{grid-template-columns:repeat(2,1fr);}
  .testimonials-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;gap:3rem;}
}
@media(max-width:900px){
  :root{--nav-h:68px;}
  #main-nav{padding:1.2rem 2rem;}
  .nav-links,.nav-cta{display:none;}
  .ham{display:flex;}
  .container{padding:0 2rem;}
  .hero-content{padding:0 2rem 6rem;}
  .portfolio-hero-content,.contact-hero-content,.page-hero-content{padding:0 2rem 3rem;}
  .about-grid,.about-page-grid,.contact-layout{grid-template-columns:1fr;gap:4rem;}
  .about-page-img{position:static;}
  .services-grid{grid-template-columns:1fr;}
  .featured-grid{grid-template-columns:1fr;}
  .featured-main{height:300px;}
  .featured-sm{height:200px;}
  .form-row{grid-template-columns:1fr;}
  .portfolio-grid{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr;gap:2.5rem;}
  .footer-bottom{flex-direction:column;text-align:center;}
  .service-block,.service-block.reverse{grid-template-columns:1fr;direction:ltr;gap:2.5rem;}
  .hero-scroll{display:none;}
}
@media(max-width:600px){
  .portfolio-grid{grid-template-columns:1fr;}
  .hero-title{font-size:2.6rem;}
  .hero-actions{flex-direction:column;align-items:flex-start;}
  .about-stats{grid-template-columns:1fr 1fr;}
  .process-steps{grid-template-columns:1fr;}
}
