/* Mitchell Madison Group - site styles
   Fonts: Wix Madefor Display / Text and Montserrat (Google Fonts, free) */
:root{
  --black:#000;
  --ink:#0b0b0c;
  --navy:#121f36;
  --navy-2:#1d2f4f;
  --indigo:#2b3577;
  --peri:#6f7eff;
  --light:#f6f6f6;
  --white:#fff;
  --muted:#b9bfcc;
  --accent:#e5533d;           /* logo bracket orange-red */
  --display:"Wix Madefor Display","Helvetica Neue",Arial,sans-serif;
  --text:"Wix Madefor Text","Helvetica Neue",Arial,sans-serif;
  --mont:"Montserrat","Helvetica Neue",Arial,sans-serif;
  --wrap:1180px;
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--text);font-size:16px;line-height:1.6;color:var(--white);background:var(--black);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,h4{font-family:var(--display);font-weight:400;line-height:1.15;margin:0 0 .6em}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 32px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- Header ---------- */
.site-header{position:fixed;inset:0 0 auto 0;z-index:50;transition:background .3s,box-shadow .3s}
.site-header.scrolled,.site-header.solid{background:rgba(0,0,0,.88);backdrop-filter:blur(8px);box-shadow:0 1px 0 rgba(255,255,255,.06)}
.header-inner{display:flex;align-items:center;gap:40px;height:88px}
.brand img{height:58px;width:auto}
.main-nav{display:flex;gap:34px;flex:1}
.main-nav a{font-family:var(--text);font-size:14px;text-decoration:none;color:var(--white);padding:6px 0;border-bottom:1px solid transparent}
.main-nav a:hover,.main-nav a.active{border-bottom-color:var(--white)}
.header-social{display:flex;gap:12px}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--white);color:var(--black)}
.icon-btn svg{width:13px;height:13px;fill:currentColor}
.menu-toggle{display:none;background:none;border:0;color:#fff;cursor:pointer;padding:8px}
.menu-toggle svg{width:28px;height:28px;stroke:currentColor}

/* ---------- Buttons ---------- */
.btn-pill{display:inline-flex;align-items:center;gap:10px;padding:16px 38px;border:1px solid currentColor;border-radius:999px;text-decoration:none;font-size:13px;letter-spacing:.08em;text-transform:uppercase;transition:background .2s,color .2s;background:transparent;cursor:pointer;font-family:var(--text)}
.btn-pill:hover{background:var(--white);color:var(--black)}
.btn-solid{background:var(--white);color:var(--black);border-color:var(--white)}
.btn-solid:hover{background:transparent;color:var(--white)}
.learn-more{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:14px}
.learn-more .circle{width:22px;height:22px;border:1px solid currentColor;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}
.learn-more svg{width:11px;height:11px;stroke:currentColor;fill:none}

/* ---------- Image placeholders (shown until real images are added) ---------- */
.ph{background:linear-gradient(135deg,#1d2f4f 0%,#3a4690 55%,#6f7eff 100%);position:relative;overflow:hidden}
.ph::after{content:attr(data-label);position:absolute;inset:auto 10px 10px auto;font-size:11px;letter-spacing:.05em;color:rgba(255,255,255,.55);text-transform:uppercase}
.cover{background-size:cover;background-position:center}

/* ---------- Home: hero ---------- */
.hero{min-height:100vh;display:flex;align-items:center;position:relative;background-color:#5b6a80}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.35))}
.hero .wrap{position:relative;width:100%}
.hero h1{font-size:60px;margin-bottom:.35em}
.hero p{font-size:20px;max-width:680px}

/* ---------- Home: firm ---------- */
.firm{background:var(--black)}
.firm-grid{display:grid;grid-template-columns:1fr 1fr;min-height:640px}
.firm-main{min-height:520px}
.firm-copy{padding:72px 56px;display:flex;flex-direction:column;justify-content:center}
.firm-copy h2{font-family:var(--display);font-weight:700;font-size:2.73vw}
.firm-copy p{font-size:16px;color:#e8e8e8}
.firm-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px}
.firm-thumbs > div{aspect-ratio:1/1;border-radius:4px}

/* ---------- Home: process ---------- */
.process{background:linear-gradient(180deg,#121f36 0%,#262f63 45%,#4652b8 80%,#6f7eff 100%);padding:110px 0 40px}
.process-grid{display:grid;grid-template-columns:5fr 7fr;gap:60px;align-items:start}
.process-intro{position:sticky;top:130px}
.process-intro h2{font-family:var(--mont);font-weight:700;font-size:2.34vw;color:#eaeaea}
.process-intro h2 span{position:relative;display:inline-block}
/* Hand-drawn green underline from the Wix site; it draws in left to right when the section scrolls into view */
.process-intro h2 span::after{content:"";position:absolute;left:0;right:.2em;top:1.16em;height:.354em;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200.001%20182.575%2010.187%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23B3F5A0%22%20fill-rule%3D%22evenodd%22%20d%3D%22M36.49.974a1.5%201.5%200%200%201-.877%201.93c-.814.306-1.49.582-2.045.828h96.749c4.196%200%208.428-.055%2012.676-.11%2010.386-.134%2020.878-.27%2031.233.39%201.359.086%202.836.342%204.117.677%201.219.318%202.473.76%203.238%201.314.203.148.45.357.647.642.203.294.415.766.326%201.348-.089.58-.431.97-.72%201.198a3%203%200%200%201-.877.461c-1.052.367-2.882.536-5.582.536-21.429%200-42.86-.865-64.265-1.728l-.04-.001c-21.428-.864-42.83-1.727-64.235-1.727-.632%200-1.658.034-2.898.075-2.98.099-7.196.238-10.136.046-.46-.03-.91-.07-1.335-.12H1.5a1.5%201.5%200%201%201%200-3h27.369c.116-.399.343-.711.53-.92.31-.346.721-.645%201.159-.91.887-.54%202.208-1.134%204.002-1.807a1.5%201.5%200%200%201%201.93.878m106.146%205.654c10.919.335%2021.831.56%2032.739.56l.264-.001a18%2018%200%200%200-1.603-.181c-10.235-.652-20.543-.519-30.881-.385z%22/%3E%3C/svg%3E") no-repeat 0 0/100% 100%;clip-path:inset(0 100% 0 0);transition:clip-path .8s cubic-bezier(.645,.045,.355,1)}
.process-intro h2 span.in::after{clip-path:inset(0 0 0 0)}
.process-intro p{font-family:var(--text);font-size:1.567vw;color:#eaeaea;max-width:400px}
.steps{display:flex;flex-direction:column;gap:28px}
.step{display:grid;grid-template-columns:64px 1fr;gap:18px;padding:30px 34px;border-radius:28px;background:rgba(246,246,246,.86);color:var(--navy);backdrop-filter:blur(6px);box-shadow:0 10px 30px rgba(0,0,0,.15)}
.step .num{width:52px;height:52px;border:1.5px solid var(--navy);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--mont);font-weight:700;font-size:1.548vw}
.step h3{font-family:var(--mont);font-weight:700;font-size:1.548vw;margin:0 0 .35em}
.step p{font-family:var(--mont);font-size:max(15px,calc(7.9px + .578vw));margin:0}

/* ---------- Home: insights teaser ---------- */
.insights-teaser{background:linear-gradient(180deg,#6f7eff 0%,#6f7eff 100%);padding:90px 0 60px;text-align:center}
.insights-teaser h2{font-size:3.594vw;line-height:1.2}
.insights-teaser .lead{max-width:520px;margin:0 auto 40px;font-size:1.236vw}
.post-feature{display:grid;grid-template-columns:1fr 1fr;max-width:760px;margin:0 auto 44px;background:var(--black);text-decoration:none;text-align:left;transition:transform .2s}
.post-feature:hover{transform:translateY(-3px)}
.post-feature .img{min-height:260px}
.post-feature .body{padding:32px 30px;display:flex;flex-direction:column}
.post-feature time{font-size:12px;color:#ddd;margin-bottom:12px}
.post-feature h3{font-size:28px;margin:0}

/* ---------- Home: clients ---------- */
.clients{background:var(--peri);padding:40px 0 90px;text-align:center;color:var(--black)}
.clients h2{font-size:3.594vw;line-height:1.2;margin-bottom:20px} /* matches Wix: 49px at 1366, 69px at 1920 */
.clients .lead{font-size:1.236vw;line-height:1.6;margin-bottom:46px} /* 16.9px at 1366, 23.8px at 1920 */
@media (max-width:750px){.clients h2{font-size:24px;margin-bottom:16px}.clients .lead{font-size:12.9px}}
.marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee-track{display:flex;gap:101px;width:max-content;animation:scroll 40s linear infinite;align-items:center}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track img{width:12.3vw;height:12.3vw;object-fit:contain} /* matches Wix: 168px at 1366, 237px at 1920 */
@media (max-width:750px){.marquee-track img{width:30.4vw;height:30.4vw}} /* 114px at 375 */
.logo-ph{height:64px;width:150px;border:1px dashed rgba(0,0,0,.35);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:11px;color:rgba(0,0,0,.55)}
@keyframes scroll{to{transform:translateX(-50%)}}

/* ---------- Page heads ---------- */
.page{padding-top:140px;min-height:70vh}
.page-title{font-size:clamp(36px,4.5vw,56px);text-align:center}
.page-intro{max-width:720px;margin:0 auto 60px;text-align:center;color:#e6e6e6}

/* ---------- About ---------- */
.leaders{padding:40px 0 80px}
.leaders h2{font-size:clamp(32px,4vw,48px);margin-bottom:48px}
.leader-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:56px 44px}
.leader .photo{aspect-ratio:4/5;border-radius:6px;margin-bottom:22px;overflow:hidden}
.leader .photo img{width:100%;height:100%;object-fit:cover}
.leader h3{font-size:22px;margin:0 0 4px}
.leader .role{font-weight:700;font-size:15px;margin:0}
.leader .org{font-size:13px;color:var(--muted);margin:0}
.leader .desc{margin:14px 0 18px;font-size:15px;color:#e0e0e0}
.our-firm{background:linear-gradient(180deg,#000 0%,#121f36 30%,#2b3577 100%);padding:100px 0}
.our-firm-grid{display:grid;grid-template-columns:7fr 4fr;gap:70px;align-items:center}
.our-firm h2{font-size:clamp(32px,4vw,48px)}
.our-firm .q{font-weight:700;margin-top:26px}
.our-firm ul{padding-left:20px;margin:0}
.our-firm li{margin:4px 0}
.our-firm-img{aspect-ratio:3/5;border-radius:4px}
.numbers{background:linear-gradient(180deg,#2b3577 0%,#000 70%);padding:80px 0 120px;text-align:center}
.numbers h2{font-size:clamp(32px,4vw,48px);margin-bottom:60px}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.stat{padding:30px 10px;border:1px solid rgba(255,255,255,.18);border-radius:var(--radius);background:rgba(255,255,255,.03)}
.stat .n{font-family:var(--display);font-size:48px;line-height:1}
.stat .l{font-size:14px;color:var(--muted);margin-top:10px}

/* ---------- Technology ---------- */
.tech h1{text-align:center;font-family:var(--display);font-weight:700;font-size:clamp(36px,4.5vw,52px)}
.tech h2{font-family:var(--display);font-weight:700;font-size:clamp(26px,3vw,34px);margin-top:1.4em}
.tech ul{padding-left:22px}
.tech .callout{font-size:20px;margin-top:20px}
.tech .callout strong{color:var(--white)}
.white-card{background:var(--white);border-radius:24px;padding:28px;margin:34px 0 10px}
.white-card img{margin:0 auto}
.taxonomy{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin:36px 0 20px}
.tax{border-radius:22px;padding:26px 20px;background:linear-gradient(160deg,#1d2f4f,#2b3577);border:1px solid rgba(255,255,255,.12);text-align:center;transition:transform .2s,border-color .2s}
.tax:hover{transform:translateY(-4px);border-color:var(--peri)}
.tax svg{width:44px;height:44px;stroke:#c9d0ff;fill:none;stroke-width:1.6;margin:0 auto 14px}
.tax h3{font-family:var(--display);font-weight:700;font-size:20px;margin:0 0 12px}
.tax .subs{display:flex;flex-direction:column;gap:8px}
.tax .subs span{display:block;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.08);font-size:13px}
.tax-scale{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:60px}
.tech-split{display:grid;grid-template-columns:5fr 6fr;gap:50px;align-items:center;margin:30px 0 100px}
.tech-split figcaption{font-size:13px;color:var(--muted);margin-top:10px;text-align:center}

/* ---------- People ---------- */
.people-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.person{position:relative;text-align:center;background:var(--black)}
.person .pic{display:block;position:relative;aspect-ratio:1/1.05;overflow:hidden}
.person .pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .35s}
.person .pic .hobby{opacity:0}
.person .pic .tag{position:absolute;inset:auto 0 0 0;padding:16px 18px;font-size:13px;line-height:1.45;background:linear-gradient(transparent,rgba(0,0,0,.85));opacity:0;transition:opacity .35s;text-align:left}
.person:hover .pic .hobby,.person:focus-within .pic .hobby{opacity:1}
.person:hover .pic .formal,.person:focus-within .pic .formal{opacity:0}
.person:hover .pic .tag,.person:focus-within .pic .tag{opacity:1}
.person .name{font-size:15px;margin:12px 0 6px}
.person .name a{text-decoration:none}
.socials{display:flex;gap:10px;justify-content:center;padding-bottom:22px}
.socials a{color:#fff}
.socials svg{width:20px;height:20px;fill:currentColor}
.initials{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-size:52px;color:rgba(255,255,255,.75)}

/* ---------- Profile ---------- */
.profile{display:grid;grid-template-columns:7fr 5fr;gap:60px;align-items:start;padding-bottom:90px}
.profile .role-tag{display:inline-flex;align-items:center;gap:10px;font-size:13px;margin-bottom:14px}
.profile .role-tag::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--white)}
.profile h1{font-size:clamp(40px,5vw,60px);margin-bottom:24px}
.profile .bio p{color:#e4e4e4}
.profile .bio-photo{border-radius:10px;overflow:hidden;position:sticky;top:120px;aspect-ratio:4/5}
.profile .bio-photo img{width:100%;height:100%;object-fit:cover}
.profile .socials{justify-content:flex-start;margin-top:20px}
.back-link{display:inline-block;margin-bottom:30px;font-size:14px;color:var(--muted);text-decoration:none}
.back-link:hover{color:#fff}

/* ---------- Insights ---------- */
.book{display:grid;grid-template-columns:260px 1fr;gap:50px;align-items:center;padding:40px;border-radius:var(--radius);background:linear-gradient(135deg,#121f36,#2b3577);margin-bottom:90px}
.book-cover{aspect-ratio:2/3;border-radius:6px;box-shadow:0 20px 40px rgba(0,0,0,.4);overflow:hidden}
.book-cover img{width:100%;height:100%;object-fit:cover}
.book h2{font-size:30px}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding-bottom:100px}
.post-card{text-decoration:none;background:#0f1320;border:1px solid rgba(255,255,255,.08);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,border-color .2s}
.post-card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.3)}
.post-card .img{aspect-ratio:16/10}
.post-card .body{padding:22px 24px 28px}
.post-card time{font-size:12px;color:var(--muted)}
.post-card h3{font-size:22px;margin:8px 0 10px}
.post-card p{font-size:14px;color:#cfd3dc;margin:0}

/* ---------- Article ---------- */
.article{max-width:760px;margin:0 auto;padding-bottom:100px}
.article h1{font-size:clamp(34px,4.4vw,50px)}
.article .meta{color:var(--muted);font-size:14px;margin-bottom:34px}
.article h3{font-family:var(--display);font-weight:700;font-size:24px;margin-top:1.6em}
.article p,.article li{font-size:17px;line-height:1.75;color:#e9e9ec}
.article figure{margin:32px 0}
.article figure img{border-radius:10px;width:100%}
.article ol{padding-left:22px}
.article li{margin-bottom:12px}

/* ---------- Forms ---------- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.form-grid .full{grid-column:1/-1}
label{display:block;font-size:14px;margin-bottom:6px}
input[type=text],input[type=email],textarea{width:100%;padding:12px 2px;border:0;border-bottom:1px solid rgba(255,255,255,.6);background:transparent;color:#fff;font:inherit;outline:none}
input:focus,textarea:focus{border-bottom-color:var(--peri)}
textarea{min-height:120px;resize:vertical}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.check input{margin-top:5px}
.form-status{font-size:14px;margin-top:14px;min-height:1.2em}
.form-status.ok{color:#7ee0b5}.form-status.err{color:#ff9b8a}
.hp{display:none}
.contact-wrap{max-width:720px;margin:0 auto;padding-bottom:110px}
.contact-wrap .btn-pill{margin-top:10px}

/* ---------- Footer ---------- */
.site-footer{background:var(--black);padding:70px 0 36px;border-top:1px solid rgba(255,255,255,.06)}
.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px}
.footer-brand img{height:78px;width:auto;margin-bottom:22px}
.footer-brand .header-social{margin-bottom:16px}
.footer-brand a.mail{text-decoration:none}
.newsletter h2{font-size:3.125vw;margin-bottom:24px}
.newsletter .row{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center;margin-top:24px}
.newsletter .btn-pill{width:100%;justify-content:center;padding:12px}
.footer-bottom{display:flex;justify-content:space-between;gap:30px;margin-top:60px;font-size:14px;color:#ddd}
.footer-bottom p{max-width:560px;margin:0}

/* ---------- Reveal on scroll ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}.marquee-track{animation:none}}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .people-grid{grid-template-columns:repeat(3,1fr)}
  .taxonomy{grid-template-columns:repeat(3,1fr)}
  .leader-grid{grid-template-columns:repeat(2,1fr)}
  .post-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:820px){
  .wrap{padding:0 22px}
  .header-inner{height:74px}
  .brand img{height:46px}
  .menu-toggle{display:block;margin-left:auto}
  .main-nav{display:none;position:fixed;inset:74px 0 auto 0;background:rgba(0,0,0,.96);flex-direction:column;gap:0;padding:10px 22px 24px}
  .main-nav a{padding:14px 0;font-size:16px;border-bottom:1px solid rgba(255,255,255,.08)}
  .site-header.open .main-nav{display:flex}
  .site-header .header-social{display:none}
  .firm-grid,.process-grid,.our-firm-grid,.footer-grid,.profile,.tech-split,.book,.post-feature{grid-template-columns:1fr}
  .firm-copy{padding:48px 22px}
  .process-intro{position:static}
  .people-grid{grid-template-columns:repeat(2,1fr)}
  .taxonomy{grid-template-columns:repeat(2,1fr)}
  .leader-grid,.post-grid{grid-template-columns:1fr}
  .stat-grid{grid-template-columns:repeat(2,1fr)}
  .form-grid,.newsletter .row{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column}

  .profile .bio-photo{position:static;max-width:420px}
  .book{padding:28px}
  .book-cover{max-width:220px}
}

/* fixes */
button.btn-pill{color:var(--white)}
button.btn-pill.btn-solid{color:var(--black)}
button.btn-pill.btn-solid:hover{color:var(--white)}
.ph{min-height:240px}
.bio-photo .ph,.leader .photo .ph,.book-cover .ph,.post-card .img.ph,.firm-thumbs .ph,.person .ph{min-height:0;width:100%;height:100%}
.white-card .ph{min-height:320px;border-radius:12px}
.site-header.open{background:#000}

/* Profile pages: wide photo behind, text on the left (as on the Wix site) */
.profile-hero{position:relative;min-height:100vh;padding:140px 0 90px;background-size:cover;background-position:right center;background-color:#000}
.profile-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.94) 0%,rgba(0,0,0,.82) 38%,rgba(0,0,0,.25) 62%,rgba(0,0,0,0) 80%)}
.profile-copy{position:relative;max-width:560px}
.profile-copy .role-tag{display:flex;align-items:center;gap:10px;font-size:13px;margin-bottom:14px}
.profile-copy .role-tag::before{content:"";width:10px;height:10px;border-radius:50%;background:#fff}
.profile-copy h1{font-size:clamp(40px,5vw,60px);margin-bottom:24px}
.profile-copy .bio p{color:#e6e6e6;font-size:15px}
.profile-copy .socials{justify-content:flex-start;margin-top:20px}
@media (max-width:820px){
  .profile-hero{background-position:72% top;background-size:auto 70vh;background-repeat:no-repeat;padding-top:52vh}
  .profile-hero::before{background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.6) 40vh,#000 62vh)}
}
.leader .photo{display:block;aspect-ratio:4/5}
.leader .photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.leader-grid{align-items:start}

/* Article extras: links, quotes, audio, video, unordered lists */
.article a{color:#aab4ff}
.article a:hover{color:#fff}
.article ul{padding-left:22px}
.article blockquote{margin:28px 0;padding:6px 0 6px 22px;border-left:3px solid var(--peri);font-size:19px;color:#fff}
.article figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:8px}
.audio-card{margin:30px 0;padding:22px 24px;border-radius:14px;background:linear-gradient(135deg,#121f36,#2b3577);border:1px solid rgba(255,255,255,.12)}
.audio-card .audio-title{font-family:var(--display);font-size:18px;margin-bottom:12px}
.audio-card audio{width:100%}
.article .video video,.article .video iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:10px;background:#000}
.post-card .img{background-color:#121f36}
.tech-video{margin:0 0 110px}
.tech-video video{width:100%;aspect-ratio:16/9;border-radius:16px;background:#000;display:block}

/* ---------- Homepage text sizes matched to the Wix site (desktop sizes above scale with screen width) ---------- */
.insights-teaser .btn-pill,.newsletter .btn-pill{font-size:14px;letter-spacing:normal}
.newsletter .btn-pill{text-transform:none}
@media (max-width:750px){
  .hero h1{font-size:33.6px}
  .hero p{font-size:12.9px}
  .firm-copy h2{font-size:26px}
  .process-intro h2{font-size:32.3px}
  .process-intro p,.step .num,.step h3{font-size:13.8px}
  .step p{font-size:15px}
  .insights-teaser h2{font-size:24px}
  .insights-teaser .lead{font-size:12.9px}
  .newsletter h2{font-size:27.7px}
  .footer-brand a.mail{font-size:14px}
  .footer-bottom{font-size:12px}
}

/* "Our Insights" button: same as Wix - white outline pill; on hover it turns white and the arrow spins to point right */
.btn-arrow{width:249px;height:64px;padding:0 8px 0 0;justify-content:center;gap:0;border:1px solid #fff;color:#fff;text-transform:none;transition:background .2s,border-color .2s,color .2s}
.btn-arrow .label{margin-right:7px;font-size:14px;letter-spacing:0}
.btn-arrow .arrow{display:inline-flex;width:14px;height:14px;margin-left:7px;transition:transform .2s}
.btn-arrow .arrow svg{width:14px;height:14px;fill:currentColor}
.btn-arrow:hover{background:#fff;border-color:#000;color:#000}
.btn-arrow:hover .arrow{transform:rotate(317deg)}

/* "How clients work with us": layout and peach arrow matched to the Wix site (desktop only, like Wix) */
.poke-arrow{display:none}
@media (min-width:1001px){
  .process .process-grid{max-width:none;padding:0 0 0 1.56vw;grid-template-columns:33.5vw 38.6vw;column-gap:16.1vw}
  .poke-arrow{display:block;position:absolute;left:35vw;top:1.05vw;width:6.2vw;color:#EDBB9E;animation:poke 2s linear infinite}
  .poke-arrow svg{display:block;width:100%;height:auto;fill:currentColor}
}
@keyframes poke{0%{translate:0}10.2%{translate:13.3px}19.2%{translate:47.5px}28.8%{translate:15.2px}33.6%{translate:20.9px}39.6%{translate:47.5px}49.8%{translate:7.6px}60%,100%{translate:0}}
@media (prefers-reduced-motion:reduce){.poke-arrow{animation:none}.process-intro h2 span::after{clip-path:none;transition:none}}
/* Step cards: once faded in, follow the scroll tilt directly (no easing lag) */
.steps .step.reveal.in{transition:opacity .7s ease}

/* About page "Learn More": same as Wix - circled arrow; on hover the words spread out (letter spacing) */
.learn-more{gap:0;font-size:16px;color:#fff}
.learn-more .label{margin-right:5px;line-height:1.4em;letter-spacing:0;transition:letter-spacing .2s}
.learn-more:hover .label{letter-spacing:.1em}
.learn-more .icon{display:inline-flex;width:35px;height:35px;margin-left:5px;transform:rotate(270deg)}
.learn-more .icon svg{width:100%;height:100%;fill:#fff;stroke:none}
@media (max-width:1000px){.learn-more{font-size:14px}.learn-more .icon{width:40px;height:40px}}

/* Homepage hero background video */
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero::before{z-index:1}
.hero .wrap{z-index:2}
@media (prefers-reduced-motion:reduce){.hero-video{display:none}}

/* Step cards: white card with a photo faded to 20%, like the Wix site */
.step{position:relative;overflow:hidden;background:#fff}
.step::before{content:"";position:absolute;inset:0;background:var(--bg,none) center/cover no-repeat;opacity:.2;pointer-events:none}
.step > *{position:relative}

/* About page office skyline: tall narrow strip like the Wix site (310x810 at 1366 wide) */
.our-firm-img{aspect-ratio:310/810;width:22.7vw;max-width:100%}
@media (max-width:820px){.our-firm-img{width:100%;aspect-ratio:4/5;background-position:center 20%}}

/* ---------- Technology page: background video sections and photo tiles (matched to the Wix site) ---------- */
.page.tech{padding-top:0}
.tech-bg{position:relative;overflow:hidden;padding:40px 0 60px}
.tech-bg:first-child{padding-top:140px}
.tech-bg-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.tech-bg > .wrap{position:relative;z-index:1}
.taxonomy{display:flex;flex-wrap:wrap;justify-content:center;gap:4.5vw 4.9vw;margin:36px 0 20px}
.tax{position:relative;width:25.7vw;aspect-ratio:1;padding:0;border:0;border-radius:22px;overflow:hidden;background:#111;text-align:center}
.tax:hover{transform:none;border-color:transparent}
.tax.reveal.in{transition:opacity .7s ease}
.tax-main{position:absolute;inset:0;background:center/cover no-repeat}
.tax h3{position:absolute;left:0;right:0;top:66.4%;margin:0;font-family:var(--text);font-weight:700;font-size:2.93vw;line-height:1.2;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.55)}
.tax-hover{position:absolute;inset:0;opacity:0;transition:opacity .4s ease-in-out}
.tax:hover .tax-hover,.tax:focus .tax-hover,.tax:focus-within .tax-hover{opacity:1}
.tax-sub{position:absolute;left:6.3%;width:87.7%;height:39.6%;background:center/cover no-repeat;display:flex;align-items:center;justify-content:center;border-radius:6px}
.tax-sub:nth-child(1){top:9.1%}
.tax-sub:nth-child(2){top:53.3%}
.tax-sub span{font-family:var(--text);font-weight:700;font-size:1.83vw;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.65)}
@media (max-width:820px){
  .tax{width:80vw}
  .tax h3{font-size:32px}
  .tax-sub span{font-size:20px}
}
@media (prefers-reduced-motion:reduce){.tech-bg-video{display:none}}
/* Tiles row is wider than the text column (3 x 351px + gaps at 1366), so let it extend past the margins like Wix */
.taxonomy{width:86.9vw;margin-left:calc(50% - 43.45vw);margin-right:0}
@media (max-width:820px){.taxonomy{width:auto;margin-left:0}}

/* Technology tiles: clickable photo strips open a pop-up, like the Wix site */
.tax-hover{pointer-events:none}
.tax:hover .tax-hover,.tax:focus .tax-hover,.tax:focus-within .tax-hover{pointer-events:auto}
button.tax-sub{border:0;padding:0;cursor:pointer;font:inherit}
button.tax-sub span{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.tax-pop{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:rgba(135,135,135,.9);padding:20px}
.tax-pop[hidden]{display:none}
.tax-pop-box{position:relative;width:min(400px,100%);min-height:400px;background:#fff;color:#000;padding:22px 30px 26px 18px;overflow:hidden;font-family:var(--text);animation:popIn .3s ease}
.tax-pop-bg{position:absolute;inset:0;background:center/cover no-repeat;opacity:.1;pointer-events:none}
.tax-pop-box > *:not(.tax-pop-bg){position:relative}
.tax-pop-box h3{font-family:var(--text);font-size:25px;line-height:40px;font-weight:400;margin:0 0 8px}
.tax-pop-box p,.tax-pop-box li{font-size:15px;line-height:24px;margin:0}
.tax-pop-box p + p{margin-top:24px}
.tax-pop-box ul{margin:0;padding-left:34px}
.tax-pop-close{position:absolute !important;top:10px;right:12px;width:32px;height:32px;border:0;background:none;font-size:34px;line-height:1;color:#000;cursor:pointer}
@keyframes popIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
/* Technology background video at 30% over black, the same as the Wix site */
.tech-bg{background:#000}
.tech-bg-video{opacity:.3}
