:root{
  --navy:#2A1250; --teal:#D89A4E; --mist:#F3EEFC; --sand:#FAF7FD;
  --ink:#241433; --muted:#6E6080; --line:#E3DAF2; --white:#fff;
  --glow-gold:rgba(216,154,78,.5); --glow-violet:rgba(75,46,131,.5);
  --head:"Bricolage Grotesque","Segoe UI",Arial,sans-serif;
  --body:"Instrument Sans","Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:72px}
body{font-family:var(--body);color:var(--ink);background:var(--white);line-height:1.6}
img{display:block;width:100%;height:100%;object-fit:cover}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
h1,h2,h3{font-family:var(--head);line-height:1.12;letter-spacing:-.01em;color:var(--navy)}
h1{font-size:clamp(2.2rem,5.2vw,4rem);font-weight:700}
h2{font-size:clamp(1.7rem,3.4vw,2.6rem);font-weight:700;margin-bottom:.8rem}
h3{font-size:1.2rem;font-weight:500}
p{max-width:64ch}

/* nav */
.nav{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:.8rem 5vw;background:#fff;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid #E3DAF2;border-bottom:1px solid var(--line)}
.logo{display:flex;align-items:center;gap:.8rem;font-family:var(--head);font-weight:700;font-size:1.2rem;color:var(--navy);line-height:1.1}
.logo-img{height:58px;width:76px;border-radius:16px;object-fit:contain;padding:7px;background:#fff;background:var(--white);box-shadow:0 10px 26px rgba(42,18,80,.12),0 0 18px rgba(216,154,78,.5);box-shadow:0 10px 26px rgba(42,18,80,.12),0 0 18px var(--glow-gold)}
.nav nav{display:flex;align-items:center;gap:1.6rem;font-weight:500}
.nav nav a:not(.btn):hover{color:var(--teal)}
.menu-btn{display:none;background:none;border:1px solid var(--line);border-radius:6px;padding:.4rem .8rem;font:inherit;cursor:pointer}

/* buttons */
.btn{display:inline-block;padding:.7rem 1.3rem;border-radius:999px;font-weight:600;font-size:.95rem;transition:background .2s,color .2s}
.btn-solid{background:var(--teal);color:var(--white);box-shadow:0 0 0 rgba(216,154,78,0);transition:background .2s,box-shadow .3s,transform .2s}
.btn-solid:hover{background:var(--navy);box-shadow:0 0 26px var(--glow-gold);transform:translateY(-2px)}
.btn-line{border:1.5px solid var(--navy);color:var(--navy)}
.btn-line:hover{background:var(--navy);color:var(--white)}
.btn-line.light{border-color:var(--white);color:var(--white)}
.btn-line.light:hover{background:var(--white);color:var(--navy)}
.cta-row{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.6rem}

/* image slots: a real photo when present, a neutral placeholder when missing */
.img-wrap{position:relative;overflow:hidden;border-radius:14px;background:#C9D3D9;aspect-ratio:4/3;cursor:zoom-in}
.img-wrap.tall{aspect-ratio:4/5}
.img-wrap img{transition:transform .5s ease}
.img-wrap:hover img{transform:scale(1.06)}
.img-wrap.noimg{cursor:default}
.img-wrap.noimg img{display:none}
.img-wrap.noimg::after{content:"Photo coming soon";position:absolute;inset:0;display:grid;place-items:center;padding:1rem;text-align:center;font-size:.85rem;color:var(--muted)}

/* hero */
.hero{background:linear-gradient(180deg,var(--mist) 0%,var(--white) 100%);padding:4.5rem 5vw 0;text-align:center;position:relative;overflow:hidden}
.hero::before,.hero::after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;filter:blur(90px);opacity:.45;z-index:0;animation:floatGlow 11s ease-in-out infinite alternate}
.hero::before{background:var(--glow-gold);top:-140px;left:-120px}
.hero::after{background:var(--glow-violet);bottom:-160px;right:-100px;animation-delay:2.5s}
.hero-text,.hero-img,.stats{position:relative;z-index:1}
.hero-text{max-width:900px;margin:0 auto}
.hero-text p{margin:1.2rem auto 0;color:var(--muted);font-size:1.05rem}
.hero .cta-row{justify-content:center}
.hero-img{max-width:1100px;margin:3rem auto 0;aspect-ratio:16/8;border-radius:18px 18px 0 0;box-shadow:0 30px 70px rgba(42,18,80,.3),0 0 50px var(--glow-gold)}
@keyframes floatGlow{from{transform:translate(0,0) scale(1)}to{transform:translate(24px,26px) scale(1.1)}}
.stats{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);max-width:900px;margin:-2.6rem auto 0;position:relative;background:var(--navy);color:#D9CCEF;border-radius:14px;padding:1.3rem .5rem;font-size:.9rem;box-shadow:0 12px 34px rgba(42,18,80,.4),0 0 26px var(--glow-gold)}
.stats li{padding:0 1rem;border-left:1px solid rgba(255,255,255,.18)}
.stats li:first-child{border-left:0}
.stats strong{display:block;font-family:var(--head);font-size:2rem;color:var(--white);line-height:1.1}

/* sections */
.section{padding:5.5rem 5vw}
.section.alt{background:var(--sand)}
.lead{color:var(--muted);margin-bottom:1.6rem}
.lead code{background:var(--mist);padding:.1rem .4rem;border-radius:4px;font-size:.9em}
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease;transition-delay:var(--d,0s)}
.reveal.in-view{opacity:1;transform:none}
.split{display:grid;grid-template-columns:1fr 1.1fr;gap:4rem;align-items:center;max-width:1150px;margin:0 auto}
.split>*:nth-child(2){transition-delay:.12s}
.split p{color:var(--muted)}
blockquote{margin:1.6rem 0;padding:.4rem 0 .4rem 1.2rem;border-left:4px solid var(--teal);font-family:var(--head);font-size:1.25rem;color:var(--navy);line-height:1.35}
.ticks{list-style:none;display:grid;gap:.5rem}
.ticks li{padding-left:1.7rem;position:relative}
.ticks li::before{content:"";position:absolute;left:0;top:.5em;width:.9rem;height:.5rem;border-left:2.5px solid var(--teal);border-bottom:2.5px solid var(--teal);transform:rotate(-45deg)}

.services{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;max-width:1000px;margin-top:2rem}
.services article:nth-child(2){transition-delay:.12s}
.services h3{margin:1rem 0 .3rem}
.services p{color:var(--muted)}

/* projects */
#projects>*{max-width:1250px;margin-left:auto;margin-right:auto}
.tabs{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem}
.tab{border:0;background:var(--mist);color:var(--navy);padding:.6rem 1.4rem;border-radius:999px;font:inherit;font-weight:600;cursor:pointer}
.tab.active{background:var(--navy);color:var(--white)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.4rem}
.card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--white);transition:transform .3s ease,box-shadow .3s ease;animation:fadeInUp .5s ease both}
.card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(42,18,80,.2)}
.card:nth-child(1){animation-delay:.05s}
.card:nth-child(2){animation-delay:.1s}
.card:nth-child(3){animation-delay:.15s}
.card:nth-child(4){animation-delay:.2s}
.card:nth-child(n+5){animation-delay:.25s}
@keyframes fadeInUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
.card .img-wrap{border-radius:0;aspect-ratio:4/3}
.card-body{padding:1rem 1.1rem 1.2rem}
.card h3{margin-bottom:.15rem}
.loc{color:var(--teal);font-weight:600;font-size:.9rem;margin-bottom:.7rem}
.card dl{display:grid;grid-template-columns:auto 1fr;gap:.2rem .8rem;font-size:.9rem}
.card dt{color:var(--muted)}
.card dd{font-weight:600;text-align:right}
.empty{color:var(--muted);grid-column:1/-1}

