/* ============================================================
   RESIDE PROPERTIES — Design System
   Warm architectural luxury. Editorial serif + grotesque body.
   ============================================================ */

:root{
  /* palette */
  --paper:#F3EEE4;          /* warm bone background        */
  --paper-2:#ECE5D7;        /* slightly deeper paper       */
  --sand:#E4D9C5;           /* card / panel fill           */
  --ink:#16140E;            /* warm near-black             */
  --ink-2:#2B271E;          /* softer ink                  */
  --stone:#8C7E69;          /* muted text                  */
  --stone-2:#B6A88F;        /* faint text / borders        */
  --clay:#213644;           /* brand accent (logo deep navy)*/
  --clay-deep:#182A38;      /* hover accent (darker navy)  */
  --forest:#16242E;         /* deep section bg (navy)      */
  --gold:#CDA349;           /* highlight accent on dark (stats, tags) */
  --line:rgba(22,20,14,.14);/* hairline borders            */
  --line-light:rgba(243,238,228,.16);

  /* type */
  --display:"Zilla Slab",Georgia,serif;
  --body:"Archivo","Helvetica Neue",Arial,sans-serif;

  /* spacing scale */
  --gap:clamp(1rem,2vw,1.5rem);
  --section-y:clamp(4.5rem,9vw,9rem);
  --maxw:1280px;

  /* misc */
  --radius:4px;
  --shadow:0 24px 60px -24px rgba(22,20,14,.30);
  --shadow-sm:0 8px 24px -12px rgba(22,20,14,.28);
  --ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- reset ---------- */
*,*::before,*::after{box-sizing:border-box}
*{margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--body);
  background:var(--paper);
  color:var(--ink);
  line-height:1.6;
  font-size:clamp(1rem,.55vw + .9rem,1.08rem);
  letter-spacing:.005em;
  overflow-x:hidden;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}
ul{list-style:none}
::selection{background:var(--clay);color:var(--paper)}

/* subtle paper grain */
body::before{
  content:"";position:fixed;inset:0;z-index:9999;pointer-events:none;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode:multiply;
}

/* ---------- typography ---------- */
h1,h2,h3,h4{font-family:var(--display);font-weight:600;line-height:1.06;letter-spacing:-.01em}
.h-eyebrow{
  font-family:var(--body);font-size:.74rem;font-weight:600;letter-spacing:.22em;
  text-transform:uppercase;color:var(--clay);display:inline-flex;align-items:center;gap:.7rem;
}
.h-eyebrow::before{content:"";width:28px;height:1px;background:var(--clay);display:inline-block}
.h-eyebrow.center::after{content:"";width:28px;height:1px;background:var(--clay);display:inline-block}
.h-eyebrow.center{justify-content:center}

.display-xl{font-size:clamp(2.7rem,7.5vw,6rem)}
.display-l{font-size:clamp(2.2rem,5.2vw,4rem)}
.display-m{font-size:clamp(1.8rem,3.6vw,2.8rem)}
.serif-italic{font-style:italic;color:var(--clay)}
.lead{font-size:clamp(1.1rem,1.4vw,1.35rem);color:var(--ink-2);line-height:1.55;max-width:60ch}
.muted{color:var(--stone)}

/* ---------- layout ---------- */
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1.2rem,4vw,3rem)}
.section{padding-block:var(--section-y)}
.grid{display:grid;gap:clamp(1.4rem,3vw,2.6rem)}
@media(min-width:860px){
  .cols-2{grid-template-columns:repeat(2,1fr)}
  .cols-3{grid-template-columns:repeat(3,1fr)}
  .cols-4{grid-template-columns:repeat(4,1fr)}
}
.center{text-align:center}
.divider{height:1px;background:var(--line);border:0}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.6rem;padding:.95rem 1.7rem;
  font-family:var(--body);font-weight:600;font-size:.92rem;letter-spacing:.02em;
  border-radius:100px;transition:.4s var(--ease);position:relative;white-space:nowrap;
}
.btn svg{width:16px;height:16px;transition:transform .4s var(--ease)}
.btn:hover svg{transform:translateX(4px)}
.btn-primary{background:var(--clay);color:var(--paper);box-shadow:var(--shadow-sm)}
.btn-primary:hover{background:var(--clay-deep);transform:translateY(-2px)}
.btn-dark{background:var(--ink);color:var(--paper)}
.btn-dark:hover{background:var(--ink-2);transform:translateY(-2px)}
.btn-ghost{border:1px solid var(--ink);color:var(--ink)}
.btn-ghost:hover{background:var(--ink);color:var(--paper)}
.btn-light{border:1px solid var(--line-light);color:var(--paper)}
.btn-light:hover{background:var(--paper);color:var(--ink)}
.btn-lg{padding:1.1rem 2rem;font-size:1rem}

/* ---------- header ---------- */
section[id]{scroll-margin-top:96px}
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  transition:.45s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(243,238,228,.86);backdrop-filter:blur(14px) saturate(1.4);
  border-bottom-color:var(--line);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:88px}
