/* About the instructor — 2.0.4. Scoped, bilingual and independent of stored text. */
.about-profile{--profile-ink:#172b46;--profile-copy:#43536a;--profile-line:#e4eaf1;--profile-soft:rgba(var(--primary-rgb),.065);color:var(--profile-ink);background:linear-gradient(180deg,#f8fafc 0,#fff 42%,#f8fafc 100%);padding:60px 0 80px;overflow:hidden;font-size:1rem}
.about-profile .profile-layout{display:grid;gap:64px;width:min(1160px,calc(100% - 64px))}
.about-profile :where(h1,h2,h3,p,figure){margin:0}
.about-profile :where(section,article,[id]){scroll-margin-top:110px}
.about-profile .profile-icon{display:block;flex-shrink:0}
.about-profile .profile-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr);gap:68px;align-items:center;min-width:0}
.profile-intro{min-width:0;padding-block:28px}
.profile-eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:.875rem;font-weight:700;line-height:1.8;color:color-mix(in srgb,var(--primary) 60%,#172b46)}
.profile-eyebrow>span{width:7px;height:7px;background:var(--primary);border-radius:50%;box-shadow:0 0 0 5px var(--profile-soft)}
.profile-school{color:var(--profile-copy);font-size:.9375rem;line-height:1.8;margin-top:16px!important}
.profile-intro :is(h1,h2){font-size:clamp(2rem,3.5vw,3.125rem);font-weight:700;line-height:1.24;letter-spacing:-.035em;overflow-wrap:break-word;text-wrap:balance;margin-top:15px}
.profile-intro :is(h1,h2)[dir=ltr]{text-align:left;direction:ltr;letter-spacing:-.04em}
.profile-intro :is(h1,h2)[dir=rtl]{text-align:right;line-height:1.55;letter-spacing:0}
.profile-lead{font-size:1.125rem;line-height:1.9;max-width:44ch;color:var(--profile-copy);margin-top:23px!important}
.profile-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:30px}
.about-profile .profile-actions .btn{min-height:50px;border-radius:14px;padding:12px 23px;font-size:.9375rem;box-shadow:0 8px 18px rgba(var(--primary-rgb),.16)}
.profile-detail-link{display:inline-flex;align-items:center;gap:8px;min-height:48px;font-size:.9375rem;font-weight:600;color:var(--profile-ink)}
.profile-detail-link .profile-icon{width:19px;height:19px}
.profile-detail-link:hover{text-decoration:underline;text-underline-offset:6px}
.profile-skills{display:flex;flex-wrap:wrap;gap:20px;margin-top:36px;padding-top:23px;border-top:1px solid var(--profile-line);max-width:500px}
.profile-skills>span{display:flex;align-items:center;gap:7px;font-size:.875rem;color:var(--profile-copy)}
.profile-skills .profile-icon{width:20px;height:20px;color:color-mix(in srgb,var(--primary) 60%,#172b46)}
.profile-visual{position:relative;width:100%;max-width:400px;justify-self:center;padding:12px 20px 20px;isolation:isolate}
.profile-orbit{position:absolute;inset:26px -28px 8px -20px;border:1px solid rgba(var(--primary-rgb),.18);border-radius:48% 44% 45% 48%;transform:rotate(-14deg);z-index:-1;background:radial-gradient(ellipse at 75% 16%,rgba(var(--primary-rgb),.09),transparent 60%)}
.profile-visual:before{content:"";position:absolute;inset:52px -18px 16px 25px;border-radius:110px 30px 90px 25px;transform:rotate(8deg);background:var(--profile-soft);z-index:-1}
.profile-portrait{position:relative;border-radius:120px 28px 28px 28px;background:#edf2f7;box-shadow:0 20px 50px #172b4614;border:6px solid #fff}
.profile-photo{position:relative;border-radius:inherit}
.profile-portrait.has-caption .profile-photo{border-bottom-left-radius:0;border-bottom-right-radius:0}
.profile-photo>img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;object-position:center top;display:block;border-radius:inherit}
.profile-portrait figcaption{display:flex;align-items:center;flex-wrap:wrap;gap:8px;background:white;padding:15px 13px;color:#34455d;font-size:.8125rem;line-height:1.5}
.profile-portrait figcaption{border-radius:0 0 20px 20px}
.profile-portrait figcaption>span{min-width:0;max-width:100%;overflow-wrap:anywhere}
.profile-portrait figcaption>span[lang=en]{font-size:.75rem;color:#5b6a7d}
.profile-portrait .profile-caption-bilingual>span[lang=en]{margin-inline-start:auto}
.profile-caption-dot{width:6px;height:6px;background:var(--primary);border-radius:50%;flex:none}
.profile-language-mark{position:absolute;z-index:2;left:-8px;top:26px;display:grid;gap:2px;place-items:center;transform:rotate(-9deg);padding:10px 14px;background:#fff7e9;border:1px solid #f2e5cf;border-radius:18px;box-shadow:0 10px 24px #172b460a;color:#9c6e24}
.profile-language-mark>span{font-family:Georgia,serif;font-size:2.375rem;line-height:1.05}
.profile-language-mark>svg{width:52px}
.profile-spark{position:absolute;z-index:2;inset-inline-start:-8px;top:74px;color:var(--primary);transform:rotate(12deg)}
.profile-spark .profile-icon{width:36px;height:36px;stroke-width:1.1}
.profile-experience{position:absolute;z-index:2;left:-26px;bottom:14px;display:flex;align-items:center;gap:12px;padding:15px 20px;background:white;border:1px solid var(--profile-line);border-radius:17px;box-shadow:0 12px 24px #172b4610;max-width:100%}
.profile-experience>strong{font-size:2rem;line-height:1.25;color:color-mix(in srgb,var(--primary) 70%,#172b46);font-weight:700}
.profile-experience>strong>span{font-size:1.375rem;vertical-align:top}
.profile-experience>strong{flex-shrink:0}
.profile-experience>span{font-size:.8125rem;line-height:1.7;color:var(--profile-copy);min-width:0;max-width:160px;overflow-wrap:anywhere}
.profile-placeholder{aspect-ratio:2/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:color-mix(in srgb,var(--primary) 60%,#172b46);background:linear-gradient(140deg,#fff,var(--profile-soft));border-radius:inherit}
.profile-placeholder>span{font-size:6rem;line-height:1.4}
.profile-placeholder>.profile-icon{width:60px;height:60px;stroke-width:1}
.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.profile-section-heading h2{font-size:clamp(1.5rem,2.3vw,2rem);font-weight:700;line-height:1.65;letter-spacing:0;margin-top:7px}
.profile-section-heading>p{font-size:.9375rem;color:var(--profile-copy);line-height:1.9}
.profile-heading-symbol{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:var(--profile-soft);color:color-mix(in srgb,var(--primary) 65%,#172b46);flex-shrink:0}
.profile-heading-symbol>.profile-icon{width:34px;height:34px}
.profile-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;direction:ltr}
.profile-panels-single{grid-template-columns:minmax(0,1fr)}
.profile-panel{background:#fff;border:1px solid var(--profile-line);border-radius:24px;padding:28px 30px;min-width:0;box-shadow:0 3px 12px #172b4603}
.profile-panel[dir=rtl]{background:linear-gradient(150deg,rgba(var(--primary-rgb),.035),#fff 65%)}
.profile-panel-heading{display:flex;align-items:center;gap:10px;padding-bottom:20px;margin-bottom:8px;border-bottom:1px solid var(--profile-line);color:var(--profile-ink)}
.profile-panel-heading>.profile-icon{color:color-mix(in srgb,var(--primary) 60%,#172b46)}
.profile-panel-heading>h3{font-size:1.125rem;font-weight:700;line-height:1.6}
.profile-entry{display:flex;align-items:flex-start;gap:11px;padding:13px 0;min-width:0}
.profile-entry+.profile-entry{border-top:1px solid #edf0f4}
.profile-entry-icon{color:#5a7291;padding-top:3px;flex-shrink:0}
.profile-entry-icon>.profile-icon{width:20px;height:20px;stroke-width:1.5}
.profile-entry-copy{font-size:1.0625rem;line-height:1.85;color:var(--profile-copy);min-width:0;flex:1;overflow-wrap:anywhere;text-align:start}
.profile-entry-copy :is(p,li,h2,h3,h4,blockquote){font-size:inherit!important;line-height:inherit;letter-spacing:0;margin:0;text-align:start!important}
.profile-entry-copy :is(span,strong,b,em){font-size:inherit!important;font-family:inherit!important}
.profile-entry-copy p>strong:only-child,.profile-entry-copy p>b:only-child{font-weight:500}
.profile-entry-copy h2,.profile-entry-copy h3,.profile-entry-copy h4{font-weight:600;color:var(--profile-ink)}
.profile-entry-copy :is(ul,ol){padding-inline-start:20px;margin:0}
.profile-entry-copy li+li{margin-top:8px}
.profile-entry-copy a,.profile-rich a{color:color-mix(in srgb,var(--primary) 65%,#172b46);text-decoration:underline;text-underline-offset:3px}
.profile-entry-copy :is(img,figure),.profile-content-image{max-width:100%;height:auto;border-radius:14px}
.profile-entry-copy :is(figure,table){max-width:100%;margin:0;overflow-x:auto}
.profile-entry-copy table{display:block;border-collapse:collapse}
.profile-entry-copy :is(td,th){border:1px solid var(--profile-line);padding:8px}
.profile-entry-heading{padding-top:21px;border-top:0!important}
.profile-entry-heading .profile-entry-copy{font-weight:700;color:var(--profile-ink)}
.profile-entry-copy [dir=ltr]{direction:ltr;text-align:left!important;unicode-bidi:plaintext}
.profile-entry-copy [dir=rtl]{direction:rtl;text-align:right!important;unicode-bidi:plaintext}
.profile-methods-list{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:22px}
.profile-method{position:relative;min-width:0;padding:25px 26px;border:1px solid var(--profile-line);border-radius:21px;background:#fff}
.profile-method-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.profile-method-icon{display:grid;place-items:center;width:52px;height:52px;background:var(--profile-soft);border:1px solid rgba(var(--primary-rgb),.1);color:color-mix(in srgb,var(--primary) 65%,#172b46);border-radius:16px}
.profile-method-icon>.profile-icon{width:27px;height:27px}
.profile-step-number{font-size:1.125rem;font-weight:700;line-height:1;color:#8996a9}
.profile-method h3{font-size:1.125rem;line-height:1.8;font-weight:700;margin-bottom:9px;overflow-wrap:anywhere}
.profile-rich{color:var(--profile-copy);font-size:1.0625rem;line-height:1.95;overflow-wrap:anywhere}
.profile-rich :is(p,h2,h3,h4){font-size:inherit!important;line-height:inherit;margin:0 0 9px}
.profile-rich :is(span,strong,b){font-size:inherit!important}
.profile-rich :last-child{margin-bottom:0}
.profile-rich [dir=ltr]{text-align:left!important;direction:ltr}
.profile-rich [dir=rtl]{text-align:right!important;direction:rtl}
.profile-method .block-cta{margin-top:20px}
.about-profile .profile-custom{padding:30px;border:1px solid var(--profile-line);border-radius:24px;background:#fff}
.profile-custom .profile-rich{max-width:72ch;margin-top:16px}
.profile-custom>.block-cta{margin-top:20px}
.profile-custom.block-accent{background:var(--profile-ink);color:white}
.profile-custom.block-accent .profile-rich{color:#e0e7f1}
.profile-custom h1,.profile-custom h2{font-size:clamp(1.5rem,2.6vw,2.2rem);line-height:1.7;margin:0}
.about-profile a:focus-visible{outline:3px solid var(--primary);outline-offset:5px;border-radius:6px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.profile-method{transition:transform .2s ease,border-color .2s ease}.profile-method:hover{transform:translateY(-3px);border-color:rgba(var(--primary-rgb),.35)}}
@media(min-width:1500px){.about-profile{padding-top:76px}.about-profile .profile-hero{gap:90px}}
@media(max-width:1050px){.about-profile .profile-hero{gap:35px;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}.profile-actions{gap:13px}.profile-visual{max-width:350px;padding-inline:10px}.profile-experience{left:-16px;bottom:14px;padding:12px 15px}.profile-skills{gap:14px}.profile-panel{padding:24px}.profile-section-heading>p{max-width:220px}}
@media(min-width:768px){.profile-methods-list:has(>.profile-method:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.profile-methods-list:has(>.profile-method:nth-child(3):last-child)>.profile-method:not(:last-child):after{content:"";position:absolute;top:51px;left:-23px;width:22px;border-top:2px dotted rgba(var(--primary-rgb),.22)}}
@media(min-width:768px) and (max-width:1050px){.profile-method{padding:23px 18px}.profile-methods-list{gap:18px}.profile-methods-list:has(>.profile-method:nth-child(3):last-child)>.profile-method:not(:last-child):after{left:-19px;width:18px}}
@media(max-width:767px){
 .about-profile{padding:28px 0 44px}.about-profile .profile-layout{width:calc(100% - 36px);gap:40px}
 .about-profile .profile-hero{grid-template-columns:minmax(0,1fr);gap:22px}.profile-intro{padding:0}
 .profile-school{font-size:.875rem;margin-top:13px!important}.profile-intro :is(h1,h2){font-size:clamp(1.875rem,7.7vw,2.5rem);line-height:1.24;margin-top:12px;letter-spacing:-.035em}
 .profile-lead{font-size:1rem;line-height:1.9;margin-top:15px!important}.profile-actions{margin-top:21px;gap:10px 20px}.about-profile .profile-actions .btn{min-height:48px;padding:11px 17px;font-size:.875rem}.profile-detail-link{font-size:.875rem;min-height:44px}
 .profile-skills{margin-top:21px;padding-top:17px;gap:14px;font-size:.8125rem}.profile-skills>span{gap:5px;font-size:.8125rem}.profile-skills .profile-icon{width:18px;height:18px}
 .profile-visual{max-width:300px;padding:14px 18px 18px}.profile-portrait{border-radius:85px 22px 22px 22px;border-width:5px}.profile-photo>img,.profile-placeholder{aspect-ratio:4/5;object-position:center 32%}
 .profile-portrait figcaption{padding:12px 9px;gap:5px;font-size:.75rem}.profile-portrait figcaption>span[lang=en]{font-size:.6875rem}
 .profile-orbit{inset:29px -4px 10px -9px}.profile-visual:before{inset:43px 1px 9px 23px}.profile-language-mark{left:1px;top:15px;padding:8px 11px;border-radius:15px}.profile-language-mark>span{font-size:2rem}.profile-language-mark>svg{width:44px}.profile-spark{inset-inline-start:0;top:48px}.profile-spark .profile-icon{width:27px;height:27px}
 .profile-experience{left:-15px;bottom:12px;gap:8px;padding:10px 13px;border-radius:13px}.profile-experience>strong{font-size:1.75rem}.profile-experience>span{font-size:.75rem}
 .profile-section-heading{gap:14px;margin-bottom:20px;align-items:flex-start}.profile-section-heading h2{font-size:1.5rem;line-height:1.7;margin-top:5px}.profile-heading-symbol{width:45px;height:45px;border-radius:14px}.profile-heading-symbol>.profile-icon{width:27px;height:27px}
 .profile-panels{grid-template-columns:minmax(0,1fr);gap:18px}.profile-panel{padding:22px 19px;border-radius:20px}.profile-panel-heading{padding-bottom:16px;margin-bottom:4px;gap:8px}.profile-panel-heading>h3{font-size:1.0625rem}.profile-entry{gap:9px;padding:12px 0}.profile-entry-copy{font-size:1.0625rem;line-height:1.8}.profile-entry-icon>.profile-icon{width:18px;height:18px}.profile-entry-heading{padding-top:19px}
 .profile-methods>.profile-section-heading{display:block}.profile-section-heading>p{max-width:none;font-size:.9375rem;margin-top:8px}.profile-methods-list{grid-template-columns:minmax(0,1fr);gap:14px}.profile-method{padding:22px;border-radius:19px}.profile-method-top{margin-bottom:16px}.profile-method-icon{width:46px;height:46px;border-radius:14px}.profile-method h3{font-size:1.125rem}.profile-rich{font-size:1.0625rem;line-height:1.85}.about-profile .profile-custom{padding:23px 20px}
}
@media(max-width:359px){.about-profile .profile-layout{width:calc(100% - 28px)}.profile-actions{gap:8px}.profile-actions>.btn{width:100%}.profile-skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-section-heading h2{font-size:1.375rem}}
@media(prefers-reduced-motion:reduce){.about-profile *{animation:none!important;transition:none!important}.about-profile{scroll-behavior:auto}}
