/* Xavier Advisory — editorial prototype, 24 October 2026.
   Existing brand fonts, local assets and progressive enhancement only. */
:root{--editorial-ease:cubic-bezier(.2,.75,.2,1)}
.editorial-home .hero{padding:54px 0 0}
.editorial-home .hero-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,.85fr);gap:clamp(35px,6vw,100px);align-items:center}
.editorial-home .hero-copy{padding:8px 0 52px}
.editorial-home .hero .kicker{font-size:12px;letter-spacing:0;font-weight:500;margin-bottom:26px}
.editorial-home .hero .kicker:before{width:30px}
.editorial-home .hero h1{font-size:clamp(50px,5.05vw,78px);line-height:.99;letter-spacing:-.035em;max-width:850px;margin-bottom:28px;font-weight:500}
.editorial-home .hero h1 em{font-style:normal}
.editorial-home .hero .intro{font-size:15px;line-height:1.8;max-width:555px}
.editorial-home .hero-visual{height:570px;min-height:0;max-width:440px;width:100%;justify-self:end;overflow:visible;background:transparent;align-self:end;display:block;margin:0 0 42px}
.editorial-home .hero-visual:before{content:"";position:absolute;top:25px;bottom:-20px;left:-22px;right:22px;background:var(--navy);z-index:0}
.editorial-home .hero-visual:after{content:"";position:absolute;top:25px;left:-22px;width:55px;height:2px;background:var(--gold)}
.editorial-home .hero-portrait{display:block;position:relative;width:100%;height:100%;object-fit:cover;object-position:50% 20%;border-radius:0;filter:saturate(.8);z-index:1}
.editorial-home .portrait-edition{position:absolute;top:-28px;right:0;font-family:'EB Garamond',serif;font-size:17px;color:var(--muted)}
.editorial-home .hero-caption{z-index:2;bottom:-20px;left:-22px;right:22px;background:var(--navy);color:var(--ivory);padding:22px 25px;font-size:10px;line-height:1.7;border-top:1px solid rgba(199,154,59,.6)}
.editorial-home .hero-caption strong{font-family:'EB Garamond',serif;font-size:25px;line-height:1.2;font-weight:500;margin-bottom:5px}
.editorial-home .hero-copy>*{animation-duration:.75s}
.editorial-home .hero-visual{animation:portrait-entry 1s var(--editorial-ease) both}
@keyframes portrait-entry{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.editorial-home .trust{margin-top:20px;padding:25px 0;background:transparent;border-top:1px solid var(--line);border-bottom:0}
.editorial-home .trust .wrap{gap:25px}
.editorial-home .trust p{font-size:12px}
.editorial-home .trust-list{gap:clamp(20px,3vw,48px)}
.editorial-home .trust-list span{font-family:'EB Garamond',serif;font-size:21px;font-weight:500;color:var(--navy)}
.working-section{padding:70px 0 64px;position:relative;overflow:hidden}
.working-heading{display:grid;grid-template-columns:1.5fr 1fr;gap:60px;align-items:end;margin-bottom:42px}
.section-note{font-size:12px;font-weight:500;margin:0 0 16px!important;color:var(--gold)!important}
.working-heading h2{font-size:clamp(36px,3.6vw,54px);line-height:1.05;letter-spacing:-.02em;margin:0}
.working-heading>p{max-width:350px;font-size:14px;line-height:1.8;margin:0 0 3px}
.working-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,2fr);gap:65px}
.path-choices{display:grid;align-content:start}
.path-choice{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:67px;padding:18px 0;border:0;border-bottom:1px solid rgba(245,242,235,.2);background:transparent;color:var(--ivory);font:inherit;font-size:15px;text-align:left;cursor:pointer}
.path-choice[aria-pressed=true]{color:var(--gold)}
.path-choice span{display:inline-block;transition:transform .25s var(--editorial-ease)}
.path-choice:hover span,.path-choice:focus-visible span{transform:translate(3px,-3px)}
.path-choice:active{opacity:.8}
.path-panels{min-width:0}
.path-panel{padding:6px 0 0}
.path-panel+.path-panel{margin-top:38px}
[data-enhanced] .path-panel+.path-panel{margin-top:0}
.path-panel[hidden]{display:none}
.path-panel h3{font-family:'EB Garamond',serif;font-weight:400;font-size:29px;line-height:1.2;margin:0 0 31px;color:var(--ivory)}
.path-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0 0 27px;padding:0;gap:25px}
.path-steps li{position:relative;padding-top:20px;border-top:1px solid rgba(199,154,59,.5)}
.path-node{position:absolute;left:0;top:-4px;height:7px;width:7px;border-radius:50%;background:var(--gold)}
.path-stage{font-size:12px;font-weight:600;color:var(--gold)}
.path-steps p{font-size:12px;line-height:1.8;margin:10px 0 0}
.path-panel .text-link{font-size:12px;border-color:rgba(199,154,59,.45);color:var(--ivory)}
.path-panel.path-arrival{animation:path-arrival .4s var(--editorial-ease) both}
.path-arrival .path-node{animation:node-arrival .6s var(--editorial-ease) both}
.path-arrival li:nth-child(2) .path-node{animation-delay:.1s}.path-arrival li:nth-child(3) .path-node{animation-delay:.2s}
@keyframes path-arrival{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes node-arrival{from{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}
.editorial-home #profile .cross-copy h2{font-size:clamp(34px,3.1vw,48px);line-height:1.1}
.editorial-home #profile .cross-copy>p{font-size:15px;line-height:1.9}
.editorial-home #profile .cross-row{padding:25px 0;border-color:var(--line)}
.editorial-home #profile .cross-row>strong{font-family:'EB Garamond',serif;font-size:27px;line-height:1.1;font-weight:500}
.editorial-home #profile .cross-row p{font-size:13px;line-height:1.8}
.editorial-home #expertise{background:var(--ivory);padding-top:20px}
.editorial-home .expertise-grid{border-top:1px solid var(--navy)}
.editorial-home .expertise-item{border-color:var(--line);background:transparent}
.editorial-home .expertise-item h3{font-size:30px;line-height:1.1}
.editorial-home .expertise-item p{font-size:13px;line-height:1.8}
.editorial-home #approach{background:white}
.editorial-home #approach .case-card:first-child{background:var(--navy);color:var(--ivory);border-color:var(--navy)}
.editorial-home #approach .case-card:first-child p,.editorial-home #approach .case-card:first-child .case-meta{color:rgba(245,242,235,.75)}
.editorial-home #approach .case-card:first-child .case-bottom{color:var(--gold);border-color:rgba(245,242,235,.2)}
.editorial-home #approach .case-card h3{font-size:34px;line-height:1.12}
.editorial-home .proof-strip{border-top:1px solid var(--line);padding-top:32px}
.editorial-home .proof-strip strong{font-family:'EB Garamond',serif;font-weight:400}
.editorial-notes{background:var(--ivory);border-top:1px solid var(--line)}
.notes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px}
.editorial-note{border-top:1px solid var(--navy);padding-top:22px;display:flex;flex-direction:column;align-items:start}
.note-date{font-size:11px;color:var(--muted);margin-bottom:18px}
.editorial-note h3{font-family:'EB Garamond',serif;font-size:31px;line-height:1.12;font-weight:500;margin:0 0 18px}
.editorial-note h3 a{text-decoration:none}
.editorial-note h3 a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.editorial-note p{font-size:13px;line-height:1.8;margin:0 0 25px;color:var(--muted)}
.editorial-note .text-link{margin-top:auto;font-size:12px}
.delivery-chapters{display:grid;grid-template-columns:1fr 1fr;gap:35px 70px}
.delivery-chapter{border-top:1px solid var(--line);padding-top:24px}
.delivery-chapter h3{font-family:'EB Garamond',serif;font-weight:500;font-size:31px;line-height:1.15;margin-bottom:16px}
.delivery-chapter p,.delivery-questions p{font-size:15px;line-height:1.8}
.delivery-questions{max-width:850px;margin-top:65px}
.delivery-questions h2{font-size:37px;margin-bottom:25px}
.delivery-questions details{border-top:1px solid var(--line);padding:20px 0}
.delivery-questions summary{cursor:pointer;font-size:16px;font-weight:500;min-height:24px}
.delivery-questions details p{margin:18px 0 0;max-width:740px}
.delivery-questions .text-link{margin-top:25px}
.text-link .arrow{transition:transform .25s var(--editorial-ease)}
.text-link:hover .arrow{transform:translate(3px,-3px)}
.button:active,.text-link:active{transform:translateY(1px)}
@media(min-width:1500px){.editorial-home .hero-visual{height:620px}.editorial-home .hero h1{font-size:78px}}
@media(max-width:1100px) and (min-width:681px){.editorial-home .hero-grid{gap:45px;grid-template-columns:1.3fr .9fr}.editorial-home .hero h1{font-size:55px}.editorial-home .hero-visual{height:520px}.working-layout{gap:40px}.notes-grid{gap:28px}}
@media(max-width:800px){.working-heading{gap:30px;grid-template-columns:1.3fr 1fr}.working-layout{grid-template-columns:1fr;gap:30px}.path-choices{display:flex;gap:20px}.path-choice{flex:1;font-size:13px}.notes-grid{gap:25px}.editorial-note h3{font-size:27px}}
@media(max-width:680px){
 .editorial-home .hero{padding-top:35px}.editorial-home .hero-grid{grid-template-columns:1fr;gap:24px}.editorial-home .hero-copy{padding-bottom:0}.editorial-home .hero .kicker{font-size:11px;margin-bottom:22px}.editorial-home .hero h1{font-size:48px;line-height:1.02;margin-bottom:23px}.editorial-home .hero .intro{font-size:14px;line-height:1.85}.editorial-home .hero .actions{margin-top:25px}.editorial-home .hero .button{font-size:12px;min-height:49px}.editorial-home .hero-visual{height:420px;max-width:340px;justify-self:center;margin:24px 0 30px}.editorial-home .hero-visual:before{left:-14px;right:14px;bottom:-14px}.editorial-home .hero-visual:after{left:-14px}.editorial-home .hero-caption{left:-14px;right:14px;bottom:-14px;padding:17px 20px}.editorial-home .hero-caption strong{font-size:25px}.editorial-home .trust{margin-top:16px}.editorial-home .trust-list{column-gap:23px;row-gap:10px}.editorial-home .trust-list span{font-size:19px}.working-section{padding:45px 0}.working-heading{grid-template-columns:1fr;gap:22px;margin-bottom:25px}.working-heading h2{font-size:37px}.working-heading>p{font-size:13px}.path-choices{gap:12px;flex-direction:column}.path-choice{padding:14px 0;min-height:48px;font-size:14px}.path-panel h3{font-size:28px;margin-bottom:28px}.path-steps{grid-template-columns:1fr;gap:0;padding-left:4px}.path-steps li{border-top:0;border-left:1px solid rgba(199,154,59,.5);padding:0 0 22px 22px}.path-steps li:last-child{padding-bottom:0;border-left-color:transparent}.path-node{top:3px;left:-4px}.path-steps p{margin-top:7px;font-size:13px}.editorial-home #profile .cross-row>strong{font-size:26px}.editorial-home #approach .case-card h3{font-size:32px}.notes-grid,.delivery-chapters{grid-template-columns:1fr;gap:32px}.editorial-note h3{font-size:31px}.delivery-questions h2{font-size:32px}
}
@media(prefers-reduced-motion:reduce){.editorial-home .hero-visual,.path-panel.path-arrival,.path-arrival .path-node{animation:none}.text-link .arrow,.path-choice span{transition:none}.editorial-home .hero-copy>*{animation:none;opacity:1;transform:none}}
@media print{.working-section{background:white;color:#000}.path-choice{display:none}.path-panel[hidden]{display:block}.path-steps p,.path-stage{color:#000}.working-layout,.working-heading{display:block}}
/* Keep mobile contact actions in the normal paint flow. */
@media(max-width:680px){.editorial-home .hero-copy>*{animation:none;transform:none;opacity:1}.editorial-home .hero .actions{display:grid;grid-template-columns:1fr}.editorial-home .hero .actions .button{width:100%;justify-content:space-between}}
.editorial-home .hero .actions .button:not(.outline){color:var(--ivory);position:relative;isolation:isolate}
@media(max-width:380px){.header-inner{gap:10px;padding-left:16px;padding-right:16px}.header-inner .logo img{width:120px}.editorial-home .hero h1{font-size:43px}}
.delivery-experience{max-width:850px;font-size:17px;line-height:1.8;margin:0 0 40px}
html[lang=en] .editorial-home .hero h1{font-size:clamp(46px,4.45vw,72px)}
@media(max-width:680px){html[lang=en] .editorial-home .hero h1{font-size:42px;line-height:1.05}}
@media(max-width:380px){html[lang=en] .editorial-home .hero h1{font-size:38px}}
.working-section:not([data-enhanced]) .path-choices{display:none}
.working-section:not([data-enhanced]) .working-layout{display:block}
@media print{.working-section h2,.working-section h3,.working-section .text-link,.working-section .section-note{color:#000!important}.path-panel+.path-panel{margin-top:25px}.path-steps{break-inside:avoid}}