.brand{display:flex;align-items:center;gap:.6rem;font-family:var(--display);font-size:1.45rem;font-weight:500;letter-spacing:-.01em}
.brand .mark{
  width:30px;height:30px;border:1.5px solid var(--ink);border-radius:3px;
  display:grid;place-items:center;font-family:var(--body);font-weight:700;font-size:.95rem;letter-spacing:-.04em;
  transition:.4s var(--ease);
}
.brand:hover .mark{background:var(--clay);border-color:var(--clay);color:var(--paper)}
.brand b{font-weight:600}
.brand-logo{height:62px;width:auto;display:block;transition:opacity .4s var(--ease)}
.brand:hover .brand-logo{opacity:.72}
@media(max-width:560px){.nav{height:74px}.brand-logo{height:48px}}
.nav-links{display:none;align-items:center;gap:2rem}
.nav-links a{font-size:.92rem;font-weight:500;position:relative;padding:.3rem 0;color:var(--ink-2);transition:color .3s}
.nav-links a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:1.5px;background:var(--clay);transition:width .35s var(--ease)}
.nav-links a:hover{color:var(--ink)}
.nav-links a:hover::after,.nav-links a[aria-current="page"]::after{width:100%}
.nav-links a[aria-current="page"]{color:var(--ink)}
.nav-cta{display:none;align-items:center;gap:1.1rem}
.nav-phone{font-weight:600;font-size:.9rem;display:inline-flex;align-items:center;gap:.45rem}
.nav-phone:hover{color:var(--clay)}
@media(min-width:1000px){.nav-links{display:flex}.nav-cta{display:flex}}

.burger{display:flex;flex-direction:column;gap:5px;padding:.5rem;z-index:1100}
.burger span{width:26px;height:2px;background:var(--ink);transition:.35s var(--ease);transform-origin:center}
.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)}
@media(min-width:1000px){.burger{display:none}}

.mobile-menu{
  position:fixed;inset:0;background:var(--paper);z-index:1050;
  transform:translateY(-100%);transition:transform .55s var(--ease);
  display:flex;flex-direction:column;justify-content:center;padding:2rem clamp(1.2rem,4vw,3rem);
}
.mobile-menu.open{transform:translateY(0)}
.mobile-menu a{font-family:var(--display);font-size:clamp(2rem,9vw,3.2rem);padding:.4rem 0;border-bottom:1px solid var(--line);transition:color .3s,padding-left .3s}
.mobile-menu a:hover{color:var(--clay);padding-left:.6rem}
.mobile-menu .mm-foot{margin-top:2.4rem;display:flex;flex-direction:column;gap:.6rem;font-size:1.05rem}
.mobile-menu .mm-foot a{font-family:var(--body);font-size:1rem;border:0;padding:0}

/* ---------- hero ---------- */
.hero{position:relative;padding-top:140px;padding-bottom:var(--section-y);overflow:hidden}
.hero-grid{display:grid;gap:clamp(2rem,5vw,4rem);align-items:end}
@media(min-width:980px){.hero-grid{grid-template-columns:1.15fr .85fr}}
.hero h1{margin:1.4rem 0 1.6rem}
.hero .lead{margin-bottom:2.2rem}
.hero-ctas{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.hero-media{position:relative}
.hero-carousel{position:relative;width:100%;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.1s var(--ease);border-radius:var(--radius)}
.hero-slide.is-active{opacity:1}
.hero-dots{position:absolute;left:0;right:0;bottom:14px;z-index:3;display:flex;gap:7px;justify-content:center}
.hero-dots button{width:7px;height:7px;border-radius:50%;border:0;padding:0;cursor:pointer;background:rgba(243,238,228,.5);transition:background .3s,width .3s}
.hero-dots button.is-active{background:var(--paper);width:20px;border-radius:4px}
.hero-media img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:var(--radius)}
.hero-badge .badge-stat{display:none}
.hero-badge .badge-stat.is-active{display:block;animation:badgeIn .6s var(--ease)}
@keyframes badgeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.hero-badge{
  position:absolute;left:-22px;bottom:34px;background:var(--ink);color:var(--paper);
  padding:1.2rem 1.4rem;border-radius:var(--radius);box-shadow:var(--shadow);max-width:230px;
}
.hero-badge .n{font-family:var(--display);font-size:2.45rem;line-height:1;color:var(--gold);letter-spacing:-.01em}
.hero-badge .t{font-size:.82rem;color:var(--stone-2);margin-top:.3rem}
@media(max-width:620px){.hero-badge{left:0}}

