/* Creative Space Studio — shared design system (extends the locked Project Haven story-page language) */
:root{
  --ivory:#F6F1E8; --ivory-2:#EFE8DB; --ink:#241F1B; --muted:#6E655A;
  --teal:#164C48; --teal-deep:#0F3A37; --line:#DDD3C4; --sand:#C99A6A;
  --wa:#25D366;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ivory);color:var(--ink);
  font-family:Inter,system-ui,sans-serif;font-weight:300;line-height:1.75;-webkit-font-smoothing:antialiased}
h1,h2,h3,.serif{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;line-height:1.08}
img{display:block;width:100%;height:100%;object-fit:cover}
a{color:inherit;text-decoration:none}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px}
.narrow{max-width:780px;margin:0 auto}
.eyebrow{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--teal);font-weight:500}
.muted{color:var(--muted)}
.center{text-align:center}

/* header */
header.site{position:fixed;top:0;left:0;right:0;z-index:60;transition:.4s;padding:22px 0;color:#fff}
header.site.solid{background:var(--ivory);color:var(--ink);box-shadow:0 1px 0 var(--line);padding:13px 0}
.nav{display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;line-height:1}
.brand img{width:auto;height:40px;object-fit:contain;transition:.4s}
/* transparent-over-hero header: logo reversed to white */
header.site .brand img{filter:brightness(0) invert(1)}
/* solid header (scrolled / interior pages): full-colour logo */
header.site.solid .brand img{filter:none;height:34px}
.menu{display:flex;align-items:center;gap:30px;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.menu a{opacity:.85} .menu a:hover,.menu a.active{opacity:1}
/* hamburger (mobile only) */
.burger{display:none;width:42px;height:42px;border:0;background:transparent;color:inherit;cursor:pointer;
  flex-direction:column;align-items:center;justify-content:center;gap:5px;position:relative;z-index:80}
.burger span{display:block;width:22px;height:2px;background:currentColor;transition:.3s}
.burger.open span{background:var(--ink)}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:9px;padding:15px 30px;font-family:Inter;font-size:13px;
  letter-spacing:.12em;text-transform:uppercase;font-weight:500;transition:.25s;cursor:pointer;border:0}
.btn-teal{background:var(--teal);color:#fff} .btn-teal:hover{background:var(--teal-deep)}
.btn-ghost{border:1px solid currentColor;color:inherit;background:transparent}
.btn-ghost:hover{background:rgba(255,255,255,.1)}
.btn-wa{background:var(--wa);color:#0b3d1f} .btn-wa:hover{filter:brightness(.95)}
.btn-wa svg{width:18px;height:18px;fill:currentColor}

/* hero (shared) */
.hero{position:relative;min-height:88vh;padding-top:112px;display:flex;align-items:flex-end;color:#fff;overflow:hidden}
.hero .bg{position:absolute;inset:0;background:#2b2723}
.hero .bg img{transform:scale(1.05);animation:kb 20s ease-out forwards;filter:grayscale(.35) brightness(.72)}
@keyframes kb{to{transform:scale(1)}}
.hero::after{content:"";position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(18,14,10,.5) 0%,rgba(18,14,10,.42) 45%,rgba(18,14,10,.82) 100%)}
.hero .inner{position:relative;z-index:2;padding-bottom:9vh;text-shadow:0 2px 34px rgba(0,0,0,.42)}
.hero h1{font-size:clamp(46px,7vw,96px);margin:.12em 0 .1em;max-width:16ch}
.hero .tag{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:clamp(19px,2.3vw,28px);opacity:.95;max-width:34ch}
.hero .cta-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}

/* page header (interior pages) */
.pagehead{padding:172px 0 60px;border-bottom:1px solid var(--line);text-align:center}
.pagehead h1{font-size:clamp(44px,6vw,78px);margin:.12em 0 0}

/* sections */
section{position:relative}
.pad{padding:110px 0}
.pad-sm{padding:72px 0}
h2.big{font-size:clamp(32px,4.6vw,58px)}
.lead p{font-size:19px;margin-top:14px}

/* accent band */
.band{background:var(--teal);color:#F3EEE4}
.band .eyebrow{color:var(--sand)}
.band a{color:#fff}

/* feature (image + text) */
.feature{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
.feature.rev .txt{order:2}
.feature .figure{aspect-ratio:4/3;overflow:hidden;box-shadow:0 30px 60px -30px rgba(30,20,10,.45)}
.feature h2{font-size:clamp(28px,3.4vw,44px);margin:.1em 0 .4em}

/* before/after crossfade (Renovation) — steps through its photos on its own; see site.js.
   The incoming photo fades in over the outgoing one (.prev) so there's no dark mid-fade dip. */
.ba{position:relative;overflow:hidden;background:#2b2723}
.ba img{position:absolute;inset:0;opacity:0;z-index:0;transition:opacity 1.2s ease}
.ba img.prev{opacity:1;z-index:1;transition:none}
.ba img.on{opacity:1;z-index:2}
/* a plain label (not a pill, so it doesn't read as a button) + one dot per photo */
.ba-tag{position:absolute;left:14px;top:14px;z-index:3;padding:5px 9px;border-radius:2px;
  background:rgba(20,16,12,.55);color:#fff;font-size:10.5px;font-weight:500;letter-spacing:.16em;
  text-transform:uppercase;pointer-events:none;transition:background .6s}
.ba-tag.after{background:rgba(22,76,72,.78)} /* brand teal, softened: "after" reads as the result */
.ba-dots{position:absolute;left:0;right:0;bottom:12px;z-index:3;display:flex;justify-content:center;gap:7px;pointer-events:none}
.ba-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.5);box-shadow:0 0 4px rgba(0,0,0,.35);transition:background .6s}
.ba-dots i.on{background:#fff}
@media(prefers-reduced-motion:reduce){.ba img,.ba-dots i,.ba-tag{transition:none}}

/* home: project rail — horizontally scrollable work-cards; the next card peeks in to invite a swipe */
.work-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 52px) / 2.35);gap:26px;
  overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
.work-rail::-webkit-scrollbar{display:none}
.work-rail .work-card{scroll-snap-align:start}
.rail-foot{display:flex;align-items:center;justify-content:space-between;margin-top:26px}
.rail-all{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--teal);font-weight:500}
.rail-nav{display:flex;gap:10px}
.rail-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--ink);
  display:grid;place-items:center;cursor:pointer;transition:background .3s,color .3s,opacity .3s}
.rail-btn:hover:not(:disabled){background:var(--teal);color:#fff;border-color:var(--teal)}
.rail-btn:disabled{opacity:.35;cursor:default}
.rail-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
.rail-btn.prev svg{transform:scaleX(-1)}

/* cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.card{background:#fff;border:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column;transition:.3s}
/* .card:hover lift removed 2026-11-09: home service cards are no longer links */
.card .ph{aspect-ratio:4/3;overflow:hidden}
.card .body{padding:26px 26px 30px}
.card h3{font-size:26px;margin:0 0 8px}
.card .num{font-family:"Cormorant Garamond",serif;color:var(--sand);font-size:20px}

/* work grid */
.work-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
.work-card{position:relative;aspect-ratio:3/2;overflow:hidden;color:#fff}
/* odd card count: the newest (first) card spans the row as a wide feature, so no card sits orphaned */
.work-grid>.work-card:first-child:nth-last-child(odd){grid-column:1/-1;aspect-ratio:12/5}
.work-card img{transition:transform 1s ease}
.work-card:hover img{transform:scale(1.05)}
.work-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(20,15,10,.72))}
.work-card .cap{position:absolute;z-index:2;left:0;bottom:0;padding:28px}
.work-card .cap h3{font-size:32px;margin:0} .work-card .cap .m{font-size:12px;letter-spacing:.16em;text-transform:uppercase;opacity:.9;margin-top:6px}

/* testimonial */
.quote-lg{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:clamp(26px,3.6vw,42px);line-height:1.3;max-width:900px;margin:0 auto}
.byline{margin-top:24px;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}
.cinfo dt{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-top:22px}
.cinfo dd{margin:4px 0 0;font-family:"Cormorant Garamond",serif;font-size:24px}
form.cf{display:grid;gap:14px}
form.cf input,form.cf textarea{font-family:Inter;font-size:15px;padding:14px 16px;border:1px solid var(--line);background:#fff;color:var(--ink);width:100%}
form.cf textarea{min-height:130px;resize:vertical}
form.cf .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
form.cf .cf-status{margin:4px 0 0;font-size:14px}
form.cf button:disabled{opacity:.6;cursor:default}
.contact-photo{aspect-ratio:4/5;overflow:hidden;box-shadow:0 30px 60px -30px rgba(30,20,10,.45)}

/* footer */
footer.site{background:var(--ink);color:#B9B0A3;padding:64px 0 40px;font-size:14px}
footer.site .top{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:34px}
footer.site a:hover{color:#fff}
footer.site .brand{color:#fff;display:block}
footer.site .brand img{width:auto;height:44px;object-fit:contain;filter:brightness(0) invert(1);opacity:.9;margin-bottom:8px}
footer.site .cols{display:flex;gap:60px;flex-wrap:wrap;text-align:right}
footer.site .copy{padding-top:24px;font-size:12px;letter-spacing:.04em;opacity:.7}

/* floating WhatsApp button — always on screen */
.wa-fab{position:fixed;right:22px;bottom:22px;z-index:90;width:58px;height:58px;border-radius:50%;
  background:var(--wa);display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 30px -8px rgba(0,0,0,.45);transition:transform .25s;animation:waPop .45s ease both}
.wa-fab::before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--wa);z-index:-1;animation:waRing 2.6s ease-out infinite}
.wa-fab:hover{transform:scale(1.07)}
.wa-fab svg{width:31px;height:31px;fill:#fff}
@keyframes waPop{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}
@keyframes waRing{0%{opacity:.5;transform:scale(1)}70%,100%{opacity:0;transform:scale(1.6)}}
@media(max-width:900px){.wa-fab{width:54px;height:54px;right:16px;bottom:16px}}

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

@media(max-width:900px){
  .feature{grid-template-columns:1fr;gap:26px} .feature.rev .txt{order:0}
  /* services: heading first, then its photo, then the copy — the .txt box dissolves into the grid */
  .feature.svc{gap:0} .feature.svc .txt{display:contents}
  .feature.svc .figure{order:1;margin:14px 0 20px} .feature.svc .txt>p{order:2}
  .cards{grid-template-columns:1fr} .work-grid{grid-template-columns:1fr}
  .work-rail{grid-auto-columns:84%;gap:14px} .work-rail .work-card{aspect-ratio:4/5} .rail-nav{display:none}
  .work-grid>.work-card:first-child:nth-last-child(odd){aspect-ratio:3/2}
  .contact-grid{grid-template-columns:1fr;gap:36px}
  .burger{display:flex}
  .menu{position:fixed;top:0;left:0;right:0;z-index:70;background:var(--ivory);color:var(--ink);
    flex-direction:column;align-items:stretch;gap:0;padding:76px 24px 26px;
    transform:translateY(-104%);transition:transform .38s ease;box-shadow:0 24px 50px -24px rgba(0,0,0,.35)}
  .menu.open{transform:translateY(0)}
  .menu a{padding:15px 2px;font-size:15px;letter-spacing:.06em;border-bottom:1px solid var(--line);opacity:1}
  .menu a.btn{margin-top:18px;border-bottom:0;justify-content:center}
  .pad{padding:72px 0}
  .wrap{padding:0 22px}
  footer.site .cols{text-align:left}
}


/* google reviews (home "Trusted by our clients"): Google-style tiles, 3-up looping carousel, centre tile in focus */
.gr { overflow: hidden; }
.gr-head { text-align: center; }
.gr-summary { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
font-family: Roboto, Inter, sans-serif; font-size: 15px; color: #F3EEE4; }
.gr-summary .g { width: 22px; height: 22px; background: #fff; border-radius: 50%; padding: 3px; box-sizing: content-box; }
.gr-summary .score { font-size: 20px; font-weight: 500; color: #fff; }
.gr-summary .stars { color: #FBBC04; letter-spacing: 1px; font-size: 17px; }
.gr-summary .count { opacity: .8; }
/* stage: every tile sits in the same grid cell; JS sets --d (offset from centre) */
.gr-stage { position: relative; display: grid; margin: 56px auto 0; max-width: 1180px; padding: 20px 0 30px; touch-action: pan-y; }
.gr-card {
--d: 0;
grid-area: 1 / 1; justify-self: center; align-self: center;
width: min(380px, 78vw); box-sizing: border-box;
background: #fff; color: #202124; border-radius: 12px; padding: 22px 22px 20px;
box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 6px 22px rgba(0,0,0,.14);
font-family: Roboto, Inter, Arial, sans-serif; text-align: left;
transform: translateX(calc(var(--d) * 104%)) scale(.86);
opacity: .55; filter: saturate(.7);
transition: transform .8s cubic-bezier(.22,.7,.2,1), opacity .8s ease, filter .8s ease, box-shadow .8s ease;
z-index: 1; cursor: pointer;
}
.gr-card.is-focus { transform: translateX(0) scale(1.08); opacity: 1; filter: none; z-index: 3; cursor: default;
box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 18px 48px rgba(0,0,0,.28); }
.gr-card.is-far { opacity: 0; pointer-events: none; z-index: 0; }
.gr-card.no-anim { transition: none; }
.gr-top { display: flex; align-items: center; gap: 12px; }
.gr-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
color: #fff; font-size: 18px; font-weight: 500; }
.gr-who { min-width: 0; flex: 1; }
.gr-name { font-size: 15px; font-weight: 500; color: #202124; line-height: 1.3; }
.gr-sub { font-size: 12.5px; color: #70757a; line-height: 1.4; }
.gr-gmark { width: 20px; height: 20px; flex: none; align-self: flex-start; }
.gr-rate { margin: 12px 0 8px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #70757a; }
.gr-rate .stars { color: #FBBC04; font-size: 15px; letter-spacing: 1px; }
.gr-rate .new { background: #e8f0fe; color: #1a73e8; border-radius: 4px; padding: 1px 6px; font-size: 11px; }
.gr-text { margin: 0; font-size: 14.5px; line-height: 1.55; color: #3c4043;
display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.gr-card.is-focus .gr-text { -webkit-line-clamp: 8; }
.gr-card .gr-more { display: inline-block; margin-top: 12px; font-size: 13px; color: #1a73e8; text-decoration: none; }
.gr-card .gr-more:hover { text-decoration: underline; }
.gr-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.gr-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243,238,228,.35); background: transparent; color: #F3EEE4;
font-size: 18px; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.gr-btn:hover { background: rgba(255,255,255,.1); }
.gr-dots { display: flex; gap: 8px; }
.gr-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(243,238,228,.35); cursor: pointer; transition: background .3s, transform .3s; }
.gr-dot.on { background: #F3EEE4; transform: scale(1.25); }
.gr-all { display: inline-block; margin-top: 26px; font-size: 13px; letter-spacing: .08em; color: #F3EEE4; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
.gr-card { width: min(320px, 80vw); transform: translateX(calc(var(--d) * 92%)) scale(.84); }
.gr-card.is-focus { transform: translateX(0) scale(1); }
.gr-stage { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { .gr-card { transition: opacity .3s ease; } }

/* Home hero slideshow: crossfade + slow zoom; phones get a shorter hero and per-photo focal point (--fx) */
.hero .bg.slides img{position:absolute;inset:0;object-position:50% var(--fy,50%);opacity:0;animation:none;transform:scale(1.06);transition:opacity 1.6s ease,transform 0s 1.7s}
.hero .bg.slides img.on{opacity:1;transform:scale(1);transition:opacity 1.6s ease,transform 7s linear}
@media (max-width:700px){.hero{min-height:70vh;min-height:70svh}.hero .bg.slides img{object-position:var(--fx,50%) 50%}}
@media (prefers-reduced-motion:reduce){.hero .bg.slides img,.hero .bg.slides img.on{transform:none;transition:none}}
