/* 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:13px;letter-spacing:.06em;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:clamp(40px,6vw,72px);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:32px}
.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:28px;color:#eaeaea}
.process-intro h2 span{background:linear-gradient(transparent 82%,#7ee0b5 82%,#7ee0b5 90%,transparent 90%)}
.process-intro p{font-family:var(--mont);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:15px}
.step h3{font-family:var(--mont);font-weight:700;font-size:17px;margin:0 0 .35em}
.step p{font-family:var(--mont);font-size:15px;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:clamp(30px,3.4vw,40px)}
.insights-teaser .lead{max-width:520px;margin:0 auto 40px;font-size:14px}
.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:clamp(30px,3.4vw,40px)}
.clients .lead{font-size:13px;margin-bottom:46px}
.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:80px;width:max-content;animation:scroll 40s linear infinite;align-items:center}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track img{height:64px;width:auto;object-fit:contain}
.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:34px;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:13px;color:#ddd}
.footer-bottom p{max-width:560px;margin:0}
.footer-nav{display:flex;gap:28px;justify-content:flex-end;margin-top:24px}
.footer-nav a{font-size:12px;letter-spacing:.06em;text-decoration:none}

/* ---------- 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:15px;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}
  .footer-nav{justify-content:flex-start;flex-wrap:wrap}
  .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}