/* marquee strip — seamless continuous loop */
.strip{border-block:1px solid var(--line);background:var(--paper-2);overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.strip-track{display:flex;width:max-content;padding:1.05rem 0;animation:marquee 48s linear infinite;will-change:transform}
.strip:hover .strip-track{animation-play-state:paused}
.strip-track span{display:inline-flex;align-items:center;flex:0 0 auto;font-family:var(--display);font-size:1.12rem;font-weight:500;color:var(--ink-2);white-space:nowrap}
.strip-track span::after{content:"◆";color:var(--clay);font-size:.5rem;margin:0 2.4rem;position:relative;top:-2px;opacity:.85}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- metrics ---------- */
.metrics{display:grid;gap:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
@media(min-width:760px){.metrics{grid-template-columns:repeat(4,1fr)}}
.metric{padding:clamp(1.6rem,3vw,2.4rem);border-bottom:1px solid var(--line)}
@media(min-width:760px){.metric{border-bottom:0;border-right:1px solid var(--line)}.metric:last-child{border-right:0}}
.metric .n{font-family:var(--display);font-size:clamp(2.4rem,4.5vw,3.4rem);line-height:1;letter-spacing:-.02em}
.metric .n small{font-size:.5em;color:var(--clay);vertical-align:super}
.metric .l{margin-top:.7rem;font-size:.88rem;color:var(--stone);max-width:22ch}

/* ---------- cards ---------- */
.card{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.6rem,3vw,2.2rem);transition:.45s var(--ease);position:relative;overflow:hidden;height:100%;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:transparent}
.card .num{font-family:var(--display);font-size:1rem;color:var(--clay);font-weight:500}
.card h3{font-size:1.5rem;margin:1rem 0 .7rem}
.card p{color:var(--stone);font-size:.96rem}
.card .ic{width:48px;height:48px;border-radius:50%;background:var(--sand);display:grid;place-items:center;margin-bottom:1.2rem;transition:.4s var(--ease)}
.card:hover .ic{background:var(--clay)}
.card .ic svg{width:22px;height:22px;stroke:var(--ink);transition:.4s var(--ease)}
.card:hover .ic svg{stroke:var(--paper)}
.card-link{margin-top:1.2rem;display:inline-flex;gap:.4rem;font-weight:600;font-size:.88rem;color:var(--ink)}
.card-link svg{width:15px;height:15px;transition:transform .35s var(--ease)}
.card:hover .card-link svg{transform:translateX(4px)}
.card:hover .card-link{color:var(--clay)}

/* project cards */
.project{position:relative;border-radius:var(--radius);overflow:hidden;background:var(--ink);color:var(--paper);min-height:440px;display:flex;flex-direction:column;justify-content:flex-end}
.project img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease);z-index:0;opacity:.78}
.project::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(22,20,14,0) 14%,rgba(22,20,14,.55) 44%,rgba(22,20,14,.93) 80%);z-index:1}
.project:hover img{transform:scale(1.06)}
.project-body{position:relative;z-index:2;padding:clamp(1.5rem,3vw,2.2rem)}
.project-tag{font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-weight:700;text-shadow:0 1px 10px rgba(0,0,0,.55)}
.project h3{font-size:1.8rem;margin:.5rem 0 1rem;color:var(--paper);text-shadow:0 1px 14px rgba(0,0,0,.5)}
.project-stats{display:flex;gap:1.8rem;border-top:1px solid var(--line-light);padding-top:1.1rem}
.project-stats .n{font-family:var(--display);font-size:1.5rem;line-height:1}
.project-stats .l{font-size:.74rem;color:var(--stone-2);margin-top:.2rem;text-transform:uppercase;letter-spacing:.08em}

/* ---------- split / feature ---------- */
.split{display:grid;gap:clamp(2rem,5vw,4rem);align-items:center}
@media(min-width:920px){.split{grid-template-columns:1fr 1fr}.split.reverse>:first-child{order:2}}
.split img{border-radius:var(--radius);width:100%;object-fit:cover;box-shadow:var(--shadow-sm)}
.feature-list{margin-top:1.8rem;display:grid;gap:1.1rem}
.feature-list li{display:flex;gap:.9rem;align-items:flex-start}
.feature-list .ck{flex:none;width:26px;height:26px;border-radius:50%;background:var(--clay);display:grid;place-items:center;margin-top:2px}
.feature-list .ck svg{width:13px;height:13px;stroke:var(--paper);stroke-width:3}
.feature-list b{display:block;font-family:var(--body);font-weight:600;font-size:1.02rem}
.feature-list span.d{color:var(--stone);font-size:.92rem}

/* ---------- dark section ---------- */
.dark{background:var(--ink);color:var(--paper)}
.dark .lead,.dark .card p,.dark .muted{color:var(--stone-2)}
.dark h1,.dark h2,.dark h3{color:var(--paper)}
.dark .card h3{color:var(--ink)}
.dark .card p{color:var(--stone)}
.forest{background:var(--forest);color:var(--paper)}
.forest h2,.forest h3{color:var(--paper)}
.forest .lead{color:#C9CFBF}

/* ---------- process timeline ---------- */
.steps{display:grid;gap:0}
.step{display:grid;gap:1rem;grid-template-columns:auto 1fr;padding:1.8rem 0;border-bottom:1px solid var(--line-light);align-items:start}
.step:last-child{border-bottom:0}
.step .sn{font-family:var(--display);font-size:1.6rem;color:var(--clay);min-width:3rem}
.step h3{font-size:1.4rem;margin-bottom:.4rem}
.step p{color:var(--stone-2);max-width:60ch}
@media(min-width:760px){.step{grid-template-columns:auto 1fr auto}.step .stime{color:var(--stone-2);font-size:.85rem;white-space:nowrap}}

/* ---------- FAQ accordion ---------- */
.faq{border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.5rem 0;text-align:left;font-family:var(--display);font-size:clamp(1.15rem,2vw,1.45rem);color:var(--ink);transition:color .3s}
.faq-q:hover{color:var(--clay)}
.faq-q .pm{flex:none;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;position:relative;transition:.4s var(--ease)}
.faq-q .pm::before,.faq-q .pm::after{content:"";position:absolute;background:var(--ink);transition:.4s var(--ease)}
.faq-q .pm::before{width:12px;height:1.5px}
.faq-q .pm::after{width:1.5px;height:12px}
.faq-item.open .pm{background:var(--clay);border-color:var(--clay)}
.faq-item.open .pm::before,.faq-item.open .pm::after{background:var(--paper)}
.faq-item.open .pm::after{transform:rotate(90deg);opacity:0}
.faq-a{max-height:0;overflow:hidden;transition:max-height .5s var(--ease)}
.faq-a-inner{padding-bottom:1.6rem;color:var(--stone);max-width:72ch}
.faq-a-inner p+p{margin-top:.9rem}
.dark .faq,.dark .faq-item{border-color:var(--line-light)}
.dark .faq-q{color:var(--paper)}
.dark .faq-q .pm{border-color:var(--line-light)}
.dark .faq-q .pm::before,.dark .faq-q .pm::after{background:var(--paper)}
.dark .faq-a-inner{color:var(--stone-2)}

/* ---------- lead magnet ---------- */
.lead-card{background:var(--sand);border-radius:var(--radius);padding:clamp(1.8rem,4vw,3rem);box-shadow:var(--shadow-sm)}
.form-row{display:grid;gap:1rem;margin-bottom:1rem}
@media(min-width:560px){.form-row.two{grid-template-columns:1fr 1fr}}
.field{display:flex;flex-direction:column;gap:.4rem}
.field label{font-size:.78rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-2)}
.field input,.field select,.field textarea{
  padding:.85rem 1rem;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--paper);font:inherit;font-size:.95rem;color:var(--ink);transition:.3s;
}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--clay);box-shadow:0 0 0 3px rgba(33,54,68,.14)}
.guide-points{display:grid;gap:.8rem;margin:1.4rem 0}
.guide-points li{display:flex;gap:.7rem;align-items:flex-start;font-size:.96rem}
.guide-points svg{flex:none;width:18px;height:18px;stroke:var(--clay);margin-top:3px}

