:root{--blue:#1f4673;--blue2:#244c79;--gold:#ab7e2b;--gold-light:#c3a37a;--paper:#f1f0ee;--ink:#120a04;--white:#fff;--shadow:0 4px 10px rgba(0,0,0,.22)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.shell{width:1400px;max-width:calc(100% - 48px);margin-inline:auto}.section{position:relative}h1,h2,h3,p{margin-top:0}.gold-rule,.light-rule{display:block;width:189px;height:1px;background:var(--gold)}.light-rule{background:#fff}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:5px;color:#fff;font-family:"EB Garamond",serif;font-size:23px;font-weight:700;line-height:1;height:53px;padding:0 30px;transition:filter .2s,transform .2s}.button:hover{filter:brightness(1.08);transform:translateY(-1px)}.button img{width:22px;height:22px}.button-blue{background:var(--blue)}.button-gold{background:linear-gradient(88deg,#c3a37a 0%,#ae8a40 100%)}.button-wide{padding-inline:24px}
.site-header{height:164px;background:#fff;position:relative;z-index:20}.topbar{height:56px;border-bottom:1px solid var(--blue);display:flex;align-items:center;font-family:"Playfair Display",serif;font-size:17px}.top-item{display:flex;align-items:center;gap:13px;white-space:nowrap}.top-item img{width:22px;height:22px}.address{margin-left:87px;display:flex;gap:17px;align-items:center}.address img{width:21px;height:27px}.follow{font-size:20px;margin-left:auto}.social-icon{margin-left:17px}.social-icon img{width:27px;height:27px}.navbar{height:108px;display:flex;align-items:center}.brand{width:223px;height:88px;display:flex;align-items:center;gap:8px}.brand .brand-mark{width:92px;height:88px;object-fit:contain}.brand .brand-type{width:121px;height:84px;object-fit:contain}.nav-links{display:flex;align-items:center;gap:31px;margin-left:136px;font-family:"Playfair Display",serif;font-size:20px}.nav-links a{white-space:nowrap}.nav-links a:hover{color:var(--gold)}.header-cta{margin-left:auto;width:200px;font-family:"Playfair Display",serif;font-size:22.7px}.menu-toggle{display:none}
.hero{height:533px;background:url('assets/hero.png') center 48%/cover no-repeat;position:relative;color:#fff}.hero-shade{position:absolute;inset:0;background:linear-gradient(97deg,rgba(36,76,121,.84) 43%,rgba(31,70,115,.756) 98%)}.hero-content{position:relative;z-index:1;width:820px;max-width:calc(100% - 40px);margin:auto;text-align:center;padding-top:105px}.hero h1{font-family:"Playfair Display",serif;font-size:41px;line-height:1.32;margin-bottom:24px}.hero p{font-size:24px;line-height:1.1;margin:0 auto 33px;width:747px;max-width:100%}.hero .button{width:211px;font-family:"Playfair Display",serif;font-size:24px}
.about{height:590px;display:flex}.about-copy{width:805px;padding-top:78px}.eyebrow{color:var(--gold);font-family:"Playfair Display",serif;font-size:24px;margin-bottom:8px}.about h2{color:var(--blue);font-family:"Playfair Display",serif;font-size:32px;line-height:1.35;margin:9px 0 14px}.body-copy{font-size:18px;font-weight:300;line-height:1.2}.body-copy p{margin-bottom:10px}.about .button{margin-top:27px;width:256px}.about-art{margin-left:auto;width:452px;position:relative;height:100%}.scales{position:absolute;width:640px;max-width:none;height:640px;object-fit:contain;left:-104px;top:-63px;z-index:2}.about-art .shadow{position:absolute;width:425px;height:75px;left:-1px;bottom:43px;background:rgba(31,70,115,.27);filter:blur(20px);border-radius:50%}
.differences{height:312px;color:#fff;background:url('assets/differences.png') center 50%/cover no-repeat}.difference-shade{position:absolute;inset:0;background:radial-gradient(circle at center,rgba(31,70,115,.9),rgba(36,76,121,.82))}.difference-inner{position:relative;padding-top:37px}.differences h2{text-align:center;font-family:"Playfair Display",serif;font-size:36px;margin-bottom:10px}.differences .light-rule{margin:auto}.difference-grid{display:grid;grid-template-columns:repeat(5,1fr);margin-top:48px}.difference-grid article{display:flex;align-items:center;gap:13px;padding-right:16px}.difference-grid img{width:84px;height:85px;object-fit:contain;flex:none}.difference-grid p{font-size:16px;line-height:1.2;margin:0}
.practice{height:898px;padding-top:55px}.section-heading{text-align:center}.section-heading h2{font-family:"Playfair Display",serif;color:var(--gold);font-size:32px;margin-bottom:9px}.section-heading .gold-rule,.section-heading .light-rule{margin:auto}.section-heading p{font-size:20px;line-height:1.1;margin-top:17px}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px 20px;margin-top:60px}.practice-card{height:285px;border:1px solid #bd9c59;border-radius:5px;padding:25px 21px 20px;position:relative;box-shadow:0 2px 7px rgba(28,48,67,.08)}.practice-card:before{content:"";position:absolute;left:20px;top:3px;width:84px;height:2px;background:var(--gold)}.practice-card>img{width:78px;height:78px;object-fit:contain;margin-bottom:12px}.practice-card h3{font-family:"Playfair Display",serif;color:var(--blue);font-size:25px;line-height:1.25;margin:0 0 14px}.practice-card p{font-size:16px;line-height:1.35;margin:0;max-width:405px}.practice-cta{background:var(--blue);color:#fff;padding:38px 33px}.practice-cta:before{display:none}.practice-cta h3{color:#fff;font-size:27px;max-width:390px}.practice-cta p{font-size:20px;font-weight:600;margin:25px 0 18px}.practice-cta .button{width:256px}
.team{height:970px;color:#fff;background:url('assets/team-bg.png') center/cover no-repeat}.team-shade{position:absolute;inset:0;background:radial-gradient(circle at 50% 45%,rgba(31,70,115,.88),rgba(36,76,121,.94))}.team-inner{position:relative;padding-top:39px}.section-heading.light h2{color:#fff;font-size:36px}.section-heading.light p{color:#fff;margin-top:17px}.team-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px 32px;margin-top:69px}.person{height:318px;display:grid;grid-template-columns:252px 1fr;align-items:center}.person>img{width:252px;height:318px;object-fit:cover;box-shadow:var(--shadow)}.person>div{min-height:295px;background:#fff;color:var(--ink);padding:42px 28px 25px}.person h3{font-family:"Playfair Display",serif;color:var(--blue);font-size:25px;margin:0 0 5px}.person strong{color:var(--gold);font-size:16.7px}.person p{font-size:15px;line-height:1.38;margin-top:18px}.person:nth-child(3),.person:nth-child(4){height:295px}.person:nth-child(3)>img,.person:nth-child(4)>img{height:295px}.person:nth-child(3)>div,.person:nth-child(4)>div{padding-top:55px}
.testimonials{height:622px;padding-top:54px}.reviews-row{display:grid;grid-template-columns:222px repeat(3,1fr);gap:30px;margin-top:62px;align-items:center}.rating-summary{text-align:center;color:var(--blue);font-family:"EB Garamond",serif}.rating-summary strong,.rating-summary b,.rating-summary span{display:block}.rating-summary strong{font-size:46px;line-height:1}.rating-summary b{font-size:24px;margin-top:10px}.rating-summary span{font-size:20px;margin-top:8px}.stars{color:#ffb500;font-family:Arial,sans-serif;letter-spacing:7px;font-size:26px;margin:10px 0}.review-card{height:298px;background:#fff;box-shadow:var(--shadow);padding:28px 24px;font-size:14px;line-height:1.5}.review-head{display:grid;grid-template-columns:42px 1fr 25px;align-items:center;gap:10px}.avatar{width:40px;height:40px;border-radius:50%;background:var(--blue);display:grid;place-items:center;color:#fff;font-weight:700}.google{font-size:24px;color:#4285f4;font-weight:700}.stars.small{font-size:18px;letter-spacing:3px;margin:16px 0 14px}.review-card p{margin:0;color:#3b3b3b}
.cta-section{height:402px;color:#fff;background:url('assets/differences.png') center 65%/cover no-repeat}.cta-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(31,70,115,.25) 10%,rgba(36,76,121,.88) 48%)}.cta-content{position:relative;width:747px;margin-left:calc((100% - 1400px)/2);padding-top:64px;text-align:center}.cta-content h2{font-family:"Playfair Display",serif;font-size:41px;line-height:1.32;margin-bottom:13px}.cta-content p{font-size:20px;line-height:1.1;margin:0 0 12px}.cta-content .light-rule{margin:0 auto 23px}.cta-content .button{width:284px}
.blog{height:797px;padding-top:50px}.blog>h2{font-family:"EB Garamond",serif;color:var(--blue);font-size:42px;margin:0 0 4px 4px}.gold-rule.left{margin-left:4px;width:175px}.blog-intro{font-size:23px;margin:17px 0 40px 4px}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.blog-grid article{height:547px;background:#fff;border-radius:10px;box-shadow:var(--shadow);overflow:hidden}.blog-grid article>img{width:100%;height:244px;object-fit:cover}.blog-grid article>div{padding:29px 31px}.blog-grid h3{font-family:"Playfair Display",serif;color:var(--blue);font-size:22.4px;line-height:1.34;min-height:60px;margin-bottom:17px}.blog-grid p{font-size:18.3px;line-height:1.35;height:98px;margin-bottom:13px}.blog-grid a{color:var(--blue);font-size:18px;font-weight:700}
.footer{height:595px;border-top:3px solid var(--gold);background:#fff;padding-top:68px}.footer-grid{display:grid;grid-template-columns:330px 230px 250px 1fr;gap:95px}.footer h3{font-size:24px;margin:0 0 12px}.footer-grid>div>a{display:block;font-size:17px;font-weight:500;margin-bottom:12px}.footer-grid>div>p{font-size:17px;line-height:1.42;margin:0}.footer-logo{width:320px;height:126px;display:flex;align-items:center;gap:10px}.footer-logo img:first-child{width:132px;height:126px}.footer-logo img:last-child{width:173px;height:120px}.footer-brand>p{text-align:center;font-size:17px;line-height:1.15;margin:23px 0 30px}.footer-social{display:flex;justify-content:center;gap:21px}.footer-social img,.maps img{width:41px;height:41px}.maps{display:flex;gap:26px;margin-top:16px}.copyright{height:86px;border-top:1px solid #888;margin-top:58px;display:flex;align-items:center;padding-inline:6px;font-size:17px}.agency{margin-left:auto;color:var(--blue);font-weight:700;letter-spacing:1px}
@media(max-width:1200px){.address{margin-left:35px;font-size:14px}.nav-links{margin-left:45px;gap:18px;font-size:17px}.brand{width:190px}.header-cta{width:170px}.difference-grid p{font-size:13px}.footer-grid{gap:35px}.cta-content{margin-left:24px}}
@media(max-width:800px){.shell{max-width:calc(100% - 36px);width:auto}.site-header{height:112px}.topbar{height:38px;font-size:13px}.address,.follow,.topbar .social-icon{display:none}.navbar{height:74px}.brand,.brand img{width:158px;height:64px}.menu-toggle{display:flex;margin-left:auto;width:42px;height:38px;border:0;background:transparent;flex-direction:column;justify-content:center;gap:6px}.menu-toggle span{display:block;height:2px;background:var(--blue);width:27px}.header-cta{display:none}.nav-links{position:absolute;display:none;top:112px;left:0;right:0;margin:0;padding:22px;background:#fff;box-shadow:var(--shadow);flex-direction:column;align-items:flex-start}.menu-open .nav-links{display:flex}.hero{height:520px}.hero-content{padding-top:100px}.hero h1{font-size:34px}.hero p{font-size:18px;line-height:1.35}.about{height:auto;min-height:850px;display:block;padding-bottom:40px}.about-copy{width:auto;padding-top:55px}.about h2{font-size:29px}.about-art{height:350px;width:100%;margin-top:20px}.scales{width:430px;height:430px;left:50%;transform:translateX(-50%);top:-30px}.differences{height:auto;min-height:600px}.difference-grid{grid-template-columns:1fr 1fr;gap:24px}.difference-inner{padding-bottom:45px}.practice{height:auto;padding-bottom:55px}.practice-grid{grid-template-columns:1fr;margin-top:40px}.practice-card{height:auto;min-height:270px}.team{height:auto}.team-inner{padding-bottom:55px}.team-grid{grid-template-columns:1fr;gap:30px}.person{grid-template-columns:140px 1fr;height:auto}.person>img,.person:nth-child(3)>img,.person:nth-child(4)>img{width:140px;height:230px}.person>div,.person:nth-child(3)>div,.person:nth-child(4)>div{min-height:230px;padding:24px 18px}.person p{font-size:12px}.testimonials{height:auto;padding-bottom:55px}.reviews-row{grid-template-columns:1fr;margin-top:40px}.rating-summary{margin-bottom:15px}.cta-section{height:450px}.cta-content{width:auto;margin:0 22px;padding-top:70px}.cta-content h2{font-size:34px}.blog{height:auto;padding-bottom:55px}.blog-grid{grid-template-columns:1fr}.blog-grid article{height:auto}.footer{height:auto;padding-bottom:20px}.footer-grid{grid-template-columns:1fr;gap:40px}.footer-brand>p{text-align:left}.footer-social{justify-content:flex-start}.copyright{margin-top:40px}.blog-intro{font-size:18px}.difference-grid article{padding:0}.difference-grid img{width:64px;height:64px}.hero h1 br{display:none}}
@media(max-width:480px){.difference-grid{grid-template-columns:1fr}.person{display:block}.person>img,.person:nth-child(3)>img,.person:nth-child(4)>img{width:100%;height:330px;object-position:top}.section-heading h2{font-size:28px}.footer-brand>img{width:100%;max-width:320px}.blog-grid h3{min-height:0}.blog-grid p{height:auto}.hero-content{padding-top:70px}.hero h1{font-size:31px}}
@media(max-width:800px){.brand{width:158px;height:64px;gap:4px}.brand .brand-mark{width:64px;height:62px}.brand .brand-type{width:86px;height:60px}}
@media(max-width:480px){.footer-logo{width:100%;max-width:320px}}
.reviews-row>.review-card{display:block;width:100%;height:298px;object-fit:fill;padding:0;font-size:initial;line-height:normal}

/* Header refinements: full-bleed divider and a slightly more compact logo. */
.site-header::after{content:"";position:absolute;z-index:1;top:55px;left:0;width:100%;height:1px;background:var(--blue);pointer-events:none}
.topbar{border-bottom:0}
.brand{width:205px;height:82px;gap:7px}
.brand .brand-mark{width:84px;height:81px}
.brand .brand-type{width:111px;height:77px}
.nav-links{margin-left:154px}
@media(max-width:1200px){.nav-links{margin-left:45px}}
@media(max-width:800px){.site-header::after{top:37px}.brand{width:150px;height:62px;gap:4px}.brand .brand-mark{width:61px;height:60px}.brand .brand-type{width:82px;height:57px}}

/* Hero composition from the Figma reference. */
.hero-content{padding-top:105px}
.hero h1{margin-bottom:0}
.hero h1::after{content:"";display:block;width:189px;height:1px;margin:14px auto 16px;background:rgba(255,255,255,.9)}
.hero p{max-width:747px;font-size:18px;line-height:1.4;margin-bottom:28px}
.button{white-space:nowrap;flex-wrap:nowrap}
@media(max-width:800px){.hero-content{padding-top:88px}.hero h1::after{width:150px;margin-top:13px}.hero p{font-size:18px;line-height:1.45}}

/* Vertically center the justice composition in the About section. */
.about-art{display:flex;align-items:center;justify-content:center}
.scales{top:50%;left:50%;width:650px;height:620px;max-width:none;transform:translate(-50%,-50%);object-fit:contain}

/* Keep body copy as breathable as the introductory banner text. */
.body-copy,.body-copy p,
.difference-grid p,
.section-heading p,
.practice-card p,
.person p,
.rating-summary span,
.cta-content p,
.blog-intro,
.blog-grid p,
.footer-grid>div>p,
.footer-brand>p{line-height:1.4}

/* Remove clipped frame strokes embedded at the top/right edges of Figma exports. */
.difference-grid img{clip-path:inset(2px 2px 0 0)}
.difference-grid p{font-size:15px}
.practice-card:before{top:-2px;height:4px;border-radius:999px}
.practice-cta:before{display:block}
.practice-cta p{font-weight:400;margin:8px 0 18px}

/* Keep every team portrait slightly raised above its information card. */
.person,.person:nth-child(3),.person:nth-child(4){height:295px;align-items:center}
.person>img,.person:nth-child(3)>img,.person:nth-child(4)>img{height:318px;border-radius:8px;position:relative;z-index:2;box-shadow:0 6px 12px rgba(0,0,0,.28)}
.person>div,.person:nth-child(3)>div,.person:nth-child(4)>div{height:295px;min-height:295px;border-radius:0 8px 8px 0;box-shadow:0 4px 9px rgba(0,0,0,.18)}
@media(max-width:800px){.person,.person:nth-child(3),.person:nth-child(4){height:auto}.person>img,.person:nth-child(3)>img,.person:nth-child(4)>img{height:230px}.person>div,.person:nth-child(3)>div,.person:nth-child(4)>div{height:auto;min-height:230px}}
@media(max-width:480px){.person>img,.person:nth-child(3)>img,.person:nth-child(4)>img{height:330px;border-radius:8px 8px 0 0}.person>div,.person:nth-child(3)>div,.person:nth-child(4)>div{border-radius:0 0 8px 8px}}

/* Google reviews carousel */
.reviews-carousel{position:relative;margin-top:55px}
.reviews-track{display:flex;align-items:stretch;gap:16px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 1px 10px}
.reviews-track::-webkit-scrollbar{display:none}
.google-review{flex:1 1 0;min-width:0;min-height:300px;height:auto;padding:20px;background:#f4f4f4;border-radius:13px;scroll-snap-align:start;font-family:Inter,Arial,sans-serif;color:#000}
.google-review header{display:grid;grid-template-columns:40px minmax(0,1fr) 22px;gap:14px;align-items:center}
.review-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:#fff;font-size:21px;font-weight:500}
.avatar-purple{background:#8424a6}.avatar-red{background:#d2390d}.avatar-slate{background:#40545c}.avatar-cyan{background:#0399a8}
.review-identity{display:flex;min-width:0;flex-direction:column}
.review-identity strong{overflow:hidden;font-size:15px;font-weight:700;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.review-identity small{margin-top:2px;color:#555;font-size:13px;line-height:1.2}
.google-logo{width:21px;height:21px;object-fit:contain}
.review-stars{display:flex;align-items:center;gap:7px;margin-top:10px;height:22px}
.review-stars>span{color:#fbbc04;font-family:Arial,sans-serif;font-size:21px;letter-spacing:1px;line-height:1}
.verified{display:grid;width:14px;height:14px;place-items:center;border-radius:50%;background:#4285f4;color:#fff;font-family:Arial,sans-serif;font-size:9px;line-height:1}
.google-review p{margin:8px 0 0;font-size:16px;line-height:1.45;overflow-wrap:break-word}
.carousel-arrow{display:none;position:absolute;z-index:3;top:50%;width:34px;height:34px;transform:translateY(-50%);border:0;border-radius:50%;background:var(--blue);box-shadow:0 2px 7px rgba(0,0,0,.25);color:#fff;cursor:pointer;font:28px/1 Arial,sans-serif}
.carousel-prev{left:-15px}.carousel-next{right:-15px}
@media(max-width:1100px){.google-review{flex:0 0 calc((100% - 16px)/2)}.carousel-arrow{display:grid;place-items:center}}
@media(max-width:650px){.reviews-carousel{margin-top:38px}.google-review{flex-basis:88%;min-height:300px;height:auto;padding:18px}.carousel-prev{left:-11px}.carousel-next{right:-11px}.google-review p{font-size:15px}}
.testimonials{height:auto;min-height:470px;padding-bottom:54px}
.cta-content p{margin-bottom:24px}
@media(max-width:800px){.testimonials{height:auto}}

/* Balanced blog-card typography and actions. */
.blog-grid article>div{height:303px;display:flex;flex-direction:column}
.blog-grid h3{display:-webkit-box;min-height:0;max-height:60px;margin-bottom:18px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;text-overflow:ellipsis}
.blog-grid p{display:-webkit-box;height:auto;max-height:79px;margin-bottom:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;text-overflow:ellipsis}
.blog-grid a{display:inline-flex;align-items:center;gap:9px;width:max-content;margin-top:auto;padding-top:18px}
.blog-grid a::after{content:"→";display:inline-block;font-family:Arial,sans-serif;font-size:22px;font-weight:400;line-height:1;transition:transform .2s ease}
.blog-grid a:hover::after{transform:translateX(4px)}
.blog-intro{font-size:20px}
.blog-grid p{font-size:16px}
.blog-grid a{margin-top:14px;padding-top:0}
.blog{height:720px}
.blog-grid article{height:auto;min-height:0}
.blog-grid article>div{height:auto}
@media(max-width:800px){.blog{height:auto}}

/* Footer rebuilt with the original Figma exports. */
.footer{height:595px;padding-top:68px}
.footer-grid{grid-template-columns:320px 200px 190px 284px;justify-content:space-between;gap:0;padding:0 12px}
.footer-logo-official{width:320px;height:126px;object-fit:contain}
.footer-brand>p{margin:23px 0 30px;text-align:center;font-size:17px;line-height:1.18}
.footer h3{margin:0 0 14px;font-size:24px;font-weight:600;line-height:1.2}
.footer-grid>div>a{margin-bottom:10px;font-size:17px;font-weight:600;line-height:1.25}
.footer-contact a{display:flex!important;align-items:center;gap:8px}
.footer-contact a img{width:21px;height:18px;object-fit:contain}
.footer-links a{width:max-content}
.footer-address p{font-size:17px;line-height:1.4}
.footer-social{gap:21px}
.footer-social a,.maps a{display:block}
.footer-social img,.maps img{width:41px;height:41px;object-fit:contain}
.maps{gap:26px;margin-top:16px}
.copyright{display:grid;height:86px;grid-template-columns:1fr auto 1fr;align-items:center;margin-top:58px;padding:0 6px;border-top:1px solid #888;font-size:17px}
.maxy-logo{width:104px;height:38px;grid-column:3;justify-self:end;margin-left:0;object-fit:contain}
.footer-legal{display:flex;grid-column:2;align-items:center;justify-self:center;gap:28px;line-height:1.35;text-align:center}
@media(max-width:1000px){.footer-grid{grid-template-columns:1fr 1fr;gap:45px}.footer{height:auto}.copyright{margin-top:45px}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr}.footer-brand>p{text-align:left}.footer-social{justify-content:flex-start}.maxy-logo{width:88px}.copyright{gap:20px;font-size:13px}}
.footer{height:512px}
.footer-grid>.footer-brand>p{margin:35px 0 25px;text-align:center}
@media(max-width:1000px){.footer{height:auto}}
@media(max-width:600px){.footer-grid>.footer-brand>p{text-align:left}}

/* Keep banner content centered against the full image height. */
.hero-content,.cta-content{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:0}
.button img{display:block;flex:0 0 22px;width:22px;height:22px;object-fit:contain;transform:translateY(1px)}

/* Definitive mobile layout — kept last to avoid conflicts with desktop fidelity rules. */
@media(max-width:800px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{min-width:0}
  .site-header,main,.footer,.hero,.about,.differences,.practice,.team,.testimonials,.cta-section,.blog{width:100%;max-width:100%}
  .shell{width:calc(100% - 32px);max-width:none;margin-right:16px;margin-left:16px}

  .site-header{height:108px}
  .site-header::after{top:36px;width:100vw}
  .topbar{height:37px;padding:0;font-size:12px}
  .top-item{gap:8px}
  .top-item img{width:17px;height:17px}
  .navbar{height:71px}
  .brand{width:145px;height:62px;gap:4px}
  .brand .brand-mark{width:59px;height:58px}
  .brand .brand-type{width:80px;height:56px}
  .menu-toggle{width:38px;height:38px;padding:0;align-items:flex-end}
  .menu-toggle span{width:25px}
  .nav-links{top:108px;width:100%;padding:24px 20px;gap:18px;font-size:18px}

  .hero{height:500px;background-position:59% center}
  .hero-content{width:calc(100% - 36px);max-width:none;margin:0 18px;padding:0}
  .hero h1{width:100%;font-size:30px;line-height:1.25;margin:0}
  .hero h1 br{display:none}
  .hero h1::after{width:140px;margin:15px auto 17px}
  .hero p{width:100%;font-size:15px;line-height:1.5;margin-bottom:25px}
  .hero .button{width:auto;min-width:190px;height:48px;padding:0 22px;font-size:19px}

  .about.shell{width:100%;max-width:none;height:auto;min-height:0;margin:0;padding:54px 20px 42px;display:flex;flex-direction:column}
  .about-copy{width:100%;padding:0}
  .eyebrow{font-size:18px;line-height:1.35;margin-bottom:7px}
  .about h2{font-size:28px;line-height:1.25;margin:11px 0 18px}
  .body-copy{font-size:15.5px;line-height:1.55}
  .body-copy p{margin-bottom:15px;line-height:1.55}
  .about .button{width:auto;min-width:225px;height:48px;margin-top:12px;padding:0 20px;font-size:19px;align-self:flex-start}
  .about-art{width:100%;height:390px;margin:22px 0 0;overflow:visible}
  .scales{top:50%;left:50%;width:440px;height:420px;max-width:none;transform:translate(-50%,-50%)}
  .about-art .shadow{bottom:22px;width:78%}

  .differences{height:auto;min-height:0;padding:43px 0 46px}
  .difference-inner{padding:0}
  .differences h2{font-size:29px;line-height:1.25;margin-bottom:10px}
  .difference-grid{grid-template-columns:1fr;gap:17px;margin-top:32px}
  .difference-grid article{min-height:72px;gap:15px;padding:0 4px}
  .difference-grid img{width:70px;height:70px;flex:0 0 70px}
  .difference-grid p{font-size:15px;line-height:1.45}

  .practice{height:auto;padding-top:48px;padding-bottom:50px}
  .section-heading h2{font-size:28px;line-height:1.25}
  .section-heading p{font-size:15.5px;line-height:1.5;margin-top:15px}
  .practice-grid{grid-template-columns:1fr;gap:17px;margin-top:34px}
  .practice-card{height:auto;min-height:230px;padding:22px 20px}
  .practice-card>img{width:68px;height:68px;margin-bottom:10px}
  .practice-card h3{font-size:23px;line-height:1.25;margin-bottom:12px}
  .practice-card p{font-size:15px;line-height:1.5}
  .practice-cta{min-height:245px;padding:31px 25px}
  .practice-cta h3{font-size:25px}
  .practice-cta p{font-size:17px;margin:8px 0 20px}
  .practice-cta .button{width:auto;min-width:225px;height:48px;font-size:19px}

  .team{height:auto;min-height:0;padding:45px 0 55px}
  .team-inner{padding:0}
  .section-heading.light h2{font-size:29px}
  .team-grid{grid-template-columns:1fr;gap:36px;margin-top:43px}
  .person,.person:nth-child(3),.person:nth-child(4){display:grid;grid-template-columns:135px minmax(0,1fr);height:auto;min-height:230px}
  .person>img,.person:nth-child(3)>img,.person:nth-child(4)>img{width:135px;height:245px;align-self:center}
  .person>div,.person:nth-child(3)>div,.person:nth-child(4)>div{height:auto;min-height:230px;padding:25px 17px}
  .person h3{font-size:19px;line-height:1.25}
  .person strong{font-size:13px}
  .person p{font-size:12px;line-height:1.45;margin-top:12px}

  .testimonials{height:auto;padding:45px 0 52px}
  .reviews-carousel{margin-top:34px}
  .google-review{flex:0 0 88%;min-height:300px;height:auto;padding:18px}
  .google-review p{font-size:15px;line-height:1.45}
  .carousel-prev{left:-10px}.carousel-next{right:-10px}

  .cta-section{height:430px}
  .cta-section::before{background-position:60% center}
  .cta-content{width:calc(100% - 36px);max-width:none;margin:0 18px;padding:0}
  .cta-content h2{font-size:30px;line-height:1.28;margin-bottom:16px}
  .cta-content p{font-size:15.5px;line-height:1.5;margin-bottom:25px}
  .cta-content .button{width:auto;min-width:245px;height:48px;font-size:19px}

  .blog{height:auto;padding:45px 0 52px}
  .blog>h2{font-size:35px;line-height:1.2;margin-left:0}
  .gold-rule.left{margin-left:0}
  .blog-intro{font-size:16px;line-height:1.5;margin:15px 0 28px}
  .blog-grid{grid-template-columns:1fr;gap:22px}
  .blog-grid article{height:auto}
  .blog-grid article>img{height:210px}
  .blog-grid article>div{height:auto;padding:24px 22px 25px}
  .blog-grid h3{font-size:21px;line-height:1.35;max-height:57px;margin-bottom:14px}
  .blog-grid p{font-size:15px;line-height:1.5;max-height:68px}
  .blog-grid a{font-size:16px;margin-top:13px}

  .footer{height:auto;padding:48px 0 18px}
  .footer-grid{grid-template-columns:1fr;gap:38px;padding:0}
  .footer-logo-official{width:275px;height:auto}
  .footer-grid>.footer-brand>p{margin:27px 0 23px;text-align:left;font-size:15px;line-height:1.4}
  .footer-social{justify-content:flex-start}
  .footer h3{font-size:21px;margin-bottom:14px}
  .footer-grid>div>a,.footer-address p{font-size:15px}
  .copyright{height:auto;min-height:82px;margin-top:40px;padding:20px 0;gap:20px;font-size:13px;line-height:1.4}
  .maxy-logo{width:88px;height:auto}
}

/* Blog cards and individual article pages. */
.blog-grid .blog-card-link{display:flex;flex-direction:column;width:100%;height:100%;margin:0;padding:0;color:inherit;text-decoration:none}
.blog-grid .blog-card-link::after{content:none}
.blog-card-link>img{width:100%;height:259px;object-fit:cover}
.blog-card-link>div{display:flex;flex-direction:column;flex:1;height:auto!important;padding:29px 31px;background:#fff}
.blog-card-link .read-more{display:inline-flex;align-items:center;gap:8px;margin-top:13px;color:var(--gold);font-size:18px;font-weight:600}
.blog-card-link .read-more::after{content:"→";font-family:Arial,sans-serif;font-size:22px;line-height:1;transition:transform .2s ease}
.blog-card-link:hover .read-more::after{transform:translateX(4px)}

.post-shell{display:grid;grid-template-columns:minmax(0,820px) 330px;gap:72px;padding-top:58px;padding-bottom:78px}
.post-cover{display:block;width:100%;height:440px;border-radius:22px;object-fit:cover;box-shadow:0 8px 24px rgba(18,51,86,.12)}
.post-meta{display:flex;align-items:center;gap:14px;margin-top:30px;color:var(--blue);font-size:14px;font-weight:600}
.post-meta span{padding:9px 13px;border-radius:7px;background:rgba(193,148,70,.14);color:var(--gold)}
.post-meta time{padding-left:14px;border-left:1px solid #d8d8d8}
.post-article>h1{margin:28px 0 15px;color:var(--blue);font-family:"Playfair Display",serif;font-size:42px;line-height:1.2}
.post-lead{margin:0;color:#28394b;font-size:18px;font-weight:600;line-height:1.55}
.post-share{display:flex;align-items:center;gap:12px;margin:22px 0 30px;padding-bottom:28px;border-bottom:1px solid #ddd;color:var(--blue);font-size:14px;font-weight:600}
.post-share a{display:grid;width:31px;height:31px;place-items:center;border-radius:50%;background:var(--blue)}
.post-share svg{width:17px;height:17px;display:block;fill:#fff}
.post-body{color:#25303b;font-size:17px;line-height:1.75}
.post-lead,.post-body p,.footer-address p{text-align:justify;text-align-last:left;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
.post-body p{margin:0 0 22px}
.post-body h2{margin:34px 0 12px;color:var(--blue);font-family:"Playfair Display",serif;font-size:28px;line-height:1.3}
.post-body blockquote{margin:32px 0;padding:22px 25px;border-left:4px solid var(--gold);border-radius:0 8px 8px 0;background:#f5f7fa;color:var(--blue);font-family:"Playfair Display",serif;font-size:21px;line-height:1.5}
.recent-posts{padding-top:5px}
.recent-heading{display:flex;align-items:center;gap:18px;margin-bottom:24px}
.recent-heading h2{margin:0;color:var(--gold);font-family:"Playfair Display",serif;font-size:25px;white-space:nowrap}
.recent-heading span{width:100%;height:1px;background:#d6d6d6}
.recent-card{display:grid;grid-template-columns:125px 1fr;gap:16px;margin-bottom:28px;color:inherit;text-decoration:none}
.recent-card img{width:125px;height:96px;border-radius:7px;object-fit:cover}
.recent-card h3{display:-webkit-box;overflow:hidden;margin:1px 0 7px;color:var(--blue);font-family:"Playfair Display",serif;font-size:18px;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.recent-card p{display:-webkit-box;overflow:hidden;margin:0;color:#5d6670;font-size:13px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.post-contact{padding:34px 0;background:var(--blue);color:#fff}
.post-contact .shell{display:flex;align-items:center;justify-content:space-between;gap:30px}
.post-contact h2{margin:0 0 6px;font-family:"Playfair Display",serif;font-size:29px}
.post-contact p{margin:0;font-size:16px}
.post-contact .button{min-width:190px}

@media(max-width:1000px){
  .post-shell{grid-template-columns:1fr;gap:50px}
  .recent-posts{padding-top:0}
  .recent-card{grid-template-columns:145px 1fr;max-width:560px}
  .recent-card img{width:145px;height:105px}
}

@media(max-width:800px){
  .blog-card-link>img{height:210px}
  .blog-card-link>div{padding:24px 22px 25px}
  .blog-card-link .read-more{font-size:16px;margin-top:13px}
  .post-shell{width:calc(100% - 32px);margin:0 16px;padding:32px 0 52px;gap:43px}
  .post-cover{height:270px;border-radius:12px}
  .post-meta{margin-top:22px;font-size:12px}
  .post-article>h1{margin-top:21px;font-size:30px;line-height:1.24}
  .post-lead{font-size:16px;line-height:1.55}
  .post-share{margin-top:19px}
  .post-body{font-size:15.5px;line-height:1.7}
  .post-body h2{margin-top:29px;font-size:24px}
  .post-body blockquote{padding:19px 20px;font-size:18px}
  .recent-heading h2{font-size:23px}
  .post-contact{padding:36px 0}
  .post-contact .shell{flex-direction:column;align-items:flex-start}
  .post-contact h2{font-size:25px}
}

@media(max-width:520px){
  .post-cover{height:225px}
  .post-article>h1{font-size:27px}
  .recent-card{grid-template-columns:112px 1fr;gap:13px}
  .recent-card img{width:112px;height:92px}
  .recent-card h3{font-size:17px}
  .recent-card p{font-size:12px;-webkit-line-clamp:2}
}

@media(max-width:520px){
  .hero h1{font-size:28px}
  .about h2,.section-heading h2{font-size:26px}
  .person,.person:nth-child(3),.person:nth-child(4){display:block}
  .person>img,.person:nth-child(3)>img,.person:nth-child(4)>img{width:100%;height:340px;border-radius:8px 8px 0 0;object-position:top}
  .person>div,.person:nth-child(3)>div,.person:nth-child(4)>div{min-height:0;border-radius:0 0 8px 8px;padding:24px 20px 26px}
  .person h3{font-size:21px}
  .person strong{font-size:14px}
  .person p{font-size:14px;line-height:1.5}
  .scales{width:405px;height:390px}
  .footer-logo-official{width:250px}
  .copyright{align-items:center}
}

.carousel-dashes{display:none}

@media(max-width:800px){
  .carousel-arrow{display:none!important}
  .reviews-track{padding-bottom:7px}
  .carousel-dashes{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:13px}
  .carousel-dash{width:24px;height:4px;padding:0;border:0;border-radius:999px;background:#d6d6d6;cursor:pointer;transition:width .2s ease,background-color .2s ease}
  .carousel-dash.is-active{width:38px;background:var(--gold)}

  /* Mobile-specific banner crops supplied in Figma. */
  .hero{background-image:url('assets/hero.png');background-position:59% center;background-size:cover;background-repeat:no-repeat}
  .hero-shade{background:linear-gradient(180deg,rgba(31,70,115,.82),rgba(36,76,121,.87))}

  .differences{position:relative;background:#1f4673;overflow:hidden}
  .differences::before{content:"";position:absolute;inset:0;z-index:0;background:url('assets/mobile-differences.jpg') 72% bottom/auto 76% no-repeat;transform:scaleX(-1)}
  .difference-shade{z-index:1;background:linear-gradient(176deg,#1f4673 27%,rgba(36,76,121,.84) 71%)}
  .difference-inner{z-index:2}

  .team{background-image:url('assets/hero.png');background-position:42% center;background-size:auto 100%;background-repeat:no-repeat;background-color:#1f4673}
  .team-shade{background:linear-gradient(180deg,rgba(31,70,115,.91),rgba(36,76,121,.88))}

  .cta-section::before{background-image:url('assets/differences.png');background-position:68% center;background-size:cover;background-repeat:no-repeat;transform:scaleX(-1)}
  .cta-shade{background:linear-gradient(180deg,rgba(31,70,115,.72),rgba(36,76,121,.9))}
}
.about-art .shadow{left:50%;bottom:34px;transform:translateX(-50%)}

/* Final CTA: copy on the left, photographic subject on the right. */
.cta-section{background:none;overflow:hidden}
.cta-section::before{content:"";position:absolute;inset:0;z-index:0;background:url('assets/differences.png') center 65%/cover no-repeat;transform:scaleX(-1)}
.cta-shade{z-index:1;background:linear-gradient(90deg,rgba(36,76,121,.94) 8%,rgba(36,76,121,.88) 44%,rgba(31,70,115,.25) 92%)}
.cta-content{z-index:2}
@media(max-width:800px){.scales{width:min(452px,100%);height:100%;top:50%}.about-art .shadow{bottom:28px}.cta-section::before{background-position:58% center}.cta-shade{background:linear-gradient(90deg,rgba(36,76,121,.94),rgba(36,76,121,.7))}}

/* Exact mobile banner exports supplied from Figma. */
@media(max-width:800px){
  .hero{
    background-image:url('banner-home-mobile.webp');
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
  }
  .hero-shade{background:transparent}

  .differences::before{
    background-image:url('banner-diferenciais-mobile.webp');
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    transform:none;
  }
  .difference-shade{background:transparent}

  .team{
    background-image:url('banner-equipe-mobile.webp');
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
  }
  .team-shade{background:transparent}

  .cta-section::before{
    background-image:url('banner-final-mobile.webp');
    background-position:center bottom;
    background-size:100% auto;
    background-repeat:no-repeat;
    transform:none;
  }
  .cta-shade{background:transparent}

  .cta-section{height:clamp(655px,calc(400px + 79.5vw),1035px)}
  .cta-content{
    justify-content:flex-start;
    padding-top:74px;
  }
}

/* Final mobile header polish. */
@media(max-width:800px){
  .site-header{height:108px}
  .topbar{
    display:flex;
    align-items:center;
    height:37px;
    gap:10px;
  }
  .topbar .address{display:none}
  .topbar .top-item{
    margin-right:auto;
    gap:7px;
    font-size:14px;
    line-height:1;
  }
  .topbar .top-item img{
    width:20px;
    height:20px;
  }
  .topbar .follow{
    display:inline;
    margin-left:0;
    font-size:13px;
    line-height:1;
    white-space:nowrap;
  }
  .topbar .social-icon{
    display:grid;
    place-items:center;
    width:22px;
    height:22px;
    margin-left:0;
  }
  .topbar .social-icon img{
    display:block;
    width:21px;
    height:21px;
    object-fit:contain;
  }
  .navbar{
    position:static;
    display:flex;
    align-items:center;
  }
  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    width:39px;
    height:39px;
    margin-left:auto;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
  }
  .menu-toggle span{
    display:block;
    width:25px;
    height:2px;
    margin:0;
    border-radius:999px;
    background:var(--blue);
  }
  .nav-links{
    position:absolute;
    top:108px;
    left:0;
    right:auto;
    width:100vw;
    max-width:100vw;
    box-sizing:border-box;
    margin:0;
    padding:22px 0 24px 58px;
    gap:19px;
    background:#fff;
    box-shadow:0 10px 18px rgba(0,0,0,.08);
    z-index:30;
  }
}

/* Only the logo/navigation row remains visible while scrolling. */
.navbar.is-fixed{
  position:fixed;
  top:0;
  right:0;
  left:0;
  width:100%;
  max-width:none;
  margin:0;
  padding-inline:max(24px,calc((100vw - 1400px)/2));
  background:#fff;
  box-shadow:0 3px 12px rgba(18,40,65,.12);
  z-index:50;
}

@media(max-width:800px){
  .navbar.is-fixed{padding-inline:18px}
  .navbar.is-fixed .nav-links{top:100%}
}

/* A little more breathing room between the blog cards and the footer. */
.blog{height:755px}
@media(max-width:800px){.blog{height:auto;padding-bottom:72px}}

/* Tablet layout: portrait and landscape, without changing phone or desktop. */
@media(min-width:601px) and (max-width:1199px){
  html,body{max-width:100%;overflow-x:hidden}
  .shell{width:calc(100% - 64px);max-width:none;margin-inline:32px}

  .site-header{height:128px}
  .site-header::after{top:41px}
  .topbar{height:42px;font-size:14px}
  .topbar .address{display:none}
  .topbar .top-item{margin-right:auto;gap:8px;font-size:14px}
  .topbar .top-item img{width:20px;height:20px}
  .topbar .follow{display:inline;margin-left:0;font-size:14px;white-space:nowrap}
  .topbar .social-icon{display:grid;width:23px;height:23px;margin-left:8px;place-items:center}
  .topbar .social-icon img{width:23px;height:23px}
  .navbar{height:86px}
  .brand{width:174px;height:72px;gap:5px}
  .brand .brand-mark{width:70px;height:69px}
  .brand .brand-type{width:96px;height:66px}
  .header-cta{display:none}
  .menu-toggle{
    display:flex;
    width:42px;
    height:42px;
    margin-left:auto;
    padding:0;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:6px;
    border:0;
    background:transparent;
  }
  .menu-toggle span{display:block;width:29px;height:2px;margin:0;border-radius:999px;background:var(--blue)}
  .nav-links{
    position:absolute;
    top:128px;
    right:0;
    left:0;
    display:none;
    width:100%;
    max-width:none;
    margin:0;
    padding:28px 32px 30px;
    align-items:flex-start;
    flex-direction:column;
    gap:20px;
    background:#fff;
    box-shadow:0 10px 18px rgba(0,0,0,.1);
    font-size:20px;
    z-index:40;
  }
  .menu-open .nav-links{display:flex}
  .navbar.is-fixed{padding-inline:32px}
  .navbar.is-fixed .nav-links{top:100%}

  .hero{height:520px}
  .hero-content{width:calc(100% - 96px);max-width:700px;margin-inline:auto}
  .hero h1{font-size:36px;line-height:1.28}
  .hero h1 br{display:initial}
  .hero h1::after{width:165px;margin:15px auto 18px}
  .hero p{width:100%;max-width:680px;font-size:17px;line-height:1.5;margin-bottom:28px}
  .hero .button{height:50px;min-width:200px;font-size:21px}

  .about.shell{display:flex;flex-direction:column;width:calc(100% - 64px);height:auto;min-height:0;margin-inline:32px;padding:60px 0 52px}
  .about-copy{width:100%;padding:0}
  .eyebrow{font-size:21px}
  .about h2{font-size:31px;line-height:1.3;margin-bottom:18px}
  .body-copy,.body-copy p{font-size:16px;line-height:1.58}
  .about .button{height:50px;margin-top:16px;font-size:20px}
  .about-art{width:100%;height:440px;margin:22px 0 0}
  .scales{width:520px;height:500px}

  .differences{height:auto;min-height:0;padding:49px 0 54px}
  .difference-inner{padding:0}
  .differences h2{font-size:33px}
  .difference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 34px;margin-top:40px}
  .difference-grid article{min-height:82px;padding:0;gap:15px}
  .difference-grid img{width:76px;height:76px;flex:0 0 76px}
  .difference-grid p{font-size:15px;line-height:1.48}

  .practice{height:auto;padding:55px 0 62px}
  .section-heading h2{font-size:31px}
  .section-heading p{max-width:720px;margin:17px auto 0;font-size:17px;line-height:1.5}
  .practice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:42px}
  .practice-card{height:auto;min-height:270px;padding:24px 22px}
  .practice-card>img{width:72px;height:72px}
  .practice-card h3{font-size:24px}
  .practice-card p{font-size:15.5px;line-height:1.5}
  .practice-cta{padding:32px 27px}
  .practice-cta h3{font-size:26px}
  .practice-cta p{font-size:18px}
  .practice-cta .button{width:max-content;max-width:100%;min-width:0;padding-inline:14px;gap:9px;font-size:18px}

  .team{height:auto;min-height:0;padding:52px 0 66px}
  .team-inner{padding:0}
  .section-heading.light h2{font-size:33px}
  .team-grid{grid-template-columns:1fr;gap:42px;max-width:850px;margin:50px auto 0}
  .person,.person:nth-child(3),.person:nth-child(4){grid-template-columns:190px minmax(0,1fr);height:auto;min-height:260px}
  .person>img,.person:nth-child(3)>img,.person:nth-child(4)>img{width:190px;height:285px;align-self:center}
  .person>div,.person:nth-child(3)>div,.person:nth-child(4)>div{height:auto;min-height:260px;padding:32px 25px}
  .person h3{font-size:22px}
  .person strong{font-size:14px}
  .person p{font-size:14px;line-height:1.52;margin-top:14px}

  .testimonials{height:auto;padding:52px 0 58px}
  .reviews-carousel{margin-top:40px}
  .reviews-track{gap:18px}
  .google-review{flex:0 0 calc((100% - 18px)/2);min-height:300px;height:auto;padding:19px}
  .google-review p{font-size:15px;line-height:1.45}
  .carousel-arrow{display:none!important}
  .carousel-dashes{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:14px}
  .carousel-dash{width:25px;height:4px;padding:0;border:0;border-radius:999px;background:#d6d6d6}
  .carousel-dash.is-active{width:39px;background:var(--gold)}

  .cta-section{height:520px}
  .cta-content{width:calc(100% - 96px);max-width:700px;margin-inline:auto}
  .cta-content h2{font-size:36px;line-height:1.3}
  .cta-content p{font-size:17px;line-height:1.5}
  .cta-content .button{height:50px;font-size:21px}

  .blog{height:auto;padding:55px 0 78px}
  .blog>h2{font-size:39px}
  .blog-intro{font-size:18px;line-height:1.5;margin-bottom:34px}
  .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .blog-grid article{height:auto}
  .blog-grid article:last-child{grid-column:1/-1;width:calc(50% - 12px);justify-self:center}
  .blog-card-link>img{height:225px}
  .blog-card-link>div{padding:25px 24px 27px}
  .blog-grid h3{font-size:21px}
  .blog-grid p{font-size:15.5px;line-height:1.5}

  .footer{height:auto;padding:56px 0 20px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 70px;padding:0}
  .footer-logo-official{width:285px;height:auto}
  .footer-grid>.footer-brand>p{margin:28px 0 24px;text-align:left;font-size:15.5px;line-height:1.45}
  .footer-social{justify-content:flex-start}
  .footer h3{font-size:22px}
  .footer-grid>div>a,.footer-address p{font-size:15.5px}
  .copyright{height:auto;min-height:82px;margin-top:48px;padding:20px 0;font-size:14px}

  .post-shell{grid-template-columns:1fr;gap:52px;padding:48px 0 65px}
  .post-cover{height:clamp(330px,45vw,430px);border-radius:18px}
  .post-article>h1{font-size:37px}
  .post-lead{font-size:17px}
  .post-body{font-size:16.5px;line-height:1.75}
  .recent-posts{max-width:720px;padding-top:0}
  .recent-card{grid-template-columns:150px 1fr;max-width:620px}
  .recent-card img{width:150px;height:108px}
}

@media(min-width:901px) and (max-width:1199px){
  .about.shell{display:grid;grid-template-columns:minmax(0,58%) minmax(0,42%);align-items:center;padding:58px 0}
  .about-copy{padding-right:24px}
  .about-art{height:520px;margin:0;overflow:visible}
  .scales{width:min(560px,50vw);height:min(540px,50vw)}
  .difference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 30px}
  .team-grid{max-width:900px}
  .person,.person:nth-child(3),.person:nth-child(4){grid-template-columns:225px minmax(0,1fr)}
  .person>img,.person:nth-child(3)>img,.person:nth-child(4)>img{width:225px;height:300px}
}

@media(min-width:601px) and (max-width:800px){
  .cta-section::before{background-size:cover;background-position:center bottom}
}

@media(min-width:700px) and (max-width:1199px){
  .post-contact .shell{flex-direction:row;align-items:center}
}

/* Keep the final banner copy inside notebook-sized viewports. */
@media(min-width:1200px){
  .cta-content{
    max-width:calc(100% - 48px);
    margin-left:max(24px,calc((100% - 1400px)/2));
  }
}

/* Show more of each team member in stacked phone cards. */
@media(max-width:520px){
  .person>img,
  .person:nth-child(3)>img,
  .person:nth-child(4)>img{
    height:clamp(360px,105vw,430px);
    object-position:center 20%;
  }
}

/* The replacement artwork is taller, so it needs a slightly smaller frame. */
.scales{width:590px;height:560px}
@media(min-width:901px) and (max-width:1199px){
  .scales{width:min(510px,46vw);height:min(490px,46vw)}
}
@media(min-width:601px) and (max-width:900px){
  .scales{width:470px;height:440px}
}
@media(max-width:600px){
  .scales{width:min(370px,100%);height:360px}
}

/* Privacy policy page */
.privacy-page{background:#fff}
.privacy-shell{padding:54px 0 74px}
.privacy-breadcrumb{display:flex;align-items:center;gap:10px;margin-bottom:28px;color:#65717c;font-size:14px}
.privacy-breadcrumb a{color:var(--blue);font-weight:600}
.privacy-breadcrumb strong{color:var(--ink);font-weight:600}
.privacy-article{max-width:940px}
.privacy-heading{margin-bottom:34px}
.privacy-heading .gold-rule{margin:0 0 16px}
.privacy-heading h1{margin:0 0 16px;color:var(--blue);font-family:"Playfair Display",serif;font-size:44px;line-height:1.15}
.privacy-heading>p:not(.eyebrow){max-width:780px;margin:0 0 16px;color:#25303b;font-size:19px;line-height:1.55;text-align:justify;text-align-last:left;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
.privacy-heading small{color:#65717c;font-size:14px;font-weight:600}
.privacy-article section{padding:27px 0;border-top:1px solid #e2ded7}
.privacy-article section:last-child{border-bottom:1px solid #e2ded7}
.privacy-article h2{margin:0 0 12px;color:var(--blue);font-family:"Playfair Display",serif;font-size:28px;line-height:1.25}
.privacy-article p{margin:0;color:#25303b;font-size:17px;line-height:1.75;text-align:justify;text-align-last:left;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}
.privacy-article a{color:var(--blue);font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){
  .privacy-shell{width:calc(100% - 36px);margin-inline:18px;padding:38px 0 54px}
  .privacy-heading h1{font-size:34px}
  .privacy-heading>p:not(.eyebrow){font-size:16.5px}
  .privacy-article section{padding:23px 0}
  .privacy-article h2{font-size:24px}
  .privacy-article p{font-size:15.5px;line-height:1.7}
}

/* Header brand and mobile WhatsApp access */
.brand{width:250px;height:96px;gap:9px}
.brand .brand-mark{width:98px;height:94px}
.brand .brand-type{width:143px;height:91px}
.nav-links{margin-left:112px}
@media(max-width:1200px){
  .brand{width:218px;height:88px;gap:7px}
  .brand .brand-mark{width:90px;height:86px}
  .brand .brand-type{width:121px;height:84px}
  .nav-links{margin-left:32px}
}
@media(max-width:800px){
  .site-header{height:116px}
  .navbar{height:79px}
  .nav-links{top:116px}
  .brand{width:176px;height:72px;gap:5px}
  .brand .brand-mark{width:73px;height:71px}
  .brand .brand-type{width:98px;height:68px}
  .header-cta{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:90;
    display:flex!important;
    width:58px;
    height:58px;
    min-width:0;
    margin:0;
    padding:0;
    border-radius:50%;
    background:url('assets/whatsapp-floating.svg') center/100% 100% no-repeat;
    box-shadow:none;
    color:transparent;
    font-size:0;
  }
  .header-cta::before{display:none}
  .header-cta:hover{filter:brightness(1.04);transform:translateY(-1px)}
}
@media(max-width:380px){
  .brand{width:164px;height:68px}
  .brand .brand-mark{width:68px;height:67px}
  .brand .brand-type{width:91px;height:64px}
  .header-cta{right:14px;bottom:14px;width:54px;height:54px}
}
@media(max-width:800px){
  .copyright{grid-template-columns:1fr;justify-items:center;row-gap:12px;padding-block:20px}
  .footer-legal{grid-column:1;flex-direction:column;gap:4px}
  .maxy-logo{grid-column:1;justify-self:center;margin-left:0}
}

/* Developer credit shown beside the Maxy Growth logo. */
.maxy-credit{display:flex;grid-column:3;align-items:center;justify-self:end;gap:9px;color:var(--blue);font-size:12px;line-height:1.2;white-space:nowrap}
.maxy-credit .maxy-logo{width:104px;height:38px;margin:0;object-fit:contain}
@media(max-width:800px){.maxy-credit{grid-column:1;justify-self:center}}
