/* ===========================================================
   Creative Spaces — shared stylesheet
   Dark monochrome theme matched to the real logo (black/white line
   mark + script wordmark) — see SETUP.md.
   =========================================================== */

:root{
  --ink:#f3f2f0;
  --ink-soft:#c6c4c0;
  --ink-faint:#8f8d89;
  --bg:#0b0b0b;
  --bg-panel:#161616;
  --bg-panel-2:#202020;
  --line:#2d2d2b;
  --cream:#1a1a1a;
  --clay:#f3f2f0;
  --clay-dark:#ffffff;
  --sage:#a8a6a2;
  --sage-dark:#d2d0cc;
  --max-width:1280px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Karla', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
h1,h2,h3,.serif{
  font-family:'Lora', Georgia, serif;
  margin:0;
  font-weight:500;
  color:var(--ink);
}
p{margin:0;}
a{color:var(--clay-dark);text-decoration:none;}
a:hover{color:var(--clay);}
img{max-width:100%;display:block;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;}

.wrap{
  max-width:var(--max-width);
  margin:0 auto;
  padding-left:24px;
  padding-right:24px;
}

.eyebrow{
  font-size:13px;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--sage-dark);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 26px;
  font-size:14.5px;
  font-weight:700;
  border-radius:3px;
  white-space:nowrap;
  border:1.5px solid transparent;
  cursor:pointer;
  font-family:'Karla', sans-serif;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{background:var(--clay);color:var(--cream);}
.btn-primary:hover{background:var(--clay-dark);color:var(--cream);}
.btn-outline{border-color:var(--ink);color:var(--ink);background:transparent;}
.btn-outline:hover{background:var(--ink);color:var(--cream);}
.btn-block{width:100%;}

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(11,11,11,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav-row{
  padding-top:18px;
  padding-bottom:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.brand-logo{
  height:78px;
  width:auto;
  display:block;
  filter:invert(1);
}
@media (max-width: 500px){
  .brand-logo{height:56px;}
}

.main-nav{
  display:flex;
  align-items:center;
  gap:30px;
}
.main-nav a{
  font-size:14.5px;
  color:var(--ink-soft);
  font-weight:600;
}
.main-nav a.active{
  color:var(--ink);
  border-bottom:2px solid var(--clay);
  padding-bottom:3px;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav-insta{
  display:flex;
  color:var(--ink-soft);
}
.nav-insta:hover{color:var(--ink);}

.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}

@media (max-width: 860px){
  .main-nav{
    position:fixed;
    top:0;
    right:0;
    height:100vh;
    width:78%;
    max-width:320px;
    background:var(--cream);
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:6px;
    padding:90px 32px 32px;
    box-shadow:-8px 0 24px rgba(0,0,0,0.4);
    transform:translateX(100%);
    transition:transform .25s ease;
  }
  .main-nav.open{transform:translateX(0);}
  .main-nav a{
    width:100%;
    padding:12px 0;
    border-bottom:1px solid var(--line);
    font-size:16px;
  }
  .nav-toggle{display:flex;}
  .nav-actions .btn-primary{display:none;}
  .nav-scrim{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.55);
    z-index:90;
  }
  .nav-scrim.open{display:block;}
}

/* ---------- Centered landing hero (Home page) ---------- */
.hero-center{
  min-height:calc(100svh - 96px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:72px 24px;
  position:relative;
}
.hero-center-inner{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:30px;
  max-width:720px;
  margin:0 auto;
}
.hero-logo{
  width:min(420px, 78vw);
  height:auto;
  filter:invert(1);
}
.hero-quote{
  font-size:21px;
  font-style:italic;
  line-height:1.6;
  color:var(--ink-soft);
  max-width:560px;
}
.hero-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:center;
}
.hero-scroll-cue{
  position:absolute;
  z-index:1;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  opacity:0.55;
  animation:heroBounce 1.8s ease-in-out infinite;
}

/* ---------- Animated architectural background (behind hero content) ---------- */
.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
}
.hero-bg-grid{
  position:absolute;
  inset:-70px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:64px 64px;
  opacity:0.4;
  animation:heroGridDrift 50s linear infinite;
}
.hero-bg-icon{
  position:absolute;
  opacity:0;
  color:var(--ink-faint);
  animation-name:heroIconBreathe;
  animation-duration:11s;
  animation-timing-function:ease-in-out;
  animation-iteration-count:infinite;
}
.hero-bg-icon svg{display:block;width:100%;height:100%;}
.hero-bg-icon.draw path{
  stroke-dasharray:120;
  stroke-dashoffset:120;
  animation:heroDrawLine 11s ease-in-out infinite;
}
.hero-bg-icon--tl{top:9%; left:7%; width:150px; height:150px; animation-delay:0s;}
.hero-bg-icon--tr{top:12%; right:8%; width:120px; height:120px; animation-delay:2.6s;}
.hero-bg-icon--bl{bottom:12%; left:9%; width:130px; height:130px; animation-delay:5.2s;}
.hero-bg-icon--br{bottom:9%; right:7%; width:160px; height:160px; animation-delay:7.8s;}
@media (max-width: 900px){
  .hero-bg-icon{display:none;}
}

@keyframes heroGridDrift{
  from{transform:translate(0,0);}
  to{transform:translate(-64px,-64px);}
}
@keyframes heroIconBreathe{
  0%{opacity:0; transform:scale(0.9) translateY(8px);}
  15%{opacity:0.55; transform:scale(1) translateY(0);}
  70%{opacity:0.55; transform:scale(1) translateY(0);}
  100%{opacity:0; transform:scale(0.94) translateY(-6px);}
}
@keyframes heroDrawLine{
  0%{stroke-dashoffset:120;}
  40%{stroke-dashoffset:0;}
  75%{stroke-dashoffset:0;}
  100%{stroke-dashoffset:-120;}
}
@media (prefers-reduced-motion: reduce){
  .hero-bg-grid{animation:none;}
  .hero-bg-icon{animation:none;opacity:0.3;}
  .hero-bg-icon.draw path{animation:none;stroke-dashoffset:0;}
}
@media (max-width: 600px){
  .hero-quote{font-size:17px;}
  .hero-center{padding:56px 24px;}
}

.hero-fade{
  opacity:0;
  transform:translateY(18px);
  animation-name:heroFadeUp;
  animation-duration:0.9s;
  animation-timing-function:cubic-bezier(.16,.8,.3,1);
  animation-fill-mode:forwards;
}
@keyframes heroFadeUp{
  to{opacity:1;transform:translateY(0);}
}
@keyframes heroBounce{
  0%, 100%{transform:translateX(-50%) translateY(0);}
  50%{transform:translateX(-50%) translateY(8px);}
}
@media (prefers-reduced-motion: reduce){
  .hero-fade{animation:none;opacity:1;transform:none;}
  .hero-scroll-cue{animation:none;}
}

/* ---------- Hero (split layout, used on non-Home pages if needed) ---------- */
.hero{
  padding-top:64px;
  padding-bottom:72px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr;padding-top:44px;padding-bottom:48px;gap:36px;}
}