/* ---------- testimonial ---------- */
.quote{font-family:var(--display);font-size:clamp(1.6rem,3.4vw,2.6rem);line-height:1.25;letter-spacing:-.01em;max-width:24ch;margin-inline:auto}
.quote .mk{color:var(--clay)}
.quote-by{margin-top:2rem;font-family:var(--body);font-size:.95rem;color:var(--stone)}
.quote-by b{display:block;color:var(--ink);font-size:1.05rem;font-family:var(--display)}

/* ---------- CTA band ---------- */
.cta-band{background:var(--clay);color:var(--paper);border-radius:var(--radius);padding:clamp(2.4rem,6vw,5rem);text-align:center;position:relative;overflow:hidden}
.cta-band h2{color:var(--paper);font-size:clamp(2rem,5vw,3.6rem)}
.cta-band p{color:rgba(243,238,228,.85);max-width:54ch;margin:1.2rem auto 2rem;font-size:1.1rem}
.cta-band .btn-light:hover{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:var(--stone-2);padding-block:clamp(3rem,6vw,5rem) 2rem}
.footer-top{display:grid;gap:2.5rem}
@media(min-width:880px){.footer-top{grid-template-columns:1.4fr 1fr 1fr 1fr}}
.site-footer h4{font-family:var(--body);font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:var(--stone-2);margin-bottom:1.2rem;font-weight:600}
.site-footer a{color:var(--paper);font-size:.95rem;display:inline-block;padding:.25rem 0;transition:color .3s}
.site-footer a:hover{color:var(--clay)}
.footer-brand{font-family:var(--display);font-size:1.8rem;color:var(--paper);margin-bottom:1rem;display:inline-block}
.footer-logo{height:54px;width:auto;display:block;margin-bottom:.2rem}
.footer-brand+p{max-width:34ch;font-size:.95rem;line-height:1.6}
.footer-col ul{display:flex;flex-direction:column}
.social{display:flex;gap:.8rem;margin-top:1.4rem}
.social a{width:40px;height:40px;border:1px solid var(--line-light);border-radius:50%;display:grid;place-items:center;padding:0}
.social a:hover{background:var(--clay);border-color:var(--clay)}
.social svg{width:18px;height:18px;fill:var(--paper)}
.footer-bottom{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center;margin-top:3rem;padding-top:1.8rem;border-top:1px solid var(--line-light);font-size:.82rem}
.footer-bottom a{font-size:.82rem}

/* ---------- page hero (interior) ---------- */
.page-hero{padding-top:140px;padding-bottom:clamp(2.5rem,5vw,4rem)}
.breadcrumb{font-size:.82rem;color:var(--stone);margin-bottom:1.4rem;display:flex;gap:.5rem;align-items:center}
.breadcrumb a:hover{color:var(--clay)}
.breadcrumb .sep{color:var(--stone-2)}
.page-hero h1{font-size:clamp(2.6rem,6vw,4.6rem);margin-bottom:1.2rem}

/* ---------- reveal animation ---------- */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.08s}
.reveal[data-d="2"]{transition-delay:.16s}
.reveal[data-d="3"]{transition-delay:.24s}
.reveal[data-d="4"]{transition-delay:.32s}
@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .strip-track{animation:none}
  *{scroll-behavior:auto!important}
}

/* tag pill */
.pill{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .9rem;border:1px solid var(--line);border-radius:100px;font-size:.78rem;font-weight:600;letter-spacing:.04em;color:var(--ink-2);background:var(--paper)}
.pill .dot{width:7px;height:7px;border-radius:50%;background:var(--clay)}