/* contact */
.contact-section{padding:5.5rem 5vw;background:var(--mist)}
.contact-grid{max-width:1150px;margin:0 auto;display:grid;grid-template-columns:1fr 1.15fr;gap:3.5rem;align-items:start}
.quote-tag{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;color:var(--teal);margin-bottom:1rem}
.contact-info h2{margin-bottom:.8rem}
.contact-info>p{color:var(--muted);margin-bottom:1.8rem}
.contact-details{list-style:none;display:grid;gap:1rem}
.contact-details li{display:flex;gap:.7rem;align-items:flex-start;color:var(--ink);font-weight:600}
.contact-details .edit-me{color:var(--muted);font-weight:400;font-style:italic}

.contact-form{background:var(--white);border-radius:16px;padding:2.2rem;box-shadow:0 20px 50px rgba(42,18,80,.12)}
.contact-form .field-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.contact-form .field{margin-bottom:1.1rem}
.contact-form label{display:block;font-size:.85rem;font-weight:600;color:var(--navy);margin-bottom:.35rem}
.contact-form .req{color:#C0392B}
.contact-form input,.contact-form textarea{width:100%;padding:.7rem .9rem;border:1px solid var(--line);border-radius:8px;font:inherit}
.contact-form textarea{min-height:120px;resize:vertical}
.contact-form button{width:100%}
.form-note{margin-top:.8rem;font-size:.9rem;color:var(--teal);display:none}
.form-note.show{display:block}

@media (max-width:820px){
  .contact-grid{grid-template-columns:1fr}
  .contact-form .field-row{grid-template-columns:1fr}
}

/* footer */
.site-footer{background:#1C0E33;color:#D9CCEF}
.footer-top{height:6px;background:linear-gradient(90deg,var(--teal),var(--glow-violet),var(--teal))}
.footer-grid{max-width:1150px;margin:0 auto;padding:3.5rem 5vw 2.5rem;display:grid;grid-template-columns:1.1fr 1fr;gap:3rem}
.footer-logo-box{background:#fff;background:var(--white);display:grid;place-items:center;width:126px;height:86px;padding:12px;border-radius:18px;margin-bottom:1.1rem;box-shadow:0 14px 34px rgba(0,0,0,.18)}
.footer-logo-box img{width:100%;height:100%;object-fit:contain}
.footer-brand p{color:#C9BEDD;font-size:.92rem;max-width:42ch}
.footer-contact h3{color:var(--teal);font-family:var(--head);font-size:1.1rem;margin-bottom:1rem}
.footer-contact p{color:#D9CCEF;font-size:.92rem;margin-bottom:.6rem;display:flex;gap:.6rem;align-items:flex-start}
.footer-contact p .edit-me{color:#9B8CB8;font-style:italic}
.footer-social{display:flex;gap:.7rem;margin-top:1.1rem}
.footer-social a{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.3);display:grid;place-items:center;color:#fff;transition:background .2s,transform .2s}
.footer-social a:hover{background:var(--teal);transform:translateY(-3px)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:1.2rem 5vw;text-align:center;font-size:.85rem;color:#B7A9CF}
@media (max-width:700px){.footer-grid{grid-template-columns:1fr;gap:2rem}}

@media (max-width:820px){
  .menu-btn{display:block}
  .logo{font-size:1rem}
  .logo-img{height:48px;width:64px;padding:6px}
  .nav nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:flex-start;background:var(--white);padding:1rem 5vw 1.4rem;border-bottom:1px solid var(--line)}
  .nav nav.open{display:flex}
  .split,.services{grid-template-columns:1fr}
  .split{gap:2rem}
  .stats{grid-template-columns:repeat(2,1fr);row-gap:1rem;margin-top:-1.5rem}
  .stats li:nth-child(3){border-left:0}
  .hero-img{aspect-ratio:4/3}
  .section{padding:4rem 5vw}
}
/* lightbox */
.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;inset:0;background:rgba(20,10,35,.86);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .25s ease;z-index:100}
.lightbox.open{opacity:1;pointer-events:auto}
.lightbox img{width:auto;height:auto;max-width:90vw;max-height:88vh;object-fit:contain;border-radius:10px;box-shadow:0 30px 70px rgba(0,0,0,.5);transform:scale(.92);transition:transform .25s ease}
.lightbox.open img{transform:scale(1)}
.lightbox-close{position:absolute;top:1.4rem;right:1.6rem;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.3);width:40px;height:40px;border-radius:50%;font-size:1.4rem;line-height:1;cursor:pointer}
.lightbox-close:hover{background:rgba(255,255,255,.22)}
.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.35);display:grid;place-items:center;cursor:pointer;z-index:2;padding:0;transition:background .2s ease}
.lightbox-nav:hover,.lightbox-nav:focus-visible{background:rgba(255,255,255,.3)}
.lightbox-prev{left:clamp(.6rem,3vw,2.4rem)}
.lightbox-next{right:clamp(.6rem,3vw,2.4rem)}
.lightbox-count{position:absolute;bottom:1.2rem;left:50%;transform:translateX(-50%);color:#fff;background:rgba(0,0,0,.45);padding:.3rem .9rem;border-radius:999px;font-size:.85rem;letter-spacing:.04em}
.lightbox.single .lightbox-nav,.lightbox.single .lightbox-count{display:none}
@media (max-width:640px){.lightbox-nav{width:44px;height:44px}.lightbox img{max-width:96vw}}
.photo-count{position:absolute;right:.6rem;bottom:.6rem;background:rgba(20,10,35,.74);color:#fff;font-size:.72rem;font-weight:700;padding:.2rem .65rem;border-radius:999px;pointer-events:none;letter-spacing:.02em}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn{transition:none}
  .reveal{opacity:1!important;transform:none!important;transition:none}
  .card{animation:none!important}
  .hero::before,.hero::after{animation:none!important}
  .img-wrap:hover img{transform:none}
}

/* shared */
[hidden]{display:none!important}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- About Us and Services ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--teal);margin-bottom:.8rem}
.eyebrow::before{content:"";width:34px;height:2px;background:var(--teal);border-radius:2px}

/* headline whose words rise in one after another (script.js wraps each word in a span.w) */
.split-words .w{display:inline-block;opacity:0;transform:translateY(.7em);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0ms)}
.split-words.in-view .w{opacity:1;transform:none}
.about-copy .split-words::after,.services-head .split-words::after{content:"";display:block;width:0;height:4px;margin-top:.9rem;background:var(--teal);border-radius:3px;transition:width .9s ease .6s}
.about-copy .split-words.in-view::after,.services-head .split-words.in-view::after{width:76px}