.hero h1{
  font-size:48px;
  line-height:1.15;
}
@media (max-width: 560px){
  .hero h1{font-size:34px;}
}

.placeholder-tile{
  position:relative;
  width:100%;
  border-radius:4px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.placeholder-tile .fill{
  position:absolute;
  inset:0;
}
.placeholder-tile .grid-overlay{
  position:absolute;
  inset:0;
  opacity:0.12;
}
.placeholder-tile svg.icon{
  position:relative;
}
.placeholder-caption{
  position:absolute;
  left:16px;
  bottom:16px;
  padding:8px 14px;
  background:rgba(251,247,240,0.92);
  border-radius:3px;
  font-size:12.5px;
  font-weight:700;
  color:#1c1c1c;
}

/* ---------- Sections ---------- */
section{width:100%;}
.section-pad{padding-top:88px;padding-bottom:88px;}
@media (max-width: 700px){
  .section-pad{padding-top:56px;padding-bottom:56px;}
}
.panel-bg{
  background:var(--bg-panel);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:40px;
  flex-wrap:wrap;
}

/* ---------- Grids ---------- */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:32px;
}
.grid-4{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:28px;
}
.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
}
@media (max-width: 900px){
  .grid-3{grid-template-columns:repeat(2, minmax(0,1fr));}
  .grid-4{grid-template-columns:repeat(2, minmax(0,1fr));}
  .grid-2{grid-template-columns:1fr;gap:32px;}
}
@media (max-width: 600px){
  .grid-3, .grid-4{grid-template-columns:1fr;}
}