/* article / blog */
.post{border-bottom:1px solid var(--line);padding:2rem 0;display:grid;gap:1.5rem}
@media(min-width:720px){.post{grid-template-columns:.9fr 2fr}}
.post img{border-radius:var(--radius);aspect-ratio:4/3;object-fit:cover}
.post .meta{font-size:.8rem;color:var(--stone);text-transform:uppercase;letter-spacing:.1em;margin-bottom:.6rem}
.post h3{font-size:1.6rem;margin-bottom:.6rem;transition:color .3s}
.post:hover h3{color:var(--clay)}
.post p{color:var(--stone);font-size:.96rem}

/* ============================================================
   ARTICLE & CASE-STUDY PAGES (blog posts + project detail)
   ============================================================ */
.article-hero{padding-block:clamp(2rem,5vw,4rem) clamp(1.6rem,3vw,2.4rem)}
.article-hero .meta{font-size:.8rem;color:var(--clay);text-transform:uppercase;letter-spacing:.16em;font-weight:600;margin-bottom:1rem}
.article-hero h1{font-size:clamp(2.1rem,4.6vw,3.6rem);max-width:20ch;margin-bottom:1.2rem}
.article-hero .lead{margin-bottom:1.4rem}
.byline{display:flex;align-items:center;gap:.7rem;font-size:.9rem;color:var(--stone);flex-wrap:wrap}
.byline .dot{width:4px;height:4px;border-radius:50%;background:var(--stone-2)}
.feature-img{margin-block:clamp(1.6rem,4vw,3rem)}
.feature-img img{width:100%;border-radius:var(--radius);aspect-ratio:16/9;object-fit:cover;box-shadow:var(--shadow)}
.feature-img figcaption{margin-top:.7rem;font-size:.82rem;color:var(--stone);text-align:center}

/* long-form prose */
.prose{max-width:72ch;margin-inline:auto}
.prose>*+*{margin-top:1.25rem}
.prose p{color:var(--ink-2);font-size:1.07rem;line-height:1.72}
.prose h2{font-size:clamp(1.5rem,2.6vw,2rem);margin-top:2.6rem;letter-spacing:-.02em}
.prose h3{font-size:clamp(1.2rem,2vw,1.5rem);margin-top:1.9rem}
.prose ul,.prose ol{padding-left:1.3rem;color:var(--ink-2)}
.prose ul{list-style:disc}.prose ol{list-style:decimal}
.prose li{margin-top:.5rem;line-height:1.65}
.prose li::marker{color:var(--clay)}
.prose strong{font-weight:600;color:var(--ink)}
.prose a{color:var(--clay);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.prose a:hover{color:var(--clay-deep)}
.prose blockquote{border-left:2px solid var(--clay);padding:.4rem 0 .4rem 1.6rem;margin-block:2rem;
  font-family:var(--display);font-size:clamp(1.3rem,2.4vw,1.7rem);line-height:1.3;color:var(--ink);font-style:italic}
.prose .callout{background:var(--sand);border-radius:var(--radius);padding:1.5rem 1.7rem;font-size:.97rem}
.prose .callout strong{display:block;margin-bottom:.4rem;font-family:var(--display);font-size:1.1rem;font-style:normal}
.prose hr{border:none;border-top:1px solid var(--line);margin-block:2.6rem}

/* case-study spec grid */
.cs-specs{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-block:1.5rem}
@media(min-width:680px){.cs-specs{grid-template-columns:repeat(4,1fr)}}
.cs-specs .spec{background:var(--paper);padding:1.4rem 1.3rem}
.cs-specs .spec .n{font-family:var(--display);font-size:1.7rem;color:var(--clay);line-height:1}
.cs-specs .spec .l{margin-top:.5rem;font-size:.82rem;color:var(--stone);text-transform:uppercase;letter-spacing:.08em}
.cs-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--gap);margin-block:2rem}
.cs-gallery img{border-radius:var(--radius);aspect-ratio:4/3;object-fit:cover;width:100%}
.cs-gallery img:first-child{grid-column:1/-1;aspect-ratio:16/9}

/* prev / next post navigation */
.post-nav{display:grid;gap:var(--gap);grid-template-columns:1fr;border-top:1px solid var(--line);
  margin-top:3rem;padding-top:2rem}
@media(min-width:680px){.post-nav{grid-template-columns:1fr 1fr}}
.post-nav a{display:block;padding:1.3rem 1.5rem;background:var(--sand);border-radius:var(--radius);transition:transform .3s var(--ease)}
.post-nav a:hover{transform:translateY(-3px)}
.post-nav .dir{font-size:.74rem;text-transform:uppercase;letter-spacing:.14em;color:var(--clay);font-weight:600}
.post-nav .t{font-family:var(--display);font-size:1.1rem;margin-top:.5rem;line-height:1.25}
.post-nav a.next{text-align:right}

/* case-study link on dark project cards */
.project .card-link{color:var(--paper)}
.project:hover .card-link{color:var(--clay)}
.project:hover .card-link svg{transform:translateX(4px)}
.project h3 a{color:inherit}

/* form honeypot (spam trap) */
.hp{display:none !important}

/* responsive video embed */
.video-wrap{position:relative;width:100%;padding-top:56.25%;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:var(--ink)}
.video-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-caption{margin-top:1rem;font-size:.9rem;color:var(--stone)}