/* pictures slide in from the side, so keep that movement from creating a sideways scrollbar */
.about,.services-section{overflow-x:hidden;overflow-x:clip}
.about-intro{display:grid;grid-template-columns:1.05fr 1fr;gap:4rem;align-items:center;max-width:1150px;margin:0 auto}
.about-copy p{color:var(--muted);margin-top:1.1rem}
.about-media{display:grid}
.about-img{box-shadow:0 18px 44px rgba(42,18,80,.2)}
.about-img-1{width:86%;aspect-ratio:4/3}
.about-img-2{width:60%;aspect-ratio:4/3;margin:-16% 0 0 auto;border:6px solid var(--white);position:relative;z-index:1}
.reveal-left{transform:translateX(-56px) scale(.96)}
.reveal-right{transform:translateX(56px) scale(.96)}
.about-img img{width:100%;height:100%;object-fit:cover;transform:scale(1.18);transition:transform 1.6s cubic-bezier(.2,.7,.2,1)}
.about-img.in-view img{transform:scale(1)}
.about-img.in-view:hover img{transform:scale(1.06);transition-duration:.5s}

.about-block{max-width:1150px;margin:4.5rem auto 0}
.block-title{font-family:var(--head);font-weight:700;font-size:clamp(1.5rem,3vw,2rem);color:var(--navy);text-align:center}
.block-title::after{content:"";display:block;width:0;height:4px;margin:.7rem auto 0;background:var(--teal);border-radius:3px;transition:width .8s ease .35s}
.block-title.in-view::after{width:64px}

