.home{overflow-x:clip}
.home .header{position:fixed;transition:color .5s var(--ease)}
.home .header.header-on-light{color:var(--ink)}
.home-journey{position:relative;background:var(--ink)}
.horizontal-stage{position:relative;height:calc(100svh + 260vw);background:var(--ink)}
.horizontal-stage__sticky{position:sticky;top:0;height:100svh;overflow:hidden}
.horizontal-track{display:flex;width:max-content;height:100%;will-change:transform}
.horizontal-panel{flex:0 0 100vw;width:100vw;height:100svh;min-height:0}

.practices-intro{position:relative;overflow:hidden;background:var(--paper);color:var(--ink);padding:clamp(100px,12vh,145px) clamp(28px,7vw,112px) clamp(40px,6vh,70px)}
.practices-intro__grid{position:absolute;inset:0;opacity:.46;background:linear-gradient(90deg,transparent 24.9%,rgba(8,34,29,.11) 25%,transparent 25.1%,transparent 49.9%,rgba(8,34,29,.11) 50%,transparent 50.1%,transparent 74.9%,rgba(8,34,29,.11) 75%,transparent 75.1%),linear-gradient(0deg,transparent 49.9%,rgba(8,34,29,.08) 50%,transparent 50.1%);pointer-events:none}
.practices-intro__topline{position:relative;z-index:1;display:flex;justify-content:space-between;font-size:9px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;opacity:.58}
.practices-intro__content{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr .8fr;gap:clamp(45px,9vw,150px);align-items:end;margin-top:clamp(70px,15vh,165px)}
.practices-intro__heading{opacity:0;transform:translateY(26px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.practices-intro.is-active .practices-intro__heading{opacity:1;transform:none}
.practices-intro h2{margin:0;font:500 150px/.82 var(--serif);letter-spacing:-.075em}
.practices-intro__rule{display:block;width:105px;height:1px;margin-top:34px;background:var(--ink);transform-origin:left;transform:scaleX(0);transition:transform .8s var(--ease) .2s}
.practices-intro.is-active .practices-intro__rule{transform:scaleX(1)}
.practices-intro__copy{max-width:400px;opacity:0;transform:translateY(26px);transition:opacity .8s var(--ease) .12s,transform .8s var(--ease) .12s}
.practices-intro.is-active .practices-intro__copy{opacity:1;transform:none}
.practices-intro__lead{margin:0 0 25px;font:500 31px/1.04 var(--serif);letter-spacing:-.04em}
.practices-intro__lead em{color:#6eaf91;font-style:italic}
.practices-intro__copy>p:not(.practices-intro__lead){margin:0;font-size:13px;line-height:1.7;color:#3d514b}
.practices-intro__link{display:inline-flex;align-items:center;gap:10px;margin-top:30px;padding-bottom:7px;border-bottom:1px solid var(--ink);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.practices-intro__link i{font-style:normal;font-size:16px;line-height:0}
.practices-intro__stats{position:absolute;z-index:1;right:clamp(28px,7vw,112px);bottom:clamp(40px,6vh,70px);display:flex;gap:0;width:min(520px,42vw);border-top:1px solid rgba(8,34,29,.22)}
.intro-stat{position:relative;display:flex;flex:1;min-height:105px;padding:15px 15px 0 0;border-right:1px solid rgba(8,34,29,.18);flex-direction:column;justify-content:space-between;opacity:0;transform:translateY(18px);transition:opacity .65s var(--ease),transform .65s var(--ease)}
.intro-stat+ .intro-stat{padding-left:15px}
.intro-stat:last-child{border-right:0}
.practices-intro.is-active .intro-stat{opacity:1;transform:none}
.practices-intro.is-active .intro-stat:nth-child(2){transition-delay:.12s}.practices-intro.is-active .intro-stat:nth-child(3){transition-delay:.24s}
.intro-stat>span{font-size:9px;opacity:.55}.intro-stat b{font:500 47px/.8 var(--serif);letter-spacing:-.07em}.intro-stat sup{font-size:.4em;vertical-align:top}.intro-stat small{font-size:8px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;opacity:.62}
.practices-intro__corner{position:absolute;right:clamp(28px,7vw,112px);top:28%;font:italic 150px/.8 var(--serif);color:rgba(8,34,29,.06);transform:rotate(-16deg);pointer-events:none}

.practice-panels{display:flex;flex:0 0 200vw;width:200vw;height:100%;background:var(--ink);color:var(--paper)}
.practice-panel{position:relative;display:block;flex:0 0 50vw;width:50vw;height:100%;min-width:50vw;overflow:hidden;border-right:1px solid rgba(232,226,218,.32);background:var(--ink);color:var(--paper);transition:background-color 1.1s var(--ease),color .9s var(--ease)}
.practice-panel:hover{background-color:var(--paper)}
.practice-panel:last-child{border-right:0}
.practice-panel::before{position:absolute;inset:0;content:"";background-image:linear-gradient(180deg,rgba(3,21,17,.38),rgba(3,21,17,.82) 72%,rgba(3,21,17,.96)),var(--panel-image);background-position:center;background-size:cover;filter:saturate(.56);transform:scale(1.02);transition:opacity 1s var(--ease),transform 1.1s var(--ease),filter 1s var(--ease)}
.practice-panel::after{position:absolute;inset:0;content:"";background:linear-gradient(90deg,transparent 94%,rgba(167,217,191,.35));opacity:.55;pointer-events:none}
.practice-panel:hover::before{filter:saturate(.9);transform:scale(1.09)}
.practice-panel__number{display:block;margin:0 0 clamp(16px,2.5vh,28px);font:500 clamp(42px,5.5vw,78px)/.8 var(--serif);letter-spacing:-.06em;color:inherit;opacity:1;visibility:visible;transform:none;transition:opacity .9s var(--ease),visibility 0s linear 0s,transform .9s var(--ease),color .9s var(--ease)}
.practice-panel__cross{position:absolute;z-index:1;top:clamp(28px,5vh,55px);right:clamp(20px,2.5vw,38px);width:24px;height:24px;opacity:.75;transition:transform .55s var(--ease)}
.practice-panel__cross::before,.practice-panel__cross::after{position:absolute;content:"";background:var(--paper)}.practice-panel__cross::before{left:11px;top:0;width:1px;height:24px}.practice-panel__cross::after{left:0;top:11px;width:24px;height:1px}.practice-panel:hover .practice-panel__cross{transform:rotate(45deg)}
.practice-panel__content{position:absolute;z-index:1;right:clamp(20px,2.5vw,38px);bottom:clamp(33px,7vh,78px);left:clamp(20px,2.5vw,38px);transform:translateY(28px);opacity:.45;color:var(--paper);transition:opacity .8s var(--ease),transform .8s var(--ease),color .9s var(--ease)}
.practice-panel.is-active .practice-panel__content{opacity:1;transform:none}
.practice-panel__content>p{margin:0 0 17px;font-size:8px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--mint)}
.practice-panel h3{margin:0;font:500 42px/.91 var(--serif);letter-spacing:-.065em;font-style:normal}
.practice-line{display:block;overflow:hidden}.practice-line>span{display:block;transform:translateY(105%);opacity:0;transition:transform .72s var(--ease),opacity .72s var(--ease)}
.practice-panel.is-active .practice-line>span{transform:none;opacity:1}.practice-panel.is-active h3 .practice-line:nth-child(2)>span{transition-delay:.1s}
.practice-panel__description{display:block;max-width:310px;margin-top:23px;font-size:12px;line-height:1.55;color:rgba(232,226,218,.8)}
.practice-panel__description .practice-line:nth-child(1)>span{transition-delay:.2s}.practice-panel__description .practice-line:nth-child(2)>span{transition-delay:.3s}
.practice-panel__arrow{position:absolute;z-index:1;right:clamp(20px,2.5vw,38px);bottom:clamp(30px,4vh,46px);display:grid;place-items:center;width:31px;height:31px;border:1px solid rgba(232,226,218,.65);border-radius:50%;font-size:16px;transition:background .45s var(--ease),color .45s var(--ease),transform .45s var(--ease)}
.practice-panel:hover .practice-panel__arrow{background:var(--paper);color:var(--ink);transform:rotate(-10deg)}

.home-contact{position:relative;min-height:100svh;padding:clamp(100px,13vh,155px) clamp(28px,8vw,130px) clamp(35px,6vh,70px);background:var(--ink);color:var(--paper);overflow:hidden}
.home-contact::before{position:absolute;inset:0;content:"";background:linear-gradient(90deg,transparent 33.25%,rgba(232,226,218,.09) 33.3%,transparent 33.4%,transparent 66.55%,rgba(232,226,218,.09) 66.6%,transparent 66.7%);pointer-events:none}
.home-contact>*{position:relative;z-index:1}.home-contact__topline{display:flex;justify-content:space-between;font-size:9px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;opacity:.62}
.home-contact__main{margin-top:clamp(90px,18vh,210px)}.home-contact h2{margin:0;font:500 112px/.86 var(--serif);letter-spacing:-.075em}.home-contact h2 em{color:var(--mint);font-style:italic}.home-contact__mail{display:inline-flex;align-items:center;gap:12px;margin-top:clamp(45px,7vh,78px);padding-bottom:8px;border-bottom:1px solid rgba(232,226,218,.65);font:500 27px var(--serif)}.home-contact__mail i{font:normal 18px var(--sans)}
.home-contact__footer{display:grid;grid-template-columns:1fr 1fr auto;gap:24px;margin-top:clamp(80px,14vh,160px);padding-top:19px;border-top:1px solid rgba(232,226,218,.22)}.home-contact__footer div{display:flex;flex-direction:column;gap:4px}.home-contact__footer span{font-size:9px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--mint)}.home-contact__footer a,.home-contact__footer b{font:500 18px var(--serif)}.home-contact__back{align-self:end;font-size:10px!important;font-weight:700!important;letter-spacing:.1em;text-transform:uppercase}.home-contact__back i{font-style:normal;font-size:16px}

@media(max-width:800px){
.horizontal-stage{height:auto}.horizontal-stage__sticky{position:relative;height:auto;overflow:visible}.horizontal-track{display:block;width:100%;height:auto;transform:none!important}.horizontal-panel{width:100%;height:auto;min-height:100svh}.practices-intro{padding:110px 22px 45px}.practices-intro__content{display:block;margin-top:72px}.practices-intro h2{font-size:82px}.practices-intro__copy{margin-top:55px}.practices-intro__lead{font-size:28px}.practices-intro__stats{position:relative;right:auto;bottom:auto;width:100%;margin-top:70px}.practices-intro__corner{font-size:100px;top:17%;right:24px}.practice-panels{display:block;width:100%;height:auto}.practice-panel{width:100%;min-width:0;min-height:72svh;height:72svh;border-right:0;border-bottom:1px solid rgba(232,226,218,.32)}.practice-panel__content{opacity:1;transform:none}.practice-panel .practice-line>span{transform:none;opacity:1}.home-contact{padding:110px 22px 45px}.home-contact__main{margin-top:100px}.home-contact h2{font-size:62px}.home-contact__mail{font-size:22px}.home-contact__footer{grid-template-columns:1fr 1fr;margin-top:110px}.home-contact__back{grid-column:1/-1;margin-top:18px}}
@media(max-width:430px){.practices-intro h2{font-size:68px}.practices-intro__stats{gap:0}.intro-stat b{font-size:37px}.intro-stat small{font-size:7px}.practice-panel h3{font-size:39px}.home-contact h2{font-size:53px}.home-contact__footer{grid-template-columns:1fr}.home-contact__back{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.home .header,.practices-intro__heading,.practices-intro__copy,.practices-intro__rule,.intro-stat,.practice-panel__content,.practice-panel::before,.practice-panel__cross,.practice-panel__arrow{transition-duration:.001ms!important}}

/* The home hero uses a single burger entry point for navigation. */
.home .header{position:fixed;top:0;left:0;width:100%;height:0;display:block;padding:0;z-index:12}
.home .header .brand,.home .header .nav,.home .header .write{display:none}
.home .header .menu{position:absolute;top:28px;right:clamp(22px,4.3vw,68px);z-index:13;display:grid;place-items:center;width:44px;height:44px;border:1px solid currentColor;border-radius:50%;padding:0;background:transparent;color:inherit}
.home .header .menu i,.home .header .menu:after{content:"";grid-area:1/1;display:block;width:17px;height:1px;background:currentColor;transition:.35s var(--ease)}
.home .header .menu i{transform:translateY(-3px)}
.home .header .menu:after{transform:translateY(3px)}
.home .header .menu[aria-expanded="true"] i{transform:rotate(45deg)}
.home .header .menu[aria-expanded="true"]:after{transform:rotate(-45deg)}
.home .mobile-nav{position:fixed;z-index:11;inset:0;display:flex;flex-direction:column;justify-content:center;padding:85px 30px 34px;background:var(--ink);color:var(--paper);opacity:0;visibility:hidden;transition:.35s var(--ease)}
.home .mobile-nav.open{opacity:1;visibility:visible}
.home .mobile-nav>a{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);font:36px var(--serif);letter-spacing:-.05em}
.home .mobile-nav span{align-self:center;font:10px var(--sans);color:var(--mint)}
.home .home-logo{display:block;width:clamp(190px,24vw,320px);height:auto;margin:0 0 clamp(30px,4vh,52px)}
.home .round-link,.home .page-number{display:none}
.home h1 .hero-title__line{display:block;overflow:hidden;color:var(--paper)!important;opacity:0;transform:translateY(105%);clip-path:inset(0 0 100% 0)}
.home h1 .hero-title__line--accent{color:var(--mint)!important}
.home-hero.is-revealed .hero-title__line{animation:heroLineIn .9s var(--ease) forwards}
.home-hero.is-revealed .hero-title__line:nth-child(2){animation-delay:.12s}
.home-hero.is-revealed .hero-title__line:nth-child(3){animation-delay:.24s}
@keyframes heroLineIn{to{opacity:1;transform:none;clip-path:inset(0)}}
.home-hero__mail{display:inline-flex;align-items:center;gap:12px;padding-bottom:8px;border-bottom:1px solid rgba(232,226,218,.65);font:500 clamp(20px,2.3vw,31px) var(--serif);transition:color .35s var(--ease),border-color .35s var(--ease),transform .35s var(--ease)}
.home-hero__mail i{font:normal .75em var(--sans)}
.home-hero__mail:hover{color:var(--mint);border-color:var(--mint);transform:translateX(8px)}

@media(max-width:800px){
  .home .header .menu{top:20px;right:18px}
  .home .home-logo{width:min(240px,68vw);margin-bottom:34px}
}

/* Burger navigation states. */
.home .mobile-nav>a{position:relative;isolation:isolate;overflow:hidden;padding-inline:10px;margin-inline:-10px;transition:color .4s var(--ease),padding-left .4s var(--ease),transform .4s var(--ease)}
.home .mobile-nav>a::before{position:absolute;z-index:-1;inset:0;content:"";background:var(--paper);clip-path:polygon(0 0,100% 0,92% 100%,0 100%);transform:translateX(-105%);transition:transform .65s var(--ease)}
.home .mobile-nav>a::after{position:absolute;z-index:-1;left:10px;right:8%;bottom:0;height:3px;content:"";background:var(--mint);transform:scaleX(0);transform-origin:left;transition:transform .55s var(--ease) .08s}
.home .mobile-nav>a:hover,.home .mobile-nav>a:focus-visible{color:var(--ink);padding-left:20px;transform:translateX(10px)}
.home .mobile-nav>a:hover::before,.home .mobile-nav>a:focus-visible::before{transform:translateX(0)}
.home .mobile-nav>a:hover::after,.home .mobile-nav>a:focus-visible::after{transform:scaleX(1)}
.home .mobile-nav>a:hover span,.home .mobile-nav>a:focus-visible span{color:var(--ink);transform:translateX(-8px) rotate(-8deg)}
.home .mobile-nav span{position:relative;z-index:1;transition:color .4s var(--ease),transform .4s var(--ease)}

/* The practices intro keeps its heading clean and places the logo below it. */
.practices-intro__topline{display:none}
.practices-intro__corner{left:clamp(28px,7vw,112px);right:auto;top:clamp(360px,54vh,540px);opacity:.1;transform:none}
.practices-intro__stats{width:min(780px,63vw);min-height:158px}
.intro-stat{min-height:158px;padding:22px 22px 0 0;background:transparent;transition:background-color .35s var(--ease),color .35s var(--ease),transform .65s var(--ease),opacity .65s var(--ease)}
.intro-stat:hover{background:var(--ink);color:var(--paper)}
.intro-stat b{font-size:clamp(60px,5.3vw,71px)}
.intro-stat small{font-size:10px}

/* Direction panels: dark green first, image revealed on hover. */
.practice-panel::before{background-image:var(--panel-image);background-position:center;background-size:cover;filter:saturate(.2);opacity:.1;transform:scale(1.02);transition:opacity 1s var(--ease),filter 1s var(--ease),transform 1.1s var(--ease)}
.practice-panel::after{background:transparent;opacity:0}
.practice-panel:hover::before{opacity:.8;filter:saturate(.95);transform:scale(1.1)}
.practice-panel__number{white-space:nowrap}
.practice-panel__content{bottom:clamp(45px,10vh,110px);opacity:1;transform:none}
.practice-panel:hover .practice-panel__content{color:var(--ink)}
.practice-panel .practice-line>span{transform:none;opacity:1}
.practice-panel__content>p,.practice-panel__description,.practice-panel__arrow{display:none}
.practice-panel h3{font-size:clamp(36px,3.8vw,58px)}
.practice-panel h3{transition:color .9s var(--ease)}
.practice-panel h3 .practice-line>span{transition:transform .72s var(--ease),opacity .72s var(--ease),color .9s var(--ease)}

@media(max-width:800px){
  .practices-intro__corner{left:22px;right:auto;top:clamp(300px,46vh,390px);width:min(220px,62vw)}
  .practices-intro__stats{width:100%;min-height:158px}
  .intro-stat{min-height:158px;padding:22px 12px 0 0}
  .intro-stat b{font-size:56px}
  .practice-panel__number{font-size:clamp(42px,14vw,64px);margin-bottom:18px}
  .practice-panel h3{font-size:clamp(36px,11vw,56px)}
}

/* Keep the hero quiet: logo, heading and burger are the only controls. */
.home .ring,.home .home-hero .kicker{display:none}
.home .header .menu{left:clamp(22px,8vw,132px);right:auto;width:48px;height:48px;border-radius:0;transition:background-color .3s var(--ease),border-color .3s var(--ease),color .3s var(--ease),transform .3s var(--ease)}
.home .header .menu:hover{background:var(--paper);border-color:var(--paper);color:var(--ink);transform:translateY(-3px)}
.home .header .menu:focus-visible{outline:2px solid var(--mint);outline-offset:5px}
.practices-intro__grid{display:none}
.practices-intro__corner{width:clamp(180px,18vw,310px);height:auto;aspect-ratio:127.8/74;font-size:0;color:transparent;background:var(--ink);-webkit-mask:url('../img/logo-vertical-gold.svg') center/contain no-repeat;mask:url('../img/logo-vertical-gold.svg') center/contain no-repeat;opacity:.12}

@media(max-width:800px){
  .home .header .menu{left:22px;right:auto;width:44px;height:44px}
  .home h1.hero-title{font-size:clamp(36px,11vw,54px);line-height:.92;letter-spacing:-.06em}
  .home-hero__mail{font-size:22px}
}

@media(prefers-reduced-motion:reduce){
  .home h1 .hero-title__line{opacity:1;transform:none;clip-path:none}
  .home .mobile-nav>a,.home .mobile-nav>a::before,.home .mobile-nav>a::after,.home .mobile-nav span{transition-duration:.001ms!important}
}

/* Desktop panels enter as pinned layers; mobile keeps the vertical flow. */
@media(min-width:801px){
  .horizontal-track{position:relative;display:block;width:100vw;height:100%;transform:none!important}
  .horizontal-track>.horizontal-panel{position:absolute;top:0;left:0;width:100vw;height:100%;flex:none}
  .horizontal-track>.practice-panels{position:absolute;top:0;left:0;display:flex;width:120vw;height:100%;background:transparent;pointer-events:auto}
  .horizontal-track>.home-contact{position:absolute;top:0;left:0;width:100vw;height:100%;min-height:0;z-index:4}
  .practice-panel{position:relative;top:auto;left:auto;width:30vw;min-width:30vw;height:100%;flex:0 0 30vw}
  .practice-panels .practice-panel{pointer-events:auto}
  .practice-panel__number{font-size:clamp(58px,8vw,120px)}
  .practice-panel h3{font-size:clamp(46px,6vw,88px)}
}

/* Slow the menu reveal so the motion reads clearly. */
.home .header .menu i,.home .header .menu:after{transition:transform .9s var(--ease),background-color .9s var(--ease)}
.home .mobile-nav{transition:opacity .95s var(--ease),visibility 0s linear .95s}
.home .mobile-nav.open{transition:opacity .95s var(--ease),visibility 0s}
.home .mobile-nav>a{opacity:0;transform:translate3d(-24px,24px,0) rotate(-2deg);transition:opacity .9s var(--ease),transform .9s var(--ease),color .75s var(--ease),padding-left .75s var(--ease)}
.home .mobile-nav.open>a{opacity:1;transform:none}
.home .mobile-nav.open>a:nth-child(1){transition-delay:.1s}
.home .mobile-nav.open>a:nth-child(2){transition-delay:.2s}
.home .mobile-nav.open>a:nth-child(3){transition-delay:.3s}
.home .mobile-nav.open>a:nth-child(4){transition-delay:.4s}
.home .mobile-nav.open>a:nth-child(5){transition-delay:.5s}
.home .mobile-nav.open>a:nth-child(6){transition-delay:.6s}
.home .mobile-nav>a::before{transition:transform 1.15s var(--ease)}
.home .mobile-nav>a::after{transition:transform 1s var(--ease) .12s}
.home .mobile-nav>a:hover,.home .mobile-nav>a:focus-visible{transform:translateX(10px)}

/* The hero stays spacious while using a smaller, lighter type scale. */
.home h1.hero-title{font-size:clamp(43px,5.8vw,92px);line-height:.9;letter-spacing:-.06em}
.home-hero__mail{font-size:clamp(10px,1.15vw,15px);font-weight:300;line-height:1.2;gap:8px;padding-bottom:5px}

@media(max-width:800px){
  .home h1.hero-title{font-size:clamp(29px,8.2vw,42px);line-height:.92}
  .home-hero__mail{font-size:11px;font-weight:300}
}

/* Compact reputation reel inside the home contact screen. */
.home-reputation{margin-top:clamp(30px,4vh,44px);padding-top:14px;border-top:1px solid var(--line);overflow:hidden}
.home-reputation__heading{display:flex;align-items:end;justify-content:space-between;gap:18px}
.home-reputation__heading .kicker{margin:0;color:var(--mint);font-size:8px}
.home-reputation__heading h3{margin:3px 0 0;font:500 clamp(27px,3.1vw,45px)/.9 var(--serif);letter-spacing:-.05em}
.home-reputation__heading>span{font-size:8px;letter-spacing:.12em;opacity:.62}
.home-reputation__viewport{margin-top:14px;overflow:hidden}
.home-reputation__viewport:hover .home-reputation__track{animation-play-state:paused}
.home-reputation__track{display:flex;width:max-content;animation:homeReputationMarquee 52s linear infinite;will-change:transform}
.home-reputation__group{display:flex;align-items:center;gap:8px;flex-shrink:0;padding-right:8px}
.home-reputation__item,.home-reputation__photo{position:relative;display:grid;place-items:center;width:112px;height:64px;flex:0 0 112px;overflow:hidden;background:rgba(232,226,218,.06);transition:background-color .4s var(--ease)}
.home-reputation__item img{grid-area:1/1;display:block;width:76%;height:72%;object-fit:contain;transition:opacity .45s var(--ease),transform .7s var(--ease)}
.home-reputation__mono{opacity:1}
.home-reputation__real{opacity:0}
.home-reputation__item:hover{background:var(--paper)}
.home-reputation__item:hover .home-reputation__mono{opacity:0}
.home-reputation__item:hover .home-reputation__real{opacity:1}
.home-reputation__photo img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1);opacity:.55;transition:filter .7s var(--ease),opacity .7s var(--ease),transform .9s var(--ease)}
.home-reputation__photo:hover img{filter:none;opacity:1;transform:scale(1.06)}
@keyframes homeReputationMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Match the larger partner marks used on the contacts page. */
.home-reputation__item{width:224px;height:128px;flex-basis:224px}
.home-reputation__photo{width:128px;height:128px;flex-basis:128px;border-radius:50%}
.home-reputation__photo img{border-radius:50%}

@media(min-width:801px){
  .home-contact__main{margin-top:clamp(55px,8vh,85px)}
  .home-contact h2{font-size:clamp(68px,6.2vw,92px)}
  .home-contact__mail{margin-top:22px;font-size:24px}
  .home-reputation{margin-top:34px}
  .home-contact__footer{margin-top:28px}
}

@media(max-width:800px){
  .home-reputation{margin-top:64px}
  .home-reputation__item{width:200px;height:124px;flex-basis:200px}
  .home-reputation__photo{width:124px;height:124px;flex-basis:124px}
  .home-reputation__heading h3{font-size:34px}
}

/* Keep the reputation reel first and the contact details at the bottom. */
.home-contact{display:flex;flex-direction:column}
.home-contact__topline{order:2;margin-top:28px}
.home-contact__main{order:3}
.home-reputation{order:1;margin-top:0}
.home-contact__footer{order:4}
.home-reputation__item{width:280px;height:160px;flex-basis:280px}
.home-reputation__photo{width:160px;height:160px;flex-basis:160px}
@media(min-width:801px){
  .horizontal-track>.practice-panels{display:block;width:100vw;overflow:visible}
  .horizontal-track>.practice-panels>.practice-panel{position:absolute;left:50vw;top:0;width:50vw;min-width:50vw;height:100%;flex:0 0 50vw;will-change:transform}
}
@media(max-width:800px){
  .home-reputation__item{width:250px;height:140px;flex-basis:250px}
.home-reputation__photo{width:140px;height:140px;flex-basis:140px}
}

/* Practices enter as 50vw cards and keep the source descriptions visible. */
.practice-panel__description{display:block;color:rgba(232,226,218,.8)}
.practice-panel:hover .practice-panel__description{color:var(--ink)}

/* Keep entering cards visually quiet until they reach their final position. */
@media(min-width:801px){
  .practice-panel:hover{background-color:var(--ink);color:var(--paper)}
  .practice-panel::before{opacity:.9;filter:saturate(.2)}
  .practice-panel:hover::before{opacity:.7;filter:saturate(.2)}
  .practice-panel::after{background:rgba(8,34,29,.52);opacity:1;transition:opacity .7s var(--ease)}
  .practice-panel:hover::after{opacity:.12}
  .practice-panel:hover .practice-panel__content,
  .practice-panel:hover .practice-panel__description{color:var(--paper)}
  .practice-panel__number{display:none}
  .practice-panel.is-active .practice-panel__content,
  .practice-panel__content{opacity:0;transform:translateY(20px);pointer-events:none}
  .practice-panel.is-active .practice-line>span,
  .practice-panel .practice-line>span{opacity:0;transform:translateY(105%)}
  .practice-panel:not(.is-entered) .practice-panel__cross,
  .practice-panel:not(.is-entered) .practice-panel__arrow{opacity:0}
  .practice-panel.is-entered .practice-panel__content{opacity:1;transform:none;pointer-events:auto}
  .practice-panel.is-entered .practice-line>span{opacity:1;transform:none}
  .practice-panel.is-entered h3 .practice-line:nth-child(2)>span{transition-delay:.1s}
}

/* Final home-page composition. */
.home h1.hero-title{max-width:min(680px,48vw);font:400 56px/.98 var(--sans);letter-spacing:0}
.home h1.hero-title em{font-style:normal}
.home h1 .hero-title__line--accent{font-style:normal;color:var(--mint)!important}

@media(max-width:1200px){
  .home h1.hero-title{font-size:48px}
}
@media(max-width:800px){
  .home h1.hero-title{max-width:none;font-size:34px;line-height:1}
}

.home-reputation{width:100vw;margin-left:calc(50% - 50vw);padding-top:0;border-top:0}
.home-reputation__viewport{width:100vw}
.home-reputation__group{gap:0;padding-right:0}
.home-reputation__item,.home-reputation__photo{background:transparent}
.home-reputation__heading{padding-inline:clamp(22px,8vw,130px)}

@media(min-width:801px){
  .home .mobile-nav{inset:0 0 0 auto;width:50vw;padding:clamp(90px,12vh,140px) clamp(36px,5vw,96px);opacity:1;visibility:hidden;transform:translateX(100%);transition:transform .75s var(--ease),visibility 0s linear .75s}
  .home .mobile-nav.open{visibility:visible;transform:translateX(0);transition:transform .75s var(--ease),visibility 0s}
  .home .mobile-nav>a{font-size:48px}
}
@media(min-width:801px) and (max-width:1200px){.home .mobile-nav>a{font-size:40px}}
@media(prefers-reduced-motion:reduce){.home .mobile-nav{transition-duration:.001ms!important}}

/* Centre the practices logo beneath its heading. */
@media(min-width:801px){
  .practices-intro__heading{display:flex;width:max-content;flex-direction:column;align-items:flex-start}
  .practices-intro__heading .practices-intro__corner{position:relative;inset:auto;align-self:center;margin-top:64px;transform:none}
}
@media(max-width:800px){
  .practices-intro__heading{display:flex;flex-direction:column;align-items:flex-start}
  .practices-intro__heading .practices-intro__corner{position:relative;inset:auto;align-self:center;margin-top:48px;transform:none}
}

/* Final content, navigation and contrast adjustments. */
.practices-intro__lead em,.home-contact h2 em{color:inherit;font-style:normal;font-weight:700}
.home h1 .hero-title__line--accent{color:inherit!important;font-weight:700}
.home-reputation__heading h3,.clients-strip__heading h2{font-family:var(--sans);font-style:normal;font-weight:500}
.practice-panel__description{max-width:470px;font-size:17px;line-height:1.65}
@media(max-width:1200px){.practice-panel__description{font-size:15px}}

@media(min-width:801px){
  .home .header .menu{left:clamp(22px,8vw,132px);right:auto}
  .home .mobile-nav{inset:0 auto 0 0;transform:translateX(-100%)}
  .home .mobile-nav.open{transform:translateX(0)}
}

/* Current home-page sizing and contact layout. */
.home .home-logo{margin-bottom:clamp(78px,10vh,122px)}
.home h1 .hero-title__line,
.home h1 .hero-title__line--accent{font-weight:400!important}
.practice-panel__number{display:none!important}

.home-contact__main{display:grid;grid-template-columns:max-content minmax(280px,1fr);align-items:start;gap:clamp(28px,3.5vw,56px)}
.home-contact__details{display:grid;gap:clamp(16px,2.4vh,28px);padding-top:clamp(8px,1.2vh,16px)}
.home-contact__details>div{display:flex;flex-direction:column;gap:5px}
.home-contact__details span{font-size:9px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;opacity:.62}
.home-contact__details a{font:400 clamp(17px,1.55vw,23px)/1.35 var(--sans);transition:opacity .25s var(--ease)}
.home-contact__details a:hover,.home-contact__details a:focus-visible{opacity:.68}

.home-reputation__heading h2{margin:0;font:500 clamp(46px,4.5vw,68px)/.95 var(--sans);letter-spacing:0}
.home .header .menu{width:64px;height:64px}
.home .header .menu i,.home .header .menu:after{width:22px}
.home .header .menu i{transform:translateY(-4px)}
.home .header .menu:after{transform:translateY(4px)}

@media(max-width:800px){
  .home .home-logo{margin-bottom:56px}
  .home-contact__main{grid-template-columns:1fr;gap:40px}
  .home-contact__details{gap:22px;padding-top:0}
  .home-contact__details a{font-size:18px}
  .home-reputation__heading h2{font-size:42px}
  .home .header .menu{width:54px;height:54px}
}

/* Practice introduction and contact-screen hierarchy. */
.practices-intro__copy{max-width:min(600px,100%)}
.practices-intro__copy>p:not(.practices-intro__lead){font-size:clamp(20px,1.8vw,26px);line-height:1.45;color:var(--ink)}

.home-contact{padding-top:clamp(72px,9vh,112px)}
.home-contact__main{position:relative;margin-top:clamp(68px,10vh,110px);padding-top:clamp(28px,4vh,44px)}
.home-contact__main::before{position:absolute;top:0;right:0;left:0;height:1px;content:"";background:rgba(232,226,218,.28)}
.home-contact__main::after{position:absolute;top:0;left:0;width:22%;height:1px;content:"";background:var(--paper);box-shadow:0 0 12px rgba(232,226,218,.55);animation:contactDividerSweep 5.5s var(--ease) infinite}
@keyframes contactDividerSweep{0%,16%{opacity:0;transform:translateX(0)}30%{opacity:.9}72%{opacity:.9}88%,100%{opacity:0;transform:translateX(350%)}}

.home-reputation__group{align-items:center}
.home-reputation__item img{align-self:center;justify-self:center;object-position:center center}

.home .header .menu[aria-expanded="true"]{z-index:14;border-color:var(--paper);background:var(--ink);color:var(--paper);box-shadow:0 0 0 1px rgba(232,226,218,.22)}
.home .header .menu[aria-expanded="true"] i{transform:rotate(45deg)}
.home .header .menu[aria-expanded="true"]:after{transform:rotate(-45deg)}

@media(max-width:800px){
  .practices-intro__copy>p:not(.practices-intro__lead){font-size:20px;line-height:1.5}
  .home-contact__main{margin-top:74px;padding-top:30px}
}
@media(prefers-reduced-motion:reduce){.home-contact__main::after{animation:none;opacity:.7}}

/* Give the final screen more vertical separation. */
.home-reputation__viewport{margin-top:clamp(34px,5vh,64px)}
.home-contact__main{margin-top:clamp(120px,16vh,180px)}
@media(max-width:800px){.home-contact__main{margin-top:110px}}

/* Full-width hover fill for links in the opened burger navigation. */
.home .mobile-nav{--nav-gutter:30px}
.home .mobile-nav>a{position:relative;isolation:isolate;overflow:hidden;margin-inline:calc(var(--nav-gutter) * -1);padding-inline:var(--nav-gutter);border-bottom:0;box-shadow:none;transition:opacity .9s var(--ease),transform .9s var(--ease),color .42s var(--ease)}
.home .mobile-nav>a::before{position:absolute;z-index:-1;inset:0;display:block;content:"";background:var(--paper);clip-path:inset(0 100% 0 0);transition:clip-path .68s var(--ease)}
.home .mobile-nav>a::after{position:absolute;z-index:-1;inset:-18% -38%;display:block;content:"";background:linear-gradient(108deg,transparent 42%,rgba(8,34,29,.18) 50%,transparent 58%);transform:translateX(-115%);transition:transform .8s var(--ease) .08s}
.home .mobile-nav>a:hover,.home .mobile-nav>a:focus-visible{padding-left:var(--nav-gutter);color:var(--ink);box-shadow:none;transform:none}
.home .mobile-nav>a:hover::before,.home .mobile-nav>a:focus-visible::before{clip-path:inset(0)}
.home .mobile-nav>a:hover::after,.home .mobile-nav>a:focus-visible::after{transform:translateX(115%)}
.home .mobile-nav>a:hover span,.home .mobile-nav>a:focus-visible span{color:var(--ink);transform:none}
@media(min-width:801px){.home .mobile-nav{--nav-gutter:clamp(36px,5vw,96px)}}

/* Reveal the hero statement from below, one line after another. */
.home h1 .hero-title__line{opacity:0;transform:translate3d(0,112%,0);clip-path:inset(0 0 100% 0);will-change:transform,clip-path,opacity}
.home-hero.is-revealed .hero-title__line{animation:heroStatementRise .96s var(--ease) forwards}
.home-hero.is-revealed .hero-title__line:nth-child(2){animation-delay:.18s}
@keyframes heroStatementRise{from{opacity:0;transform:translate3d(0,112%,0);clip-path:inset(0 0 100% 0)}to{opacity:1;transform:translate3d(0,0,0);clip-path:inset(0)}}
@media(prefers-reduced-motion:reduce){.home h1 .hero-title__line{animation:none!important;opacity:1;transform:none;clip-path:none}}