/* ---- Trust strip ---- */
.trust-strip{border-top:1px solid rgba(22,20,14,.09);border-bottom:1px solid rgba(22,20,14,.09);background:var(--paper-2)}
.trust-strip .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(1.4rem,4vw,3.5rem);padding-block:1.5rem}
.trust-item{display:flex;align-items:center;gap:.65rem;color:var(--ink-2);font-size:.92rem;font-weight:600;line-height:1.15}
.trust-item svg{width:22px;height:22px;color:var(--clay);flex:none}
.trust-item .sub{display:block;font-weight:400;font-size:.72rem;color:var(--stone);letter-spacing:.01em;margin-top:1px}

/* ---- Testimonials + metrics ---- */
.metrics{display:flex;flex-wrap:wrap;gap:clamp(2rem,6vw,5rem);margin-top:1.8rem}
.metric .n{font-family:var(--display);font-weight:600;font-size:clamp(2.3rem,5vw,3.3rem);color:var(--clay);line-height:1}
.metric .l{color:var(--stone);font-size:.9rem;margin-top:.35rem;max-width:18ch}
.tcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:1.4rem;margin-top:2.6rem}
.tcard{background:#fff;border:1px solid rgba(22,20,14,.08);border-radius:var(--radius);padding:1.9rem;box-shadow:var(--shadow);display:flex;flex-direction:column}
.tcard .stars{color:var(--clay);letter-spacing:3px;font-size:.95rem;margin-bottom:.9rem}
.tcard .quote{font-family:var(--display);font-size:1.12rem;line-height:1.5;color:var(--ink);margin-bottom:1.5rem;flex:1}
.tcard .who{display:flex;align-items:center;gap:.8rem}
.tavatar{width:42px;height:42px;border-radius:50%;background:var(--forest);color:var(--paper);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:600;flex:none}
.tcard .name{font-weight:600;color:var(--ink);font-size:.95rem}
.tcard .role{font-size:.8rem;color:var(--stone)}

/* ---- Founders ---- */
.founders{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.6rem;margin-top:2.8rem}
.founder{background:#fff;border:1px solid rgba(22,20,14,.08);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.founder>img{width:100%;aspect-ratio:6/5;object-fit:cover;object-position:center 22%;display:block}
.founder-body{padding:1.6rem 1.8rem 1.9rem;display:flex;flex-direction:column;flex:1}
.founder .name{font-family:var(--display);font-size:1.45rem;color:var(--ink);line-height:1.1}
.founder .title{color:var(--clay);font-weight:600;font-size:.82rem;letter-spacing:.05em;text-transform:uppercase;margin:.35rem 0 1rem}
.founder .bio{color:var(--ink-2);font-size:.95rem;line-height:1.6;flex:1}
.founder .flink{display:inline-flex;align-items:center;gap:.45rem;margin-top:1.2rem;color:var(--ink);font-weight:600;font-size:.88rem;align-self:flex-start}
.founder .flink:hover{color:var(--clay)}

/* ---- Profile / bio pages ---- */
.profile-hero{display:grid;grid-template-columns:minmax(0,360px) 1fr;gap:clamp(1.6rem,4vw,3.2rem);align-items:start;margin-top:1.6rem}
.profile-photo{width:100%;aspect-ratio:6/5;object-fit:cover;object-position:center 22%;border-radius:var(--radius);box-shadow:var(--shadow);background:var(--sand)}
.profile-intro .profile-title{color:var(--clay);font-weight:600;font-size:1.05rem;margin:.4rem 0 1.2rem}
.profile-links{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.6rem}
.profile-body{max-width:68ch;margin-top:3rem}
.profile-body h2{font-family:var(--display);font-size:clamp(1.4rem,2.6vw,1.8rem);color:var(--ink);margin:2rem 0 .7rem;line-height:1.15}
.profile-body h2:first-child{margin-top:0}
.profile-body p{color:var(--ink-2);line-height:1.7;margin-bottom:1rem}
.profile-creds{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.55rem}
.profile-creds li{display:flex;gap:.6rem;color:var(--ink-2);line-height:1.5}
.profile-creds li svg{width:19px;height:19px;color:var(--clay);flex:none;margin-top:2px}
@media (max-width:720px){.profile-hero{grid-template-columns:1fr}.profile-photo{max-width:320px}}

/* ---- Proof / trust panel ---- */
.proof{background:var(--forest);color:var(--paper);border-radius:20px;padding:clamp(1.8rem,4vw,3.4rem);box-shadow:var(--shadow)}
.proof-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1.8rem 2rem;padding-bottom:2.3rem;margin-bottom:2.3rem;border-bottom:1px solid rgba(243,238,228,.16)}
.proof-tag{font-size:.7rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--stone-2)}
.proof-n{font-family:var(--display);font-weight:600;font-size:clamp(2rem,3.6vw,3rem);line-height:1.02;letter-spacing:-.02em;color:var(--paper);margin:.5rem 0 .55rem}
.proof-n small{font-size:.4em;color:#E0905E;margin-left:.1em;font-weight:600;letter-spacing:0}
.proof-l{font-size:.9rem;line-height:1.46;color:rgba(243,238,228,.78)}
.proof-cta{display:flex;justify-content:space-between;align-items:center;gap:1.4rem 2.4rem;flex-wrap:wrap}
.proof-h{font-family:var(--display);font-weight:600;font-size:clamp(1.35rem,2.3vw,1.85rem);line-height:1.16;color:var(--paper);margin-bottom:.5rem;max-width:22ch}
.proof-cta p{color:rgba(243,238,228,.8);max-width:44ch;font-size:.94rem;line-height:1.55}
.proof-actions{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center}
.btn-ghost-light{background:transparent;border:1px solid rgba(243,238,228,.4);color:var(--paper)}
.btn-ghost-light:hover{background:rgba(243,238,228,.12);border-color:var(--paper)}
@media(max-width:860px){.proof-stats{grid-template-columns:repeat(2,1fr);gap:1.6rem}.proof-cta{flex-direction:column;align-items:flex-start}}
@media(max-width:430px){.proof-stats{gap:1.3rem 1.2rem}}

/* ---- hero entrance on load ---- */
@keyframes heroMediaIn{from{transform:scale(1.045)}to{transform:scale(1)}}
.hero-carousel{animation:heroMediaIn 1.5s var(--ease) both}
@keyframes heroBadgeIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.hero-badge{animation:heroBadgeIn .85s var(--ease) .55s both}

/* ---- subtle warm grade on photography (delete this block to revert to fully natural) ---- */
.hero-slide,.split img,.feature-img img,.project img,.cs-gallery img,.founder>img,.profile-photo{filter:saturate(1.05) sepia(.05) brightness(1.004)}

@media (prefers-reduced-motion:reduce){
  .hero-carousel,.hero-badge{animation:none}
}

/* ---- hero guide link (surfaces lead magnet immediately) ---- */
.hero-guide{margin-top:1.4rem;font-size:.95rem}
.hero-guide a{color:var(--ink-2);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--stone-2);transition:.3s var(--ease)}
.hero-guide a:hover{color:var(--clay);text-decoration-color:var(--clay)}
.hero-guide span{color:var(--clay);font-weight:600}