.why-grid{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:1.2rem;margin-top:2rem}
.why-card{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:1.5rem 1.2rem;box-shadow:0 8px 24px rgba(42,18,80,.06)}
.why-card.settled{transition:opacity .7s ease,transform .25s ease,box-shadow .25s ease}
.why-card.settled:hover{transform:translateY(-6px);box-shadow:0 18px 38px rgba(42,18,80,.14)}
.why-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:var(--mist);font-size:1.7rem;margin-bottom:1rem;transform:scale(.3) rotate(-24deg);transition:transform .7s cubic-bezier(.34,1.56,.64,1);transition-delay:calc(var(--d,0ms) + .25s)}
.why-card.in-view .why-icon{transform:none}
.why-card h4,.step h4{font-family:var(--head);font-size:1.05rem;color:var(--navy);margin-bottom:.4rem}
.why-card p,.step p{color:var(--muted);font-size:.93rem}

.steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem;margin-top:2.2rem}
.step{position:relative}
.step-num{position:relative;z-index:1;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--navy);color:var(--white);font-family:var(--head);font-size:1.3rem;box-shadow:0 0 0 6px var(--mist);margin-bottom:1.1rem;transform:scale(.4);transition:transform .6s cubic-bezier(.34,1.56,.64,1);transition-delay:calc(var(--d,0ms) + .2s)}
.step.in-view .step-num{transform:none}
.step:not(:last-child)::after{content:"";position:absolute;top:26px;left:70px;right:-1.6rem;height:3px;border-radius:2px;background:linear-gradient(90deg,var(--teal),var(--line));transform:scaleX(0);transform-origin:left;transition:transform .9s ease;transition-delay:calc(var(--d,0ms) + .5s)}
.step.in-view:not(:last-child)::after{transform:scaleX(1)}

