/* V7 — new layout, November 2026. Brand red is retained from V6B. */
:root{color-scheme:light;--red:#b2000b;--red-deep:#9e1220;--gold:#ffbf30;--gold-hover:#ffbf30;--gold-ink:#80601a;--ink:#2c2c28;--muted:#68675e;--paper:#f5f3ed;--warm:#eeebe2;--line:#dedbd2;--dark:#191a17;--display:Lora,Georgia,serif;--body:'Source Sans 3',Arial,sans-serif;--gutter:max(clamp(22px,5vw,96px),calc((100% - 1500px)/2));--space:clamp(48px,6vw,104px)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:400 18px/1.75 var(--body);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}a{color:var(--red);text-underline-offset:5px}a,button{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}button{cursor:pointer}img{display:block;max-width:100%;height:auto}figure{margin:0;min-width:0}figcaption{font-size:13px;line-height:1.5;color:var(--muted);padding-top:12px}h1,h2,h3,p{margin:0 0 24px}h1,h2{font-family:var(--display);font-weight:400;letter-spacing:-.035em;text-wrap:balance}h1{font-size:clamp(40px,3.9vw,66px);line-height:1.18}h2{font-size:clamp(30px,2.6vw,44px);line-height:1.25}h3{font-size:21px;line-height:1.45;font-weight:600;letter-spacing:-.01em}p{max-width:66ch}p:last-child{margin-bottom:0}.intro{font-size:clamp(19px,1.4vw,23px);line-height:1.6;max-width:58ch}.prose{max-width:760px}[hidden]{display:none!important}::selection{background:var(--gold);color:#25251e}:focus-visible{outline:3px solid #967000;outline-offset:5px}[id]{scroll-margin-top:164px}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:#fff;color:var(--red);padding:12px 22px}.skip-link:focus{top:10px}#contenu:focus{outline:none}
/* One unobtrusive navigation, available throughout the visit. */
.masthead{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:28px;padding:15px var(--gutter);min-height:82px;background:var(--red) url('assets/nav-texture.png') center/auto 82px;border-bottom:1px solid #ffffff24;transition:background-color .2s,box-shadow .2s}
.brand{flex-shrink:0;line-height:1}.brand a{display:block}.brand-logo{width:236px;height:auto}.page-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(8px,1.6vw,28px);margin-left:auto}.page-nav a{color:white;text-decoration:none;font-size:15px;font-weight:600;line-height:1.5;padding:12px 0;white-space:nowrap;border-bottom:1px solid transparent}.page-nav a:hover,.page-nav a[aria-current=page]{border-bottom-color:var(--gold)}.page-nav .visit-nav{padding:11px 19px;border:1px solid #ffffff70}.page-nav .visit-nav:hover{background:#ffffff14;border-color:var(--gold)}.menu-toggle{display:none}.home-page .masthead{position:fixed;inset:0 0 auto}.home-page:not(.header-scrolled) .masthead{background:transparent;border-bottom:1px solid #ffffff18}.header-scrolled .masthead{box-shadow:0 2px 14px #0002}
/* Home: an immersive portrait, with the original text kept intact. */
.landing-hero{position:relative;isolation:isolate;background:var(--dark);color:#f9f6ee;min-height:min(980px,100svh);display:flex;align-items:center;padding:164px var(--gutter) 96px;overflow:hidden}
.landing-portrait{position:absolute;inset:0 0 0 35%;z-index:-2;background:#be1015}.landing-portrait img{width:100%;height:100%;object-fit:cover;object-position:55% 24%}
.landing-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#191a17 0%,#191a17 27%,#191a17eb 42%,#191a1766 66%,#191a1730 100%),linear-gradient(0deg,#191a1780,transparent 40%)}
.landing-copy{max-width:690px;width:53%;position:relative}.landing-label{font-size:clamp(15px,1.15vw,19px);letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-bottom:28px}.landing-copy h1{font-size:clamp(42px,3.8vw,70px);line-height:1.16;max-width:20ch;margin-bottom:30px;color:#f8f5ed;font-weight:400}.landing-copy .v4-lead{font-size:20px;line-height:1.65;font-weight:400;max-width:53ch;color:#eeede5}.landing-copy p:not(.v4-lead){color:#d0d0c5;font-size:17px;line-height:1.75;max-width:54ch}.v4-actions{display:flex;gap:22px;flex-wrap:wrap;align-items:center;margin-top:30px}.v4-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:15px 24px;font-size:16px;font-weight:600;line-height:1.4;background:var(--red);color:#fff;text-decoration:none;border:1px solid var(--red);transition:background .2s,border-color .2s}.v4-button:hover{background:var(--red-deep);border-color:var(--red-deep)}.v4-textlink,.book-related{display:inline-block;font-size:16px;font-weight:600;line-height:1.5;color:var(--red);text-decoration:none;border-bottom:1px solid currentColor;padding:7px 0}.v4-textlink:hover{color:var(--red-deep)}.landing-copy .v4-button{background:var(--gold);border-color:var(--gold);color:#25251e}.landing-copy .v4-button:hover{background:var(--gold-hover)}.landing-copy .v4-textlink{color:#f3efe3;font-weight:400;border-color:#c8baa0}
.v4-proof{background:var(--dark);color:#e5e3d9;padding:34px var(--gutter);border-top:1px solid #ffffff21}.v6-milestones{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px}.v6-milestones span{font-size:14px;line-height:1.6;border-left:1px solid var(--gold);padding-left:22px}.v6-milestones strong{display:block;font:400 30px/1.2 var(--display);color:var(--gold);margin-bottom:12px}.v6-milestones span:last-child strong{color:#fff}
/* Content breathes in a broad canvas; line lengths remain bounded. */
.section,.v4-section,.v4-visit-steps{padding:var(--space) var(--gutter)}.v4-arts{background:#fff}.v4-heading{max-width:750px}.v4-arts .v4-heading{max-width:760px;margin-bottom:36px}.v4-art-list{display:grid;grid-template-columns:1.25fr 1fr;gap:7%;margin-bottom:30px}.v4-art-list>div{border-top:1px solid var(--line);padding:26px 0}.v4-art-list h3{color:var(--red);font:600 14px/1.5 var(--body);letter-spacing:.08em;margin-bottom:18px;text-transform:uppercase}.v4-art-list strong{display:block;font:400 clamp(24px,1.8vw,30px)/1.7 var(--display);max-width:36ch}
.v4-culture,.v4-sifu{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:clamp(40px,7vw,120px)}.v4-culture{background:var(--paper)}.v4-culture img{width:100%}.v4-culture h2,.v4-sifu h2{max-width:24ch}.v4-sifu{grid-template-columns:.95fr 1.05fr}.founder-gallery{width:100%;max-width:450px;justify-self:center}.founder-gallery .practice-photo{margin:0}.founder-gallery img{width:100%;height:auto}.founder-gallery figcaption{font-size:12px}
.v4-legacy{position:relative;isolation:isolate;background:var(--dark);color:#f6f2e7;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:10%;overflow:hidden}.v4-legacy:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#191a17e1 15%,#191a17ca 65%,#191a17b5),url('assets/header-banner.jpg') center/cover}.heritage-emblem{width:60px;margin-bottom:28px}.v4-legacy h2{max-width:22ch;font-size:clamp(36px,3vw,52px)}.v4-legacy p{color:#d5d4c9;font-size:20px;max-width:48ch}.v4-legacy .v4-textlink{color:var(--gold)}.v4-cover-link{display:block;max-width:280px;justify-self:center;width:100%;perspective:1000px}.v4-cover-link img{width:100%;box-shadow:15px 20px 35px #0006;transform:rotate(-3deg);transition:transform .25s}.v4-cover-link:hover img{transform:rotate(0)}.v4-contact{padding:70px var(--gutter);display:flex;gap:50px;align-items:center;justify-content:space-between;background:var(--warm)}.v4-contact>div{max-width:810px}.v4-contact h2{max-width:26ch}.v4-contact .v4-button{flex-shrink:0}
/* A consistent introduction across all interior pages. */
.page-header{padding:clamp(56px,6vw,100px) var(--gutter);background:var(--paper);border-bottom:1px solid var(--line)}.page-header h1{margin-bottom:24px}.page-header h1:before{content:'';display:block;width:40px;height:3px;background:var(--gold);margin-bottom:28px}.header-text{text-align:center}.header-text>div{max-width:900px;margin:0 auto}.header-text h1:before{margin-left:auto;margin-right:auto}.header-text p{margin-left:auto;margin-right:auto}.page-header p:last-child{margin-bottom:0}.header-image{display:grid;grid-template-columns:1.15fr .85fr;gap:9%;align-items:center}.header-image>div{max-width:740px}.header-image figure{max-width:520px;justify-self:end;width:100%}.header-image .portrait{max-width:420px}.archive-photo img{width:100%;height:auto}.instructors-photo{margin:44px auto 0;max-width:820px}.instructors-photo img{width:100%}.book-hero{background:var(--dark);color:#f8f4e8}.book-hero p{color:#dfddd2}.book-hero .book-cover{max-width:280px;justify-self:center}.book-cover img{box-shadow:10px 15px 35px #0005}.book-hero figcaption{color:#c8c6b8}.book-hero .intro{color:var(--gold)}
.practice-band{padding:56px var(--gutter);display:grid;grid-template-columns:.8fr 1.2fr;gap:8%;background:var(--warm);border-bottom:1px solid var(--line)}.practice-band h2{margin:0;text-align:right;justify-self:end;line-height:1.4;color:var(--ink)}.practice-copy{max-width:720px}.origins-layout{display:grid;grid-template-columns:1fr;gap:28px;max-width:820px;margin:0 auto}.origins-layout h2{max-width:none;margin:0}.origins-layout p{max-width:none}.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:8%;align-items:center}.two-col h2{max-width:24ch}body[data-page=academie] .section:last-child{background:var(--paper)}
/* Clear shortcuts on long pages, with generous image targets. */
.section-nav{position:sticky;top:82px;z-index:30;display:flex;align-items:center;justify-content:center;gap:12px 38px;flex-wrap:wrap;background:#fffffffa;border-bottom:1px solid var(--line);padding:13px var(--gutter)}.section-nav a{font-size:15px;line-height:1.5;font-weight:600;color:var(--muted);text-decoration:none;padding:7px 0;border-bottom:1px solid transparent}.section-nav a:hover,.section-nav a[aria-current]{color:var(--red);border-color:var(--red)}.teaching-map{display:grid;grid-template-columns:1.15fr .85fr;gap:10%;align-items:center}.teaching-map>div{max-width:720px}.teaching-map>a{display:block;width:100%;max-width:370px;justify-self:center;text-decoration:none}.teaching-map img{width:100%;border:1px solid var(--line)}.teaching-map a>span{display:inline-block;margin-top:12px;font-size:15px;text-decoration:underline;text-underline-offset:5px}.category-bar{font:400 clamp(30px,2.6vw,42px)/1.3 var(--display);margin:0;padding:32px var(--gutter);background:var(--paper);border-block:1px solid var(--line)}.category-bar:before{content:'';display:inline-block;width:24px;height:2px;background:var(--red);vertical-align:middle;margin:0 20px 6px 0}.arts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 7%}.art{padding:28px 0 0;border-top:1px solid #c5bda7}.art h3{font-family:var(--display);font-size:25px;font-weight:400;line-height:1.4;max-width:36ch}.art .subtitle{font-size:15px;color:var(--gold-ink);font-weight:600;margin-top:-8px}.art p{font-size:18px;line-height:1.75}.lineage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;margin-top:42px}.lineage{padding:34px;background:var(--paper);border-top:2px solid var(--gold)}.lineage h3{font:400 30px/1.3 var(--display);margin-bottom:18px}.lineage p{font-size:17px}.lineage-figure{margin-top:26px}.lineage-figure img{width:100%;height:auto;background:#fff}.lineage-figure figcaption{font-size:12px}.lineage details{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;font-size:15px}.lineage summary{cursor:pointer;color:var(--red)}.alternate-tree{margin:20px auto 0;width:231px}.image-preview{cursor:zoom-in;display:block;position:relative}.image-preview:after{content:'⌕';position:absolute;right:12px;top:12px;width:34px;height:34px;display:grid;place-items:center;background:#fffffff2;color:var(--red);box-shadow:0 2px 12px #0001;font:20px/1 Arial,sans-serif;border-radius:50%;transition:background .2s,color .2s;pointer-events:none}.image-preview:hover:after{background:var(--red);color:white}.image-preview:focus-visible{outline-offset:5px}.book-spreads{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:40px}.book-spreads figure{background:var(--paper);padding:20px}.book-spreads img{width:100%;height:auto}.book-back-preview{padding-top:0}.book-back-preview figure{max-width:250px;margin:0 auto}
/* A timeline that reads as a story rather than a wall of cards. */
.v4-sifu-summary{background:var(--paper);padding:34px var(--gutter);border-bottom:1px solid var(--line)}.v4-sifu-summary>div{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}.v4-sifu-summary span{font-size:15px;line-height:1.6;border-left:2px solid var(--gold);padding-left:20px}.v4-sifu-summary b{display:block;font:400 28px/1.3 var(--display);color:var(--red);margin-bottom:8px}.chronology-section .section-body{display:grid;grid-template-columns:.65fr 1.35fr;gap:7%;align-items:start}.chronology-section h2{position:sticky;top:120px;max-width:16ch}.timeline{position:relative}.timeline:before{content:'';position:absolute;left:122px;top:8px;bottom:28px;width:1px;background:var(--line)}.moment{position:relative;display:grid;grid-template-columns:100px 1fr;gap:46px;padding:0 0 28px}.moment:before{content:'';position:absolute;width:7px;height:7px;left:119px;top:10px;background:var(--red);border-radius:50%}.year{font-size:15px;font-weight:600;color:var(--red);text-align:right;line-height:1.6}.moment-content{padding-bottom:28px;border-bottom:1px solid var(--line)}.moment-content h3{font-size:21px}.moment-content p{font-size:17px;line-height:1.4}.v4-visit-steps>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;margin-top:34px}.v4-visit-steps section{border-top:2px solid var(--gold);padding:26px 0}.v4-visit-steps p{font-size:18px}.v4-visit-note{margin:0 var(--gutter) 64px;max-width:75ch;font-size:15px;color:var(--muted);border-top:1px solid var(--line);padding-top:22px}
/* A restrained footer with the phone as its clear final action. */
.site-footer{background:var(--dark);color:#d7d7cc;padding:64px var(--gutter) 24px;border-top:3px solid var(--red)}.footer-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:10%;margin-bottom:48px}.site-footer h2{font:400 27px/1.3 var(--display);color:#eee9dc;margin-bottom:26px}.site-footer p{font-size:17px;margin-bottom:10px}.site-footer nav{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px;max-width:640px}.site-footer a{color:#d7d7cc;text-decoration:none;font-size:16px}.site-footer a:hover{color:var(--gold);text-decoration:underline}.site-footer .footer-phone{font:400 30px/1.3 var(--display);color:var(--gold);white-space:nowrap}.footer-bottom{border-top:1px solid #ffffff24;padding-top:22px;text-align:center;font-size:13px;color:#b9b9ac}
/* Shared accessible image viewer. Same gallery grouping as V6B. */
#diagram-preview{width:min(1280px,96vw);max-width:96vw;height:min(94dvh,1200px);max-height:94dvh;margin:auto;padding:0;border:0;background:var(--paper);color:var(--ink);box-shadow:0 20px 80px #0007;overflow:hidden}#diagram-preview::backdrop{background:#10110fe0}.diagram-panel{height:100%;display:flex;flex-direction:column}.diagram-toolbar{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:12px 20px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0}.diagram-toolbar h2{font:400 clamp(20px,2vw,28px)/1.3 var(--display);margin:0}.diagram-close{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;padding:0;border-radius:50%;background:var(--red);color:#fff;border:0;font:30px/1 Arial,sans-serif}.diagram-scroll{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.diagram-scroll img{display:block;width:100%;height:auto}.preview-controls{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}.preview-arrow{width:44px;height:44px;border:1px solid var(--line);background:var(--paper);color:var(--red);font:34px/1 Arial,sans-serif}.preview-arrow:hover,.diagram-close:hover{background:var(--red-deep);color:white}.preview-counter{font:15px/1.3 var(--body);color:var(--muted);min-width:36px;text-align:center}
@media(min-width:1800px){.arts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#arts-externes+section .arts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1150px){.masthead{padding-inline:3%;gap:18px}.brand-logo{width:210px}.page-nav{gap:16px}.page-nav a{font-size:14px}.page-nav .visit-nav{padding-inline:14px}.landing-copy{width:58%}.landing-copy h1{font-size:clamp(42px,4.6vw,58px)}.landing-hero{padding-top:140px;padding-bottom:70px;min-height:800px}.chronology-section .section-body{grid-template-columns:1fr;gap:24px}.chronology-section h2{position:static;max-width:none}.timeline{max-width:1000px}}
@media(max-width:900px){
 :root{--gutter:clamp(22px,5vw,44px);--space:56px}
 .masthead,.home-page:not(.header-scrolled) .masthead{min-height:74px;padding:10px var(--gutter);flex-wrap:wrap;gap:0;background-color:var(--red);background-image:url('assets/nav-texture.png');background-size:auto 74px;background-repeat:repeat-x;background-position:center top}
 .brand-logo{width:216px;max-width:56vw}.page-nav{width:100%;margin:10px 0 0;flex-direction:column;align-items:stretch;gap:0;background:var(--red);border-top:1px solid #ffffff40;padding:10px 0;max-height:calc(100dvh - 100px);overflow-y:auto}.page-nav a,.page-nav .visit-nav{padding:12px 14px;border:0;border-left:2px solid transparent;font-size:17px;white-space:normal}.page-nav a[aria-current=page],.page-nav a:hover{background:#0001;border-left-color:var(--gold)}.js .page-nav:not(.is-open){display:none}.js .menu-toggle{display:flex;align-items:center;gap:10px;margin-left:auto;color:#fff;background:transparent;border:1px solid #ffffff70;padding:10px 12px;min-height:44px;font:600 15px/1 var(--body)}.menu-icon{width:20px;display:flex;flex-direction:column;gap:4px}.menu-icon i{display:block;width:20px;height:2px;background:currentColor;transition:transform .2s,opacity .2s}.menu-toggle[aria-expanded=true] .menu-icon i:first-child{transform:translateY(6px) rotate(45deg)}.menu-toggle[aria-expanded=true] .menu-icon i:nth-child(2){opacity:0}.menu-toggle[aria-expanded=true] .menu-icon i:last-child{transform:translateY(-6px) rotate(-45deg)}
 .section-nav{top:74px;gap:4px 24px;padding:12px var(--gutter)}.section-nav a{font-size:14px}.landing-portrait{left:32%}.landing-copy{width:62%}.landing-copy h1{font-size:46px}.landing-copy .v4-lead{font-size:18px}.v6-milestones{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.v6-milestones span{padding-left:14px}.v4-culture,.v4-sifu{gap:40px}.v4-contact{display:block;padding:52px var(--gutter)}.v4-contact .v4-button{margin-top:28px}.lineage{padding:26px}.lineage-grid{gap:28px}.header-image{gap:7%}.footer-grid{gap:7%}.site-footer nav{gap:10px 20px}
}
@media(max-width:700px){
 :root{--space:46px}body{font-size:17px}h1{font-size:40px}h2{font-size:32px}h3{font-size:21px}p{line-height:1.75}[id]{scroll-margin-top:100px}.intro{font-size:20px}
 .landing-hero{display:block;padding:0;min-height:0;overflow:visible}.landing-portrait{position:relative;inset:auto;height:clamp(420px,115vw,600px);z-index:0;overflow:hidden}.landing-portrait img{object-position:55% 24%}.landing-hero:before{display:none}.landing-portrait:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#191a17 0%,#191a17a8 10%,transparent 55%)}.landing-copy{width:100%;max-width:none;padding:0 var(--gutter) 48px;margin-top:-64px;z-index:1}.landing-label{font-size:15px;letter-spacing:.1em;margin-bottom:22px}.landing-copy h1{font-size:clamp(36px,8.6vw,52px);line-height:1.2;margin-bottom:26px;max-width:22ch}.landing-copy .v4-lead{font-size:19px}.landing-copy p:not(.v4-lead){font-size:17px}.landing-copy .v4-actions{gap:18px;align-items:flex-start;flex-direction:column}.landing-copy .v4-button{width:100%;min-height:52px}.v4-proof{padding:30px var(--gutter)}.v6-milestones{grid-template-columns:1fr 1fr;gap:28px 22px}.v6-milestones span{font-size:13px}.v6-milestones strong{font-size:27px}.v6-milestones span:last-child{grid-column:1/-1}
 .v4-art-list{grid-template-columns:1fr;gap:0;margin-bottom:18px}.v4-art-list strong{font-size:25px}.v4-arts .v4-heading{margin-bottom:26px}.v4-art-list>div{padding:24px 0}.v4-art-list h3{margin-bottom:12px}.v4-culture,.v4-sifu{grid-template-columns:1fr;gap:30px}.v4-culture>figure{order:2}.v4-legacy{grid-template-columns:1fr;gap:42px}.v4-legacy h2{font-size:36px}.v4-legacy p{font-size:19px}.v4-cover-link{max-width:220px}.heritage-emblem{width:48px;margin-bottom:22px}
 .page-header{padding:48px var(--gutter)}.header-image{grid-template-columns:1fr;gap:34px}.header-image figure{justify-self:center}.header-image .portrait{max-width:360px}.header-image .book-cover{max-width:230px}.page-header h1:before{margin-bottom:22px}.instructors-photo{margin-top:30px}.practice-band{grid-template-columns:1fr;gap:22px;padding:36px var(--gutter)}.practice-band h2{text-align:left;justify-self:start;font-size:32px;line-height:1.4}.practice-band h2 br{display:none}.origins-layout,.two-col{grid-template-columns:1fr;gap:28px}.origins-layout h2{max-width:none;margin:0}.two-col .archive-photo{order:2}.section-nav{position:static;justify-content:flex-start;gap:4px 24px}.teaching-map{grid-template-columns:1fr;gap:26px}.teaching-map>a{max-width:330px}.category-bar{padding:24px var(--gutter);font-size:31px}.category-bar:before{width:18px;margin-right:14px}.arts-grid{grid-template-columns:1fr;gap:32px}.art{padding-top:25px}.art h3{font-size:24px}.art p{font-size:17px}.lineage-grid{grid-template-columns:1fr;gap:26px;margin-top:30px}.lineage{padding:26px 22px}.lineage p{font-size:17px}.book-spreads{grid-template-columns:1fr;gap:26px;margin-top:30px}.book-spreads figure{padding:14px}.book-back-preview{padding-top:0}.v4-sifu-summary{padding:26px var(--gutter)}.v4-sifu-summary>div{grid-template-columns:1fr 1fr;gap:26px}.v4-sifu-summary span{font-size:13px;padding-left:14px}.v4-sifu-summary b{font-size:25px}.timeline:before{left:4px}.moment{grid-template-columns:1fr;gap:8px;padding:0 0 28px 26px}.moment:before{left:1px;top:8px}.year{text-align:left;font-size:14px}.moment-content{padding-bottom:25px}.moment-content h3{font-size:21px}.v4-visit-steps>div{grid-template-columns:1fr;gap:20px}.v4-visit-steps section{padding-top:20px}.v4-visit-note{margin-bottom:44px}.footer-grid{grid-template-columns:1fr;gap:38px;margin-bottom:38px}.footer-grid>div:last-child{border-top:1px solid #ffffff20;padding-top:32px}.site-footer{padding:46px var(--gutter) 22px}.site-footer nav{gap:12px 20px}.site-footer a{font-size:15px}.site-footer h2{font-size:25px}.site-footer .footer-phone{font-size:32px}.diagram-toolbar{flex-wrap:wrap;gap:8px;padding:10px 12px}.diagram-toolbar h2{flex:1 1 calc(100% - 60px);order:0;font-size:20px}.diagram-close{order:1}.preview-controls{order:2;margin:0 auto}.diagram-scroll img{width:900px;max-width:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
/* Blend the portrait edge fully; keep the mobile face below the navigation. */
@media(min-width:701px){.landing-hero:before{background:linear-gradient(90deg,#191a17 0%,#191a17 35%,#191a17d9 47%,#191a1766 66%,#191a1730 100%),linear-gradient(0deg,#191a1780,transparent 40%)}}
@media(max-width:700px){.landing-hero{padding-top:74px}}
html:not(.js) .home-page .masthead{position:relative}
@media(max-width:700px){html:not(.js) .landing-hero{padding-top:0}}
/* Contact: edge-to-edge photograph blended into the ivory introduction. */
body[data-page="nous-joindre"] .v4-visit-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:560px;overflow:hidden;padding-block:clamp(64px,7vw,120px)}
body[data-page="nous-joindre"] .v4-visit-hero>div{position:relative;z-index:2;width:51%;max-width:740px}
body[data-page="nous-joindre"] .v4-visit-hero .archive-photo{position:absolute;inset:0 0 0 auto;width:55%;max-width:none;height:100%;z-index:0}
body[data-page="nous-joindre"] .v4-visit-hero .archive-photo img{width:100%;height:100%;object-fit:cover;object-position:60% center}
body[data-page="nous-joindre"] .v4-visit-hero .archive-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--paper) 0%,#f5f3edf5 10%,#f5f3ed99 28%,#f5f3ed00 52%);pointer-events:none}
body[data-page="nous-joindre"] .v4-visit-hero figcaption{position:absolute;z-index:1;bottom:20px;right:24px;padding:6px 12px;background:#f5f3ede8;color:var(--ink);font-size:12px}
@media(max-width:900px){
 body[data-page="nous-joindre"] .v4-visit-hero{display:block;min-height:0;padding:48px 0 0}
 body[data-page="nous-joindre"] .v4-visit-hero>div{width:auto;max-width:760px;margin:0 auto;padding:0 var(--gutter) 32px}
 body[data-page="nous-joindre"] .v4-visit-hero .archive-photo{position:relative;inset:auto;width:100%;height:auto;max-width:none}
 body[data-page="nous-joindre"] .v4-visit-hero .archive-photo img{height:auto;object-fit:contain}
 body[data-page="nous-joindre"] .v4-visit-hero .archive-photo:after{background:linear-gradient(180deg,var(--paper) 0%,#f5f3ed99 8%,#f5f3ed00 26%)}
 body[data-page="nous-joindre"] .v4-visit-hero figcaption{bottom:12px;right:16px;font-size:11px}
}

/* Lineages: the same photographic introduction, with the full image in the viewer. */
body[data-page="lignees-et-heritage"] .lineage-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:560px;overflow:hidden;padding-block:clamp(64px,7vw,120px)}
body[data-page="lignees-et-heritage"] .lineage-hero>div{position:relative;z-index:2;width:51%;max-width:740px}
body[data-page="lignees-et-heritage"] .lineage-hero .instructors-photo{position:absolute;inset:0 0 0 auto;width:55%;max-width:none;height:100%;z-index:0}
body[data-page="lignees-et-heritage"] .lineage-hero .instructors-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
body[data-page="lignees-et-heritage"] .lineage-hero .instructors-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--paper) 0%,#f5f3edf5 10%,#f5f3ed99 28%,#f5f3ed00 52%);pointer-events:none}
body[data-page="lignees-et-heritage"] .lineage-hero figcaption{position:absolute;z-index:1;bottom:20px;right:24px;padding:6px 12px;background:#f5f3ede8;color:var(--ink);font-size:12px}
@media(max-width:900px){
 body[data-page="lignees-et-heritage"] .lineage-hero{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:0}
 body[data-page="lignees-et-heritage"] .lineage-hero>div{order:2;width:100%;max-width:760px;margin:0 auto;padding:32px var(--gutter) 48px}
 body[data-page="lignees-et-heritage"] .lineage-hero .instructors-photo{order:1;position:relative;inset:auto;width:100%;height:auto;max-width:none}
 body[data-page="lignees-et-heritage"] .lineage-hero .instructors-photo img{height:auto;object-fit:contain}
 body[data-page="lignees-et-heritage"] .lineage-hero .instructors-photo:after{background:linear-gradient(0deg,var(--paper) 0%,#f5f3ed99 8%,#f5f3ed00 26%)}
 body[data-page="lignees-et-heritage"] .lineage-hero figcaption{bottom:12px;right:16px;font-size:11px}
}

body[data-page="lignees-et-heritage"] .lineage-hero .instructors-photo{margin:0}
body[data-page="lignees-et-heritage"] .lineage-hero .image-preview{height:100%}
@media(max-width:900px){body[data-page="lignees-et-heritage"] .lineage-hero .image-preview{height:auto}}

/* Founder portrait: blended header; the milestone band stays independent. */
body[data-page="sifu-alain-guebenne"] .sifu-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:560px;overflow:hidden;padding-block:clamp(64px,7vw,120px)}
body[data-page="sifu-alain-guebenne"] .sifu-hero>div{position:relative;z-index:2;width:51%;max-width:740px}
body[data-page="sifu-alain-guebenne"] .sifu-hero .archive-photo{position:absolute;inset:0 0 0 auto;width:55%;max-width:none;height:100%;z-index:0}
body[data-page="sifu-alain-guebenne"] .sifu-hero .archive-photo img{width:100%;height:100%;object-fit:cover;object-position:60% 22%}
body[data-page="sifu-alain-guebenne"] .sifu-hero .archive-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--paper) 0%,#f5f3edf5 10%,#f5f3ed99 28%,#f5f3ed00 52%);pointer-events:none}
body[data-page="sifu-alain-guebenne"] .sifu-hero figcaption{position:absolute;z-index:1;bottom:20px;right:24px;padding:6px 12px;background:#f5f3ede8;color:var(--ink);font-size:12px}
@media(max-width:900px){
 body[data-page="sifu-alain-guebenne"] .sifu-hero{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:0}
 body[data-page="sifu-alain-guebenne"] .sifu-hero>div{order:2;width:100%;max-width:760px;margin:0 auto;padding:32px var(--gutter) 48px}
 body[data-page="sifu-alain-guebenne"] .sifu-hero .archive-photo{order:1;position:relative;inset:auto;width:100%;height:auto;max-width:none}
 body[data-page="sifu-alain-guebenne"] .sifu-hero .archive-photo img{height:auto;object-fit:contain}
 body[data-page="sifu-alain-guebenne"] .sifu-hero .archive-photo:after{background:linear-gradient(0deg,var(--paper) 0%,#f5f3ed99 8%,#f5f3ed00 26%)}
 body[data-page="sifu-alain-guebenne"] .sifu-hero figcaption{bottom:12px;right:16px;font-size:11px}
}

/* Mobile founder portrait: crop at the waist, above the trousers. */
@media(max-width:900px){
 body[data-page="sifu-alain-guebenne"] .sifu-hero .archive-photo{aspect-ratio:1.4;overflow:hidden}
 body[data-page="sifu-alain-guebenne"] .sifu-hero .archive-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
}
/* Match the left edge of the centered origins reading block. */
@media(min-width:701px){
 body[data-page="academie"] .practice-band{padding-inline:max(var(--gutter),calc((100% - 820px)/2));grid-template-columns:max-content minmax(0,1fr);gap:48px}
 body[data-page="academie"] .practice-band h2{text-align:left;justify-self:start}
}
/* Home founder photograph: blend into the white section without hiding the pose. */
.home .v4-sifu .practice-photo img{
 -webkit-mask-image:linear-gradient(90deg,transparent 0%,#0006 10%,#000 32%);
 mask-image:linear-gradient(90deg,transparent 0%,#0006 10%,#000 32%);
}
@media(max-width:700px){
 .home .v4-sifu .practice-photo img{
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#0009 6%,#000 18%);
  mask-image:linear-gradient(180deg,transparent 0%,#0009 6%,#000 18%);
 }
}
/* Home founder band: full-height, right-aligned image with a white transition. */
.home .v4-sifu{position:relative;isolation:isolate;display:flex;align-items:center;min-height:520px;overflow:hidden;background:#fff}
.home .v4-sifu>div:first-child{position:relative;z-index:2;width:49%;max-width:700px}
.home .v4-sifu .founder-gallery{position:absolute;inset:0 0 0 auto;width:55%;max-width:none;height:100%;z-index:0}
.home .v4-sifu .practice-photo{position:relative;width:100%;height:100%;margin:0}
.home .v4-sifu .practice-photo img{width:100%;height:100%;object-fit:cover;object-position:65% center;-webkit-mask-image:none;mask-image:none}
.home .v4-sifu .practice-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,#fffffff5 10%,#ffffff99 28%,#ffffff00 52%);pointer-events:none}
.home .v4-sifu figcaption{position:absolute;z-index:1;bottom:18px;right:24px;background:#ffffffe8;padding:6px 12px}
@media(max-width:900px){
 .home .v4-sifu{display:block;min-height:0;padding:46px 0 0}
 .home .v4-sifu>div:first-child{width:auto;max-width:760px;margin:0 auto;padding:0 var(--gutter) 32px}
 .home .v4-sifu .founder-gallery{position:relative;inset:auto;width:100%;height:auto;max-width:none}
 .home .v4-sifu .practice-photo{height:auto}
 .home .v4-sifu .practice-photo img{height:auto;object-fit:contain}
 .home .v4-sifu .practice-photo:after{background:linear-gradient(180deg,#fff 0%,#ffffff99 8%,#ffffff00 26%)}
 .home .v4-sifu figcaption{bottom:12px;right:16px;font-size:11px}
}
/* Opaque textured navigation with a 10% black overlay. */
.masthead{isolation:isolate;background:transparent!important}
.masthead:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#0000001a,#0000001a),var(--red) url('assets/nav-texture.png') center/auto 82px;opacity:1;transition:opacity .2s}
.home-page:not(.header-scrolled) .masthead:before{opacity:0}
@media(max-width:900px){
 .masthead:before{background-color:var(--red);background-image:linear-gradient(#0000001a,#0000001a),url('assets/nav-texture.png');background-size:100% 100%,auto 74px;background-position:center,center top;background-repeat:no-repeat,repeat-x}
 .home-page:not(.header-scrolled) .masthead:before{opacity:1}
 .masthead .page-nav{background:transparent}
}
/* Footer identity: emblem on the left, navigation and contact alongside. */
.footer-grid{grid-template-columns:140px minmax(0,1.35fr) minmax(0,.85fr);gap:6%;align-items:start}
.footer-logo{display:block;width:140px;margin-top:4px}
.footer-logo img{width:100%;height:auto}
@media(max-width:900px){
 .footer-grid{grid-template-columns:100px minmax(0,1fr);gap:32px}
 .footer-logo{width:100px}
 .footer-grid>div:last-child{grid-column:2}
}
@media(max-width:700px){
 .footer-grid{grid-template-columns:1fr;gap:30px}
 .footer-logo{width:100px;margin:0}
 .footer-grid>div:last-child{grid-column:auto}
}
/* Give the instructors more room in the desktop introduction. */
@media(min-width:901px){
 body[data-page="lignees-et-heritage"] .lineage-hero .instructors-photo{width:68%}
 body[data-page="lignees-et-heritage"] .lineage-hero .instructors-photo img{object-position:center top}
 body[data-page="lignees-et-heritage"] .lineage-hero>div{width:43%}
}

/* Preserve the full-height founder photo inside its preview link. */
.home .v4-sifu .practice-photo .image-preview{height:100%}
@media(max-width:900px){.home .v4-sifu .practice-photo .image-preview{height:auto}}

/* Larger magnifier inside the existing preview circle. */
.image-preview:after{font-size:26px}