/* ---- footer newsletter band ---- */
.footer-news{display:flex;justify-content:space-between;align-items:center;gap:1.5rem 3rem;flex-wrap:wrap;padding-bottom:2.5rem;margin-bottom:2.5rem;border-bottom:1px solid var(--line-light)}
.footer-news h3{font-family:var(--display);font-weight:600;font-size:clamp(1.3rem,2.2vw,1.7rem);color:var(--paper);line-height:1.12}
.footer-news p{color:var(--stone-2);font-size:.92rem;line-height:1.5;margin-top:.5rem;max-width:46ch}
.news-form{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
.news-form input[type=email]{background:rgba(243,238,228,.08);border:1px solid var(--line-light);border-radius:10px;padding:.85rem 1.1rem;color:var(--paper);font-family:inherit;font-size:.95rem;min-width:260px;transition:.3s var(--ease)}
.news-form input[type=email]::placeholder{color:var(--stone-2)}
.news-form input[type=email]:focus{outline:none;border-color:var(--clay);background:rgba(243,238,228,.12)}
@media(max-width:640px){.news-form,.news-form input[type=email]{width:100%}}

/* proof panel: text-style stat (e.g. "Builder + lawyer") fits the number slot */
.proof-n.is-text{font-size:clamp(1.3rem,2.3vw,1.8rem);letter-spacing:-.01em;line-height:1.1}

/* ============ Announcement banner (homepage) ============ */
.announce-bar{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.55rem;
  background:var(--forest);color:var(--paper);
  padding:.62rem 1.2rem;text-align:center;line-height:1.35;
  font-size:.86rem;transition:background .35s var(--ease);
}
.announce-bar:hover{background:#1c313f}
.announce-bar .ab-tag{color:var(--gold);font-weight:700;text-transform:uppercase;letter-spacing:.14em;font-size:.7rem}
.announce-bar .ab-txt{opacity:.96}
.announce-bar .ab-arrow{color:var(--gold);font-weight:700;transition:transform .35s var(--ease)}
.announce-bar:hover .ab-arrow{transform:translateX(4px)}
@media(max-width:560px){.announce-bar{font-size:.78rem;padding:.55rem .85rem;gap:.4rem}}

/* ============ Walkthrough event page ============ */
/* image-backed hero => header shows light while at page top, reverts on scroll */
.has-dark-hero .site-header:not(.scrolled) .nav-links a{color:rgba(243,238,228,.85)}
.has-dark-hero .site-header:not(.scrolled) .nav-links a:hover,
.has-dark-hero .site-header:not(.scrolled) .nav-links a[aria-current="page"]{color:var(--paper)}
.has-dark-hero .site-header:not(.scrolled) .nav-links a::after{background:var(--gold)}
.has-dark-hero .site-header:not(.scrolled) .nav-phone{color:var(--paper)}
.has-dark-hero .site-header:not(.scrolled) .burger span{background:var(--paper)}
.has-dark-hero .brand-logo--dark{display:none}
.has-dark-hero .site-header.scrolled .brand-logo--light{display:none}
.has-dark-hero .site-header.scrolled .brand-logo--dark{display:block}

.wt-hero{position:relative;min-height:80vh;display:flex;align-items:flex-end;overflow:hidden;color:var(--paper)}
.wt-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;z-index:0}
.wt-hero::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(11,18,24,.6) 0%,rgba(11,18,24,.12) 30%,rgba(11,18,24,.66) 73%,rgba(11,18,24,.94) 100%)}
.wt-hero .wrap{position:relative;z-index:2;padding-top:clamp(150px,20vh,220px);padding-bottom:clamp(2.6rem,6vw,5rem)}
.wt-eyebrow{display:inline-flex;align-items:center;gap:.7rem;color:var(--gold);font-weight:700;text-transform:uppercase;letter-spacing:.2em;font-size:.76rem;margin-bottom:1.3rem}
.wt-eyebrow::before{content:"";width:34px;height:1.5px;background:var(--gold)}
.wt-hero h1{color:var(--paper);max-width:17ch;text-shadow:0 2px 26px rgba(0,0,0,.4)}
.wt-sub{margin-top:1.4rem;max-width:48ch;color:rgba(243,238,228,.92);font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.6}
.wt-cta{display:flex;flex-wrap:wrap;gap:1.1rem 1.6rem;align-items:center;margin-top:2.1rem}
.wt-remaining{display:inline-flex;align-items:center;gap:.6rem;font-size:.92rem;color:var(--paper)}
.wt-remaining .dot{width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(205,163,73,.22);flex:none}
.wt-remaining b{color:var(--gold);font-family:var(--display);font-size:1.1rem;font-weight:600}