.services-head{max-width:1150px;margin:0 auto 3rem}
.service-list{display:grid;gap:4rem;max-width:1150px;margin:0 auto}
.service-row{display:grid;grid-template-columns:1fr 1.05fr;gap:4rem;align-items:center}
.service-row:nth-child(even) .service-img{order:2}
.service-img{aspect-ratio:4/3;box-shadow:0 18px 44px rgba(42,18,80,.18);opacity:0;transform:translateX(-44px);transition:opacity .9s ease .1s,transform .9s cubic-bezier(.2,.7,.2,1) .1s}
.service-row:nth-child(even) .service-img{transform:translateX(44px)}
.service-row.in-view .service-img{opacity:1;transform:none}
.service-img img{width:100%;height:100%;object-fit:cover}
.img-wrap.placeholder{cursor:default;background:var(--mist)}
.service-no{display:block;font-family:var(--head);font-size:4.2rem;line-height:1;color:#E4D9F5;margin-bottom:-.4rem}
.service-body h3{font-family:var(--head);font-size:clamp(1.4rem,2.6vw,1.8rem);color:var(--navy);margin:0 0 .6rem}
.service-icon{display:inline-block;margin-right:.2rem}
.service-body>p{color:var(--muted);margin-bottom:1.1rem}
.service-body .ticks li{opacity:0;transform:translateX(-16px);transition:opacity .6s ease,transform .6s ease;transition-delay:var(--d,0ms)}
.service-row.in-view .ticks li{opacity:1;transform:none}

@media (max-width:900px){
  .about-intro,.service-row{grid-template-columns:1fr;gap:2rem}
  .service-row:nth-child(even) .service-img{order:0}
  .about-media{max-width:560px}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid .why-card:last-child{grid-column:1/-1}
  .steps{grid-template-columns:1fr;gap:0}
  .step{padding:0 0 2rem 4.4rem;min-height:60px}
  .step-num{position:absolute;left:0;top:0;margin:0}
  .step:not(:last-child)::after{top:56px;bottom:0;left:26px;right:auto;width:3px;height:auto;background:linear-gradient(180deg,var(--teal),var(--line));transform:scaleY(0);transform-origin:top}
  .step.in-view:not(:last-child)::after{transform:scaleY(1)}
  .about-block{margin-top:3.5rem}
}
@media (max-width:520px){
  .why-grid{grid-template-columns:1fr}
  .about-img-1{width:92%}
  .about-img-2{width:62%;margin-top:-14%}
}
@media (prefers-reduced-motion:reduce){
  .split-words .w,.why-icon,.step-num,.service-img,.service-body .ticks li,.about-img img,.reveal-left,.reveal-right{opacity:1!important;transform:none!important;transition:none!important}
  .about-copy .split-words::after,.services-head .split-words::after{width:76px;transition:none}
  .block-title::after{width:64px;transition:none}
  .step:not(:last-child)::after{transform:none!important;transition:none!important}
}

/* About Us and Services are pages of their own */
.page-title{font-size:clamp(2rem,4.4vw,3.1rem);line-height:1.12}
.nav nav a{white-space:nowrap}
.nav nav a[aria-current="page"]:not(.btn){color:var(--teal);box-shadow:inset 0 -2px 0 var(--teal)}
main>.section:first-child{padding-top:clamp(3rem,6vw,5rem)}
.page-cta{background:var(--navy);color:var(--white);text-align:center;padding:4.2rem 5vw}
.page-cta h2{color:var(--white);font-size:clamp(1.6rem,3.4vw,2.3rem)}
.page-cta p{color:rgba(255,255,255,.78);margin:.8rem auto 1.6rem;max-width:560px}

/* safety net (see data.js): site.js missing -> show all text and pictures, no animation */
.no-animations .reveal,.no-animations .split-words .w,.no-animations .why-icon,.no-animations .step-num,.no-animations .service-img,
.no-animations .service-body .ticks li,.no-animations .about-img img,.no-animations .reveal-left,.no-animations .reveal-right{opacity:1!important;transform:none!important;transition:none!important}
.no-animations .about-copy .split-words::after,.no-animations .services-head .split-words::after{width:76px;transition:none}
.no-animations .block-title::after{width:64px;transition:none}
.no-animations .step:not(:last-child)::after{transform:none!important;transition:none!important}
