/* Editorial layer: a learning journal with the original brand palette. */
.learning-logos{display:flex;align-items:center;flex-wrap:wrap;gap:28px 52px;padding:26px 0 10px}
.learning-logo{display:flex;align-items:center;gap:14px;color:var(--purple);font-size:1rem;font-weight:500}
.learning-logo img{width:44px;height:44px;object-fit:contain;flex-shrink:0}
@media(max-width:600px){.learning-logos{gap:22px;align-items:flex-start;flex-direction:column;padding-top:12px}.learning-logo img{width:36px;height:36px}}
.blog-about .staff-frame{width:100%;margin:0 auto 12px;max-width:320px}
.staff-frame img,.staff-frame svg{display:block;width:100%;height:auto}
.header-cta{min-height:44px;padding:8px 10px 8px 20px;gap:18px;border:1px solid #6c4c7e55;border-radius:999px;background:transparent;color:#392046;box-shadow:none;font-weight:600;letter-spacing:.01em}
.header-cta::before{display:none}
.header-cta span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eee6f2;color:#553266;font-size:1rem;transition:background .3s,color .3s,transform .3s}
.header-cta:hover,.header-cta:focus-visible{background:#f3edf6;color:#392046;border-color:#9271a3;box-shadow:0 4px 14px #3920460a;transform:none}
.header-cta:hover span,.header-cta:focus-visible span{background:#392046;color:#f1cd80;transform:rotate(45deg)}
@media(max-width:760px){.header-cta{padding:6px 8px 6px 14px;gap:12px;font-size:.8125rem}.header-cta span{width:26px;height:26px}}
@media(prefers-reduced-motion:no-preference){
  .scroll-reveal{opacity:0;transform:translateY(var(--entry-offset,32px));transition:opacity .65s ease,transform .85s cubic-bezier(.22,1,.36,1)}
  .scroll-reveal.is-revealed,.scroll-reveal:focus-within{opacity:1;transform:translateY(0)}
  .journal-art{transform:translateY(var(--journal-shift,0px))}
}
@media(prefers-reduced-motion:reduce){.scroll-reveal{opacity:1;transform:none}.header-cta:hover span{transform:none}}
.brand img{height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:6px}
.brand-frame{aspect-ratio:3/2;border-radius:12px;background:transparent;overflow:hidden;outline-offset:8px}
.brand-frame img{width:100%;height:auto;border-radius:0}
.footer-brand img{aspect-ratio:3/2;object-fit:contain;border-radius:4px}
.blog-hero .hero-grid{grid-template-columns:1.2fr .8fr;padding-top:72px;padding-bottom:65px;gap:80px}
.blog-hero h1{font-size:clamp(2.8rem,4.6vw,4.3rem);max-width:700px}
.blog-hero .hero-description{max-width:560px}
.journal-art{position:relative;min-width:0;padding:20px 0;perspective:1000px}
.journal-sheet{position:relative;background:#fbf8f1;color:#382443;border:1px solid #e5dbcb;border-radius:5px 15px 15px 5px;padding:32px 30px 32px 45px;transform:rotate(4deg);box-shadow:-9px 5px 0 #c9b7d2,0 25px 60px #0f061b55}
.journal-sheet::before{content:"";position:absolute;top:0;bottom:0;left:22px;width:1px;background:#d6c0d6}
.journal-meta{display:flex;justify-content:space-between;font-size:.75rem;letter-spacing:.1em;color:#86758b;border-bottom:1px solid #e5dce5;padding-bottom:15px}
.journal-sheet h2{font-family:Georgia,serif;font-size:2rem;line-height:1.2;margin:26px 0 18px}
.journal-lines{display:grid;gap:0;font-family:Georgia,serif;font-style:italic;color:#75647b}
.journal-lines span{padding:10px 0;border-bottom:1px solid #e5dce5}
.journal-lines span:last-child{color:#896024}
.journal-stamp{display:inline-block;margin-top:25px;border:1px solid #d3bd87;padding:5px 10px;color:#8a692d;font-size:.75rem;letter-spacing:.08em;transform:rotate(-4deg)}
.journal-tab{position:absolute;right:-12px;top:70px;background:var(--gold);color:var(--purple);padding:10px 13px;border-radius:0 4px 4px 0;font-size:.75rem;font-weight:700;box-shadow:2px 3px 8px #0002}
.blog-hero .hero-footer{justify-content:flex-start;gap:32px}.blog-hero .hero-footer>div{flex-wrap:wrap;gap:24px;font-size:.875rem}
.journal-heading h2,.topics h2{font-family:Georgia,serif;font-size:clamp(2.1rem,3.2vw,2.9rem)}
.journal-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:65px;align-items:start}
.empty-journal{border-top:2px solid var(--purple);border-bottom:1px solid var(--line);padding:40px 0 44px}
.empty-journal .entry-meta{font-size:.75rem;color:#896024;letter-spacing:.13em;margin-bottom:20px}
.empty-journal h3{font-family:Georgia,serif;font-weight:400;font-size:2rem;line-height:1.3;max-width:550px;margin-bottom:18px}
.empty-journal p:last-child{color:var(--muted);max-width:530px;margin:0}
.journal-aside{border-left:1px solid var(--line);padding-left:28px}
.journal-aside h3{font-size:1rem;margin-bottom:13px}.journal-aside p{font-size:.9375rem;color:var(--muted)}
.journal-aside .text-link{display:inline-block;color:#78528a;border-color:#cbb7d5}
.topics{background:#f2edf4;border-block:1px solid var(--line)}
.topic-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 50px;margin-top:38px}
.topic-item{display:grid;grid-template-columns:36px 1fr;gap:16px;padding:26px 0;border-top:1px solid #d9cddd}
.topic-number{font-size:.75rem;color:#956f32;margin-top:4px}.topic-item h3{font-size:1.2rem;font-weight:500;margin-bottom:8px}.topic-item p{font-size:.9375rem;color:var(--muted);margin:0}
.topic-item h3{transition:color .3s,transform .3s}.topic-item:hover h3{color:#855397;transform:translateX(4px)}
.blog-about .about-visual{max-width:350px;background:transparent;border:0;box-shadow:none}
.blog-about .about-visual>.eyebrow{color:#896024}
.blog-about .about-caption{color:#786482}
.blog-about .brand-frame{background:transparent;border:0;outline:0;box-shadow:none;border-radius:6px;width:100%}
.blog-about .about-grid{grid-template-columns:.8fr 1.2fr}.blog-about h2{font-family:Georgia,serif}
.blog-contact{padding:65px 0}.blog-contact h2{font-size:clamp(2rem,3vw,2.6rem)}
@keyframes journal-arrive{from{opacity:0;transform:translateY(24px) rotate(0)}to{opacity:1;transform:translateY(0) rotate(4deg)}}
@media(prefers-reduced-motion:no-preference){.journal-sheet{animation:journal-arrive 1.2s var(--ease-out) .15s both}}
@media(max-width:900px){.blog-hero .hero-grid{gap:40px}.journal-sheet{padding:25px 20px 25px 36px}.journal-sheet h2{font-size:1.65rem}.journal-layout{gap:35px;grid-template-columns:minmax(0,1fr) 230px}}
@media(max-width:760px){.blog-hero .hero-grid{grid-template-columns:1fr;padding-top:48px;padding-bottom:40px;gap:32px}.journal-art{width:min(350px,calc(100% - 35px));margin:0 auto 10px}.blog-hero h1{font-size:clamp(2.8rem,9vw,4rem)}.blog-hero .hero-footer{gap:15px}.journal-layout{grid-template-columns:1fr;gap:35px}.journal-aside{padding-left:20px}.topic-list{grid-template-columns:1fr;margin-top:28px}.blog-about .about-grid{grid-template-columns:1fr}.blog-about .about-visual{max-width:300px}.journal-sheet h2{font-size:1.8rem}}
@media(prefers-reduced-motion:reduce){.topic-item h3{transform:none!important}}

/* Header refinement — deliberately scoped to the existing header. */
.header{background:#fbf8f1f7;border-bottom:1px solid #2410320c;box-shadow:none;transition:background .25s,box-shadow .25s}
.header.is-scrolled{background:#f9f6effc;box-shadow:0 3px 14px #24103208}
.header .header-inner{height:80px;min-height:80px;gap:24px;flex-wrap:nowrap;position:relative}
.header .brand{width:116px;display:flex;align-items:center;flex-shrink:0}
.header .brand img{width:100%;height:auto;max-height:78px;object-fit:contain;border-radius:0}
.header nav{display:flex;align-items:center;gap:24px;padding:0;width:auto;flex-wrap:nowrap}
.header nav a{font-size:.875rem;font-weight:500;color:var(--purple);white-space:nowrap;padding:10px 0}
.header nav a::after{bottom:4px;height:2px;border-radius:2px;background:#b58a40;transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease-out)}
.header nav a:hover::after,.header nav a:focus-visible::after,.header nav a[aria-current]::after{transform:scaleX(1)}
.header nav a:hover{color:#785527}
.header a:focus-visible,.header button:focus-visible{outline:2px solid #9b702d;outline-offset:4px}
.header .header-cta{min-height:40px;padding:6px 8px 6px 16px;gap:12px;border-radius:18px;border:1px solid #24103226;background:transparent;color:var(--purple);box-shadow:none;font-size:.8125rem;font-weight:500;white-space:nowrap;margin:0;flex-shrink:0;order:0}
.header .header-cta span{width:25px;height:25px;background:#eee7f0;color:var(--purple);font-size:1rem}
.header .header-cta:hover,.header .header-cta:focus-visible{background:#f1dfb9;border-color:#cfb779;color:var(--purple);box-shadow:none;transform:none}
.header .header-cta:hover span,.header .header-cta:focus-visible span{background:#ead097;color:var(--purple);transform:translate(1px,-1px)}
.header .menu-toggle{display:none}
@media(max-width:1000px) and (min-width:821px){.header nav{gap:18px}.header .header-inner{gap:18px}}
@media(max-width:820px){
  .header .header-inner{height:72px;min-height:72px;gap:12px}
  .header .brand{width:100px;margin-right:auto}
  .header .brand img{max-height:68px}
  .header .header-cta{order:1;font-size:.75rem;padding:6px 7px 6px 12px;gap:8px}
  .header .menu-toggle{order:2;flex-shrink:0;width:44px;height:44px;padding:11px;border:1px solid #2410321a;border-radius:12px;background:transparent;color:var(--purple);align-items:center;justify-content:center}
  .js .header .menu-toggle{display:flex}
  .hamburger{position:relative;width:20px;height:2px;background:currentColor;border-radius:2px;transition:background .2s}
  .hamburger::before,.hamburger::after{content:"";position:absolute;left:0;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .25s var(--ease-out)}
  .hamburger::before{transform:translateY(-6px)}.hamburger::after{transform:translateY(6px)}
  .menu-toggle[aria-expanded="true"] .hamburger{background:transparent}
  .menu-toggle[aria-expanded="true"] .hamburger::before{transform:rotate(45deg)}
  .menu-toggle[aria-expanded="true"] .hamburger::after{transform:rotate(-45deg)}
  .header .menu-toggle:hover{background:#f0e9f2}
  .header nav{order:3;gap:4px;align-items:stretch;flex-direction:column;padding:10px 16px 14px;background:#fbf8f1;border:1px solid #24103210;border-radius:0 0 14px 14px;box-shadow:0 8px 20px #24103208}
  .js .header nav{display:none;position:absolute;top:100%;left:0;right:0;width:auto}
  .js .header nav.is-open{display:flex;animation:none}
  .header nav a{padding:10px 12px;min-height:44px;border-radius:6px}
  .header nav a::after{left:12px;right:auto;width:24px;bottom:5px}
  .header nav a:hover{background:#f0e9f2}
  html:not(.js) .header .header-inner{height:auto;flex-wrap:wrap}
  html:not(.js) .header nav{width:100%}
}

/* Shared editorial rhythm: consistent reading width, spacing and hierarchy. */
:root{--paper:#fcfaf6;--line:#e5dfe7;--muted:#6a6070;--editorial-serif:Georgia,'Times New Roman',serif;--section-space:clamp(56px,7vw,88px)}
body{background:var(--paper);line-height:1.75}
.container{width:min(1120px,calc(100% - 64px))}
.section{padding:var(--section-space) 0}
.section .eyebrow{font-size:.75rem;letter-spacing:.13em;margin-bottom:16px;line-height:1.6}
.section h2{font-family:var(--editorial-serif);font-size:clamp(2rem,3.1vw,2.75rem);font-weight:400;line-height:1.22;letter-spacing:-.035em;max-width:24ch}
.section-heading{gap:48px;margin-bottom:32px;align-items:center}
.section-heading>p{max-width:330px;font-size:1rem;line-height:1.75}
.blog-hero .hero-grid{grid-template-columns:1.15fr .85fr;gap:72px;padding:64px 0 58px}
.blog-hero h1{font-size:clamp(2.8rem,4.5vw,4rem);line-height:1.12;letter-spacing:-.04em;margin-bottom:24px}
.blog-hero .hero-description{font-size:1rem;line-height:1.8;max-width:49ch;margin-bottom:0}
.hero-actions{gap:24px;margin-top:28px}.hero-note{margin-top:22px;line-height:1.6}
main .button{min-height:46px;padding:11px 20px;border-radius:12px;gap:18px;font-weight:600}
main .button span{font-size:1.1rem}
.text-link{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:8px 0;font-weight:500}
.text-link span{margin-left:0}
.journal-art{max-width:365px;width:100%;justify-self:center;padding:16px 0}
.journal-sheet{padding:28px 25px 28px 40px;border-radius:4px 12px 12px 4px;box-shadow:-6px 4px 0 #c9b7d2,0 20px 42px #0f061b33}
.journal-sheet h2{font-size:1.85rem;letter-spacing:-.03em;margin:22px 0 16px}
.journal-lines{font-size:.9375rem}.journal-lines span{padding:9px 0}
.journal-stamp{font-size:.75rem;letter-spacing:.06em;margin-top:22px}
.blog-hero .hero-footer{padding:20px 0;gap:28px;align-items:center}
.blog-hero .hero-footer>span{font-size:.75rem;letter-spacing:.08em}
.blog-hero .hero-footer>div{gap:22px;font-size:.8125rem}
.journal-layout{grid-template-columns:minmax(0,1fr) 260px;gap:56px}
.empty-journal{padding:28px 0 32px;border-top:1px solid #a888ad}
.empty-journal .entry-meta{margin-bottom:16px;font-size:.75rem;letter-spacing:.1em}
.empty-journal h3{font-size:1.65rem;line-height:1.35;margin-bottom:16px;max-width:28ch}
.empty-journal p:last-child{font-size:1rem;max-width:55ch}
.journal-aside{padding:6px 0 6px 28px;margin-top:0}
.journal-aside h3{font-size:1rem;margin-bottom:12px;font-weight:600}
.journal-aside p{font-size:1rem;line-height:1.75;margin-bottom:12px}
.topics{background:#f3eff5;border-color:#e5dfe9}
.learning-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:24px 0;margin:8px 0 30px;border-block:1px solid #ded4e4}
.learning-logo{gap:14px;padding:4px 24px;font-size:.9375rem;line-height:1.4;min-width:0}
.learning-logo:first-child{padding-left:0}.learning-logo+ .learning-logo{border-left:1px solid #ded4e4}
.learning-logo img{width:38px;height:38px}
.topic-list{gap:0 40px;margin-top:0}
.topic-item{grid-template-columns:26px minmax(0,1fr);gap:14px;padding:24px 0;border-color:#ded4e4}
.topic-item:nth-child(-n+2){border-top:0}
.topic-item h3{font-size:1.125rem;font-weight:600;line-height:1.45;margin-bottom:8px}
.topic-item p{font-size:1rem;line-height:1.75;max-width:44ch}
.topic-item:hover h3{color:var(--ink);transform:none}
.blog-about .about-grid{grid-template-columns:.75fr 1.25fr;gap:64px}
.blog-about .about-visual{max-width:300px;padding:0;justify-self:center;width:100%}
.blog-about .staff-frame{max-width:235px;margin:0 auto 14px}
.blog-about .about-caption{display:block;font-size:.75rem;letter-spacing:.1em;line-height:1.8;max-width:28ch;margin:auto}
.about-copy h2{margin-bottom:24px}
.about-copy p,.about-copy h2+p{font-size:1rem;line-height:1.8;max-width:60ch;margin-bottom:16px}
.about-signature{margin-top:24px;padding-top:20px;font-size:.875rem;gap:12px}
.blog-contact{padding:64px 0}
.blog-contact h2{max-width:26ch;margin-bottom:20px}
.contact-inner{gap:48px}.contact p:not(.eyebrow){font-size:1rem;margin-bottom:18px}
.contact-action{gap:16px}.email-link{font-size:1rem}.linkedin-placeholder{font-size:.8125rem}
footer{padding:24px 0;border-top:1px solid var(--line)}
.footer-inner{gap:24px}footer p,footer .footer-inner>a:last-child{font-size:.75rem}
.footer-brand{gap:12px}.footer-brand img{width:54px}
a:focus-visible,button:focus-visible{outline:2px solid #a77a34;outline-offset:5px}
@media(max-width:900px){
 .blog-hero .hero-grid{gap:40px}.journal-layout{gap:32px;grid-template-columns:minmax(0,1fr) 230px}
 .blog-about .about-grid{gap:40px}.learning-logo{padding-inline:18px;gap:12px}
 .blog-hero .hero-footer{flex-wrap:wrap;gap:12px}
}
@media(max-width:760px){
 .container{width:calc(100% - 40px)}
 .blog-hero .hero-grid{grid-template-columns:1fr;gap:36px;padding:44px 0 38px}
 .blog-hero h1{font-size:clamp(2.5rem,8.5vw,3.5rem);max-width:17ch}
 .hero-copy{max-width:560px}.hero-actions{flex-wrap:wrap;gap:12px 22px}
 .journal-art{width:calc(100% - 30px);max-width:300px;margin:0 auto;padding:10px 0}
 .journal-sheet h2{font-size:1.65rem}.journal-sheet{padding:24px 22px 24px 38px}
 .hero-footer>span{width:100%}.blog-hero .hero-footer>div{gap:12px 20px}
 .section-heading{display:block;margin-bottom:28px}.section-heading>p{margin:18px 0 0;max-width:50ch}
 .journal-layout{grid-template-columns:1fr;gap:28px}.journal-aside{padding:0 0 0 20px}
 .learning-logos{grid-template-columns:1fr;gap:0;padding:8px 0;margin-bottom:20px}
 .learning-logo,.learning-logo:first-child{padding:14px 0;gap:16px}
 .learning-logo+ .learning-logo{border-left:0;border-top:1px solid #e5dce9}
 .learning-logo img{width:34px;height:34px}
 .topic-list{grid-template-columns:1fr}.topic-item:nth-child(2){border-top:1px solid #ded4e4}
 .topic-item{padding:22px 0}.topic-item p{max-width:100%}
 .blog-about .about-grid{grid-template-columns:1fr;gap:36px}
 .blog-about .about-copy{grid-row:1}.blog-about .about-visual{grid-row:2}
 .blog-about .staff-frame{max-width:200px;margin-bottom:10px}
 .contact-inner{gap:28px}.contact-action{align-items:flex-start}
 .footer-inner{gap:16px;align-items:flex-start}.footer-inner p{max-width:none;width:100%}
}
@media(prefers-reduced-motion:no-preference){.scroll-reveal{transition:opacity .5s ease,transform .7s var(--ease-out)}}

/* Illustrated notebook: layered paper, cloth spine and a restrained ribbon. */
.journal-art{isolation:isolate;perspective:1100px}
.journal-sheet{background:#fbf8f0;border:1px solid #eadfca;border-left:0;border-radius:5px 16px 16px 5px;padding:32px 28px 30px 44px;transform:rotate(3deg);transform-origin:16% 65%;box-shadow:-5px 3px 0 #e1d8e6,-9px 6px 0 #76567e,0 25px 44px #10081b36;animation:none}
.journal-sheet::before{left:0;width:17px;border-radius:4px 0 0 4px;background:linear-gradient(90deg,#c5b2cf,#ded2e3 55%,#eee5ec);border-right:1px solid #c9b8ce;box-shadow:3px 0 7px #37204106}
.journal-sheet::after{content:"";position:absolute;left:28px;right:12px;bottom:-5px;height:4px;border-bottom:1px solid #c9bbcf;border-top:1px solid #eae1eb;background:#f3eef2;border-radius:0 0 10px 0;z-index:-1;pointer-events:none}
.journal-meta{align-items:center;font-size:.75rem;letter-spacing:.14em;color:#827087;padding-bottom:16px;border-bottom:1px solid #e7dce3}
.journal-meta>span:last-child{color:#ae843d;font-size:1rem;display:inline-block}
.journal-sheet h2{font-family:var(--editorial-serif);font-size:1.85rem;font-weight:400;line-height:1.22;letter-spacing:-.045em;margin:24px 0 20px;color:#35213e}
.journal-lines{gap:0;font-size:.9375rem;color:#75647e}
.journal-lines span{position:relative;padding:12px 0;border-bottom:1px solid #e7dce3;line-height:1.5}
.journal-lines span:last-child{color:#8b6326}
.journal-lines span::after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:1px;background:#c3a365;transform:scaleX(0);transform-origin:left}
.journal-stamp{display:inline-flex;align-items:center;gap:8px;margin-top:25px;padding:5px 0;border:0;border-radius:0;color:#967543;font-size:.75rem;letter-spacing:.06em;transform:none}
.journal-stamp::before{content:"";width:5px;height:5px;border:1px solid #b59454;transform:rotate(45deg)}
.journal-tab{top:64px;right:-9px;padding:11px 13px 17px;background:#e8c575;color:#573c22;clip-path:polygon(0 0,100% 0,100% 100%,50% 87%,0 100%);border-radius:1px 2px 0 0;box-shadow:none;font-family:var(--editorial-serif);font-size:.8125rem;font-style:italic;font-weight:400;transform-origin:top left}
@keyframes notebook-open{from{opacity:0;transform:translateY(20px) rotate(-2deg) rotateY(-12deg)}to{opacity:1;transform:translateY(0) rotate(3deg) rotateY(0)}}
@keyframes notebook-settle{0%,100%{transform:translateY(0) rotate(3deg)}50%{transform:translateY(-6px) rotate(2deg)}}
@keyframes notebook-line{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes notebook-rule{0%{transform:scaleX(0)}60%,100%{transform:scaleX(1)}}
@keyframes notebook-ribbon{0%,100%{transform:rotate(0)}45%{transform:rotate(-6deg)}70%{transform:rotate(2deg)}}
@media(prefers-reduced-motion:no-preference){
 .journal-in-view .journal-sheet{animation:notebook-open .9s var(--ease-out) both,notebook-settle 5s ease-in-out .9s infinite}
 .journal-in-view .journal-lines span{animation:notebook-line .65s var(--ease-out) both}
 .journal-in-view .journal-lines span:nth-child(1){animation-delay:.3s}.journal-in-view .journal-lines span:nth-child(2){animation-delay:.45s}.journal-in-view .journal-lines span:nth-child(3){animation-delay:.6s}.journal-in-view .journal-lines span:nth-child(4){animation-delay:.75s}
 .journal-in-view .journal-lines span:last-child::after{animation:notebook-rule 1.5s var(--ease-out) .9s both}
 .journal-in-view .journal-tab{animation:notebook-ribbon 1.4s ease-in-out .3s both}
 .motion-paused .journal-sheet,.motion-paused .journal-lines span,.motion-paused .journal-lines span::after,.motion-paused .journal-tab{animation-play-state:paused!important}
}
@media(max-width:760px){.journal-sheet{padding:26px 23px 24px 36px}.journal-sheet h2{font-size:1.65rem}.journal-sheet::before{width:13px}.journal-lines span{padding:10px 0}.journal-tab{right:-7px;padding:9px 10px 15px}}
@media(prefers-reduced-motion:reduce){.journal-sheet{transform:rotate(3deg)}.journal-lines span:last-child::after{transform:scaleX(1)}}

/* Visibility reserves every character's space so typing never shifts the hero. */
.is-typing .type-letter{visibility:hidden}
.is-typing .type-letter.typed{visibility:visible}
.type-cursor{position:relative}
.type-cursor::after{content:"";position:absolute;left:100%;top:.08em;height:.88em;border-right:2px solid var(--gold);margin-left:2px;pointer-events:none}
@media(prefers-reduced-motion:reduce){.is-typing .type-letter{visibility:visible}.type-cursor::after{display:none}}

/* Gentle looping magic, active only while the staff is visible. */
@keyframes staff-spell-float{0%,100%{transform:translateY(0) rotate(0)}45%{transform:translateY(-5px) rotate(-1deg)}}
@keyframes staff-spell-halo{0%,100%{opacity:0;transform:scale(.8)}35%,65%{opacity:.16;transform:scale(1.3)}}
@keyframes staff-spell-ring{0%{opacity:0;transform:scale(.65)}20%{opacity:.4}100%{opacity:0;transform:scale(1.9)}}
@keyframes staff-spell-spark{0%,100%{opacity:0;transform:translateY(8px) scale(.5)}30%{opacity:.85;transform:translateY(0) scale(1)}80%{opacity:.25;transform:translateY(-15px) scale(.7)}}
.staff-magic>*{transform-box:fill-box;transform-origin:center}
@media(prefers-reduced-motion:no-preference){
 .staff-frame.magic-active svg{animation:staff-spell-float 4.8s ease-in-out infinite}
 .magic-active .magic-halo{animation:staff-spell-halo 4.8s ease-in-out infinite}
 .magic-active .magic-ring{animation:staff-spell-ring 4.8s ease-out .25s infinite}
 .magic-active .magic-ring-second{animation-delay:1.3s}
 .magic-active .magic-spark{animation:staff-spell-spark 4.8s ease-in-out infinite}
 .magic-active .spark-one{animation-delay:.25s}.magic-active .spark-two{animation-delay:.7s}.magic-active .spark-three{animation-delay:1.1s}.magic-active .spark-four{animation-delay:1.5s}.magic-active .spark-five{animation-delay:1.9s}
}
@media(prefers-reduced-motion:reduce){.staff-magic{display:none}}

/* Contact word: letters connect, then a fine gold line is drawn beneath. */
.contact h2 .connection-word{position:relative;display:inline-block;white-space:nowrap;color:var(--gold)}
.contact h2 .connection-word span{color:inherit}
.connection-accessible{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.connection-visual{display:inline-block}
.connection-letter{display:inline-block}
.connection-word::after{content:"";position:absolute;left:0;right:.2em;bottom:-.08em;height:1px;background:var(--gold);opacity:.65;transform:scaleX(0);transform-origin:left;pointer-events:none}
@keyframes connection-join{from{opacity:0;transform:translate(var(--letter-offset),8px)}to{opacity:1;transform:translate(0,0)}}
@keyframes connection-thread{0%{transform:scaleX(0);opacity:0}65%{transform:scaleX(1);opacity:.8}100%{transform:scaleX(1);opacity:.4}}
@media(prefers-reduced-motion:no-preference){
 .connection-word.connection-active .connection-letter{animation:connection-join .8s var(--ease-out) var(--letter-delay) both}
 .connection-word.connection-active::after{animation:connection-thread 1.1s var(--ease-out) .9s both}
}
@media(prefers-reduced-motion:reduce){.connection-letter{transform:none}.connection-word::after{transform:scaleX(1);opacity:.4}}

/* A single text box prevents split gradient painting across inline fragments. */
.about-copy h2 em{display:inline-block;max-width:100%;vertical-align:baseline;color:#815298}
@keyframes learning-shimmer{from{background-position:150% 50%}to{background-position:-50% 50%}}
@media(prefers-reduced-motion:no-preference){
 @supports ((background-clip:text) or (-webkit-background-clip:text)){
  .about-copy.learning-glow-visible h2 em{background-image:linear-gradient(105deg,#815298 0%,#815298 40%,#b38cc4 47%,#c5a268 50%,#b38cc4 53%,#815298 60%,#815298 100%);background-color:#815298;background-size:250% 100%;background-repeat:no-repeat;background-clip:text;-webkit-background-clip:text;color:transparent;animation:learning-shimmer 3.2s linear 1 forwards}
 }
}
.learning-logos{grid-template-columns:repeat(4,minmax(0,1fr))}
.learning-logo svg{width:38px;height:38px;flex-shrink:0}
@media(min-width:761px) and (max-width:1000px){.learning-logos{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}.learning-logo:nth-child(3){border-left:0;padding-left:0}}
@media(max-width:760px){.learning-logos{grid-template-columns:1fr}.learning-logo svg{width:34px;height:34px}}


/* A brief magical glimmer on the topics title, without hiding its text. */
#topics-title{position:relative;isolation:isolate}
#topics-title::before,#topics-title::after{content:"✦";position:absolute;color:#b88b3e;font-family:Georgia,serif;font-size:18px;line-height:1;opacity:0;pointer-events:none}
#topics-title::before{top:8%;right:8%}
#topics-title::after{bottom:9%;left:47%;font-size:12px;color:#9465a9}
@keyframes topic-enchantment{0%,100%{text-shadow:none}35%{text-shadow:0 0 15px #cba65155,0 0 30px #a784bb22}65%{text-shadow:0 0 8px #b993cb44}}
@keyframes topic-spark{0%,100%{opacity:0;transform:translateY(5px) scale(.5) rotate(-15deg)}35%{opacity:.9;transform:translateY(-4px) scale(1) rotate(0)}75%{opacity:.35;transform:translateY(-12px) scale(.75) rotate(15deg)}}
@media(prefers-reduced-motion:no-preference){
 #topics-title.topic-magic-active{animation:topic-enchantment 2.8s ease-in-out .25s 1}
 #topics-title.topic-magic-active::before{animation:topic-spark 2.2s ease-in-out .4s 1 both}
 #topics-title.topic-magic-active::after{animation:topic-spark 2.2s ease-in-out .8s 1 both}
}
@media(prefers-reduced-motion:reduce){#topics-title::before,#topics-title::after{display:none}}

/* Anchor the sparkles to words rather than the heading's empty bounding box. */
#topics-title::before,#topics-title::after{display:none}
#topics-title .topic-spark-anchor{position:relative;display:inline-block;color:inherit}
#topics-title .topic-spark-anchor::after{content:"✦";position:absolute;right:-.2em;top:.03em;color:#b88b3e;font-size:12px;line-height:1;opacity:0;pointer-events:none}
#topics-title .topic-spark-anchor:last-child::after{right:.35em;top:auto;bottom:.06em;font-size:9px;color:#9465a9}
@media(prefers-reduced-motion:no-preference){
 #topics-title.topic-magic-active .topic-spark-anchor::after{animation:topic-spark 2.2s ease-in-out .4s 1 both}
 #topics-title.topic-magic-active .topic-spark-anchor:last-child::after{animation-delay:.8s}
}
@media(prefers-reduced-motion:reduce){#topics-title .topic-spark-anchor::after{display:none}}

#topics-title .topic-spark-anchor::after{display:none}
#topics-title .word-spark{position:absolute;font-family:Georgia,serif;line-height:1;opacity:0;pointer-events:none;color:#b88b3e}
#topics-title .spark-a{left:12%;top:.04em;font-size:12px}
#topics-title .spark-b{right:5%;top:.24em;font-size:15px;color:#9965b0}
#topics-title .spark-c{left:55%;bottom:.06em;font-size:10px}
@keyframes word-magic-spark{0%,100%{opacity:0;transform:translateY(3px) scale(.5)}22%,55%{opacity:.95;transform:translateY(-2px) scale(1)}80%{opacity:.5;transform:translateY(-6px) scale(.8)}}
@media(prefers-reduced-motion:no-preference){
 #topics-title.topic-magic-active .word-spark{animation:word-magic-spark 2.8s ease-in-out .3s 1 both}
 #topics-title.topic-magic-active .spark-b{animation-delay:.5s}
 #topics-title.topic-magic-active .spark-c{animation-delay:.7s}
 #topics-title.topic-magic-active .topic-spark-anchor:last-child .spark-a{animation-delay:.45s}
 #topics-title.topic-magic-active .topic-spark-anchor:last-child .spark-b{animation-delay:.65s}
 #topics-title.topic-magic-active .topic-spark-anchor:last-child .spark-c{animation-delay:.85s}
}
@media(prefers-reduced-motion:reduce){#topics-title .word-spark{display:none}}

/* Mobile layout and touch targets; desktop remains unchanged. */
@media(max-width:760px){
 html{scroll-padding-top:88px}
 .container{width:calc(100% - 40px)}
 .header .header-inner{gap:10px}
 .header .header-cta{min-height:44px}
 .header .header-cta span{width:24px;height:24px}
 .header nav{max-height:calc(100svh - 90px);overflow-y:auto;overscroll-behavior:contain}
 .header nav a{min-height:48px;font-size:.9375rem;padding:11px 14px}
 .section{padding:52px 0}
 .section h2{font-size:clamp(1.85rem,7.5vw,2.4rem);line-height:1.25;max-width:100%}
 .section-heading{margin-bottom:24px}
 .section-heading>p{margin-top:16px}
 .blog-hero .hero-grid{padding:36px 0 32px;gap:28px}
 .blog-hero h1{font-size:clamp(2.15rem,9vw,3.3rem);line-height:1.13;letter-spacing:-.04em;max-width:100%;text-wrap:initial}
 .hero .eyebrow{letter-spacing:.1em;font-size:.75rem;margin-bottom:20px}
 .hero-description{font-size:1rem;line-height:1.75}
 .hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:24px}
 .hero-actions .button{min-height:48px}
 .hero-actions .text-link{min-height:48px;font-size:.875rem}
 .hero-note{margin-top:16px;font-size:.75rem}
 .journal-art{max-width:280px;width:calc(100% - 30px);margin:8px auto 12px}
 .journal-sheet{padding:24px 20px 22px 34px}
 .journal-sheet h2{font-size:1.55rem;margin:20px 0 16px}
 .journal-lines{font-size:.875rem}.journal-lines span{padding:10px 0}
 .journal-stamp{font-size:.75rem;letter-spacing:.025em;line-height:1.5;margin-top:18px}
 .blog-hero .hero-footer{padding:18px 0;gap:12px}
 .blog-hero .hero-footer>div{gap:8px 18px;line-height:1.6}
 .empty-journal{padding:24px 0 28px}.empty-journal h3{font-size:1.5rem;max-width:100%}
 .journal-layout{gap:24px}.journal-aside{padding-left:18px}
 .learning-logos{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 0;margin:4px 0 20px}
 .learning-logo,.learning-logo:first-child{padding:16px 8px;gap:10px;font-size:.875rem;min-width:0}
 .learning-logo+ .learning-logo{border-top:0;border-left:0}
 .learning-logo:nth-child(even){border-left:1px solid #ded4e4;padding-left:16px}
 .learning-logo:nth-child(n+3){border-top:1px solid #ded4e4}
 .learning-logo img,.learning-logo svg{width:30px;height:30px}
 .topic-item{grid-template-columns:22px minmax(0,1fr);gap:10px;padding:22px 0}
 .topic-item h3{font-size:1.0625rem;line-height:1.45}
 .topic-item p{font-size:1rem}
 .about-copy h2 br{display:none}
 .about-copy h2 em{display:inline-block;background-clip:text;-webkit-background-clip:text;box-decoration-break:clone;-webkit-box-decoration-break:clone}
 .about-copy p{line-height:1.75}
 .blog-about .about-grid{gap:24px}
 .blog-about .staff-frame{max-width:170px;margin-bottom:8px}
 .about-signature{align-items:flex-start;font-size:.8125rem;gap:10px}
 .about-signature>span{line-height:1.3}
 .contact-inner{gap:24px}.contact-inner>div{min-width:0;width:100%}
 .contact h2 br{display:none}
 .contact .email-link{font-size:1rem;min-height:44px;padding:8px 0;max-width:100%;overflow-wrap:anywhere}
 .contact-action{align-items:flex-start;gap:12px}
 .contact-action .button{width:100%;min-height:48px;justify-content:space-between}
 footer{padding:24px 0 max(24px,env(safe-area-inset-bottom))}
 .footer-inner{gap:14px}.footer-brand{min-height:48px}
 footer .footer-inner>a:last-child{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem}
}
@media(max-width:360px){
 .container{width:calc(100% - 32px)}
 .header .header-inner{gap:8px}.header .brand{width:84px}
 .header .header-cta{padding:6px 7px 6px 10px;gap:6px}
 .learning-logo,.learning-logo:first-child{gap:8px;padding-left:0;font-size:.8125rem}
 .learning-logo:nth-child(even){padding-left:12px}
 .learning-logo img,.learning-logo svg{width:26px;height:26px}
 .hero-actions{flex-direction:column;align-items:stretch;gap:8px}
 .hero-actions .button{width:100%}.hero-actions .text-link{align-self:flex-start}
}
@media(max-width:760px) and (prefers-reduced-motion:no-preference){
 .scroll-reveal{transition-duration:.45s,.6s}
}