/* ---------- Cards ---------- */
.card{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.card-title-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.tag{
  font-size:11px;
  font-weight:700;
  padding:3px 9px;
  border-radius:3px;
  white-space:nowrap;
}
.tag-residential{color:#3a3a38;background:#d4d2ce;}
.tag-commercial{color:#000000;background:#e3e2df;font-weight:800;}
.tag-renovation{color:#4a4a48;background:#c6c4c0;}
.tag-religious{color:#3a3a38;background:#ddd4c4;}
.tag-landscape{color:#2f3a2f;background:#cdd4c4;}
.tag-placeholder{color:#5c5c5a;background:#c9c7c3;font-style:italic;}

/* ---------- Product cards (Shop) ---------- */
.product-card{
  display:flex;
  flex-direction:column;
  background:var(--bg-panel);
  border:1px solid var(--line);
  border-radius:4px;
  overflow:hidden;
}
.product-body{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:0 18px 20px;
  flex-grow:1;
}
.product-price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:10px;
  gap:12px;
}
.price{
  font-family:'Lora', Georgia, serif;
  font-size:19px;
  color:var(--ink);
}
.price.placeholder{
  font-size:14px;
  color:var(--ink-faint);
  font-style:italic;
}
.payment-note{
  font-size:11px;
  color:var(--ink-faint);
  margin-top:8px;
}

/* ---------- Form ---------- */
.field-label{
  font-size:12.5px;
  font-weight:700;
  color:var(--ink-soft);
  margin-bottom:6px;
  display:block;
}
.input{
  width:100%;
  padding:13px 14px;
  border:1.5px solid var(--line);
  border-radius:3px;
  background:var(--cream);
  font-size:14.5px;
  color:var(--ink);
  font-family:'Karla', sans-serif;
}
.input:focus{outline:none;border-color:var(--clay);}
.form-row-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
@media (max-width: 560px){
  .form-row-2{grid-template-columns:1fr;}
}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--clay);
  padding:64px 0;
}
.cta-band-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
}
.cta-band h2{color:var(--cream);font-size:30px;max-width:560px;}
.cta-band .btn-primary{background:var(--cream);color:var(--clay-dark);}
.cta-band .btn-primary:hover{background:var(--bg-panel);}

/* ---------- Placeholder notice (visible only for content the client still needs to fill in) ---------- */
.needs-info{
  font-style:italic;
  color:var(--ink-faint);
}
.placeholder-callout{
  background:var(--bg-panel);
  border:1px dashed var(--ink-faint);
  border-radius:4px;
  padding:14px 18px;
  font-size:13.5px;
  color:var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer{
  background:#000000;
  color:#e5e5e3;
  padding:56px 0 26px;
  border-top:1px solid var(--line);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
}
@media (max-width: 760px){
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 500px){
  .footer-grid{grid-template-columns:1fr;}
}
.footer-heading{
  font-size:13px;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:#b0aea9;
  margin-bottom:14px;
}
.footer-links{display:flex;flex-direction:column;gap:10px;}
.footer-links a{font-size:14px;color:#d6d4d0;}
.footer-links a:hover{color:#fff;}

.insta-band{
  padding:48px 0 8px;
  margin-top:48px;
  border-top:1px solid #3a3a38;
}
.insta-band-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:24px;
  flex-wrap:wrap;
}
.insta-band-head a{font-size:14.5px;font-weight:700;}
.insta-reels{gap:20px;}
.reel-slot{
  aspect-ratio:9/16;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px dashed #4a4a48;
  border-radius:6px;
  color:#8f8d88;
  transition:border-color .15s ease, color .15s ease;
}
.reel-slot:hover{border-color:#8f8d88;color:#d6d4d0;}
.reel-card{
  aspect-ratio:9/16;
  position:relative;
  border-radius:6px;
  overflow:hidden;
  background:#0b0b0b;
  border:1px solid #333330;
}
.reel-video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  background:#0b0b0b;
}
.reel-badge{
  position:absolute;
  top:10px;
  right:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:rgba(0,0,0,0.55);
  backdrop-filter:blur(4px);
  color:#fff;
  transition:background .15s ease;
}
.reel-badge:hover{background:rgba(0,0,0,0.75);}
.reel-sound{
  position:absolute;
  bottom:10px;
  left:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:rgba(0,0,0,0.55);
  backdrop-filter:blur(4px);
  color:#fff;
  border:none;
  cursor:pointer;
  padding:0;
  transition:background .15s ease;
}
.reel-sound:hover{background:rgba(0,0,0,0.75);}
.footer-bottom{
  margin-top:44px;
  padding-top:22px;
  border-top:1px solid #3a3a38;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size:12.5px;
  color:#8f8d88;
}