.wt-body{display:grid;gap:clamp(2.2rem,5vw,4rem)}
@media(min-width:940px){.wt-body{grid-template-columns:1.05fr 1fr;align-items:start}}
.wt-lede{font-size:clamp(1.12rem,1.8vw,1.32rem);line-height:1.75;color:var(--ink-2)}
.wt-facts{display:grid;gap:1rem;margin-top:2rem}
.wt-fact{display:flex;gap:.9rem;align-items:flex-start}
.wt-fact .fk{flex:none;width:26px;height:26px;border-radius:50%;background:var(--clay);display:grid;place-items:center;margin-top:2px}
.wt-fact .fk svg{width:13px;height:13px;stroke:var(--paper);stroke-width:3;fill:none}
.wt-fact span{font-size:.98rem;line-height:1.5}
.wt-callout{margin-top:2rem;padding:1.25rem 1.5rem;border-left:3px solid var(--gold);background:var(--sand);border-radius:0 var(--radius) var(--radius) 0;font-size:1rem}
.wt-callout b{color:var(--clay);font-family:var(--display);font-size:1.15rem}

/* form specifics */
.wt-form .field .req{color:var(--gold)}
.wt-form .field.checkbox{flex-direction:row;align-items:flex-start;gap:.7rem}
.wt-form .field.checkbox input{width:18px;height:18px;margin-top:.15rem;flex:none;accent-color:var(--clay)}
.wt-form .field.checkbox label{text-transform:none;letter-spacing:0;font-weight:500;font-size:.9rem;color:var(--ink-2);line-height:1.55}
.wt-form select:required:invalid{color:var(--stone)}
.wt-form option{color:var(--ink)}
.wt-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.has-dark-hero .site-header:not(.scrolled) .btn-dark{background:rgba(243,238,228,.12);border:1px solid rgba(243,238,228,.32);backdrop-filter:blur(4px)}
.has-dark-hero .site-header:not(.scrolled) .btn-dark:hover{background:rgba(243,238,228,.2)}

/* homepage: extra hero top-offset to clear the fixed announcement banner */
.has-banner .hero{padding-top:152px}
@media(max-width:560px){.has-banner .hero{padding-top:196px}}

/* ============ Case-study gallery + lightbox ============ */
.proj-intro{max-width:60ch;font-size:clamp(1.08rem,1.7vw,1.28rem);line-height:1.7;color:var(--ink-2)}
.proj-meta{display:flex;flex-wrap:wrap;gap:.9rem 2rem;margin-top:1.6rem;padding-top:1.4rem;border-top:1px solid var(--line)}
.proj-meta .m .k{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--stone)}
.proj-meta .m .v{font-family:var(--display);font-size:1.15rem;margin-top:.2rem}
.gallery{columns:3 300px;column-gap:14px;margin-top:2.4rem}
.gallery a{display:block;margin:0 0 14px;break-inside:avoid;border-radius:var(--radius);overflow:hidden;cursor:zoom-in;background:var(--sand);box-shadow:var(--shadow-sm)}
.gallery img{width:100%;display:block;transition:transform .6s var(--ease),opacity .3s}
.gallery a:hover img{transform:scale(1.04)}
@media(max-width:560px){.gallery{columns:2 160px;column-gap:10px}.gallery a{margin-bottom:10px}}

.lb{position:fixed;inset:0;z-index:2000;background:rgba(9,15,20,.95);display:none;align-items:center;justify-content:center;padding:clamp(1rem,4vw,3rem)}
.lb.open{display:flex}
.lb img{max-width:94vw;max-height:90vh;border-radius:8px;box-shadow:0 24px 70px rgba(0,0,0,.55)}
.lb button{position:absolute;color:#fff;background:rgba(255,255,255,.12);border:none;cursor:pointer;border-radius:50%;display:grid;place-items:center;transition:background .25s}
.lb button:hover{background:rgba(255,255,255,.24)}
.lb .lb-close{top:1.1rem;right:1.2rem;width:44px;height:44px;font-size:1.5rem;line-height:1}
.lb .lb-nav{top:50%;transform:translateY(-50%);width:50px;height:50px;font-size:1.5rem}
.lb .lb-prev{left:1rem}.lb .lb-next{right:1rem}
.lb .lb-count{position:absolute;bottom:1.1rem;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.8);font-size:.85rem;letter-spacing:.05em}
@media(max-width:560px){.lb .lb-nav{width:42px;height:42px}}
