@import url('/assets/fonts.css');
body{font-family:'Manrope','Segoe UI',sans-serif}.header{padding:25px 0}.header nav{font-size:16px}.brand{font-size:28px}.preview-note{background:transparent;font-size:12px;padding:4px;color:#73818a}.button{font-size:17px;min-height:56px;padding:16px 22px;font-weight:600;border-radius:7px}.brand span{font-size:11px}.home-v2{--home-blue:#226ca4;--home-ink:#12334e;color:var(--home-ink)}.home-v2 h1,.home-v2 h2,.home-v2 h3{font-weight:650}.home-v2 .eyebrow{font-size:14px;letter-spacing:2.2px;margin-bottom:18px}.home-v2 h2{font-size:clamp(32px,3.7vw,46px);letter-spacing:-1.5px;line-height:1.16;margin:0 0 22px}.home-v2 p{font-size:19px;line-height:1.65}.welcome{display:grid;grid-template-columns:1.13fr 1fr;gap:34px;align-items:center;padding:58px 0 95px}.welcome h1{font-size:clamp(48px,5.1vw,67px);line-height:1.09;letter-spacing:-2.8px;margin:18px 0 25px}.welcome h1 span{color:#245e87}.welcome .welcome-sub{font-size:23px;color:#526a7b;line-height:1.5;margin-bottom:29px}.welcome-actions{display:flex;flex-wrap:wrap;gap:13px}.welcome-actions .button{font-size:16px;padding:16px 18px;gap:16px}.welcome-visual{position:relative;padding-bottom:25px}.denis-main{display:block;width:100%;height:490px;object-fit:cover;object-position:55% center;border-radius:14px}.portrait-caption{position:absolute;bottom:38px;left:22px;color:white;font-size:14px!important;text-shadow:0 1px 4px #0009;letter-spacing:.04em}.note-card{position:absolute;right:-14px;bottom:-44px;width:205px;background:#fffdf7;box-shadow:0 10px 25px #2030401c;padding:8px 16px 20px;border:1px solid #e9e1d4;transform:rotate(7deg);border-radius:6px;text-align:center}.handwriting{font-family:'Caveat',cursive;font-size:30px;line-height:1.1;color:#215c88;font-weight:500}.sketch{background-image:url('/assets/illustrations.webp');background-repeat:no-repeat;background-size:200% 200%;aspect-ratio:1;mix-blend-mode:multiply}.notebook{background-position:0 0}.chairs{background-position:100% 0}.support{background-position:0 100%}.library-art{background-position:100% 100%}.note-card .sketch{height:115px;width:115px;margin:auto}.home-heading{display:grid;grid-template-columns:1fr auto;align-items:end;margin-bottom:30px}.home-heading .eyebrow{grid-column:1/-1}.home-heading h2{margin-bottom:0}.home-heading .text-link{padding-bottom:4px}.home-v2 .text-link{font-size:18px;text-underline-offset:6px}.learn-section{padding:25px 0 60px}.learning-routes{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.learning-main{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;background:#fffdf8;border:1px solid #e4ded3;border-radius:12px;padding:28px 24px 28px 6px;box-shadow:0 4px 14px #22334406}.learning-main .sketch{width:100%}.learning-main h3,.learning-practice h3{font-size:29px;letter-spacing:-.8px;line-height:1.22;margin:10px 0 15px}.learning-main .eyebrow,.learning-practice .eyebrow{font-size:12px}.learning-routes p{font-size:17px;color:#526b7c;line-height:1.55;margin-bottom:25px}.learning-practice{padding:34px;background:#eaf2f5;border-radius:12px;display:flex;flex-direction:column;align-items:start}.route-action{font-weight:650;color:#22649a;display:flex;gap:22px;align-items:center;font-size:17px;margin-top:auto}.route-action b{font-size:24px;font-weight:400}.learning-routes>a:hover{box-shadow:0 8px 25px #294d6e12;transform:translateY(-3px)}.learning-routes>a{transition:transform .2s,box-shadow .2s}.teaching-section{display:grid;grid-template-columns:1.08fr 1fr;gap:65px;align-items:center;padding:45px 0 90px}.teaching-photo{position:relative;margin-bottom:25px}.teaching-photo img{width:100%;height:auto;border-radius:10px;display:block}.photo-note{position:absolute;bottom:-35px;right:15px;background:#fffdf7;padding:15px 24px;transform:rotate(-5deg);box-shadow:0 5px 18px #122d4617}.teaching-point{display:flex;gap:18px;padding:17px 0;border-bottom:1px solid #dce4e6}.teaching-point>span{font-size:19px;color:#5687a8;padding-top:2px}.teaching-point h3{font-size:23px;margin:0 0 5px;letter-spacing:-.5px}.teaching-point p{font-size:17px;color:#526b7c;margin:0;line-height:1.5}.personal-section{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;background:#e9f2f7;margin:10px -25px 70px;padding:48px 52px;border-radius:16px;gap:20px}.personal-section h2{font-size:44px}.personal-section h2 span{color:#397397}.personal-section p{font-size:19px;color:#4c6578}.personal-art .sketch{width:100%}.personal-art .handwriting{display:block;text-align:center;font-size:33px;margin-top:-28px;transform:rotate(-4deg)}.about-strip{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:30px 0 65px;border-bottom:1px solid #d9e1e3}.about-strip .about-role{color:#526b7c;font-size:19px}.about-strip .about-quote{font-size:27px;line-height:1.5;letter-spacing:-.6px;padding-top:26px}.social-strip{display:grid;grid-template-columns:300px 1fr;gap:65px;align-items:center;padding:50px 0}.social-strip .sketch{width:300px}.social-strip p{font-size:19px;color:#526b7c}.reading-section{padding:30px 0 55px;border-top:1px solid #d9e1e3}.reading-content{display:grid;grid-template-columns:1fr 1.2fr;gap:65px;align-items:center}.reading-content>.sketch{width:300px;justify-self:center}.reading-links a{display:flex;justify-content:space-between;align-items:center;padding:23px 0;border-bottom:1px solid #d6e0e4;font-size:28px;font-weight:550}.reading-links small{display:block;font-size:16px;color:#607889;font-weight:400;margin-top:4px}.reading-links b{font-size:27px;font-weight:400;color:#226ca4}.home-contact{border-top:1px solid #d6e0e4;display:flex;align-items:center;justify-content:space-between;padding:40px 0 15px}.home-contact h2{font-size:32px;margin:0}.home-v2+.footer{margin-top:30px}
@media(min-width:1400px){.header,main,.footer-inner{width:min(1240px,calc(100% - 100px))}.welcome{gap:55px}.welcome h1{font-size:70px}.denis-main{height:540px}}
@media(max-width:1000px){.welcome h1{font-size:52px}.welcome-actions{flex-direction:column;align-items:start}.denis-main{height:470px}.note-card{width:180px}.learning-routes{grid-template-columns:1.3fr 1fr}.learning-main{grid-template-columns:1fr;padding:26px}.learning-main>.sketch{width:140px;height:120px;align-self:start}.teaching-section{gap:32px}.personal-section{margin-left:0;margin-right:0;padding:35px}.personal-section h2{font-size:37px}.home-v2 p{font-size:18px}.about-strip{gap:35px}}
@media(max-width:760px){.header{padding:15px 0}.brand{font-size:24px}.preview-note{font-size:11px}.home-v2 .eyebrow{font-size:12px;letter-spacing:1.6px}.welcome{grid-template-columns:1fr;padding:32px 0 56px;gap:29px}.welcome h1{font-size:clamp(40px,10vw,58px);letter-spacing:-1.8px;line-height:1.07;margin-top:15px}.welcome h1 br:nth-of-type(2){display:none}.welcome h1 span:after{content:' '}.welcome .welcome-sub{font-size:20px;margin-bottom:22px;line-height:1.45}.welcome-actions{flex-direction:row;gap:10px}.welcome-actions .button{font-size:15px;padding:14px 16px;min-height:54px}.welcome-visual{padding-bottom:20px;margin-right:8px}.denis-main{height:auto;aspect-ratio:1.22;object-position:center;border-radius:10px}.note-card{width:144px;right:-6px;bottom:-9px;padding:5px 10px 12px}.note-card .sketch{height:80px;width:80px}.note-card .handwriting{font-size:24px}.portrait-caption{bottom:27px;left:15px}.home-v2 h2{font-size:32px;letter-spacing:-1px}.home-heading{grid-template-columns:1fr;gap:6px}.home-heading .eyebrow{margin-bottom:9px}.home-heading .text-link{margin-top:10px;font-size:16px}.learning-routes{grid-template-columns:1fr;gap:15px}.learning-main{grid-template-columns:110px 1fr;gap:9px;padding:24px 16px 24px 0}.learning-main>.sketch{width:110px;height:130px;align-self:center}.learning-main h3,.learning-practice h3{font-size:25px}.learning-main p,.learning-practice p{font-size:16px}.learning-main .eyebrow,.learning-practice .eyebrow{font-size:11px}.learning-practice{padding:27px}.learning-practice h3 br{display:none}.learning-practice h3 br:after{content:' '}.route-action{font-size:16px}.learn-section{padding-bottom:25px}.teaching-section{grid-template-columns:1fr;gap:45px;padding:25px 0 45px}.teaching-copy{order:-1}.teaching-point h3{font-size:22px}.teaching-point p{font-size:16px}.photo-note{font-size:26px;bottom:-24px}.personal-section{grid-template-columns:1fr;padding:30px 24px;margin-bottom:40px;gap:10px}.personal-section h2{font-size:34px}.personal-section p br{display:none}.personal-art{max-width:280px;justify-self:center}.personal-art .handwriting{font-size:28px;margin-top:-30px}.personal-art .sketch{width:260px}.about-strip{grid-template-columns:1fr;gap:12px;padding:15px 0 35px}.about-strip .about-quote{font-size:24px;padding-top:0}.social-strip{grid-template-columns:100px 1fr;gap:18px;padding:35px 0}.social-strip .sketch{width:110px}.social-strip h2{font-size:29px}.social-strip p{font-size:16px}.social-strip p br{display:none}.social-strip .text-link{font-size:16px}.reading-content{grid-template-columns:90px 1fr;gap:22px}.reading-content>.sketch{width:120px}.reading-links a{font-size:25px;padding:17px 0}.reading-links small{font-size:14px}.home-contact{flex-direction:column;align-items:start;gap:18px;padding-top:25px}.home-contact h2{font-size:29px}.button{font-size:16px}.header nav{font-size:16px}.home-v2 .text-link{font-size:17px}}
@media(prefers-reduced-motion:reduce){.learning-routes>a{transition:none}.learning-routes>a:hover{transform:none}}
.home-v2{overflow-x:clip;padding-right:2px;padding-left:2px}.header nav a{white-space:nowrap}@media(min-width:761px) and (max-width:950px){.header{flex-wrap:wrap;gap:14px}.header nav{width:100%;justify-content:space-between}.welcome h1{font-size:45px}.welcome{gap:25px}.welcome .welcome-sub{font-size:20px}}

/* Center the small course illustration within its existing column. */
.learning-main>.inline-drawing{justify-self:center}
@media(min-width:761px){.learning-main>.inline-drawing{justify-self:end;margin-right:44px}}

/* Compact learning cards with a slightly stronger course illustration. */
@media(min-width:1001px){
 .home-v2 .learning-main{padding-top:20px;padding-bottom:20px}
 .home-v2 .learning-practice{padding-top:26px;padding-bottom:26px}
 .home-v2 .learning-main>.inline-drawing{width:184px;max-height:184px;margin-right:32px}
}
@media(min-width:761px) and (max-width:1000px){
 .home-v2 .learning-main{padding-top:18px;padding-bottom:18px}
 .home-v2 .learning-practice{padding-top:26px;padding-bottom:26px}
 .home-v2 .learning-main>.inline-drawing{width:184px;max-height:184px;justify-self:center;margin-right:0}
}
@media(max-width:760px){
 .home-v2 .learning-main{padding-top:16px;padding-bottom:16px}
 .home-v2 .learning-practice{padding-top:19px;padding-bottom:19px}
}

/* Fill the note's image area without changing the card or caption geometry. */
.home-v2 .note-card>.inline-drawing{width:100%;height:95px;margin-inline:auto;object-fit:contain;object-position:center}

/* Symmetric placement inside the course card illustration column. */
.home-v2 .learning-main>.inline-drawing{justify-self:center;margin-left:0;margin-right:0}

/* Phone-only proportions; desktop layout remains unchanged. */
@media(max-width:760px){
 .home-v2 .note-card{width:134px;padding:3px 3px 8px;right:-13.4px;bottom:-21px}
 .home-v2 .note-card>.inline-drawing{width:100%;height:70px;margin:0}
 .home-v2 .note-card .handwriting{display:block;font-size:20px;line-height:1.05}
 .home-v2 .learning-main{grid-template-columns:minmax(0,1fr);gap:2px;padding:20px 24px}
 .home-v2 .learning-main>.inline-drawing{width:184px;height:154px;max-height:154px;justify-self:center;margin-bottom:-6px}
 .home-v2 .learning-main>div{min-width:0}
 .home-v2 .learning-main p br{display:none}
 .home-v2 .learning-main .route-action{justify-content:space-between;gap:12px}
}

/* Enlarge the mobile course drawing without changing its layout box. */
@media(max-width:760px){.home-v2 .learning-main>.inline-drawing{transform:scale(1.2);transform-origin:center}}
/* Mobile social project: clear reading order and a legible drawing. */
@media(max-width:760px){
 .home-v2 .social-strip{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .home-v2 .social-strip>div{display:contents}
 .home-v2 .social-strip .eyebrow{order:0;margin:0 0 12px}
 .home-v2 .social-strip h2{order:1;margin:0 0 18px}
 .home-v2 .social-strip>.inline-drawing{order:2;width:190px;max-width:100%;height:auto;max-height:none;align-self:center;margin:0 0 20px}
 .home-v2 .social-strip p:not(.eyebrow){order:3;margin:0 0 20px}
 .home-v2 .social-strip .text-link{order:4;align-self:flex-start}
}

/* Original blue illustrations; the note keeps its existing image-area height. */
.home-v2 .restored-note-art{display:flex;align-items:center;justify-content:center;height:95px;overflow:hidden}
.home-v2 .note-card .restored-note-art .sketch{display:block;flex:none;width:120px;height:120px;margin:0}
.home-v2 .social-strip>.restored-support{width:210px;height:210px;justify-self:center}
@media(max-width:760px){
 .home-v2 .restored-note-art{height:70px}
 .home-v2 .note-card .restored-note-art .sketch{width:63px;height:63px}
 .home-v2 .social-strip>.restored-support{display:block;order:2;width:190px;height:190px;align-self:center;margin:0 0 20px}
}
/* Enlarge the hands while trimming the sprite's empty vertical margins. */
.home-v2 .social-strip>.restored-support{position:relative;width:252px;height:166px;aspect-ratio:auto;overflow:hidden;background-image:none}
.home-v2 .social-strip>.restored-support::before{content:"";position:absolute;width:252px;height:252px;left:50%;top:50%;transform:translate(-50%,-50%);background:url('/assets/illustrations.webp') 0 100% / 200% 200% no-repeat}
@media(max-width:760px){
 .home-v2 .social-strip>.restored-support{width:228px;height:150px}
 .home-v2 .social-strip>.restored-support::before{width:228px;height:228px}
}
/* Leave room for the mobile note's overhang inside the viewport. */
@media(max-width:760px){.home-v2{overflow-x:visible}}

/* Restore the original consultation illustration. */
@media(max-width:760px){
 .home-v2 .personal-art{width:100%;max-width:260px}
 .home-v2 .personal-art .sketch{width:100%}
 .home-v2 .personal-art .handwriting{display:none}
}
/* Center the mobile introduction portrait without altering its crop. */
@media(max-width:760px){.home-v2 .about-strip .about-portrait{position:relative;left:50%;transform:translateX(-50%)}}
/* Introduce the section before showing its portrait on mobile. */
@media(max-width:760px){
 .home-v2 .about-strip>div:first-child{display:flex;flex-direction:column;align-items:stretch}
 .home-v2 .about-strip>div:first-child>.eyebrow{order:0}
 .home-v2 .about-strip>div:first-child>h2{order:1}
 .home-v2 .about-strip .about-portrait{order:2;position:static;left:auto;transform:none;align-self:center;flex:none}
 .home-v2 .about-strip .about-role{order:3}
}
