/* The visual-effects layer is separate from the editorial layout.
   Turning effects off preserves all content, navigation, and reading tools. */
:root {
  --glass-light: rgba(255,255,255,.37);
  --glass-border: rgba(255,255,255,.72);
  --glass-shadow: 0 22px 65px rgba(58,31,109,.13), inset 0 1px 0 rgba(255,255,255,.85);
}
/* Restore the original artwork's color rather than flattening it with blend modes. */
.hero-art { mix-blend-mode: normal; }
.hero-art img { filter: saturate(1.35) contrast(1.08) brightness(1.06); mask-image:radial-gradient(ellipse 62% 56% at center,#000 60%,transparent 99%); }
.night-art img { mix-blend-mode:normal; filter:saturate(1.5) contrast(1.08) brightness(1.17); }
.image-shell img,.card-image img { filter:saturate(1.28) contrast(1.06) brightness(1.035); }
.ambient-field,.street-card { display:none; }
[data-depth] { translate:0 var(--depth-y,0px); }
.effects-on [data-depth] { will-change:translate; }
.effects-on .site-header {
  top:17px; left:var(--pad); right:var(--pad); padding:16px 22px;
  border:1px solid var(--glass-border); border-radius:22px;
  background:rgba(255,255,255,.43); backdrop-filter:blur(24px) saturate(1.65);
  -webkit-backdrop-filter:blur(24px) saturate(1.65);
  box-shadow:0 8px 30px rgba(39,20,81,.07),inset 0 1px 0 rgba(255,255,255,.8);
}
.effects-on .site-header.scrolled { background:rgba(249,247,255,.66); }
.effects-on .site-header.is-dark { background:rgba(34,18,63,.62); border-color:rgba(255,255,255,.23); box-shadow:0 8px 35px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.17); }
.effects-on .header-cta { background:rgba(233,239,177,.63); border-color:rgba(255,255,255,.6); color:var(--ink); box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 4px 15px rgba(53,37,93,.05); }
.effects-on .header-cta:hover { background:var(--violet); color:white; }
.effects-on .hero { min-height:860px; background:radial-gradient(ellipse at 13% 13%,#f4f7d7 0,transparent 37%),radial-gradient(ellipse at 85% 75%,#c4b4f2 0,transparent 48%),#e8e4f6; }
.effects-on .hero-heading { z-index:3; }
.effects-on .hero-heading .eyebrow { width:max-content; max-width:90%; margin-left:auto; margin-right:auto; padding:8px 15px; border:1px solid rgba(255,255,255,.8); border-radius:25px; background:rgba(255,255,255,.35); backdrop-filter:blur(12px); }
.effects-on .hero h1 .headline-line:last-child { background:linear-gradient(115deg,#271637 20%,#6037c8 58%,#8760e7); background-clip:text; -webkit-background-clip:text; color:transparent; }
.effects-on .hero-stage { height:410px; margin-top:7px; perspective:1100px; }
.effects-on .hero-art { width:67%; margin-left:-30px; z-index:1; transform:rotateX(var(--pointer-y,0deg)) rotateY(var(--pointer-x,0deg)) rotateZ(var(--depth-rotate,0deg)) scale(var(--depth-scale,1)); transform-style:preserve-3d; }
.effects-on .hero-art img { height:100%; width:100%; object-fit:contain; }
.effects-on .hero-aside { width:31%; padding:33px 28px; margin-top:0; }
.effects-on .hero-aside>p:first-of-type { font-size:21px; }
.effects-on .hero-aside .aside-detail { font-size:12px; }
.effects-on .glass-panel {
  border:1px solid var(--glass-border); border-radius:27px;
  background:linear-gradient(135deg,rgba(255,255,255,.53),rgba(255,255,255,.19));
  backdrop-filter:blur(24px) saturate(1.6); -webkit-backdrop-filter:blur(24px) saturate(1.6);
  box-shadow:var(--glass-shadow); isolation:isolate;
}
.effects-on .glass-panel::before { content:''; position:absolute; pointer-events:none; inset:0; border-radius:inherit; background:linear-gradient(118deg,rgba(255,255,255,.32),transparent 35%,transparent 70%,rgba(255,255,255,.17)); z-index:-1; }
.effects-on .small-stamp { right:16px; top:-50px; border:1px solid rgba(255,255,255,.84); background:rgba(233,239,177,.74); backdrop-filter:blur(16px); box-shadow:0 13px 30px rgba(63,48,95,.12),inset 0 1px 0 #fff; animation:stamp-bob 6s ease-in-out infinite; }
.effects-on .ambient-field { display:block; position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.fx-orb { display:block; position:absolute; border-radius:50%; filter:blur(18px); opacity:.8; animation:orb-breathe 8s ease-in-out infinite alternate; }
.orb-a { width:410px; height:410px; left:-90px; top:100px; background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.8),rgba(168,137,237,.48) 40%,rgba(96,55,200,.05) 68%,transparent 72%); }
.orb-b { width:330px; height:330px; right:7%; top:19%; background:radial-gradient(circle at 40% 35%,rgba(251,255,211,.85),rgba(213,230,131,.39) 42%,transparent 70%); animation-delay:-4s; }
.orb-c { width:500px; height:500px; right:-100px; bottom:-170px; background:radial-gradient(circle,rgba(130,85,223,.47),rgba(181,154,242,.12) 55%,transparent 71%); animation-delay:-2s; }
.street-grid { position:absolute; inset:38% -30% -60%; opacity:.15; background-image:linear-gradient(rgba(96,55,200,.4) 1px,transparent 1px),linear-gradient(90deg,rgba(96,55,200,.4) 1px,transparent 1px); background-size:65px 65px; transform:perspective(500px) rotateX(61deg) rotateZ(-15deg); mask-image:radial-gradient(ellipse,#000,transparent 67%); }
.effects-on .street-card { display:flex; position:absolute; z-index:4; align-items:center; gap:13px; padding:16px 18px; background:rgba(255,255,255,.52); backdrop-filter:blur(20px) saturate(1.5); -webkit-backdrop-filter:blur(20px) saturate(1.5); border:1px solid rgba(255,255,255,.86); box-shadow:0 18px 40px rgba(55,29,100,.16),inset 0 1px 0 #fff; border-radius:18px; pointer-events:none; }
.street-card-one { left:5%; top:11%; transform:rotate(-7deg); }
.street-card-one .eyebrow { font-size:7px; letter-spacing:.13em; margin-bottom:6px; }
.street-card-one strong { font-family:var(--display); font-size:15px; line-height:1.25; font-weight:600; letter-spacing:-.025em; }
.street-card-arrow { font-size:28px; margin-left:5px; color:var(--violet); }
.signal-dot { width:11px; height:11px; background:#aab95e; border:2px solid #eef7ba; border-radius:50%; box-shadow:0 0 0 6px rgba(233,239,177,.54),0 0 18px rgba(201,224,127,.65); }
.street-card-two { left:38%; bottom:11%; transform:rotate(5deg); font-size:10px; line-height:1.6; }
.street-card-two strong { font-weight:700; }
.tiny-crossing { display:flex; gap:4px; transform:skewY(-17deg); margin-right:3px; }
.tiny-crossing i { width:6px; height:23px; display:block; background:var(--violet); border-radius:1px; }
.effects-on .hero-bottom { z-index:5; }
.effects-on .topic-rail { background:rgba(248,247,255,.75); backdrop-filter:blur(20px); border-bottom:1px solid rgba(96,55,200,.1); }
.effects-on .topic-rail>a { border:1px solid rgba(96,55,200,.12); padding:9px 13px; background:rgba(255,255,255,.57); border-radius:25px; box-shadow:0 4px 14px rgba(96,55,200,.035); transition:transform .3s,background .3s; }
.effects-on .topic-rail>a:hover { background:var(--lilac); transform:translateY(-3px); }
.effects-on .story-section { min-height:850px; gap:7%; padding-top:70px; padding-bottom:70px; }
.effects-on .crossing-section { background:radial-gradient(ellipse at 95% 80%,#e5dcf7 0,transparent 47%),radial-gradient(ellipse at 8% 15%,#f2f5d8 0,transparent 45%),#f4f1fb; }
.effects-on .chapter-copy.glass-panel { position:relative; padding:32px; width:45%; }
.effects-on .chapter-copy h2 { font-size:clamp(36px,3.85vw,63px); }
.effects-on .chapter-number { color:var(--violet); opacity:.45; font-size:69px; }
.effects-on .chapter-label { gap:20px; margin-bottom:24px; }
.effects-on .chapter-copy>p { margin-top:21px; }
.effects-on .chapter-visual { z-index:1; width:48%; }
.effects-on .chapter-visual::before { content:''; position:absolute; inset:20px -16px 39px 10px; border-radius:45px; transform:rotate(5deg); background:rgba(255,255,255,.24); border:1px solid rgba(255,255,255,.9); box-shadow:0 20px 65px rgba(80,46,140,.12); backdrop-filter:blur(16px); z-index:-1; }
.effects-on .image-shell { border:2px solid rgba(255,255,255,.8); box-shadow:0 27px 65px rgba(60,30,110,.2),inset 0 1px 0 #fff; }
.effects-on .crossing-photo { height:460px; border-radius:145px 145px 24px 24px; }
.effects-on .sidewalk-photo { height:495px; border-radius:24px 24px 145px 24px; }
.effects-on .image-shell .depth-photo { translate:0 clamp(-38px,var(--depth-y,0px),38px); transform:scale(1.24); transition:filter .3s; }
.effects-on .visual-note { background:rgba(237,245,180,.74); border:1px solid rgba(255,255,255,.92); border-radius:15px; backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); box-shadow:0 14px 40px rgba(52,26,89,.14),inset 0 1px 0 #fff; left:-27px; bottom:70px; }
.effects-on .access-note { background:rgba(80,40,174,.66); border:1px solid rgba(255,255,255,.57); backdrop-filter:blur(22px); box-shadow:0 16px 40px rgba(68,27,128,.22),inset 0 1px 0 rgba(255,255,255,.4); }
.effects-on .night-section { background:#22133e; }
.effects-on .night-art { width:78%; top:-140px; bottom:-140px; opacity:1; mask-image:linear-gradient(to right,transparent,#000 32%); }
.effects-on .night-art:after { background:linear-gradient(90deg,rgba(30,13,58,.3),transparent 55%),linear-gradient(0deg,rgba(30,13,58,.45),transparent 50%); }
.effects-on .night-art img { transform:scale(1.08); }
.effects-on .night-section .glass-panel { width:43%; background:linear-gradient(140deg,rgba(62,36,100,.71),rgba(33,18,61,.5)); backdrop-filter:blur(27px) saturate(1.55); border-color:rgba(244,236,255,.24); box-shadow:0 25px 70px rgba(10,4,24,.24),inset 0 1px 0 rgba(255,255,255,.25); }
.effects-on .night-section .chapter-number { color:#d8c6ff; opacity:.72; }
.effects-on .night-section .chapter-copy>p { color:#f0e9fb; }
.effects-on .night-tip { margin-top:29px; font-size:9px; }
.orb-night { width:450px; height:450px; top:-140px; left:-210px; background:radial-gradient(circle,rgba(166,113,255,.48),transparent 65%); }
.night-halo { position:absolute; right:-140px; top:15%; width:430px; height:430px; border:1px solid rgba(233,239,177,.21); border-radius:50%; box-shadow:0 0 60px rgba(156,111,238,.18),inset 0 0 50px rgba(156,111,238,.10); }
.effects-on .night-caption { z-index:2; }
.effects-on .sidewalk-section { background:radial-gradient(ellipse at 17% 55%,#d7c9f3 0,transparent 50%),radial-gradient(ellipse at 90% 5%,#f1f4d9 0,transparent 48%),#eae5f7; }
.effects-on .journal-section { background:radial-gradient(ellipse at 80% 20%,#e4d9f9 0,transparent 50%),radial-gradient(ellipse at 5% 100%,#e9edca 0,transparent 55%),#efecf8; }
.effects-on .article-card { padding:14px 14px 24px; border:1px solid rgba(255,255,255,.8); border-radius:24px; background:rgba(255,255,255,.39); backdrop-filter:blur(20px) saturate(1.3); box-shadow:0 17px 45px rgba(63,29,113,.08),inset 0 1px 0 rgba(255,255,255,.8); transition:transform .4s,box-shadow .4s,background .4s; }
.effects-on .article-card:hover { transform:translateY(-9px); box-shadow:0 28px 55px rgba(63,29,113,.17),inset 0 1px 0 rgba(255,255,255,.9); background:rgba(255,255,255,.6); }
.effects-on .article-card[hidden] { display:none; }
.effects-on .card-image { border-radius:14px; }
.effects-on .card-meta,.effects-on .article-card h3,.effects-on .article-card>p { margin-left:8px; margin-right:8px; }
.effects-on .card-image-arrow { background:rgba(255,255,255,.65); backdrop-filter:blur(12px); border:1px solid rgba(255,255,255,.9); }
.effects-on .closing-section { overflow:hidden; background:radial-gradient(ellipse at 80% 20%,#d3c3f6 0,transparent 50%),#e8e4f6; }
.effects-on .closing-top,.effects-on .closing-main,.effects-on .closing-bottom { position:relative; z-index:1; }
.effects-on .big-round-cta { background:rgba(239,247,178,.57); border:1px solid rgba(255,255,255,.9); backdrop-filter:blur(20px); box-shadow:0 23px 55px rgba(75,45,126,.17),inset 0 1px 0 white; }
.effects-on .big-round-cta:hover { background:var(--violet); }
.effects-on .library-hero,.effects-on .reading-header { background:radial-gradient(ellipse at 93% 100%,#cdbaf3 0,transparent 55%),radial-gradient(ellipse at 0 0,#f2f5d6 0,transparent 40%),#e8e4f6; }
.effects-on .library-content { background:radial-gradient(ellipse at 90% 50%,#eee6fb 0,transparent 55%),var(--paper); }
.effects-on .checklist-block,.effects-on .takeaway-box,.effects-on .about-note { background:rgba(231,227,245,.53); border:1px solid rgba(255,255,255,.9); border-radius:22px; box-shadow:var(--glass-shadow); backdrop-filter:blur(20px); }
.effects-on .search-box input { background:rgba(255,255,255,.58); border-color:rgba(96,55,200,.17); border-radius:15px; box-shadow:inset 0 1px 0 white; }
.effects-on .reading-sidebar { padding:20px; border:1px solid rgba(96,55,200,.11); border-radius:18px; background:rgba(231,227,245,.36); backdrop-filter:blur(16px); }
.effects-on .reading-image img { filter:saturate(1.28) contrast(1.055); border-radius:23px; box-shadow:0 25px 60px rgba(71,36,125,.16); }
.js-motion .reveal { transform:translateY(55px) scale(.965); transition:opacity .8s ease,transform 1s cubic-bezier(.16,1,.3,1); transition-delay:var(--reveal-delay,0s); }
.js-motion .reveal.visible { opacity:1; transform:translateY(0) scale(1); }
.scroll-progress { position:fixed; height:3px; left:0; right:0; top:0; background:linear-gradient(90deg,#9b76e9,#6037c8,#e9efb1); z-index:80; transform-origin:left; pointer-events:none; box-shadow:0 0 12px rgba(96,55,200,.3); }
.effects-control { position:fixed; right:22px; bottom:22px; z-index:60; }
#effects-toggle { min-height:44px; display:flex; gap:11px; align-items:center; padding:10px 15px; background:rgba(248,246,255,.8); color:var(--ink); border:1px solid rgba(255,255,255,.95); border-radius:26px; box-shadow:0 7px 26px rgba(27,14,47,.18),inset 0 1px 0 white; backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); font-size:11px; font-weight:700; }
#effects-toggle:hover { background:#fff; }
.effects-indicator { position:relative; display:block; width:29px; height:17px; border-radius:10px; background:var(--violet); box-shadow:inset 0 1px 2px rgba(0,0,0,.1); }
.effects-indicator:after { content:''; position:absolute; width:11px; height:11px; right:3px; top:3px; background:white; border-radius:50%; transition:transform .25s; }
#effects-toggle[aria-checked="false"] .effects-indicator { background:#aaa5b5; }
#effects-toggle[aria-checked="false"] .effects-indicator:after { transform:translateX(-12px); }
.effects-off [data-depth] { translate:none!important; will-change:auto; }
.effects-off .hero-art { transform:none!important; }
.effects-off .scroll-progress { display:none; }
.effects-off .reveal { opacity:1; transform:none; transition:none; }
.effects-off .hero-heading,.effects-off .hero-aside { animation:none; }
@keyframes orb-breathe { from{scale:.9;opacity:.62}to{scale:1.09;opacity:.95} }
@keyframes stamp-bob { 0%,100%{transform:translateY(0) rotate(12deg)}50%{transform:translateY(-9px) rotate(6deg)} }
@media(min-width:1500px) { .effects-on .hero{min-height:960px}.effects-on .hero-stage{height:460px} }
@media(max-width:1100px) and (min-width:761px) {
  .effects-on .site-header{left:25px;right:25px;padding:14px 19px}
  .effects-on .hero-aside{width:33%;padding:27px 23px}
  .effects-on .hero-aside>p:first-of-type{font-size:18px}
  .effects-on .chapter-copy.glass-panel{padding:25px}
  .effects-on .chapter-copy h2{font-size:4.15vw}
  .effects-on .night-section .glass-panel{width:48%}
  .effects-on .crossing-photo{height:420px}
  .effects-on .sidewalk-photo{height:450px}
  .street-card-one{left:3%;top:12%}.street-card-two{left:32%;bottom:11%}
}
@media(max-width:760px) {
  .effects-on .site-header{left:12px;right:12px;top:12px;padding:12px 14px;border-radius:19px;gap:12px}
  .effects-on .brand>span{font-size:14px}.effects-on .brand{gap:7px}.effects-on .brand img{width:34px;height:34px}
  .effects-on .header-cta{font-size:9px;padding:9px 11px;gap:8px}
  .effects-on .menu-toggle{width:30px;padding:4px}.effects-on .menu-toggle span{width:20px}
  .effects-on .mobile-nav{top:68px;border:1px solid rgba(255,255,255,.9);border-radius:18px;background:rgba(247,243,255,.96);backdrop-filter:blur(25px)}
  .effects-on .hero{min-height:950px;padding-top:126px;padding-bottom:83px}
  .effects-on .hero-heading .eyebrow{font-size:8px;padding:7px 11px;letter-spacing:.09em;margin-bottom:20px}
  .effects-on .hero h1{font-size:clamp(53px,13vw,83px)}
  .effects-on .hero-stage{height:auto;margin-top:6px;padding:0}
  .effects-on .hero-art{margin:0 auto;width:100%;height:310px;max-height:74vw}
  .effects-on .hero-aside{width:auto;margin:19px var(--pad) 0;padding:25px;display:block}
  .effects-on .hero-aside>p:first-of-type{font-size:19px}.effects-on .hero-aside .aside-detail{font-size:12px;max-width:80%}
  .effects-on .hero-aside .text-cta{font-size:12px;margin-top:23px}
  .effects-on .small-stamp{position:absolute;right:15px;top:-37px;width:78px;height:78px;font-size:7px}
  .effects-on .street-card{padding:11px 12px;gap:10px;border-radius:14px}
  .street-card-one{left:5%;top:5%;scale:.86;transform-origin:left top}.street-card-one strong{font-size:12px}
  .street-card-two{left:auto;right:4%;bottom:auto;top:233px;scale:.9;transform-origin:right bottom;font-size:9px}
  .fx-orb{filter:blur(12px);opacity:.6}.orb-a{width:280px;height:280px;left:-130px;top:170px}.orb-b{width:240px;height:240px;right:-80px;top:30%}.orb-c{width:320px;height:320px;bottom:-140px;right:-140px}
  .effects-on .topic-rail{padding:20px var(--pad);gap:14px}.effects-on .topic-rail>a{font-size:10px;padding:8px 12px}
  .effects-on .story-section{height:auto;min-height:100svh;padding:65px var(--pad);gap:44px}
  .effects-on .chapter-copy.glass-panel,.effects-on .night-section .glass-panel{width:100%;padding:25px;border-radius:23px}
  .effects-on .chapter-copy h2{font-size:clamp(31px,8.4vw,45px)}
  .effects-on .chapter-number{font-size:60px}.effects-on .chapter-label{gap:18px;margin-bottom:21px}.effects-on .chapter-label .eyebrow{font-size:8px}
  .effects-on .chapter-copy>p{font-size:14px}.effects-on .chapter-copy .text-cta{font-size:11px}
  .effects-on .chapter-visual{width:100%}.effects-on .crossing-photo{height:350px;border-radius:130px 130px 20px 20px}.effects-on .sidewalk-photo{height:370px;border-radius:20px 20px 130px 20px}
  .effects-on .chapter-visual:before{inset:15px -9px 35px 9px;border-radius:35px}
  .effects-on .visual-note{left:-7px;bottom:52px;padding:14px 17px}
  .effects-on .night-section{min-height:900px;padding-top:100px;padding-bottom:155px;justify-content:center}
  .effects-on .night-art{width:100%;top:-90px;bottom:-90px;opacity:.9;mask-image:none}
  .effects-on .night-art:after{background:linear-gradient(180deg,rgba(27,12,49,.1),rgba(27,12,49,.18) 40%,rgba(27,12,49,.7))}
  .effects-on .night-section .glass-panel{background:rgba(31,16,57,.61);backdrop-filter:blur(22px)}
  .effects-on .night-section .chapter-copy>p{max-width:100%;font-size:14px}
  .effects-on .night-tip{font-size:8px;line-height:1.6}.night-halo{width:300px;height:300px;right:-160px}
  .effects-on .article-card{padding:12px 12px 23px;border-radius:23px}.effects-on .article-card h3{font-size:25px}.effects-on .article-card>p{font-size:13px}
  .effects-on .closing-main{padding-top:60px;padding-bottom:60px}
  .effects-on .reading-sidebar{position:static;padding:18px}.effects-on .reading-sidebar a{font-size:10px}
  .effects-control{right:15px;bottom:15px}#effects-toggle{min-height:44px;font-size:10px;padding:10px 13px;gap:9px}
}
@media(max-width:380px){.effects-on .header-cta{display:none}.effects-on .hero{min-height:925px}.effects-on .hero-aside{padding:23px}.street-card-two{top:207px}.effects-on .chapter-copy.glass-panel{padding:22px}.effects-on .chapter-copy h2{font-size:30px}}
@supports not (backdrop-filter:blur(10px)) {
  .effects-on .glass-panel{background:rgba(250,248,255,.9)}
  .effects-on .night-section .glass-panel{background:rgba(34,18,61,.9)}
  .effects-on .street-card,.effects-on .site-header{background:rgba(248,246,255,.94)}
  .effects-on .site-header.is-dark{background:rgba(34,18,61,.94)}
}
