/* Clearspan Collective — site styles */
:root{
  --bg:hsl(36 50% 96%);
  --fg:hsl(0 0% 4%);
  --primary:hsl(20 53% 51%);
  --primary-fg:#fff;
  --muted:hsl(22 23% 91%);
  --muted-fg:hsl(36 49% 36%);
  --border:hsl(37 46% 81%);
  --card:hsl(36 50% 96%);
  --logo-dark:#2D3539;
  --logo-tan:#B59D88;
  --logo-tan-text:#897565;
  --serif:"Playfair Display",Georgia,serif;
  --sans:"Source Sans 3",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
h1,h2,h3,h4{font-family:var(--serif);font-weight:400;margin:0}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
.container{max-width:72rem;margin:0 auto;padding:0 1.5rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--bg);transition:box-shadow .3s,border-color .3s;border-bottom:1px solid transparent}
.site-header.scrolled{border-bottom-color:var(--border);box-shadow:0 1px 0 rgba(0,0,0,.02)}
.site-header > .container{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;padding-bottom:1rem}
.brand{display:flex;align-items:center;flex-shrink:0;min-width:0}
.brand svg{height:2.5rem;width:auto}
@media (min-width:768px){.brand svg{height:3rem}}
.nav{display:none;align-items:center;gap:2rem}
@media (min-width:768px){.nav{display:flex}}
.nav a{position:relative;font-size:.875rem;font-weight:500;color:var(--fg);transition:color .2s}
.nav a:hover,.nav a.active{color:var(--primary)}
.nav a::after{content:"";position:absolute;left:0;bottom:-2px;height:1px;width:0;background:var(--primary);transition:width .3s}
.nav a:hover::after,.nav a.active::after{width:100%}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:9999px;background:var(--primary);color:var(--primary-fg);font-weight:500;transition:background .2s;border:0}
.btn:hover{background:hsl(20 53% 51% / .9)}
.btn::after{display:none}
.nav .btn{margin-left:.5rem;padding:.5rem 1.25rem;font-size:.875rem;color:#fff}
.nav .btn:hover{color:#fff}
.btn-lg{padding:.875rem 2rem;font-size:1rem}
.menu-toggle{display:flex;flex-direction:column;gap:.375rem;padding:.5rem;border-radius:.375rem;background:none;border:0}
.menu-toggle:hover{background:var(--muted)}
@media (min-width:768px){.menu-toggle{display:none}}
.menu-toggle span{display:block;width:1.25rem;height:2px;background:var(--fg);transition:transform .2s,opacity .2s}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.mobile-nav{display:none;border-top:1px solid var(--border);background:var(--bg)}
.mobile-nav.open{display:block}
@media (min-width:768px){.mobile-nav{display:none!important}}
.mobile-nav .container{display:flex;flex-direction:column;gap:.25rem;padding-top:.75rem;padding-bottom:1.25rem}
.mobile-nav a{padding:.75rem 0;font-size:1rem;font-weight:500;border-bottom:1px solid var(--muted)}
.mobile-nav a.active{color:var(--primary)}
.mobile-nav .btn{margin-top:.75rem;border-bottom:0;color:#fff;padding:.75rem 1.5rem;align-self:flex-start}

/* Sections */
section{position:relative}
.section{padding:5rem 0}
@media (min-width:768px){.section{padding:7rem 0}}
.section-muted{background:var(--muted)}
.hero{overflow:hidden;background:var(--bg);padding:4rem 0 6rem}
@media (min-width:768px){.hero{padding:6rem 0 8rem}}
.blob{position:absolute;pointer-events:none}
.blob-tr{top:-6rem;right:-6rem;width:520px;height:520px}
.blob-bl{bottom:0;left:0;width:300px;height:300px;opacity:.6}
.eyebrow{font-size:.875rem;font-weight:500;color:var(--primary);margin-bottom:1.5rem}
.eyebrow-caps{font-size:.75rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--primary)}
.h-display{font-size:clamp(2.75rem,7vw,4.5rem);line-height:1;letter-spacing:-.025em;max-width:16ch}
.h-section{font-size:clamp(2rem,4.5vw,3rem);line-height:1.1;letter-spacing:-.02em}
.h-sub{font-size:clamp(1.75rem,3.5vw,2.5rem);line-height:1.15;letter-spacing:-.015em}
.lead{font-size:1.25rem;line-height:1.5;color:var(--muted-fg);max-width:36rem;margin-top:1.75rem}
.hero .btn{margin-top:2.75rem}
.copy{color:var(--muted-fg);font-size:1.0625rem;line-height:1.7}
.copy p+p{margin-top:1.25rem}

/* Reveal on scroll */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
.reveal[data-delay="1"]{transition-delay:.1s}.reveal[data-delay="2"]{transition-delay:.2s}.reveal[data-delay="3"]{transition-delay:.3s}.reveal[data-delay="4"]{transition-delay:.4s}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* Home: name idea band */
.idea{display:grid;gap:1.5rem}
@media (min-width:768px){.idea{grid-template-columns:1fr 3fr;gap:3rem;align-items:start}}
.idea .eyebrow-caps{padding-top:.5rem;max-width:12rem;line-height:1.6}
.idea blockquote{margin:0;font-family:var(--serif);font-size:clamp(1.375rem,2.4vw,1.875rem);line-height:1.35;max-width:48rem}

/* Cards */
.grid-2{display:grid;gap:1.5rem}
@media (min-width:768px){.grid-2{grid-template-columns:1fr 1fr}}
.card{background:var(--muted);border:1px solid var(--border);border-radius:1rem;padding:2.25rem}
.card-light{background:var(--card)}
.service-card .icon{width:3rem;height:3rem;margin-bottom:1.5rem;color:var(--primary);opacity:.55}
.service-card .tag{font-size:.875rem;font-weight:500;color:var(--primary);margin-bottom:.75rem}
.service-card h3{font-size:1.75rem;line-height:1.2;margin-bottom:1rem}
.service-card p{color:var(--muted-fg);line-height:1.7}
.section-head{margin-bottom:3.5rem}
.section-head .h-section{margin-top:1rem}
.section-head .lead{margin-top:1.25rem}

/* How we work (home) */
.how-grid{display:grid;gap:2.5rem 4rem;margin-top:3.5rem}
@media (min-width:768px){.how-grid{grid-template-columns:1fr 1fr}}
.how-item{display:grid;grid-template-columns:auto 1fr;gap:1rem}
.dot{width:.4rem;height:.4rem;border-radius:50%;background:var(--primary);margin-top:.7rem}
.how-item h3{font-size:1.375rem;margin-bottom:.5rem}
.how-item p{color:var(--muted-fg);line-height:1.7}

/* CTA */
.cta{overflow:hidden}
.cta .lead{margin-top:1.5rem}
.cta .btn{margin-top:2.5rem}
.blob-cta{bottom:-6rem;right:-4rem;width:420px;height:420px}

/* Footer */
.site-footer{background:hsl(0 0% 4%);color:#fff;border-top:4px solid var(--primary)}
.footer-grid{display:grid;gap:2.5rem;padding:4rem 0 3rem}
@media (min-width:768px){.footer-grid{grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2rem}}
.footer-brand svg{height:2.5rem;width:auto;margin-bottom:1.25rem}
.footer-brand .strap{font-size:.875rem;line-height:1.6;opacity:.7;margin-bottom:.75rem}
.footer-brand .loc{font-size:.75rem;opacity:.4}
.footer-col{display:flex;flex-direction:column;gap:.75rem}
.footer-col .label{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;font-weight:500;opacity:.4;margin-bottom:.25rem}
.footer-col a,.footer-col span{font-size:.875rem;opacity:.6;transition:opacity .2s}
.footer-col a:hover{opacity:1}
.footer-col p{font-size:.875rem;opacity:.7;line-height:1.6;margin-bottom:.5rem}
.footer-col .btn{opacity:1;color:#fff;padding:.75rem 1.5rem;font-size:.9375rem;align-self:flex-start}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:1.5rem 0 2.5rem;display:flex;flex-wrap:wrap;gap:.5rem 1rem;justify-content:space-between;font-size:.75rem;opacity:.4}

/* Services page */
.tabs{display:grid;grid-template-columns:1fr;border:1px solid var(--border);border-radius:1rem;overflow:hidden;margin-top:3rem}
@media (min-width:768px){.tabs{grid-template-columns:repeat(4,1fr)}}
.tab{background:var(--bg);border:0;border-bottom:1px solid var(--border);padding:1.25rem 1rem;text-align:center;font-size:.9375rem;font-weight:500;color:var(--fg);transition:background .2s,color .2s}
.tab:last-child{border-bottom:0}
@media (min-width:768px){.tab{border-bottom:0;border-right:1px solid var(--border)}.tab:last-child{border-right:0}}
.tab small{display:block;font-size:.75rem;letter-spacing:.1em;color:var(--primary);margin-bottom:.35rem}
.tab:hover{background:var(--muted)}
.tab[aria-selected="true"]{background:var(--primary);color:#fff}
.tab[aria-selected="true"] small{color:#fff}
.panel{display:none;padding-top:3rem}
.panel.active{display:grid;gap:2.5rem;animation:fade .5s ease}
@media (min-width:992px){.panel.active{grid-template-columns:2fr 1fr;gap:3rem}}
@keyframes fade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.panel-tag{display:flex;align-items:center;gap:1rem;color:var(--primary);font-size:.9375rem;margin-bottom:2rem}
.panel-tag .icon{width:2.5rem;height:2.5rem;color:var(--primary);opacity:.55;flex-shrink:0}
.panel .h-sub{margin-bottom:1.5rem}
.brief{background:var(--muted);border:1px solid var(--border);border-radius:1rem;padding:1.75rem;margin-top:2rem}
.brief .eyebrow-caps{margin-bottom:1rem}
.brief p{font-style:italic;color:var(--fg);line-height:1.7;font-size:.9375rem}
.engaged{display:flex;align-items:baseline;gap:.5rem 1rem;flex-wrap:wrap;margin-top:1.75rem;font-size:.9375rem;color:var(--muted-fg)}
.engaged::before{content:"";width:.4rem;height:.4rem;border-radius:50%;background:var(--primary);flex-shrink:0;position:relative;top:-.1rem}
.engaged .eyebrow-caps{letter-spacing:.12em}
.looks{background:var(--muted);border:1px solid var(--border);border-radius:1rem;padding:2rem;align-self:start}
.looks .eyebrow-caps{margin-bottom:1.5rem}
.looks li{display:grid;grid-template-columns:auto 1fr;gap:.75rem;font-size:.9375rem;line-height:1.5;color:var(--fg)}
.looks li+li{margin-top:.9rem}
.looks li::before{content:"";width:.35rem;height:.35rem;border-radius:50%;background:var(--primary);margin-top:.5rem}
.steps{display:grid;gap:2.5rem;margin-top:3.5rem}
@media (min-width:768px){.steps{grid-template-columns:repeat(4,1fr);gap:2rem}}
.step .num{font-size:.75rem;letter-spacing:.1em;color:var(--primary);margin-bottom:1.25rem}
.step h3{font-size:1.375rem;margin-bottom:.75rem}
.step p{color:var(--muted-fg);line-height:1.7;font-size:.9375rem}

/* About page */
.two-col{display:grid;gap:2.5rem}
@media (min-width:992px){.two-col{grid-template-columns:3fr 1.2fr;gap:4rem;align-items:start}}
.two-col .h-sub{margin-bottom:1.75rem}
.figure{background:var(--muted);border:1px solid var(--border);border-radius:1rem;padding:2rem 2rem 1.75rem;text-align:center}
.figure svg{width:100%;height:auto;max-width:200px;margin:0 auto 1.25rem}
.figure p{font-size:.8125rem;color:var(--muted-fg);line-height:1.6}
.values{margin-top:3.5rem}
.values .card h3{font-size:1.5rem;margin-bottom:1rem}
.values .card p{color:var(--muted-fg);line-height:1.7}
.fit{background:var(--muted);border:1px solid var(--border);border-radius:1rem;padding:2rem}
.fit .eyebrow-caps{margin-bottom:1.5rem}
.fit li{display:grid;grid-template-columns:auto 1fr;gap:.75rem;font-size:.9375rem;line-height:1.5}
.fit li+li{margin-top:1rem}
.fit li::before{content:"";width:.35rem;height:.35rem;border-radius:50%;background:var(--primary);margin-top:.5rem}
.team .h-section{margin-top:1rem;margin-bottom:1.25rem}
.team .lead{margin-top:0;margin-bottom:2.5rem}
.team hr{border:0;border-top:1px solid var(--border);margin:2.5rem 0}
.team .closing{font-size:1.0625rem;line-height:1.7;color:var(--fg)}
.facts{background:var(--card);border:1px solid var(--border);border-radius:1rem;padding:2rem;margin-top:1rem}
.facts dt{font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--primary);font-weight:500}
.facts dd{margin:.35rem 0 1.25rem;font-size:.9375rem}
.facts dd:last-child{margin-bottom:0}

/* Contact page */
.contact-grid{display:grid;gap:3rem}
@media (min-width:992px){.contact-grid{grid-template-columns:1.6fr 1fr;gap:4rem;align-items:start}}
.contact-grid .h-sub{font-size:1.5rem;margin-bottom:1.25rem}
.note{display:flex;gap:.75rem;align-items:baseline;background:var(--muted);border:1px solid var(--border);border-radius:.75rem;padding:1rem 1.25rem;margin-top:1.75rem;font-size:.9375rem;color:var(--fg)}
.note::before{content:"";width:.4rem;height:.4rem;border-radius:50%;background:var(--primary);flex-shrink:0;position:relative;top:-.1rem}
.expect{margin-top:4rem}
.expect ol{margin:1.75rem 0 0;padding:0;list-style:none;display:grid;gap:1.75rem}
.expect li{display:grid;grid-template-columns:2.5rem 1fr;gap:.25rem}
.expect .num{font-size:.75rem;letter-spacing:.1em;color:var(--primary);padding-top:.25rem}
.expect h4{font-family:var(--sans);font-size:1rem;font-weight:500;margin-bottom:.35rem}
.expect p{color:var(--muted-fg);line-height:1.7;font-size:.9375rem}
.form-card{background:var(--muted);border:1px solid var(--border);border-radius:1rem;padding:2.25rem}
.form-card h2{font-size:1.5rem;margin-bottom:1.5rem}
.field{margin-bottom:1.25rem}
.field label{display:block;font-size:.75rem;font-weight:500;margin-bottom:.5rem}
.field input,.field select,.field textarea{width:100%;background:var(--bg);border:1px solid var(--border);border-radius:.75rem;padding:.75rem 1rem;font:inherit;font-size:.875rem;color:var(--fg);outline:none;transition:border-color .2s,box-shadow .2s}
.field input::placeholder,.field textarea::placeholder{color:var(--muted-fg);opacity:.8}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px hsl(20 53% 51% / .15)}
.field textarea{min-height:8.5rem;resize:vertical}
.form-card .btn{width:100%;padding:.9375rem 1.5rem;margin-top:.25rem}
.form-status{margin-top:1rem;font-size:.875rem;color:var(--muted-fg);min-height:1.25rem}
.honeypot{position:absolute;left:-9999px;opacity:0;height:0;width:0}
@media (max-width:640px){.blob-tr{width:320px;height:320px;top:-4rem;right:-5rem}.blob-cta{width:260px;height:260px}.h-display{font-size:2.75rem}.card,.form-card{padding:1.75rem}.tab{text-align:left;padding:1rem 1.25rem}.tab small{display:inline;margin-right:.75rem}}

/* Blog */
.post-grid{display:grid;gap:1.5rem}
@media (min-width:768px){.post-grid{grid-template-columns:1fr 1fr}}
.post-card{display:flex;flex-direction:column;background:var(--muted);border:1px solid var(--border);border-radius:1rem;padding:2.25rem;transition:transform .2s,box-shadow .2s}
.post-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.05)}
.post-card h3{font-size:1.625rem;line-height:1.2;margin:.75rem 0 1rem}
.post-card p{color:var(--muted-fg);line-height:1.7}
.post-meta{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.8125rem;font-weight:500;color:var(--primary);margin:0}
.post-meta span+span::before{content:"·";margin-right:1.25rem;opacity:.5}
.post-meta a{color:var(--primary)}
.post-more{margin-top:auto;padding-top:1.5rem;font-size:.875rem;font-weight:500;color:var(--primary)}
.post-head .h-section{margin-top:1.25rem}
.post-head .lead{margin-top:1.25rem}
.post-body{max-width:44rem;color:var(--fg);font-size:1.125rem;line-height:1.75}
.post-body p{margin:0 0 1.5rem}
.post-body h2{font-size:1.75rem;line-height:1.2;margin:2.75rem 0 1rem}
.post-body h3{font-size:1.375rem;margin:2.25rem 0 .75rem}
.post-body ul,.post-body ol{margin:0 0 1.5rem 1.25rem;padding:0}
.post-body ul{list-style:disc}.post-body ol{list-style:decimal}
.post-body li{margin-bottom:.5rem}
.post-body blockquote{margin:2rem 0;padding:1.5rem 1.75rem;background:var(--muted);border-left:3px solid var(--primary);border-radius:.75rem;font-family:var(--serif);font-size:1.25rem;line-height:1.45}
.post-body blockquote p{margin:0}
.post-body a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}
.post-body strong{font-weight:600}
.post-nav{display:grid;gap:1rem;max-width:44rem;margin-top:4rem;padding-top:2rem;border-top:1px solid var(--border)}
@media (min-width:640px){.post-nav{grid-template-columns:1fr 1fr}}
.post-nav a{font-family:var(--serif);font-size:1.125rem;line-height:1.3}
.post-nav a small{display:block;font-family:var(--sans);font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--primary);margin-bottom:.35rem}
.post-nav a.next{text-align:right}
@media (min-width:992px){.post-grid-3{grid-template-columns:repeat(3,1fr)}}
.post-grid-3 .post-card{padding:1.75rem}
.post-grid-3 .post-card h3{font-size:1.375rem}
.post-grid-3 .post-card p{font-size:.9375rem}
